Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Database Schema
Database Schema [message #484481] Mon, 07 September 2009 16:06 Go to next message
Enrico is currently offline EnricoFriend
Messages: 82
Registered: July 2009
Dear all,

is it possible to specify on the persistence.xml the database shema that
tables refere to?

Somethinng like openjpa "openjpa.jdbc.schema" oer hibernate

Re: Database Schema [message #484621 is a reply to message #484481] Tue, 08 September 2009 14:27 Go to previous message
James Sutherland is currently offline James SutherlandFriend
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

EclipseLink does not currently have a persistence.xml property for this (please log a bug). But you can set this in the orm.xml, also you could set a SessionCustomizer in your persistence.xml and set this on the EclipseLink Session's DatabaseLogin (setTableQualifier).

James : Wiki : Book : Blog : Twitter
Previous Topic:Use Transformer in query
Next Topic:Is TABLE_PER_CLASS supposed to work with eclipselink-2.0.0.v20090731-r4765 (m6)
Goto Forum:

Current Time: Wed Apr 01 18:19:38 GMT 2020

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

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

Back to the top