• 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
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!