Hi

I have a multi module project.My problem is that 2 of my ejb modules have
the depedency upon peristence.xml, which is at the same location as pom.xml.

How to define the dependency in pom.xml for peristence.xml??

My persistence.xml is like--

<?xml version="1.0" encoding="UTF-8"?>

<persistence>
         <persistence-unit name="dms" transaction-type="JTA">
                <provider>org.hibernate.ejb.HibernatePersistence</provider>
                <jta-data-source>java:/OracleDS</jta-data-source>
                <class>com.dms.dao.RepositoryDAO</class>
                <properties>
                        <property name="hibernate.dialect"
value="org.hibernate.dialect.SQLServerDialect" />
                        <property name="hibernate.hbm2ddl.auto" value="none" />
                        <property name="hibernate.show_sql" value="false" />
                </properties>
        </persistence-unit>

</persistence>

Pleasehelp.

Thanks in advance
Anshuman


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to