Changeset 4414


Ignore:
Timestamp:
Feb 20, 2013, 3:42:05 PM (10 years ago)
Author:
olle
Message:

Refs #327. Refs #786. Deprecated method evict(Class, Serializable) in Hibernate SessionFactory replaced by getCache().containsEntity(Class, Serializable) in class/file core/HibernateUtil.java in api/core/.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/api/core/src/org/proteios/core/HibernateUtil.java

    r4413 r4414  
    13071307      // Evict the item from the cache and, in another session, try to
    13081308      // load the news item
    1309       sf.evict(NewsData.class, newsId);
     1309      sf.getCache().containsEntity(NewsData.class, newsId);
    13101310      session = HibernateUtil.newSession();
    13111311      tx = HibernateUtil.newTransaction(session);
Note: See TracChangeset for help on using the changeset viewer.