As many of us dont know that we can get the database metadata information from hibernate session, below sample code will help us to get the db metadata information.
ConnetionInfo.java class which will implement the hibernate jdbc work interface and override the execute method with connection object as argument, this connection object we will be getting from session of hibernate.
hibernate connection test code to get the db metadata details
I really enjoy the blog article.Much thanks again.
ReplyDeletego langaunage training
azure training
java training