Hi,
I need to get the Database schema details (Tables, Columns, Views, Stored Procedures, Triggers, etc) for given DataSource object.
Is there any APIs available in Hibernate to get the Database schema details.
Hibernate doesn't have any API for retrieving DB details, but we can create the native query like session.createSQLQuery(...) and get all those details by using normal SQLs.
Don't get me started about those stupid light bulbs.