The moose likes XML and Related Technologies and the fly likes XML Relative Path (hibernate configuration problem) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XML Relative Path (hibernate configuration problem)" Watch "XML Relative Path (hibernate configuration problem)" New topic

XML Relative Path (hibernate configuration problem)

Jacky Luk
Ranch Hand

Joined: Aug 02, 2012
Posts: 634

I am going to do this in Java SWING. The application is going to be portable. So the path can't be dead set.
Paul Clapham

Joined: Oct 14, 2005
Posts: 19973

There's no "path" in that entry. The last part of the database driver URL is the DSN (data source name), which you configure into ODBC before running your code. I would suggest you get that configuration done and tested in a small application without Hibernate.
I agree. Here's the link:
subject: XML Relative Path (hibernate configuration problem)
jQuery in Action, 3rd edition