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.  [ 5 posts ] 
Author Message
 Post subject: Configuration.setCacheConcurrencyStrategy question
PostPosted: Thu Jan 05, 2006 11:12 am 
Regular
Regular

Joined: Fri Aug 29, 2003 12:48 pm
Posts: 63
Hey, y'all. I'm beginning the migration from hibernate-2.1 to hibernate-3.1 and am having a tiny bit of trouble with Configuration.setCacheConcurrencyStrategy. The API went from taking a Class and a Cache as arguments to taking two Strings, but doesn't say anything about the values of those strings. The FQDN's of the classes in question don't seem to work, but there may well be something else going on. Any suggestions?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 05, 2006 11:38 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
first one is the entityname of the entity and the second is the cache concurrency strategy (e.g. "nonstrict-read-write")

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 05, 2006 11:43 am 
Regular
Regular

Joined: Fri Aug 29, 2003 12:48 pm
Posts: 63
thanks, max. is there a list of the official names for the caches somewhere? i'm afraid the javadocs aren't particularly helpful in this regard. (hint, hint. or should i roll up a patch myself and submit it? :))


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 05, 2006 11:46 am 
Regular
Regular

Joined: Fri Aug 29, 2003 12:48 pm
Posts: 63
Never mind, I found my answers in section 19.2 of the user manual. Thanks again.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 05, 2006 11:46 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
http://www.hibernate.org/hib_docs/v3/re ... he-mapping

_________________
Max
Don't forget to rate


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 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.