* Saroj Kumar > I don't see any need for using finder Inside ejbCreate as JBOSS does it > automatically before insert. > > It does like: > > SELECT COUNT(*) FROM TABLE WHERE PK_COLUMN=? > > Try without finder.
Well, yeas, but actually, this is not primary key fields it tests against. Our model is that we can have several entity instances where field A and B are equal, but never during ejbCreate. So we have to test this. -- Jon Haugsand, <[EMAIL PROTECTED]> Norges Bank, <http://www.norges-bank.no> ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
