Details
-
Type:
Sub-task
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.1.0
-
Fix Version/s: 2.2.1
-
Component/s: Installation
-
Labels:None
Description
Seems that Compass is not compatible with Hibernate 4. Since it's no longer maintained, it seems logical to switch to Hibernate Search.
testUserSearch(org.appfuse.dao.UserDaoTest): Error creating bean with name 'org.appfuse.dao.UserDaoTest': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.compass.gps.CompassGps org.appfuse.dao.UserDaoTest.compassGps; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'compassGps' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/hibernate/impl/SessionFactoryImpl
Activity
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Matt Raible [ mraible ] | J. Garcia [ jogaco ] |
APF-1297, APF-1298
Upgrade to Hibernate 4
Replace Compass-Search with Hibernate-Search
APF-1298 for IBATIS:
If IBATIS is removed, remove all references to compass in source code,
which have been untouched for all source code related to IBATIS.
If IBATIS is continued: peding: add aop to fire index events in
hibernate-search for IBATIS insertions, deletions, updates.
- ...44 more files in changeset
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
APF-1298 improvements
Search index for tests now created in filesystem, so they can be
analyzed with the luke tool.
Replaced Compass-Search by Hibernate-Search.
https://github.com/appfuse/appfuse/commit/6c9d045209cbc3ac74cbf080c1496a5048ba9e32