We are trying to use Hibernate to access a legacy database with a schema
which we did not design and cannot modify.

The legacy schema has multiple "areas" containing similar data.  Each
"area" is composed of several tables with common prefixes (with the same
columns per prefix), and the area name as a suffix.  However, the area
names are only known at runtime.

Hibernate appears to expect any given persistent class to map to a single
table with a predetermined name and a fixed schema.  Using a common
persistent class, can we select the table name dynamically?

This is less important (we can fall back to SQL if we must), but one table
has a dynamic schema; can we also select the column mapping dynamically?



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to