Hi All,
I discover hibernate for a little and i'm blocked today in my project.
I use Hibernate with Xdoclet in appfuse.
My problem is simple, i explain it with this example.
I have :
a class Log with { id, ..., object_id }
a class Foo with { id, ... }
a class Bar with { id, ... }
Log.object_id references Foo.id or Bar.id
To do this i want to prefix my ids with a class Key with { id, tableName, prefix }
for example FOO for class Foo, BAR for class Bar.
I don't find the hibernate's option to do this
Thanks in advance.
Antoine ON
|