-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Java Persistence Book: System-levelproperties
PostPosted: Tue Nov 21, 2006 12:28 pm 
Newbie

Joined: Tue Nov 21, 2006 12:19 pm
Posts: 1
I am trying to set the dialect property. In the new Java Persistence example Chapter 2, it suggests setting it in the hibernate.cfg.xml file (Listing 2.4, pg. 52). When I try this, it fails, complaining the property isn't set. When I put the property in the hibernate.properties file, everything works. In Section 3.4 of http://www.hibernate.org/hib_docs/v3/re ... ation.html, it suggests that some properties are "system-level" and, therefore, not settable in hibernate.cfg.xml. Is hibernate.dialect one of the system-level properties? If so, is Listing 2.4 in error?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 21, 2006 1:13 pm 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
No it is not a system propery (you probably never need any of those). Download the book code and compare it to yours.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.