Skip to Content
Former Member
Feb 02, 2005 at 09:58 PM

Probkem wirth EJB and CMP



I deployed the example Employee J2EE application from the "Java Programmierung mit dem SAP Web AS" book.

The app works fine but when I try to add a new Employee, the JSP tells me success (so even the EJB was created cause i get an ID in return) but the changes doesn't seem to go into the database. When i call the WebService that calls the same EJB as the JSP page, the changes actually GO into the DB. I can see them with the getAllEmployees() Method of the WebService. Why can't I see the entries i created with the JSP?

Anybody had this problem too?

Any idea where the problem might be?

Also, how can I access the tables with SQL Studio. I couldn't see them with the SUPERDBA user.