Sheeri, Just curious what

Sheeri,

Just curious what ORM you're using, since the ones I'm familiar with allow composite primary keys (Hibernate, EJB, JDO). There are quite a few "patterns" out there that do suggest that sometimes surrogate keys are better, but that's usually because someone's picked a poor primary key.

-Mark

Reply

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options