Hibernate version: 2.1.4
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
Name and version of the database you are using:
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
Hello all:
As an exercise, I'm trying to build a generic database browser that could read at runtime mapping data about primary and foreign keys.
How can I fetch data from <key-property> elements?
For example, from this element:
<key-property
name="actTmprlAssocIx"
column="ACT_TMPRL_ASSOC_IX"
type="long"
length="15"
>
I need to get "name" and "column" values. I've tried with PersistentClass, with no success (I only got the column name).
Thank you very much.
Best Regards
|