Hi,
I'm working with a fairly non-standard system. I'm using XML to describe my Objects and generate my schema. I have some objects which in my database I want to have a foreign key relationships to, but which are from another system not using Hibernate.
So, as an example, let's say I have a Hibernate-managed table UserMetadata. I want it to have a foreign key constraint to a User table that is NOT managed by Hibernate. This is purely for data consistency and referential integrity in the database.
Is this possible? I've been looking around and haven't been able to find any related information.
Thanks!
|