SourceForge.net Logo
Main Overview Wiki Issues Forum Build Fisheye
Issue Details (XML | Word | Printable)

Key: CMP-440
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Shay Banon
Reporter: Shay Banon
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Compass

New HibernateDevice (3) providing better support for Hibernate

Created: 29/Jul/07 05:08 PM   Updated: 06/Aug/07 03:50 PM
Component/s: Compass::Core
Affects Version/s: 1.1 GA, 1.1.1, 1.2 M1, 1.2 M2
Fix Version/s: 1.2 M3


 Description  « Hide
Provide a new implementation for HibernateGpsDevice. The new implementation should support simpler extension, including default support for:

1. Custom query providers for indexing
2. Custom indexers, including default pagination and scrollable ones
3. Custom lifecycle injection (hibernate events).

This means that the old Hibernate3GpsDevice is deprecated and has been moved to a different package (hibernate.dep). The reason for the move is to have users to start using the new device.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Shay Banon added a comment - 29/Jul/07 05:09 PM
Committed the main code. Leftovers:

1. Document this feature, including the deprecation (change the upgrade text file).
2. Change the petclinic same to use the new device.


Matan added a comment - 06/Aug/07 06:17 AM
any plans for the org.compass.spring.device.hibernate.SpringHibernate3GpsDevice class being updated as well? i only see it in the org.compass.spring.device.hibernate.dep package now without any other replacement....

Shay Banon added a comment - 06/Aug/07 03:50 PM
The Spring Hibernate device was used to extract the native Hibernate SessionFactory. The new device now has the ability to plug a native session factory extractor, and there is a default implementation for Spring.