4 Replies Latest reply: Oct 19, 2004 5:56 AM by Rajiv Malhotra RSS

EJBs not storing data

Rajiv Malhotra Newbie

before porting my entire application on jboss,
I am trying a simple 1.1 ejb application running on jboss 3.2 which is connecting db2 7.2.
whenever i create an record using enterprise bean it does not get reflected in the backend. When i try to create another record of the same primary key it gives duplicate key exception. Also, when i start the server it says table created, but that is not reflected in the backend.
If the table already exists it gives the message (at server start) that the table already exists.
All this shows that it is connecting to the database but somehow not able to create records/table in it. The enterprise bean successfully executes and gives no exception.