The provider tag should be outside the properties tags AFAIR.
2013/3/2 Romain Manni-Bucau <[email protected]> > In your ide add toplink then check children of PersistenProvider (in the > jpa api jar) > Le 2 mars 2013 08:59, "yatin" <[email protected]> a écrit : > > > Hi , > > > > Has any one use Tomee in a maven setup with Toplink as the provider for > > JPA. > > > > Is this persistence.xml file the correct one , and also the latest > Toplink > > dependency is not available in maven as i searched for it. The latest > whic > > his shown to be available is 10.1.3 which is really old. > > > > When i downloaded Toplink and tried searching for this class mentioned > > below > > in the jar i wasnt able to find one > > > > oracle.toplink.essentials.PersistenceProvider > > > > <persistence-unit name="toplink-jta" transaction-type="JTA"> > > > > <non-jta-data-source>OracleJTADatastore</non-jta-data-source> > > > > <properties> > > > > <provider>oracle.toplink.essentials.PersistenceProvider</provider> > > > > <property name="toplink.ddl-generation" > > value="drop-and-create-tables" /> > > <property name="toplink.logging.level" > > value="FINEST" /> > > <property > > name="toplink.ddl-generation.output-mode" value="both" /> > > <property name="toplink.logging.level" > > value="FINEST" /> > > </properties> > > </persistence-unit> > > > > > > > > -- > > View this message in context: > > http://openejb.979440.n4.nabble.com/TOMEE-Toplink-tp4661138.html > > Sent from the OpenEJB User mailing list archive at Nabble.com. > > > -- Jean-Louis
