-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: batch indexing on EJB 3.1
PostPosted: Mon Jan 27, 2014 7:08 am 
Regular
Regular

Joined: Thu Jun 16, 2011 12:03 pm
Posts: 94
Is there any way of calling the mass indexer on a EJB 3.1?

I would to like all my entities (1 million) calling a Stateless EJB method.

I'm getting :

10:55:28,560 WARN [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (Hibernate Search: collectionsloader-6) SQL Error: 0, SQLState: null
10:55:28,560 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (Hibernate Search: collectionsloader-6) javax.resource.ResourceException: IJ000460: Error checking for a transaction

I found this old link https://community.jboss.org/thread/185598 but i'm not sure if there is a better way of doing this task.

Thanks in advance,


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 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.