Do you set the transaction attribute?

 --
   Claudio Miranda
   ___________________________________

 kishor bhagwat wrote:
 >
 > hi all!
 > i'm trying out the Cabin Bean example from the O'Reilly book on the j2ee
 > server with the cloudscape database..
 > When  i run the client program, it succesfully creates a new record in the
 > database, but subsequently, when i do findByPrimaryKey() later in the
 > program, i get
 > ObjectNotFoundException - no database row found for primary key
 >  <<no stack trace available>>
 > So, just to chk if the row was really created, i tried to create another row
 > with the same primary key...and i got a DuplicateKeyException!
 >
 > someone more enlightened could really help me here...
 >
 > regards,
 > kishor

--
  Claudio Miranda
  ___________________________________
  SUN Certified Programmer for JAVA 2

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to