Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Database Schema
Database Schema [message #484481] Mon, 07 September 2009 12:06 Go to next message
Enrico is currently offline Enrico
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 10:27 Go to previous message
James Sutherland is currently offline James Sutherland
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: Sun Apr 20 16:03:26 EDT 2014

Powered by FUDForum. Page generated in 0.01456 seconds