posted 16 years ago
Well, this isn't really a Hibernate ORM thing. I mean you are trying to use Hibernate to get to that information, but the real issue is the databases and what "DBA" tables they have to get that information.
So, the only Hibernate thing would be that the connection/user has to have permission to access that stuff for each database.
But the big key is in the databases. In Oracle there is a table called dba_tables that you can query to get the table names, and with that id you can go into dba_fields table to get the field information.
I do not know what MySQL has. I recommend looking for MySQL and Oracle documentation.
Good Luck
Mark