Hi, I am using JBoss 3.2.6 and Oracle as the database. I have a simple CMP entity bean. I am passing some values to the ejbCreate() method of the bean. The values are getting set when i execute the home.create(value1,value2,.......) statement. After this i am doing a findByPrimaryKey(pk) with the primary key value generated for this record. Iam getting the entity with all the values i had given earlier. But after this i am issuing a select statement on this table using normal JDBC calls. But it is returning only the previous records in the table. The record which i inserted is not getting selected. Only after this query is executed, the inserted data is getting committed into the database.
Is there any means in JBoss 3.2.6/CMP to commit the records into the database immediately after ejbCreate() method is called? Regards - Hari View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878421#3878421 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3878421 ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user