That's what EE expects. TomEE 7 has several enhancements - config or "automatic guess" cause this constraint was breaking some apps not designed for EE but it was the way to do it originally yes.
Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> | JavaEE Factory <https://javaeefactory-rmannibucau.rhcloud.com> 2016-06-22 23:27 GMT+02:00 eclideria <[email protected]>: > Thanks for your answer. > > It's pretty late there too ^^ > > So you mean that i should use <non-jta-datasource> and configure my > datasource on the server and not in the persistence.xml properties ? > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/JavaEE-eclipseLink-TomEE-gives-java-sql-SQLSyntaxErrorException-user-lacks-privilege-or-object-not-fd-tp4679015p4679017.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
