Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate 3.1b3:
Can I create a mapping like the one explained in 6.1.22
<any> of the Hibernate docs?
http://www.hibernate.org/hib_docs/v3/re ... anymapping
I have a 'Notes' table that has optional data that may be tagged onto multiple tables.
Notes Table
{
ID = PK
TableID - PK of some other object in another table
TableName - TableName of other object
SortSequence - Sort order in OneToMany
....other stuff
}
I've been searching the forums for days and I can't find anything. I can work around the get() with HSQL, but I can't figure out an elegant way to get the TableID to save with the ID of the parent class in the same session. Any help would be appreciated.