The class org.hibernate.mapping.Column holds information about a mapped database column. See:
http://www.hibernate.org/hib_docs/v3/ap ... olumn.html
One way to get to that information is to start at your org.hibernate.cfg.Configuration object, assuming that you somehow can get access to it from your EntityManager (I have no experience with it). Then something like:
Code:
Configuration cfg = ....
PersistentClass pc =cfg.getClassMapping(String entityName);
Table t = pc.getTable();
Column c = t.getColumn(columnName);
This is the simple case which should work if you have one table per entity. More complex cases may require calling other methods. Trial and error is your best friend, since the Javadoc is not so full with information. And... be prepared to have to change your code if moving to a different Hibernate version since this is not considered as a public API and may change.