The moose likes Object Relational Mapping and the fly likes doConfigure method in Configuration class Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Object Relational Mapping
Reply Bookmark "doConfigure method in Configuration class" Watch "doConfigure method in Configuration class" New topic
Author

doConfigure method in Configuration class

Sim Kim
Ranch Hand

Joined: Aug 06, 2004
Posts: 268
Hi All,

I am using Hibernate for about a month now . I happened to browse the source code of Configuration class of hibernate3.jar .

If you see there is a method called doConfigure .

Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

So you are suggesting the compiler got it wrong?!

Try this code:


Does it compile?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Sim Kim
Ranch Hand

Joined: Aug 06, 2004
Posts: 268


Here Line 1 will not give error but Line 2 will certainly give !!! This is what doConfigure() method is doing
 
 
subject: doConfigure method in Configuration class
 
Threads others viewed
How to read Franch from ResourceBundle
Session is closed
hibernate session: to close or not to close
HttpException: Already used, but not recycled.
No Network Connection
IntelliJ Java IDE