on 12-16-2005 10:48 PM
When I use unknown PK in my bean I become such error during deployment:
<i>
Reason: The database mapping of cmp-filed ejb_pk in bean CallBean is not specified in persistent.xml.; nested exception is:
com.sap.engine.services.ejb.exceptions.deployment.EJBXMLParserException: The database mapping of cmp-filed ejb_pk in bean CallBean is not specified in persistent.xml.
</i>
I did everything as it said on help.sap.com "Creating Primary Key"
Hi Pavel,
Obviously your persistent.xml is incomplete. You should have an entry like
<field-map key-type="PrimaryKey">
<field-name>ejb_pk</field-name>
<column>
<column-name>ID</column-name>
</column>
</field-map>
inside.
Hope that helps!
Vladimir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.