How do I get the table name for a model in Hibernate?
Apparently there used to be a getTableName() method in ClassMetadata, but it\'s been removed.
getTableName()
Using the Configuration, you can call the GetClassMapping() method for a specific type, which would give you some mapping information for that type.
(At least, this is the case in NHibernate, but I suppose that this will be similar in Hibernate).