Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem with Bean Managed Persistence Entity Bean!!

Hello Collegues,

I´m trying the SavingsAccount BMP Entity Bean Example as described in the

<a href="http://java.sun.com/j2ee/tutorial/1_3-fcs/">J2EE Tutorial</a>
with NWDS SP14 and WAS 6.40 SP14 Java. But I always get a "createexception"!

I deployed the necessary table to the MaxDB and added a DataSource alias to the EARFile Project.But I still get an CreateException! I don´t know why!It seems to me, that everything is fine.

Thank you for any help!

Mehmet

replied

Hi Mehmet,

In ejb-jar.xml use <res-sharing-scope>Unshareable</res-sharing-scope> instead of <res-sharing-scope>Shareable</res-sharing-scope>

Best regards, Maksim Rashchynski.

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question