| 
					
						 how hibernate searches for hibernate configuration information that we write in hibernate.properties or hibernate.cfg.xml? i have problem using hibernate with eclipse, i am getting this error
  -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
  Exception in thread "main" org.hibernate.HibernateException: The dialect was not set. Set the property hibernate.dialect. 	at org.hibernate.dialect.Dialect.getDialect(Dialect.java:474) 	at org.hibernate.dialect.Dialect.getDialect(Dialect.java:496) 	at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:51) 	at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1497) 	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1041) 	at source.Testing.main(Testing.java:16) -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- i guess hibernate framework is not able to acess the hibernate.cfg.xml file that i have setup in eclipse. can any one please explain , how hibernate searches for this cfg.xml and property files and where i have keep this files if i am using eclipse IDE. 
					
  
						
					 |