• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

doConfigure method in Configuration class

 
Sim Kim
Ranch Hand
Posts: 268
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So you are suggesting the compiler got it wrong?!

Try this code:


Does it compile?
 
Sim Kim
Ranch Hand
Posts: 268
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Here Line 1 will not give error but Line 2 will certainly give !!! This is what doConfigure() method is doing
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic