Hi nitin.mahajan,
nitin.mahajan wrote:
Finally it worked!!
Great! Congratulations!
nitin.mahajan wrote:
I want to ask question related to it,is programmatic conf will take less time as compare to hibernate.cfg.xml?
As it was suggested by one of my friend!
Can't say - I've never done any performance tests on this issue.
But if you take into account: Reading a file from the hard disk certainly takes some time. Additionally, in this case it is an XML file that has to be parsed before the configuration data can actually be handled. This all is additional overhead compared to programmatic configuration, I guess.
CU
Froestel