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

Key: CMP-676
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Shay Banon
Reporter: Tony De Freitas
Votes: 0
Watchers: 0
Operations

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

Embedded Hibernate - Compass should automatically detect Compass from the SessionFactoryEmbedded Hibernate

Created: 10/Jul/08 06:39 PM   Updated: 11/Jul/08 04:18 AM
Component/s: Compass::Gps
Affects Version/s: 2.1.0 M1
Fix Version/s: 2.0.2, 2.1.0 M2

Environment: JBoss 4.2.2, Spring 2.0.7, hibernate 3.2.6, compass 2.1.0M1


 Description  « Hide
The methods:
HibernateHelper.getCompassGps(sessionFactory)
HibernateHelper.getCompassGps(hibernateGpsDevice)
HibernateHelper.getCompass(sessionFactory)
HibernateHelper.getIndexSettings(sessionFactory);

Fail with sessionFactory

http://forum.compass-project.org/thread.jspa?threadID=215543&tstart=0



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Shay Banon added a comment - 11/Jul/08 04:18 AM
Fixed it by opening a session and getting the bounded Compass instance from it. No API in Hibernate to get it through an interface so proxing will work.