I’m interested in getting the “Description” property of a table column. Is it possible to do via Hibernate? I’m using Sql Server 2008.
Edit: I’m trying to map the column description found in information_schema to the corresponding column (JPA column entity)
I think the simplest solution would be mapping of
informatio_schemain way that will provide the information for columns. If you are using annotations you easily can access to information likeTable nameandColumn name, that can be used inCriteriato fetch the description.This is probably re-coding some available feature and non platform depend. But if you will not succeed in research is always some solution.