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
Member
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
"hibernate.default_schema".

BR,
Enrico
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: Fri Apr 26 19:47:35 GMT 2024

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

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

Back to the top