We're currently migrating to hibernate.
The software we're developing already has a (JDBC-)feature, where a user
can browse through the database and take a look at the Metadata
(before anybody asks, we need this feature for debugging- and migration-processes only).
We're implementing our software in very different enviroments with databases of various manufactures.
Because hibernates understands several dialects, I was wondering if there's
a way to request the "real"-db-Metadata (which -I think- is different than
the mapped Metadata which you can request via the ClassMetadata-Object).
I know that I could probably implement this by giving the correct
SQL-Statement to hibernate (or JBDC :) ), but I would have to know the
correct SQL-Syntax (and sometimes DBMS-Strukture) of every database
we encounter.
So is there a way to make this stuff database-independent with hibernate ?
|