-->
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: Q: Unterschied Properties "dialect" & "hi
PostPosted: Mon Apr 30, 2007 6:14 am 
Beginner
Beginner

Joined: Sun Sep 04, 2005 3:10 am
Posts: 24
Location: CH
Hallo,
ich habe ein Durcheinander im Kopf. Wann soll das Property "dialect" verwendet werden und wann "hibernate.dialect"? Bzw. was ist der Unterschied zwischen den beiden?

Vielen Dank,
chk


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 08, 2007 5:09 am 
Newbie

Joined: Tue May 08, 2007 4:35 am
Posts: 8
Es gibt kein Unterschied, Du kannst beides verwenden - zumindest bei der Konfiguration mit XML.

Wenn initial die Configuration Deine SessionFactory baut werden die Properties gelesen. Dabei schaut sich Hibernate alle seine Properties mit und ohne dem Präfix "hibernate" an.
Der Lesbarkeit kommt es zu gute das Präfix zu belassen. Die Stelle findest Du im Hibernate-Code hier:
http://fisheye.labs.jboss.com/browse/Hibernate/trunk/Hibernate3/src/org/hibernate/cfg/Configuration.java?r=trunk#l1381


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.