On Sun, Apr 07, 2002 at 01:11:37PM -0700, Jeff Schnitzer wrote:

> Irrespective of who may be a smarter developer, I can guarantee you that
> I know a *lot* more about *my* specific business logic than Karl or
> Magnus.  Furthermore, Karl and Magnus are for the most part just
> implementing a specification produced by a committee of labcoats
> dedicated to a lowest-common-denominator set of features that IBM, BEA,
> Borland, Sybase, & the rest of the implementers can agree to.  The
> absence of ORDER BY in EJB-QL and the lack of a standard PK generation
> mechanism make me seriously wonder if any of the people writing the EJB
> spec have ever used it to implement a real-world application.

Forgive me, but what about the case where you just set the
prim-key-class to be "java.lang.Object" and don't specify a managed
primary key field in your ejb-jar.xml file? While that's not the
world's most advanced method for automatically generating primary
keys, it's there, and it does work....

Of course, I have no idea how to refer to this autogenerated primary
key using EJB-QL, but that's beside the point ;)

Cheers,

Simon

-- 
Real Programmers don't play tennis, or any other sport which requires
you to change clothes.  Mountain climbing is OK, and Real Programmers
wear their climbing boots to work in case a mountain should suddenly
spring up in the middle of the computer room.

Reply via email to