• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

ORM

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello everyone,

I am new to "Hibernate" world and I am having problem in *.hbm.xml and hibernate.cfg.xml parsing. I am using WSAD 5.1.1, Hibernate 2.1 and Oracle 10g. Here is how the "hibernate.cfg.xml" looks like:

==========
1. <?xml version='1.0' encoding='utf-8'?>
2. <!DOCTYPE hibernate-configuration PUBLIC
3. "-//Hibernate/Hibernate Configuration DTD 2.0//EN"
4. "http://hibernate.sourceforge.net/hibernate-configuration-2.0.dtd">
5. <hibernate-configuration>
6. <session-factory>
....
....and so on

WSAD is shoing me error on line (4.) saying:
=======================
Description:
"Operation timed out: connect"
Resource:
hibernate.cfg.xml
In Folder:
(folder path)
=======================
When I look at the URL (on line 4), I am able to see the DTD file.

I'd highly appreciate if someone could please let me know what I am doingwrong and how to fix this error. I am getting this same error in all of my HBM files also.
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Bakwaas Bakwaas"

Welcome to JavaRanch!

Could you please change your display name so it complies with our Naming Policy. You can do this here.

Thanks!
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, there no DTD version support for Oracle 10 version i think. we have to use DTD 3.0 version with hibernate 3.x support.


Error nothing but due to versioning problem only.
 
Paul Sturrock
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by nirumagic tniranjan:
Hi, there no DTD version support for Oracle 10 version i think. we have to use DTD 3.0 version with hibernate 3.x support.


Error nothing but due to versioning problem only.



You don't need to update the version of the DTD (or Hibernate) to use Oracle 10. Hibernate 2.1 will work happily enough with Oracle 10. There is a probable answer to "Bakwaas Bakwaas" issue, but not one I'll post till he/she addresses the problem of their display name.
 
reply
    Bookmark Topic Watch Topic
  • New Topic