Author: sannegrinovero
Date: 2010-02-28 17:34:27 -0500 (Sun, 28 Feb 2010)
New Revision: 18904
Modified:
search/trunk/pom.xml
search/trunk/src/main/java/org/hibernate/search/query/FullTextQueryImpl.java
Log:
HSEARCH-455 Keep Search compatible with latest Hibernate Core
Modified: search/trunk/pom.xml
===================================================================
--- search/trunk/pom.xml 2010-02-28 22:21:03 UTC (rev 18903)
+++ search/trunk/pom.xml 2010-02-28 22:34:27 UTC (rev 18904)
@@ -116,7 +116,7 @@
<properties>
<slf4jVersion>1.5.8</slf4jVersion>
<luceneVersion>2.9.1</luceneVersion>
- <hibernateVersion>3.5.0-Beta-4</hibernateVersion>
+ <hibernateVersion>3.5.0-CR-2</hibernateVersion>
<hibernateCommonsAnnotationVersion>3.2.0.Beta1</hibernateCommonsAnnotationVersion>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
Modified: search/trunk/src/main/java/org/hibernate/search/query/FullTextQueryImpl.java
===================================================================
---
search/trunk/src/main/java/org/hibernate/search/query/FullTextQueryImpl.java 2010-02-28
22:21:03 UTC (rev 18903)
+++
search/trunk/src/main/java/org/hibernate/search/query/FullTextQueryImpl.java 2010-02-28
22:34:27 UTC (rev 18904)
@@ -908,7 +908,7 @@
throw new IllegalArgumentException("Cannot unwrap " + type.getName() );
}
- protected LockOptions getLockOptions() {
+ public LockOptions getLockOptions() {
throw new UnsupportedOperationException( "Lock options are not implemented in
Hibernate Search queries" );
}
Show replies by date