[
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-578?pag...
]
pouet pouet commented on HSEARCH-578:
-------------------------------------
I solved my problem, the solution is here
https://forum.hibernate.org/viewtopic.php?f=9&t=1010772
the problem was that I used a
<bean id="transactionManager"
class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
<property name="dataSource" ref="dataSource" />
</bean>
instead of using a
<bean id="transactionManager"
class="org.springframework.orm.hibernate3.HibernateTransactionManager">
<property name="sessionFactory">
<ref local="sessionFactory"/>
</property>
</bean>
I don't know if hibernate search can know it, must maybe there is a way to warn it
won't work with some specific transaction manager.
JTA transaction commit: Access a Sealed WorkQueue which has not been
sealed
---------------------------------------------------------------------------
Key: HSEARCH-578
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-578
Project: Hibernate Search
Issue Type: Bug
Affects Versions: 3.2.1
Environment: JDK 1.8.0_18 + Glassfish 2.1.1 + Spring 3.0.3 + Hibernate 3.5.3 +
Hibernate Search 3.2.1 + MySQL 5.1.48 + Windows XP SP3
Reporter: Fabián Guerra
Priority: Blocker
Attachments: application-context.xml, hibernate.log, search-context.xml
Original Estimate: 168h
Remaining Estimate: 168h
I'm facing a problem using hibernate search as HSEARCH-540 bug, after an entity has
been persited hibernate tries to index it but I got:
org.hibernate.annotations.common.AssertionFailure: Access a Sealed WorkQueue which has
not been sealed
I'm not using annotations to handle POJO's and transactions, I use Spring's
HibernateTemplate to persist objects and Aspects to transaction management. (Config files
attached)
example:
@Override
public void add(Item item) {
getHibernateTemplate().save(item);
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira