RE: [orion-interest]CMP/BMP and standard JDBC, speed is of essence

2002-04-09 Thread Jeff Schnitzer
From: Simon Stewart [mailto:[EMAIL PROTECTED]] 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

SV: [orion-interest]CMP/BMP and standard JDBC, speed is of essence

2002-04-09 Thread Magnus Rydin
-interest]CMP/BMP and standard JDBC, speed is of essence From: Simon Stewart [mailto:[EMAIL PROTECTED]] 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

RE: [orion-interest]CMP/BMP and standard JDBC, speed is of essence

2002-04-09 Thread Ray Harrison
Jeff - Yes, it really works. You can get access to the key value later by using getPrimaryKey on the instance. Cheers Ray Jeff Schnitzer [EMAIL PROTECTED] wrote: From: Simon Stewart [mailto:[EMAIL PROTECTED]] Forgive me, but what about the case where you just set the prim-key-class to be

RE: [orion-interest]CMP/BMP and standard JDBC, speed is of essence

2002-04-09 Thread tibor . hegyi
: Orion-InterestSubject: RE: [orion-interest]CMP/BMP and standard JDBC, speed is of essence Jeff - Yes, it really works. You can get access to the key value later by using getPrimaryKey on the instance. Cheers Ray Jeff Schnitzer [EMAIL PROTECTED] wrote: From: Simon Stewart

RE: [orion-interest]CMP/BMP and standard JDBC, speed is of essence

2002-04-09 Thread Jeff Schnitzer
]CMP/BMP and standard JDBC, speed is of essence Jeff - Yes, it really works. You can get access to the key value later by using getPrimaryKey on the instance. Cheers Ray Jeff Schnitzer [EMAIL PROTECTED] wrote: From: Simon Stewart [mailto:[EMAIL PROTECTED]] Forgive me, but what about

Re: [orion-interest]CMP/BMP and standard JDBC, speed is of essence

2002-04-08 Thread Simon Stewart
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

RE: [orion-interest]CMP/BMP and standard JDBC, speed is of essence

2002-04-07 Thread The elephantwalker
]]On Behalf Of Jeff Schnitzer Sent: Saturday, April 06, 2002 10:41 PM To: Orion-Interest Subject: RE: [orion-interest]CMP/BMP and standard JDBC, speed is of essence From: Hani Suleiman [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 06, 2002 6:20 PM To: Orion-Interest Subject: Re: [orion-interest

RE: [orion-interest]CMP/BMP and standard JDBC, speed is of essence

2002-04-07 Thread Jeff Schnitzer
From: The elephantwalker [mailto:[EMAIL PROTECTED]] You will find that if you want the _enterprise_ features offered by cmp with straight jdbc calls, your classes for jdbc calls will be slower than cmp, and _much more_ difficult to develop. I am not a smarter developer than Karl or

RE: [orion-interest]CMP/BMP and standard JDBC, speed is of essence

2002-04-07 Thread The elephantwalker
Entity bean caching I have found to be remarkably useless. First of all, it depends on a pessimistic locking strategy, which is both hard to use (gotta love those deadlock exceptions!) and not applicable to a clustered environment or any environment in which the database table can be modified

Re: [orion-interest]CMP/BMP and standard JDBC, speed is of essence

2002-04-06 Thread Hani Suleiman
CMP will load in all the entities in one go (in orion at least). There will be a performance difference between straight JDBC and EJB, since there's more involved with an EJB query. Transactions, constructing entities and so on are extra overhead that just getting a resultset back will not have.

RE: [orion-interest]CMP/BMP and standard JDBC, speed is of essence

2002-04-06 Thread Jeff Schnitzer
From: Hani Suleiman [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 06, 2002 6:20 PM To: Orion-Interest Subject: Re: [orion-interest]CMP/BMP and standard JDBC, speed is of essence CMP will load in all the entities in one go (in orion at least). There will be a performance difference