I can only see one persistence-unit declaration here :\

On Fri, Oct 11, 2013 at 3:12 PM, Andreas Ernst <a...@ae-online.de> wrote:

> Am 11.10.13 13:10, schrieb Dmitry Gusev:
>
>  Do you have more than one PU in persistence.xml?
>>
>
> Yes:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <persistence version="2.1" xmlns="http://xmlns.jcp.org/**
> xml/ns/persistence <http://xmlns.jcp.org/xml/ns/persistence>" xmlns:xsi="
> http://www.w3.org/**2001/XMLSchema-instance<http://www.w3.org/2001/XMLSchema-instance>"
> xsi:schemaLocation="http://**xmlns.jcp.org/xml/ns/**persistence<http://xmlns.jcp.org/xml/ns/persistence>
> http://xmlns.jcp.org/xml/ns/**persistence/persistence_2_1.**xsd<http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd>
> ">
>   <persistence-unit name="de.aeits_TapestryWeb_**war_1.0-SNAPSHOTPU"
> transaction-type="RESOURCE_**LOCAL">
>     <provider>org.eclipse.**persistence.jpa.**
> PersistenceProvider</provider>
>     <class>de.aeits.tapestryweb.**entities.DiscountCode</class>
>     <class>de.aeits.tapestryweb.**entities.MicroMarket</class>
>     <class>de.aeits.tapestryweb.**entities.Customer</class>
>     <exclude-unlisted-classes>**false</exclude-unlisted-**classes>
>     <properties>
>       <property name="javax.persistence.jdbc.**url"
> value="jdbc:derby://localhost:**1527/sample"/>
>       <property name="javax.persistence.jdbc.**password" value="app"/>
>       <property name="javax.persistence.jdbc.**driver"
> value="org.apache.derby.jdbc.**ClientDriver"/>
>       <property name="javax.persistence.jdbc.**user" value="app"/>
>       <property name="eclipselink.logging.**level" value="FINE"/>
>     </properties>
>   </persistence-unit>
> </persistence>
>
>
> --
> ae | Andreas Ernst | IT Spektrum
> Postfach 5, 65612 Beselich
> Schupbacher Str. 32, 65614 Beselich, Germany
> Tel: +49-6484-91002 Fax: +49-6484-91003
> a...@ae-online.de | www.ae-online.de
> www.tachyon-online.de
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: 
> users-unsubscribe@tapestry.**apache.org<users-unsubscr...@tapestry.apache.org>
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Dmitry Gusev

AnjLab Team
http://anjlab.com

Reply via email to