Cause a managed EMF is using datasource and not properties so define your datasource to point on your oracle db then simply reference it in the persistence unit instead of declaring database connection info (you dont need these props). Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau
2014-01-31 mrLittle <[email protected]>: > Ok, > I get those messages if I try to inject EnityManagerFactory using > @PersistenceUnit. > If I create EMFactory thorugh > Persistence.createEntityManagerFactory("STGATE") I get following message: > Connected to Oracle version 11.11 using JDBC driver Oracle JDBC driver > version 10.2.0.4.0. > > How is that possible? Why injection doesn't work? Could it be related to > warnings shown in my first post? > > thank you guys. > > > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/Warning-persistence-unit-configuration-tp4667381p4667385.html > Sent from the OpenEJB User mailing list archive at Nabble.com.
