Posgres admin Romain I guess. Could you provide us with logs? Tomee is probably adjusting your data source to an hsql if you did not configured it in tomee.XML Le 28 sept. 2013 18:16, "emaborsa" <[email protected]> a écrit :
> It's the first time i work with TomEE and Hibernate. I configures my > persistence.xml and hibernate.cfg.xml. > I built a webApp using EJB3 with @Stateless bean and a > @PersistenceContext(name = "persistentUnitJndi", unitName = > "docTracingPU"). > The docTracingPU is defined in the persistence.xml and instantiated > correctly be TomEE. > The problem is when i create a Query and call getResultList()....it always > returns an empty list. IF i write the same query in PGAdmin i get > results... > > I guess i have to configure TomEE with some parameters, but i don't > understand how/what. > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/No-results-from-query-on-postgres-tp4665339.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >
