What place i should look to find how hibernate get table name for the class in hibernate source code?
-
I am going through hibernate source code. i want to know the place in source code were hibernate gets table name of the Model class. To be clear. I have a Model Class Organization. there is a table in Db organization. Now my question is do hibernate goes to Db and fetch the information of the table organization while/before mapping or anytime. If it is then what place in the code i should look. i am tracking the source code but it a jungle. Appreciate all help.
-
Answer:
Now got it this is the first time i am answering my own question. answer is hibernate never goes to db. it creates table names and column names based on annotations and mapping configuration. it only goes to db when it is asked to get some data.
Ahmed Jamal Maaz at Quora Visit the source
Related Q & A:
- How to get the name of the currently connected WiFi network?Best solution by Stack Overflow
- How to find the embed code for videos on a Website when it doesn't show in the source code?Best solution by Stack Overflow
- How do I audit a policy document? What areas should I look at and how should it be written?Best solution by Yahoo! Answers
- How can I find a person's last name?Best solution by Yahoo! Answers
- What can I say to a restaurant manager to get an interview?Best solution by foodbizjobs.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.