感谢Jherico,我发现了如何做到这一点:
((Column) sessionFactoryBean.getConfiguration().getClassMapping(Person.class.getName()) .getProperty("myProperty").getColumnIterator().next()).getName();
感谢Jherico,我发现了如何做到这一点:
((Column) sessionFactoryBean.getConfiguration().getClassMapping(Person.class.getName()) .getProperty("myProperty").getColumnIterator().next()).getName();