-->
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.  [ 1 post ] 
Author Message
 Post subject: Migration from 3.2 to 3.3
PostPosted: Fri Mar 27, 2009 5:38 pm 
Newbie

Joined: Thu Mar 26, 2009 8:36 pm
Posts: 1
Hello,

I'm updating one of our projects to hibernate 3.3 from 3.2 and found deprecation warnings for:

org.hibernate.cache.Cache
and
org.hibernate.cache.CacheConcurrencyStrategy

We use these classes in several places and I haven't had any luck finding a guide to help me determine what interfaces to use instead. Is there one? The source says:

* @deprecated As of 3.3; see <a href="package.html"/> for details.

But I can't seem to find the 3.3 docs for org.hibernate.cache. This is the latest doc I could find and it doesn't say anything about deprecation:

http://www.hibernate.org/hib_docs/v3/ap ... mmary.html

I'm sure I'm missing something stupid, but my searching has only turned up phrases like "New L2 Caching API's" in the migration guide with no further information.

As one example (from a small handful), we're using EntityPersister.getCache() to get our local implementation of the cache interface. I can still get at the cache, but I'd like to get the deeper issue resolved so that we're not using deprecated code.

Thanks,
-Bryn


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

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.