Hibernate Books

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Use the Hibernate Session in a ClassBridge
PostPosted: Thu Oct 13, 2011 10:44 am 
Newbie

Joined: Thu Oct 13, 2011 10:32 am
Posts: 3
I have created a ClassBridge in Hibernate-Search. Inside the bridge I have some Hibernate queries that I can not execute because the application freezes when accessing the Hibernate Session.
Actually I can not debug my getTransaction() method which normally would open a transaction because the the application stops responding and no exception is thrown.

Is there a way to access the database in a Bridge? AFAIK, the Hibernate Session should be available at this point.

Thanks,
@tticus


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.