Author: stliu
Date: 2010-09-28 10:14:23 -0400 (Tue, 28 Sep 2010)
New Revision: 20739
Modified:
search/branches/v3_1_1_GA_CP/src/main/java/org/hibernate/search/impl/FullTextSessionImpl.java
Log:
JBPAPP-4895 HHH-5490 dirty data be inserted into 2L cache
Modified:
search/branches/v3_1_1_GA_CP/src/main/java/org/hibernate/search/impl/FullTextSessionImpl.java
===================================================================
---
search/branches/v3_1_1_GA_CP/src/main/java/org/hibernate/search/impl/FullTextSessionImpl.java 2010-09-28
10:59:36 UTC (rev 20738)
+++
search/branches/v3_1_1_GA_CP/src/main/java/org/hibernate/search/impl/FullTextSessionImpl.java 2010-09-28
14:14:23 UTC (rev 20739)
@@ -706,4 +706,13 @@
public void update(Object object) throws HibernateException {
session.update( object );
}
+
+ public void registerInsertedKey(EntityPersister persister, Serializable id) {
+ //do nothing
+ }
+
+ public boolean wasInsertedDuringTransaction(EntityPersister persister,
+ Serializable id) {
+ return false;
+ }
}
Show replies by date