Skip to Content
author's profile photo Former Member
Former Member

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 03, 2005 at 03:52 AM

    Hi Hans,

    You can access SQL Studio with Username as SAP<Your SID>DB

    and password is same as your WAS server's password. Database name is your SID and server is IP address of your server.

    Hope it will work.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.