Is there a class that I could use in Hibernate so that I could pass in a class and it would return the appropriate database type name?
For example,
String type = HibernateTypeGod.getTypeName(String.class);
Hibernate would determine the dialect I specified and return me VARCHAR2 in the case of Oracle.