Dear Experts,
I'd like to create a class that returns:
the name of each table in a given database
the name, type and length (if applicable) of each column in each table
I know I can use JDBC to return a ResultSet containing all this, but I'm too lazy, and I'm just starting to work with Hibernate. Is there an easy way to get this data through Hibernate?
Thanks!
McJava1967
Start Free Trial