[hibernate-dev] OGM: unimplemented InfinispanDialect.updateTuple() ?
Sanne Grinovero
sanne at hibernate.org
Mon Aug 15 11:48:50 EDT 2011
Hi,
I'm glad you got it working.
Regarding queries, you can use it with Hibernate Search as we did in a
demo at JBoss World [1], that doesn't provide all power of relational
queries but can still deal with most needs (and full text queries as
well); the only thing you have to consider is to use
fullTextQuery.initializeObjectsWith(
ObjectLookupMethod.PERSISTENCE_CONTEXT,
DatabaseRetrievalMethod.FIND_BY_ID );
as described in the blog post, to avoid having Search load entities
using a query.
1 - http://in.relation.to/Bloggers/WhatYouDidNotSeeAtTheJBossWorld2011KeynoteDemo
Sanne
2011/8/15 Cyrille Chépélov <cyrille at chepelov.org>:
> Le vendredi 12 août 2011 à 15:57 +0100, Sanne Grinovero a écrit :
>
>> I'll clear the m2 cache tomorrow & try again, and if that fails I guess
>> I'll
>> have to hit the SCM :)
>
> Hi,
> yes please try again with a clean cache: the exception you just posted
> is the one I was expecting you to see if using Alpha2 with Infinispan
> 5.0.0.FINAL.
>
> Hi Sanne,
>
> I've tried again with OGM 3.0.0.Alpha2-40-g9c833b5 + Infinispan 5.0.0.FINAL.
>
> The system boots successfully, and InfinispanDialect.updateTuple() does get
> called.
> After a few more hours mazing through Infinispan's visitors, I can now
> report success getting my first entities (and associates) to persist to
> disk. This is a baby step, but a successful step nonetheless!
>
> Thank you very much !
>
> I understand JP-QL or criteria queries are for now out of reach.
> Is there a way to find entities if not by their generated uuid, or to write
> entities with an externally-provided UUID ? (either way would be fine for me
> to proceed with the POC I'm attempting)
>
> -- Cyrille
>
>
>
More information about the hibernate-dev
mailing list