Hibernate: How to get the mapped database column

M

Michelle

I am transitioning an existing application that has dynamic access
privileges on the fields based on an individual's role. The legacy
system is a Powerbuilder application so the fields displayed on a form
are generally tied to a database column field and the default name of
the form field is the same name as the database column. The transition
is to the Web and we are using JSPs to display the forms. We are using
Hibernate to retrieve and persist data.

My question is: Is there a way I can get the associated database column
name for the variables in the Hibernate objects?

I thought maybe I could use the Metadata of the Hibernate object but
that does not show me the mapped database column. Any ideas would be
greatly appreciated.

Michelle
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top