|Multitenant per table and native query [message #1811242]
||Thu, 29 August 2019 10:26
| Luca Pertile
Registered: August 2019
I'm using EclipseLink 2.6 with Multitenant setted to Tenant per table.
In my test, I found native queries like update and insert, runned by Query.executeUpdate(), working good by replacing table names in queries with table suffixed.
But native select queries, runned by Query.getSingleResult or Query.getResultList doesn't work: table names are not replaced.
EclipseLink documentation reports about "named native queries" are not supported; this made me think like all native queries are not supported, but update and insert made me believe!!
What's the real?
Thank a lot!
Powered by FUDForum
. Page generated in 0.01192 seconds