Comments on: Hibernate Hello World Program (Hibernate Insert Query) http://www.java4s.com/hibernate/hibernate-hello-world-program-saving-an-objcet/ Get it YourSelf Tue, 30 Aug 2016 14:57:13 +0000 hourly 1 http://wordpress.org/?v=224 By: mahendra http://www.java4s.com/hibernate/hibernate-hello-world-program-saving-an-objcet/#comment-5223 Sun, 14 Aug 2016 04:31:39 +0000 http://www.java4s.com/?p=255#comment-5223 Hi java4s team,

I executed program in eclipse but i got one exception. The exception i mention bellow.

Exception in thread “main” org.hibernate.HibernateException: Could not parse configuration: hibernate.cfg.xml
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1491)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1425)
at san.StoreData.main(StoreData.java:18)
Caused by: org.dom4j.DocumentException: Error on line 3 of document : The document type declaration for root element type “hibernate-configuration” must end with ‘>’. Nested exception: The document type declaration for root element type “hibernate-configuration” must end with ‘>’.
at org.dom4j.io.SAXReader.read(SAXReader.java:482)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1481)
… 2 more

Please give me replay as soon as possible.

thank you

]]>
By: ajit http://www.java4s.com/hibernate/hibernate-hello-world-program-saving-an-objcet/#comment-5111 Wed, 29 Jun 2016 11:29:02 +0000 http://www.java4s.com/?p=255#comment-5111 Hi ,

This is very good site for beginners.Thanks a lot for your valueable time.

in above program,hibernate.cfg.xml file u have mentioned dialet instead of dialect due to which getting error “Hibernate Dialect must be explicitly set”
org.hibernate.dialect.OracleDialect

]]>
By: Munisekhar http://www.java4s.com/hibernate/hibernate-hello-world-program-saving-an-objcet/#comment-4995 Thu, 26 May 2016 06:19:21 +0000 http://www.java4s.com/?p=255#comment-4995 Hi sir,

my question is??

what is the difference between satatic and transient in the process of serilization ,i want difference between them….

]]>