How to read Hibernate mapping
Posted
by Lluis Martinez
on Stack Overflow
See other posts from Stack Overflow
or by Lluis Martinez
Published on 2010-03-24T15:21:16Z
Indexed on
2010/03/24
16:43 UTC
Read the original article
Hit count: 477
Hi,
I need to know which physical column is associated to a persistent's attribute.
e.g.
Class LDocLine has this attribute private Integer lineNumber;
which is mapped in hibernate like this :
The method I need is something like :
getColumn("LDocLine","lineNumber) => "LINENUMBER"
I assume its existence internally, but not sure if it's in the public api.
Thanks in advance
© Stack Overflow or respective owner