Hello guys, I tried to follow your advices and also added the Queryable(false) flag to org.qi4j.library.sql.common.SQLConfiguration.
I adapted my assembly from the cargo_dcisample_b source code as I;m using this sample as a kind of "inspiration" for my own project. Attached there is a simple project where I was trying to solve the SQL Entity/Indexing issue. To keep it very simple I used the SQLTestHelper.assembleWithSQLEntityStore(indexingModule); statement found in the JUnit tests. Also played with the visibility flag in SQLTestHelper.doCommonAssembling() but either I received the 1.) org.qi4j.api.service.NoSuchServiceException: Could not find any visible ServiceComposite of type [org.qi4j.spi.query.EntityFinder] or 2.) java.lang.IllegalStateException: java.lang.StackOverflowError Sorry guys, I was not able to solve it by my self... :-( Cheers, Jiri 2012/10/27 Stanislav Muhametsin <[email protected]>: > Quoting Niclas Hedhman <[email protected]>: > >> Ok, Paul's description seem right. >> >> On Sat, Oct 27, 2012 at 1:28 AM, Paul Merlin <[email protected]> wrote: >> >>> Third, the endless loop seems to come from the DataSourceConfiguration >>> loading and to take place in EntityStore.newUnitOfWork(..) but at first >>> sight and without a complete test case I can't see why it goes crazy like >>> that. >> >> >> Well, my guess is that the Configuration for Indexing is Queryable. >> >> - initialize indexing >> - initialize config >> - send config for storage >> - config is queryable >> - notify indexing >> - initialize indexing >> - .... >> > > The configuration for SQL Indexing is same as for SQL EntityStore, > org.qi4j.library.sql.common.SQLConfiguration. I've pushed change to add > Queryable(false) attribute the the property of that configuration, tell me > if that helps. > > > > _______________________________________________ > qi4j-dev mailing list > [email protected] > http://lists.ops4j.org/mailman/listinfo/qi4j-dev
_______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

