This content has been marked as final.
Show 3 replies
-
1. Re: Multiple dependent .PAR-files in a single EJB3-applicati
bill.burke Sep 19, 2005 11:04 AM (in response to per.a.norman)This should work, can you post your persistence.xml files and what your EAR structure looks like?
It should be
persistence.xml<jar-file>../another.par</jar-file>
-
2. Re: Multiple dependent .PAR-files in a single EJB3-applicati
andrewi Sep 19, 2005 8:24 PM (in response to per.a.norman)I am doing something similar where I have multiple entities in the same .par
the problem I'm having is to access the stores associated with the cstomer. the db is updated but cant get the stores.<?xml version="1.0" encoding="UTF-8"?> <entity-manager> <name>cust</name> <jta-data-source>java:/DefaultDS</jta-data-source> <properties> <property name="hibernate.hbm2ddl.auto" value="create-drop"/> </properties> <mapping-file>ormap.xml</mapping-file> <jar-file>../entities.par</jar-file> <class>com.meerkat.jfr.par.CustomerCMP</class> <class>com.meerkat.jfr.par.StoreCMP</class> <class>com.meerkat.jfr.par.AddressCMP</class> </entity-manager>
-
3. Re: Multiple dependent .PAR-files in a single EJB3-applicati
per.a.norman Sep 20, 2005 2:48 PM (in response to per.a.norman)Thanks Bill!
The "../" prefix solved it! Now it works fine.