Is 'Configuration' an Interface or Class in hibernate?
Joined: May 25, 2012
I have read in 'Hibernate in Action' book that 'Configuration' is an interface. But then below that I saw lines of code like :
Configuration cfg = new Configuration();
SessionFactory sessionFactory =
Can someone clear my confusion:
If Configuration is an interface then how we can instantiate it like above code?
Or there are two things in Hibernate one is Configuration class and one is Configuration Interface?