I am getting a DuplicateKeyException from a CMP entity bean and I am not
sure why.

Here is my createSQL statement:

ejipt.createSQL=SELECT name FROM table WHERE id = ?

With the id being passed into the SQL statement the statement should return
a empty result set.

What are the sequence of events that the container goes through in order to
determine if the entity already exists?

What kind of SQL statement should I be using in order to get the create to
work like I am expecting?


Adam

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to