Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Multitenant per table and native query
Multitenant per table and native query [message #1811242] Thu, 29 August 2019 10:26
Luca Pertile is currently offline Luca PertileFriend
Messages: 1
Registered: August 2019
Junior Member
Hello

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!

Previous Topic:Insert using identity column and trigger returns wrong primary key
Next Topic:Object: is not a known Entity type.
Goto Forum:
  


Current Time: Sat Oct 19 22:04:30 GMT 2019

Powered by FUDForum. Page generated in 0.01192 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top