You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by Romain Manni-Bucau <rm...@gmail.com> on 2012/11/15 08:48:05 UTC

cdi-query, no news?

Hi guys,

no news of cdi-query (and solder servicehandler)?

i'd love to get it in next release, that's one of the most expected feature
for me.

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*

Re: cdi-query, no news?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
a review of the API i guess

what is missing today is probably the pagination helpers (PageRequest for
instance)

but technically all is fine IMO

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/2/11 Jason Porter <li...@gmail.com>

> I know I'm playing the necromancer, but please forgive me. We have
> InvocationHandler, which looks like it would work as a ServiceHandler
> substitute. What else is needed to get CDI Query into DeltaSpike?
>
>
> On Sun, Nov 18, 2012 at 12:35 PM, Romain Manni-Bucau
> <rm...@gmail.com>wrote:
>
> > +1, it is a must have for cdi world
> > Le 18 nov. 2012 20:04, "john.d.ament" <jo...@gmail.com> a écrit :
> >
> > > RE ServiceHandler - I was one of those who previously suggested
> bringing
> > it
> > > over to DeltaSpike, you can see DELTASPIKE-113 and find the thread
> about
> > it
> > > from April of this year.  At the time, I was in a position where I
> > couldn't
> > > spend much time on open source contribution.  I've recently changed
> jobs,
> > > to
> > > something that's going to help me spend some more time with the open
> > source
> > > community, and believe I can pick it back up if we're ready.
> > >
> > > If everyone's ok with it I can start a new thread for 113 or revive the
> > old
> > > thread (though it may come through with a large pile of dust).
> > >
> > > Regards,
> > >
> > > John
> > >
> > >
> > >
> > > --
> > > View this message in context:
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > Sent from the Apache DeltaSpike Incubator Discussions mailing list
> > archive
> > > at Nabble.com.
> > >
> >
>
>
>
> --
> Jason Porter
> http://en.gravatar.com/lightguardjp
>

Re: cdi-query, no news?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
JUL would be fine IMO (the logging need is not very important)

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/2/12 Jason Porter <li...@gmail.com>

> You can stick with JBoss Logging if you'd like, or move over to something
> else. JBoss Logging is standalone.
>
>
> On Tue, Feb 12, 2013 at 8:10 AM, Thomas Hug
> <th...@ctp-consulting.com>wrote:
>
> > FYI, I've started to "de-solderize" CDI Query and move things to depend
> on
> > DS Core [1]:
> > https://github.com/ctpconsulting/query/tree/deltaspike
> >
> > Todos:
> > [x] Replace ServiceHandler
> > [_] Include Property utils
> > [_] Replace JBoss Logging
> >
> > Any feedback welcome.
> >
> > [1] including this modification
> >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> >
> > On Mon, Feb 11, 2013 at 6:01 PM, Romain Manni-Bucau
> > <rm...@gmail.com>wrote:
> >
> > > a review of the API i guess
> > >
> > > what is missing today is probably the pagination helpers (PageRequest
> for
> > > instance)
> > >
> > > but technically all is fine IMO
> > >
> > > *Romain Manni-Bucau*
> > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > http://rmannibucau.wordpress.com/>
> > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > *Github: https://github.com/rmannibucau*
> > >
> > >
> > >
> > > 2013/2/11 Jason Porter <li...@gmail.com>
> > >
> > > > I know I'm playing the necromancer, but please forgive me. We have
> > > > InvocationHandler, which looks like it would work as a ServiceHandler
> > > > substitute. What else is needed to get CDI Query into DeltaSpike?
> > > >
> > > >
> > > > On Sun, Nov 18, 2012 at 12:35 PM, Romain Manni-Bucau
> > > > <rm...@gmail.com>wrote:
> > > >
> > > > > +1, it is a must have for cdi world
> > > > > Le 18 nov. 2012 20:04, "john.d.ament" <jo...@gmail.com> a
> > > écrit :
> > > > >
> > > > > > RE ServiceHandler - I was one of those who previously suggested
> > > > bringing
> > > > > it
> > > > > > over to DeltaSpike, you can see DELTASPIKE-113 and find the
> thread
> > > > about
> > > > > it
> > > > > > from April of this year.  At the time, I was in a position where
> I
> > > > > couldn't
> > > > > > spend much time on open source contribution.  I've recently
> changed
> > > > jobs,
> > > > > > to
> > > > > > something that's going to help me spend some more time with the
> > open
> > > > > source
> > > > > > community, and believe I can pick it back up if we're ready.
> > > > > >
> > > > > > If everyone's ok with it I can start a new thread for 113 or
> revive
> > > the
> > > > > old
> > > > > > thread (though it may come through with a large pile of dust).
> > > > > >
> > > > > > Regards,
> > > > > >
> > > > > > John
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > View this message in context:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > > > Sent from the Apache DeltaSpike Incubator Discussions mailing
> list
> > > > > archive
> > > > > > at Nabble.com.
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Jason Porter
> > > > http://en.gravatar.com/lightguardjp
> > > >
> > >
> >
>
>
>
> --
> Jason Porter
> http://en.gravatar.com/lightguardjp
>

Re: cdi-query, no news?

Posted by Thomas Hug <th...@ctp-consulting.com>.
Thnx for the suggestions - wanted to refer to Solder Logging but fingers
were faster :)
Seems like there's already some JUL code in DS Core, so sticking to that
convention makes probably sense.

On Tue, Feb 12, 2013 at 4:59 PM, Romain Manni-Bucau
<rm...@gmail.com>wrote:

> JUL would be fine IMO (the logging need is not very important)
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog: **http://rmannibucau.wordpress.com/*<
> http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
> 2013/2/12 Jason Porter <li...@gmail.com>
>
> > You can stick with JBoss Logging if you'd like, or move over to something
> > else. JBoss Logging is standalone.
> >
> >
> > On Tue, Feb 12, 2013 at 8:10 AM, Thomas Hug
> > <th...@ctp-consulting.com>wrote:
> >
> > > FYI, I've started to "de-solderize" CDI Query and move things to depend
> > on
> > > DS Core [1]:
> > > https://github.com/ctpconsulting/query/tree/deltaspike
> > >
> > > Todos:
> > > [x] Replace ServiceHandler
> > > [_] Include Property utils
> > > [_] Replace JBoss Logging
> > >
> > > Any feedback welcome.
> > >
> > > [1] including this modification
> > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > >
> > > On Mon, Feb 11, 2013 at 6:01 PM, Romain Manni-Bucau
> > > <rm...@gmail.com>wrote:
> > >
> > > > a review of the API i guess
> > > >
> > > > what is missing today is probably the pagination helpers (PageRequest
> > for
> > > > instance)
> > > >
> > > > but technically all is fine IMO
> > > >
> > > > *Romain Manni-Bucau*
> > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > http://rmannibucau.wordpress.com/>
> > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > *Github: https://github.com/rmannibucau*
> > > >
> > > >
> > > >
> > > > 2013/2/11 Jason Porter <li...@gmail.com>
> > > >
> > > > > I know I'm playing the necromancer, but please forgive me. We have
> > > > > InvocationHandler, which looks like it would work as a
> ServiceHandler
> > > > > substitute. What else is needed to get CDI Query into DeltaSpike?
> > > > >
> > > > >
> > > > > On Sun, Nov 18, 2012 at 12:35 PM, Romain Manni-Bucau
> > > > > <rm...@gmail.com>wrote:
> > > > >
> > > > > > +1, it is a must have for cdi world
> > > > > > Le 18 nov. 2012 20:04, "john.d.ament" <jo...@gmail.com> a
> > > > écrit :
> > > > > >
> > > > > > > RE ServiceHandler - I was one of those who previously suggested
> > > > > bringing
> > > > > > it
> > > > > > > over to DeltaSpike, you can see DELTASPIKE-113 and find the
> > thread
> > > > > about
> > > > > > it
> > > > > > > from April of this year.  At the time, I was in a position
> where
> > I
> > > > > > couldn't
> > > > > > > spend much time on open source contribution.  I've recently
> > changed
> > > > > jobs,
> > > > > > > to
> > > > > > > something that's going to help me spend some more time with the
> > > open
> > > > > > source
> > > > > > > community, and believe I can pick it back up if we're ready.
> > > > > > >
> > > > > > > If everyone's ok with it I can start a new thread for 113 or
> > revive
> > > > the
> > > > > > old
> > > > > > > thread (though it may come through with a large pile of dust).
> > > > > > >
> > > > > > > Regards,
> > > > > > >
> > > > > > > John
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > View this message in context:
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > > > > Sent from the Apache DeltaSpike Incubator Discussions mailing
> > list
> > > > > > archive
> > > > > > > at Nabble.com.
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Jason Porter
> > > > > http://en.gravatar.com/lightguardjp
> > > > >
> > > >
> > >
> >
> >
> >
> > --
> > Jason Porter
> > http://en.gravatar.com/lightguardjp
> >
>

Re: cdi-query, no news?

Posted by Jason Porter <li...@gmail.com>.
You can stick with JBoss Logging if you'd like, or move over to something
else. JBoss Logging is standalone.


On Tue, Feb 12, 2013 at 8:10 AM, Thomas Hug
<th...@ctp-consulting.com>wrote:

> FYI, I've started to "de-solderize" CDI Query and move things to depend on
> DS Core [1]:
> https://github.com/ctpconsulting/query/tree/deltaspike
>
> Todos:
> [x] Replace ServiceHandler
> [_] Include Property utils
> [_] Replace JBoss Logging
>
> Any feedback welcome.
>
> [1] including this modification
>
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
>
> On Mon, Feb 11, 2013 at 6:01 PM, Romain Manni-Bucau
> <rm...@gmail.com>wrote:
>
> > a review of the API i guess
> >
> > what is missing today is probably the pagination helpers (PageRequest for
> > instance)
> >
> > but technically all is fine IMO
> >
> > *Romain Manni-Bucau*
> > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > *Blog: **http://rmannibucau.wordpress.com/*<
> > http://rmannibucau.wordpress.com/>
> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > *Github: https://github.com/rmannibucau*
> >
> >
> >
> > 2013/2/11 Jason Porter <li...@gmail.com>
> >
> > > I know I'm playing the necromancer, but please forgive me. We have
> > > InvocationHandler, which looks like it would work as a ServiceHandler
> > > substitute. What else is needed to get CDI Query into DeltaSpike?
> > >
> > >
> > > On Sun, Nov 18, 2012 at 12:35 PM, Romain Manni-Bucau
> > > <rm...@gmail.com>wrote:
> > >
> > > > +1, it is a must have for cdi world
> > > > Le 18 nov. 2012 20:04, "john.d.ament" <jo...@gmail.com> a
> > écrit :
> > > >
> > > > > RE ServiceHandler - I was one of those who previously suggested
> > > bringing
> > > > it
> > > > > over to DeltaSpike, you can see DELTASPIKE-113 and find the thread
> > > about
> > > > it
> > > > > from April of this year.  At the time, I was in a position where I
> > > > couldn't
> > > > > spend much time on open source contribution.  I've recently changed
> > > jobs,
> > > > > to
> > > > > something that's going to help me spend some more time with the
> open
> > > > source
> > > > > community, and believe I can pick it back up if we're ready.
> > > > >
> > > > > If everyone's ok with it I can start a new thread for 113 or revive
> > the
> > > > old
> > > > > thread (though it may come through with a large pile of dust).
> > > > >
> > > > > Regards,
> > > > >
> > > > > John
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > View this message in context:
> > > > >
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > > Sent from the Apache DeltaSpike Incubator Discussions mailing list
> > > > archive
> > > > > at Nabble.com.
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Jason Porter
> > > http://en.gravatar.com/lightguardjp
> > >
> >
>



-- 
Jason Porter
http://en.gravatar.com/lightguardjp

Re: cdi-query, no news?

Posted by Mark Struberg <st...@yahoo.de>.

Thanks Thomas, great news!

LieGrue,
strub





>________________________________
> From: Thomas Hug <th...@ctp-consulting.com>
>To: "deltaspike-dev@incubator.apache.org" <de...@incubator.apache.org> 
>Sent: Tuesday, February 12, 2013 4:10 PM
>Subject: Re: cdi-query, no news?
> 
>FYI, I've started to "de-solderize" CDI Query and move things to depend on
>DS Core [1]:
>https://github.com/ctpconsulting/query/tree/deltaspike
>
>Todos:
>[x] Replace ServiceHandler
>[_] Include Property utils
>[_] Replace JBoss Logging
>
>Any feedback welcome.
>
>[1] including this modification
>https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
>
>On Mon, Feb 11, 2013 at 6:01 PM, Romain Manni-Bucau
><rm...@gmail.com>wrote:
>
>> a review of the API i guess
>>
>> what is missing today is probably the pagination helpers (PageRequest for
>> instance)
>>
>> but technically all is fine IMO
>>
>> *Romain Manni-Bucau*
>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
>> *Blog: **http://rmannibucau.wordpress.com/*<
>> http://rmannibucau.wordpress.com/>
>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
>> *Github: https://github.com/rmannibucau*
>>
>>
>>
>> 2013/2/11 Jason Porter <li...@gmail.com>
>>
>> > I know I'm playing the necromancer, but please forgive me. We have
>> > InvocationHandler, which looks like it would work as a ServiceHandler
>> > substitute. What else is needed to get CDI Query into DeltaSpike?
>> >
>> >
>> > On Sun, Nov 18, 2012 at 12:35 PM, Romain Manni-Bucau
>> > <rm...@gmail.com>wrote:
>> >
>> > > +1, it is a must have for cdi world
>> > > Le 18 nov. 2012 20:04, "john.d.ament" <jo...@gmail.com> a
>> écrit :
>> > >
>> > > > RE ServiceHandler - I was one of those who previously suggested
>> > bringing
>> > > it
>> > > > over to DeltaSpike, you can see DELTASPIKE-113 and find the thread
>> > about
>> > > it
>> > > > from April of this year.  At the time, I was in a position where I
>> > > couldn't
>> > > > spend much time on open source contribution.  I've recently changed
>> > jobs,
>> > > > to
>> > > > something that's going to help me spend some more time with the open
>> > > source
>> > > > community, and believe I can pick it back up if we're ready.
>> > > >
>> > > > If everyone's ok with it I can start a new thread for 113 or revive
>> the
>> > > old
>> > > > thread (though it may come through with a large pile of dust).
>> > > >
>> > > > Regards,
>> > > >
>> > > > John
>> > > >
>> > > >
>> > > >
>> > > > --
>> > > > View this message in context:
>> > > >
>> > >
>> >
>> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
>> > > > Sent from the Apache DeltaSpike Incubator Discussions mailing list
>> > > archive
>> > > > at Nabble.com.
>> > > >
>> > >
>> >
>> >
>> >
>> > --
>> > Jason Porter
>> > http://en.gravatar.com/lightguardjp
>> >
>>
>
>
>

Re: cdi-query, no news?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Yes

It works fine but you bring too much spring dependencies (totally useless
when used this way) which clearly show it is rather a bridge than a
solution + there were some leaks in previous version (didnt check fix was
released to be honest) because if this usage which was not the default one.

Since cdi query is here it worths importing it IMO
Le 5 mars 2013 02:21, "hantsy" <ha...@yahoo.com.cn> a écrit :

> I remember the Spring Data has a CDI extension, but I have not used it
> in projects. Is there anyone used it in Java EE 6 projects?
>
> Hantsy
>
> On 3/3/2013 20:40, Romain Manni-Bucau wrote:
> > Basically if the query logic could be scope agnostic it would be perfect
> > for me. Parameters were fine and matched the coomon need. I m not sure i
> > get what is blocking. Can you detail it a bit please?
> > Le 3 mars 2013 13:09, "Thomas Hug" <th...@ctp-consulting.com> a
> écrit :
> >
> >> Aha got you. Yes QueryHandler can be moved to application scope.
> >>
> >> The other request scoped component ist the CdiQueryInvocationContext.
> Here
> >> we store a bunch of data which is related to the current query
> (parameters,
> >> query string etc). Originally this was passed as parameter, but got
> >> injectable for the extension mechanism [1]. Currently on holidays (sorry
> >> the response delays) so not much time to look into it but happy to take
> >> suggestions :)
> >>
> >> [1]
> >>
> >>
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> >>
> >> On Fri, Mar 1, 2013 at 8:18 PM, Romain Manni-Bucau <
> rmannibucau@gmail.com
> >>> wrote:
> >>> Hmm,
> >>>
> >>> Wonder if the scope couldnt be application one. Request sounds too much
> >> web
> >>> to be usable/generic
> >>> Le 1 mars 2013 19:02, "Thomas Hug" <th...@ctp-consulting.com> a
> >>> écrit :
> >>>
> >>>> Fine for me - planned to create a branch with all the experimental
> APIs
> >>>> cleared out as an import proposal.
> >>>>
> >>>> RE scope, the InvocationHandlers are validated to be normal scoped
> [1],
> >>> so
> >>>> that seemed to me the most appropriate choice - any other suggestions?
> >>>>
> >>>> [1]
> >>>>
> >>>>
> >>
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> >>>>
> >>>> On Wed, Feb 27, 2013 at 1:15 PM, Romain Manni-Bucau
> >>>> <rm...@gmail.com>wrote:
> >>>>
> >>>>> Hi,
> >>>>>
> >>>>> some news of it?
> >>>>>
> >>>>> i think it is time to import at least a first version, isn't it?
> >>>>>
> >>>>> Just a note on current code, i saw QueryHandler (and some other
> >> beans)
> >>>> has
> >>>>> a request scope. Wonder if such a scope means something for a generic
> >>>> (not
> >>>>> web) lib.
> >>>>>
> >>>>> wdyt?
> >>>>>
> >>>>> *Romain Manni-Bucau*
> >>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> >>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> >>>>> http://rmannibucau.wordpress.com/>
> >>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> >>>>> *Github: https://github.com/rmannibucau*
> >>>>>
> >>>>>
> >>>>>
> >>>>> 2013/2/20 Romain Manni-Bucau <rm...@gmail.com>
> >>>>>
> >>>>>> guy you rocks!
> >>>>>>
> >>>>>> effectively i missed it when i looked.
> >>>>>>
> >>>>>> *Romain Manni-Bucau*
> >>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> >>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> >>>>> http://rmannibucau.wordpress.com/>
> >>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> >>>>>> *Github: https://github.com/rmannibucau*
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> >>>>>>
> >>>>>>> Thnx Romain. If with proxy stuff you refer to the DS
> >>>>>>> InvocationHandlerBinding, that's already integrated :)
> >>>>>>>
> >>>>>>> RE pagination, it's maybe not that obvious, but there's more
> >>> advanced
> >>>>>>> support in QueryResult [1][2], which is more of a fluent API
> >>> approach,
> >>>>> but
> >>>>>>> should behave similar to a PageRequest (the query execution is
> >>> delayed
> >>>>>>> until the getResult() methods on QueryResult is called). Hope that
> >>>> fits
> >>>>> to
> >>>>>>> what you had in mind.
> >>>>>>>
> >>>>>>> [1]
> >>>>>>>
> >>>>>>>
> >>
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> >>>>>>> [2]
> >>>>>>>
> >>>>>>>
> >>
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> >>>>>>> On Wed, Feb 20, 2013 at 10:04 PM, Romain Manni-Bucau
> >>>>>>> <rm...@gmail.com>wrote:
> >>>>>>>
> >>>>>>>> Hi Thomas,
> >>>>>>>>
> >>>>>>>> importing proxy stuff would be the first great stuff.
> >>>>>>>>
> >>>>>>>> i'd like to see some pagination API (like PageRequest etc in
> >>> spring
> >>>>>>> world)
> >>>>>>>> which are more user friendly that @FirstResult and @MaxResult).
> >>>>>>>>
> >>>>>>>> wdyt?
> >>>>>>>>
> >>>>>>>> *Romain Manni-Bucau*
> >>>>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> >>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> >>>>>>>> http://rmannibucau.wordpress.com/>
> >>>>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> >>>>>>>> *Github: https://github.com/rmannibucau*
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> >>>>>>>>
> >>>>>>>>> CDI Query has now a completely Solder-free POM. Feel free to
> >>> drop
> >>>>>>>> comments
> >>>>>>>>> on the API - some parts might actually be fully excluded (e.g.
> >>>> home
> >>>>>>> and
> >>>>>>>>> critera APIs).
> >>>>>>>>>
> >>>>>>>>> On Tue, Feb 12, 2013 at 10:00 PM, Mark Struberg <
> >>>> struberg@yahoo.de>
> >>>>>>>> wrote:
> >>>>>>>>>>
> >>>>>>>>>> Thanks Thomas, great news!
> >>>>>>>>>>
> >>>>>>>>>> LieGrue,
> >>>>>>>>>> strub
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>> ________________________________
> >>>>>>>>>>> From: Thomas Hug <th...@ctp-consulting.com>
> >>>>>>>>>>> To: "deltaspike-dev@incubator.apache.org" <
> >>>>>>>>>> deltaspike-dev@incubator.apache.org>
> >>>>>>>>>>> Sent: Tuesday, February 12, 2013 4:10 PM
> >>>>>>>>>>> Subject: Re: cdi-query, no news?
> >>>>>>>>>>>
> >>>>>>>>>>> FYI, I've started to "de-solderize" CDI Query and move
> >> things
> >>>> to
> >>>>>>>> depend
> >>>>>>>>> on
> >>>>>>>>>>> DS Core [1]:
> >>>>>>>>>>> https://github.com/ctpconsulting/query/tree/deltaspike
> >>>>>>>>>>>
> >>>>>>>>>>> Todos:
> >>>>>>>>>>> [x] Replace ServiceHandler
> >>>>>>>>>>> [_] Include Property utils
> >>>>>>>>>>> [_] Replace JBoss Logging
> >>>>>>>>>>>
> >>>>>>>>>>> Any feedback welcome.
> >>>>>>>>>>>
> >>>>>>>>>>> [1] including this modification
> >>>>>>>>>>>
> >>
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> >>>>>>>>>>> On Mon, Feb 11, 2013 at 6:01 PM, Romain Manni-Bucau
> >>>>>>>>>>> <rm...@gmail.com>wrote:
> >>>>>>>>>>>
> >>>>>>>>>>>> a review of the API i guess
> >>>>>>>>>>>>
> >>>>>>>>>>>> what is missing today is probably the pagination helpers
> >>>>>>>> (PageRequest
> >>>>>>>>>> for
> >>>>>>>>>>>> instance)
> >>>>>>>>>>>>
> >>>>>>>>>>>> but technically all is fine IMO
> >>>>>>>>>>>>
> >>>>>>>>>>>> *Romain Manni-Bucau*
> >>>>>>>>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau
> >>> *
> >>>>>>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> >>>>>>>>>>>> http://rmannibucau.wordpress.com/>
> >>>>>>>>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> >>>>>>>>>>>> *Github: https://github.com/rmannibucau*
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>> 2013/2/11 Jason Porter <li...@gmail.com>
> >>>>>>>>>>>>
> >>>>>>>>>>>>> I know I'm playing the necromancer, but please forgive
> >>> me.
> >>>> We
> >>>>>>> have
> >>>>>>>>>>>>> InvocationHandler, which looks like it would work as a
> >>>>>>>>> ServiceHandler
> >>>>>>>>>>>>> substitute. What else is needed to get CDI Query into
> >>>>>>> DeltaSpike?
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> On Sun, Nov 18, 2012 at 12:35 PM, Romain Manni-Bucau
> >>>>>>>>>>>>> <rm...@gmail.com>wrote:
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> +1, it is a must have for cdi world
> >>>>>>>>>>>>>> Le 18 nov. 2012 20:04, "john.d.ament" <
> >>>>>>> john.d.ament@gmail.com>
> >>>>>>>> a
> >>>>>>>>>>>> écrit :
> >>>>>>>>>>>>>>> RE ServiceHandler - I was one of those who
> >> previously
> >>>>>>>> suggested
> >>>>>>>>>>>>> bringing
> >>>>>>>>>>>>>> it
> >>>>>>>>>>>>>>> over to DeltaSpike, you can see DELTASPIKE-113 and
> >>> find
> >>>>> the
> >>>>>>>>> thread
> >>>>>>>>>>>>> about
> >>>>>>>>>>>>>> it
> >>>>>>>>>>>>>>> from April of this year.  At the time, I was in a
> >>>>> position
> >>>>>>>>> where I
> >>>>>>>>>>>>>> couldn't
> >>>>>>>>>>>>>>> spend much time on open source contribution.  I've
> >>>>> recently
> >>>>>>>>>> changed
> >>>>>>>>>>>>> jobs,
> >>>>>>>>>>>>>>> to
> >>>>>>>>>>>>>>> something that's going to help me spend some more
> >>> time
> >>>>> with
> >>>>>>>> the
> >>>>>>>>>> open
> >>>>>>>>>>>>>> source
> >>>>>>>>>>>>>>> community, and believe I can pick it back up if
> >> we're
> >>>>>>> ready.
> >>>>>>>>>>>>>>> If everyone's ok with it I can start a new thread
> >> for
> >>>> 113
> >>>>>>> or
> >>>>>>>>>> revive
> >>>>>>>>>>>> the
> >>>>>>>>>>>>>> old
> >>>>>>>>>>>>>>> thread (though it may come through with a large
> >> pile
> >>> of
> >>>>>>> dust).
> >>>>>>>>>>>>>>> Regards,
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> John
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> --
> >>>>>>>>>>>>>>> View this message in context:
> >>>>>>>>>>>>>>>
> >>
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> >>>>>>>>>>>>>>> Sent from the Apache DeltaSpike Incubator
> >> Discussions
> >>>>>>> mailing
> >>>>>>>>> list
> >>>>>>>>>>>>>> archive
> >>>>>>>>>>>>>>> at Nabble.com.
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> --
> >>>>>>>>>>>>> Jason Porter
> >>>>>>>>>>>>> http://en.gravatar.com/lightguardjp
> >>>>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>
>
>

Re: cdi-query, no news?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Great :)

any issue changing "query" to something closer to what it really does ;
"dao" (because of @Dao) or "data"?

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/3/12 Thomas Hug <th...@ctp-consulting.com>

> FYI, I've started something like an import proposal in a dedicated branch
> [1]. There's currently only the JBoss Arquillian profile running, haven't
> looked at the others. Any support there and of course other input's very
> welcome :)
>
> [1] https://github.com/ctpconsulting/query/tree/dsimport
>
> On Tue, Mar 5, 2013 at 7:45 AM, Romain Manni-Bucau <rmannibucau@gmail.com
> >wrote:
>
> > Yes
> >
> > It works fine but you bring too much spring dependencies (totally useless
> > when used this way) which clearly show it is rather a bridge than a
> > solution + there were some leaks in previous version (didnt check fix was
> > released to be honest) because if this usage which was not the default
> one.
> >
> > Since cdi query is here it worths importing it IMO
> > Le 5 mars 2013 02:21, "hantsy" <ha...@yahoo.com.cn> a écrit :
> >
> > > I remember the Spring Data has a CDI extension, but I have not used it
> > > in projects. Is there anyone used it in Java EE 6 projects?
> > >
> > > Hantsy
> > >
> > > On 3/3/2013 20:40, Romain Manni-Bucau wrote:
> > > > Basically if the query logic could be scope agnostic it would be
> > perfect
> > > > for me. Parameters were fine and matched the coomon need. I m not
> sure
> > i
> > > > get what is blocking. Can you detail it a bit please?
> > > > Le 3 mars 2013 13:09, "Thomas Hug" <th...@ctp-consulting.com> a
> > > écrit :
> > > >
> > > >> Aha got you. Yes QueryHandler can be moved to application scope.
> > > >>
> > > >> The other request scoped component ist the
> CdiQueryInvocationContext.
> > > Here
> > > >> we store a bunch of data which is related to the current query
> > > (parameters,
> > > >> query string etc). Originally this was passed as parameter, but got
> > > >> injectable for the extension mechanism [1]. Currently on holidays
> > (sorry
> > > >> the response delays) so not much time to look into it but happy to
> > take
> > > >> suggestions :)
> > > >>
> > > >> [1]
> > > >>
> > > >>
> > >
> >
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> > > >>
> > > >> On Fri, Mar 1, 2013 at 8:18 PM, Romain Manni-Bucau <
> > > rmannibucau@gmail.com
> > > >>> wrote:
> > > >>> Hmm,
> > > >>>
> > > >>> Wonder if the scope couldnt be application one. Request sounds too
> > much
> > > >> web
> > > >>> to be usable/generic
> > > >>> Le 1 mars 2013 19:02, "Thomas Hug" <th...@ctp-consulting.com>
> a
> > > >>> écrit :
> > > >>>
> > > >>>> Fine for me - planned to create a branch with all the experimental
> > > APIs
> > > >>>> cleared out as an import proposal.
> > > >>>>
> > > >>>> RE scope, the InvocationHandlers are validated to be normal scoped
> > > [1],
> > > >>> so
> > > >>>> that seemed to me the most appropriate choice - any other
> > suggestions?
> > > >>>>
> > > >>>> [1]
> > > >>>>
> > > >>>>
> > > >>
> > >
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > > >>>>
> > > >>>> On Wed, Feb 27, 2013 at 1:15 PM, Romain Manni-Bucau
> > > >>>> <rm...@gmail.com>wrote:
> > > >>>>
> > > >>>>> Hi,
> > > >>>>>
> > > >>>>> some news of it?
> > > >>>>>
> > > >>>>> i think it is time to import at least a first version, isn't it?
> > > >>>>>
> > > >>>>> Just a note on current code, i saw QueryHandler (and some other
> > > >> beans)
> > > >>>> has
> > > >>>>> a request scope. Wonder if such a scope means something for a
> > generic
> > > >>>> (not
> > > >>>>> web) lib.
> > > >>>>>
> > > >>>>> wdyt?
> > > >>>>>
> > > >>>>> *Romain Manni-Bucau*
> > > >>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > >>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > >>>>> http://rmannibucau.wordpress.com/>
> > > >>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > >>>>> *Github: https://github.com/rmannibucau*
> > > >>>>>
> > > >>>>>
> > > >>>>>
> > > >>>>> 2013/2/20 Romain Manni-Bucau <rm...@gmail.com>
> > > >>>>>
> > > >>>>>> guy you rocks!
> > > >>>>>>
> > > >>>>>> effectively i missed it when i looked.
> > > >>>>>>
> > > >>>>>> *Romain Manni-Bucau*
> > > >>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > >>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > >>>>> http://rmannibucau.wordpress.com/>
> > > >>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > >>>>>> *Github: https://github.com/rmannibucau*
> > > >>>>>>
> > > >>>>>>
> > > >>>>>>
> > > >>>>>> 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> > > >>>>>>
> > > >>>>>>> Thnx Romain. If with proxy stuff you refer to the DS
> > > >>>>>>> InvocationHandlerBinding, that's already integrated :)
> > > >>>>>>>
> > > >>>>>>> RE pagination, it's maybe not that obvious, but there's more
> > > >>> advanced
> > > >>>>>>> support in QueryResult [1][2], which is more of a fluent API
> > > >>> approach,
> > > >>>>> but
> > > >>>>>>> should behave similar to a PageRequest (the query execution is
> > > >>> delayed
> > > >>>>>>> until the getResult() methods on QueryResult is called). Hope
> > that
> > > >>>> fits
> > > >>>>> to
> > > >>>>>>> what you had in mind.
> > > >>>>>>>
> > > >>>>>>> [1]
> > > >>>>>>>
> > > >>>>>>>
> > > >>
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > > >>>>>>> [2]
> > > >>>>>>>
> > > >>>>>>>
> > > >>
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > > >>>>>>> On Wed, Feb 20, 2013 at 10:04 PM, Romain Manni-Bucau
> > > >>>>>>> <rm...@gmail.com>wrote:
> > > >>>>>>>
> > > >>>>>>>> Hi Thomas,
> > > >>>>>>>>
> > > >>>>>>>> importing proxy stuff would be the first great stuff.
> > > >>>>>>>>
> > > >>>>>>>> i'd like to see some pagination API (like PageRequest etc in
> > > >>> spring
> > > >>>>>>> world)
> > > >>>>>>>> which are more user friendly that @FirstResult and
> @MaxResult).
> > > >>>>>>>>
> > > >>>>>>>> wdyt?
> > > >>>>>>>>
> > > >>>>>>>> *Romain Manni-Bucau*
> > > >>>>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > >>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > >>>>>>>> http://rmannibucau.wordpress.com/>
> > > >>>>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > >>>>>>>> *Github: https://github.com/rmannibucau*
> > > >>>>>>>>
> > > >>>>>>>>
> > > >>>>>>>>
> > > >>>>>>>> 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> > > >>>>>>>>
> > > >>>>>>>>> CDI Query has now a completely Solder-free POM. Feel free to
> > > >>> drop
> > > >>>>>>>> comments
> > > >>>>>>>>> on the API - some parts might actually be fully excluded
> (e.g.
> > > >>>> home
> > > >>>>>>> and
> > > >>>>>>>>> critera APIs).
> > > >>>>>>>>>
> > > >>>>>>>>> On Tue, Feb 12, 2013 at 10:00 PM, Mark Struberg <
> > > >>>> struberg@yahoo.de>
> > > >>>>>>>> wrote:
> > > >>>>>>>>>>
> > > >>>>>>>>>> Thanks Thomas, great news!
> > > >>>>>>>>>>
> > > >>>>>>>>>> LieGrue,
> > > >>>>>>>>>> strub
> > > >>>>>>>>>>
> > > >>>>>>>>>>
> > > >>>>>>>>>>
> > > >>>>>>>>>>
> > > >>>>>>>>>>
> > > >>>>>>>>>>> ________________________________
> > > >>>>>>>>>>> From: Thomas Hug <th...@ctp-consulting.com>
> > > >>>>>>>>>>> To: "deltaspike-dev@incubator.apache.org" <
> > > >>>>>>>>>> deltaspike-dev@incubator.apache.org>
> > > >>>>>>>>>>> Sent: Tuesday, February 12, 2013 4:10 PM
> > > >>>>>>>>>>> Subject: Re: cdi-query, no news?
> > > >>>>>>>>>>>
> > > >>>>>>>>>>> FYI, I've started to "de-solderize" CDI Query and move
> > > >> things
> > > >>>> to
> > > >>>>>>>> depend
> > > >>>>>>>>> on
> > > >>>>>>>>>>> DS Core [1]:
> > > >>>>>>>>>>> https://github.com/ctpconsulting/query/tree/deltaspike
> > > >>>>>>>>>>>
> > > >>>>>>>>>>> Todos:
> > > >>>>>>>>>>> [x] Replace ServiceHandler
> > > >>>>>>>>>>> [_] Include Property utils
> > > >>>>>>>>>>> [_] Replace JBoss Logging
> > > >>>>>>>>>>>
> > > >>>>>>>>>>> Any feedback welcome.
> > > >>>>>>>>>>>
> > > >>>>>>>>>>> [1] including this modification
> > > >>>>>>>>>>>
> > > >>
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > >>>>>>>>>>> On Mon, Feb 11, 2013 at 6:01 PM, Romain Manni-Bucau
> > > >>>>>>>>>>> <rm...@gmail.com>wrote:
> > > >>>>>>>>>>>
> > > >>>>>>>>>>>> a review of the API i guess
> > > >>>>>>>>>>>>
> > > >>>>>>>>>>>> what is missing today is probably the pagination helpers
> > > >>>>>>>> (PageRequest
> > > >>>>>>>>>> for
> > > >>>>>>>>>>>> instance)
> > > >>>>>>>>>>>>
> > > >>>>>>>>>>>> but technically all is fine IMO
> > > >>>>>>>>>>>>
> > > >>>>>>>>>>>> *Romain Manni-Bucau*
> > > >>>>>>>>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau
> > > >>> *
> > > >>>>>>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > >>>>>>>>>>>> http://rmannibucau.wordpress.com/>
> > > >>>>>>>>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > >>>>>>>>>>>> *Github: https://github.com/rmannibucau*
> > > >>>>>>>>>>>>
> > > >>>>>>>>>>>>
> > > >>>>>>>>>>>>
> > > >>>>>>>>>>>> 2013/2/11 Jason Porter <li...@gmail.com>
> > > >>>>>>>>>>>>
> > > >>>>>>>>>>>>> I know I'm playing the necromancer, but please forgive
> > > >>> me.
> > > >>>> We
> > > >>>>>>> have
> > > >>>>>>>>>>>>> InvocationHandler, which looks like it would work as a
> > > >>>>>>>>> ServiceHandler
> > > >>>>>>>>>>>>> substitute. What else is needed to get CDI Query into
> > > >>>>>>> DeltaSpike?
> > > >>>>>>>>>>>>>
> > > >>>>>>>>>>>>> On Sun, Nov 18, 2012 at 12:35 PM, Romain Manni-Bucau
> > > >>>>>>>>>>>>> <rm...@gmail.com>wrote:
> > > >>>>>>>>>>>>>
> > > >>>>>>>>>>>>>> +1, it is a must have for cdi world
> > > >>>>>>>>>>>>>> Le 18 nov. 2012 20:04, "john.d.ament" <
> > > >>>>>>> john.d.ament@gmail.com>
> > > >>>>>>>> a
> > > >>>>>>>>>>>> écrit :
> > > >>>>>>>>>>>>>>> RE ServiceHandler - I was one of those who
> > > >> previously
> > > >>>>>>>> suggested
> > > >>>>>>>>>>>>> bringing
> > > >>>>>>>>>>>>>> it
> > > >>>>>>>>>>>>>>> over to DeltaSpike, you can see DELTASPIKE-113 and
> > > >>> find
> > > >>>>> the
> > > >>>>>>>>> thread
> > > >>>>>>>>>>>>> about
> > > >>>>>>>>>>>>>> it
> > > >>>>>>>>>>>>>>> from April of this year.  At the time, I was in a
> > > >>>>> position
> > > >>>>>>>>> where I
> > > >>>>>>>>>>>>>> couldn't
> > > >>>>>>>>>>>>>>> spend much time on open source contribution.  I've
> > > >>>>> recently
> > > >>>>>>>>>> changed
> > > >>>>>>>>>>>>> jobs,
> > > >>>>>>>>>>>>>>> to
> > > >>>>>>>>>>>>>>> something that's going to help me spend some more
> > > >>> time
> > > >>>>> with
> > > >>>>>>>> the
> > > >>>>>>>>>> open
> > > >>>>>>>>>>>>>> source
> > > >>>>>>>>>>>>>>> community, and believe I can pick it back up if
> > > >> we're
> > > >>>>>>> ready.
> > > >>>>>>>>>>>>>>> If everyone's ok with it I can start a new thread
> > > >> for
> > > >>>> 113
> > > >>>>>>> or
> > > >>>>>>>>>> revive
> > > >>>>>>>>>>>> the
> > > >>>>>>>>>>>>>> old
> > > >>>>>>>>>>>>>>> thread (though it may come through with a large
> > > >> pile
> > > >>> of
> > > >>>>>>> dust).
> > > >>>>>>>>>>>>>>> Regards,
> > > >>>>>>>>>>>>>>>
> > > >>>>>>>>>>>>>>> John
> > > >>>>>>>>>>>>>>>
> > > >>>>>>>>>>>>>>>
> > > >>>>>>>>>>>>>>>
> > > >>>>>>>>>>>>>>> --
> > > >>>>>>>>>>>>>>> View this message in context:
> > > >>>>>>>>>>>>>>>
> > > >>
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > >>>>>>>>>>>>>>> Sent from the Apache DeltaSpike Incubator
> > > >> Discussions
> > > >>>>>>> mailing
> > > >>>>>>>>> list
> > > >>>>>>>>>>>>>> archive
> > > >>>>>>>>>>>>>>> at Nabble.com.
> > > >>>>>>>>>>>>>>>
> > > >>>>>>>>>>>>>
> > > >>>>>>>>>>>>>
> > > >>>>>>>>>>>>> --
> > > >>>>>>>>>>>>> Jason Porter
> > > >>>>>>>>>>>>> http://en.gravatar.com/lightguardjp
> > > >>>>>>>>>>>>>
> > > >>>>>>>>>>>
> > > >>>>>>>>>>>
> > > >>>>>>
> > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Gerhard Petracek <ge...@gmail.com>.
hi,

currently we don't have one jira ticket per part/feature.
that's what we used to have for everything we imported.

the first parts to discuss are imo EntityManagerDao, WithEntityManager and
AbstractEntityDao.

regards,
gerhard



2013/3/12 Arne Limburg <ar...@openknowledge.de>

> +1 for repository, from me too
>
> Gesendet mit meinem HTC
>
>
> ----- Reply message -----
> Von: "Thomas Andraschko" <an...@gmail.com>
> An: "deltaspike-dev@incubator.apache.org" <
> deltaspike-dev@incubator.apache.org>
> Betreff: cdi-query, no news?
> Datum: Di., Mär. 12, 2013 20:38
>
>
>
> +1 repository! :) "Query" doesn't really match the functionaly.
>
> 2013/3/12 Romain Manni-Bucau <rm...@gmail.com>
>
> > +2 for repo
> >
> > btw did you fixed the scope issue?
> >
> > *Romain Manni-Bucau*
> > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > *Blog: **http://rmannibucau.wordpress.com/*<
> > http://rmannibucau.wordpress.com/>
> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > *Github: https://github.com/rmannibucau*
> >
> >
> >
> > 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
> >
> > > The name is still freely choosable - data sounds fine to me if nobody
> > minds
> > > the obvious mirroring on Spring Data ;) dao/@Dao is discussable, all
> the
> > > domain driven folks prefer probably something like "Repository".
> > >
> > > On Tue, Mar 12, 2013 at 7:29 PM, Romain Manni-Bucau
> > > <rm...@gmail.com>wrote:
> > >
> > > > Great :)
> > > >
> > > > any issue changing "query" to something closer to what it really
> does ;
> > > > "dao" (because of @Dao) or "data"?
> > > >
> > > > *Romain Manni-Bucau*
> > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > http://rmannibucau.wordpress.com/>
> > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > *Github: https://gihub.com/rmannibucau* <
> > https://github.com/rmannibucau*
> > > >
> > > >
> > > >
> > > >
> > > > 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
> > > >
> > > > > FYI, I've started something like an import proposal in a dedicated
> > > branch
> > > > > [1]. There's currently only the JBoss Arquillian profile running,
> > > haven't
> > > > > looked at the others. Any support there and of course other input's
> > > very
> > > > > welcome :)
> > > > >
> > > > > [1] https://github.com/ctpconsulting/query/tree/dsimport
> > > > >
> > > > > On Tue, Mar 5, 2013 at 7:45 AM, Romain Manni-Bucau <
> > > > rmannibucau@gmail.com
> > > > > >wrote:
> > > > >
> > > > > > Yes
> > > > > >
> > > > > > It works fine but you bring too much spring dependencies (totally
> > > > useless
> > > > > > when used this way) which clearly show it is rather a bridge
> than a
> > > > > > solution + there were some leaks in previous version (didnt check
> > fix
> > > > was
> > > > > > released to be honest) because if this usage which was not the
> > > default
> > > > > one.
> > > > > >
> > > > > > Since cdi query is here it worths importing it IMO
> > > > > > Le 5 mars 2013 02:21, "hantsy" <ha...@yahoo.com.cn> a écrit :
> > > > > >
> > > > > > > I remember the Spring Data has a CDI extension, but I have not
> > used
> > > > it
> > > > > > > in projects. Is there anyone used it in Java EE 6 projects?
> > > > > > >
> > > > > > > Hantsy
> > > > > > >
> > > > > > > On 3/3/2013 20:40, Romain Manni-Bucau wrote:
> > > > > > > > Basically if the query logic could be scope agnostic it would
> > be
> > > > > > perfect
> > > > > > > > for me. Parameters were fine and matched the coomon need. I m
> > not
> > > > > sure
> > > > > > i
> > > > > > > > get what is blocking. Can you detail it a bit please?
> > > > > > > > Le 3 mars 2013 13:09, "Thomas Hug" <
> > > thomas.hug@ctp-consulting.com>
> > > > a
> > > > > > > écrit :
> > > > > > > >
> > > > > > > >> Aha got you. Yes QueryHandler can be moved to application
> > scope.
> > > > > > > >>
> > > > > > > >> The other request scoped component ist the
> > > > > CdiQueryInvocationContext.
> > > > > > > Here
> > > > > > > >> we store a bunch of data which is related to the current
> query
> > > > > > > (parameters,
> > > > > > > >> query string etc). Originally this was passed as parameter,
> > but
> > > > got
> > > > > > > >> injectable for the extension mechanism [1]. Currently on
> > > holidays
> > > > > > (sorry
> > > > > > > >> the response delays) so not much time to look into it but
> > happy
> > > to
> > > > > > take
> > > > > > > >> suggestions :)
> > > > > > > >>
> > > > > > > >> [1]
> > > > > > > >>
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> > > > > > > >>
> > > > > > > >> On Fri, Mar 1, 2013 at 8:18 PM, Romain Manni-Bucau <
> > > > > > > rmannibucau@gmail.com
> > > > > > > >>> wrote:
> > > > > > > >>> Hmm,
> > > > > > > >>>
> > > > > > > >>> Wonder if the scope couldnt be application one. Request
> > sounds
> > > > too
> > > > > > much
> > > > > > > >> web
> > > > > > > >>> to be usable/generic
> > > > > > > >>> Le 1 mars 2013 19:02, "Thomas Hug" <
> > > > thomas.hug@ctp-consulting.com>
> > > > > a
> > > > > > > >>> écrit :
> > > > > > > >>>
> > > > > > > >>>> Fine for me - planned to create a branch with all the
> > > > experimental
> > > > > > > APIs
> > > > > > > >>>> cleared out as an import proposal.
> > > > > > > >>>>
> > > > > > > >>>> RE scope, the InvocationHandlers are validated to be
> normal
> > > > scoped
> > > > > > > [1],
> > > > > > > >>> so
> > > > > > > >>>> that seemed to me the most appropriate choice - any other
> > > > > > suggestions?
> > > > > > > >>>>
> > > > > > > >>>> [1]
> > > > > > > >>>>
> > > > > > > >>>>
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > > > > > > >>>>
> > > > > > > >>>> On Wed, Feb 27, 2013 at 1:15 PM, Romain Manni-Bucau
> > > > > > > >>>> <rm...@gmail.com>wrote:
> > > > > > > >>>>
> > > > > > > >>>>> Hi,
> > > > > > > >>>>>
> > > > > > > >>>>> some news of it?
> > > > > > > >>>>>
> > > > > > > >>>>> i think it is time to import at least a first version,
> > isn't
> > > > it?
> > > > > > > >>>>>
> > > > > > > >>>>> Just a note on current code, i saw QueryHandler (and some
> > > other
> > > > > > > >> beans)
> > > > > > > >>>> has
> > > > > > > >>>>> a request scope. Wonder if such a scope means something
> > for a
> > > > > > generic
> > > > > > > >>>> (not
> > > > > > > >>>>> web) lib.
> > > > > > > >>>>>
> > > > > > > >>>>> wdyt?
> > > > > > > >>>>>
> > > > > > > >>>>> *Romain Manni-Bucau*
> > > > > > > >>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau
> >*
> > > > > > > >>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > > >>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > >>>>> *Github: https://github.com/rmannibucau*
> > > > > > > >>>>>
> > > > > > > >>>>>
> > > > > > > >>>>>
> > > > > > > >>>>> 2013/2/20 Romain Manni-Bucau <rm...@gmail.com>
> > > > > > > >>>>>
> > > > > > > >>>>>> guy you rocks!
> > > > > > > >>>>>>
> > > > > > > >>>>>> effectively i missed it when i looked.
> > > > > > > >>>>>>
> > > > > > > >>>>>> *Romain Manni-Bucau*
> > > > > > > >>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau
> >*
> > > > > > > >>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > > >>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > >>>>>> *Github: https://github.com/rmannibucau*
> > > > > > > >>>>>>
> > > > > > > >>>>>>
> > > > > > > >>>>>>
> > > > > > > >>>>>> 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> > > > > > > >>>>>>
> > > > > > > >>>>>>> Thnx Romain. If with proxy stuff you refer to the DS
> > > > > > > >>>>>>> InvocationHandlerBinding, that's already integrated :)
> > > > > > > >>>>>>>
> > > > > > > >>>>>>> RE pagination, it's maybe not that obvious, but there's
> > > more
> > > > > > > >>> advanced
> > > > > > > >>>>>>> support in QueryResult [1][2], which is more of a
> fluent
> > > API
> > > > > > > >>> approach,
> > > > > > > >>>>> but
> > > > > > > >>>>>>> should behave similar to a PageRequest (the query
> > execution
> > > > is
> > > > > > > >>> delayed
> > > > > > > >>>>>>> until the getResult() methods on QueryResult is
> called).
> > > Hope
> > > > > > that
> > > > > > > >>>> fits
> > > > > > > >>>>> to
> > > > > > > >>>>>>> what you had in mind.
> > > > > > > >>>>>>>
> > > > > > > >>>>>>> [1]
> > > > > > > >>>>>>>
> > > > > > > >>>>>>>
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > > > > > > >>>>>>> [2]
> > > > > > > >>>>>>>
> > > > > > > >>>>>>>
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > > > > > > >>>>>>> On Wed, Feb 20, 2013 at 10:04 PM, Romain Manni-Bucau
> > > > > > > >>>>>>> <rm...@gmail.com>wrote:
> > > > > > > >>>>>>>
> > > > > > > >>>>>>>> Hi Thomas,
> > > > > > > >>>>>>>>
> > > > > > > >>>>>>>> importing proxy stuff would be the first great stuff.
> > > > > > > >>>>>>>>
> > > > > > > >>>>>>>> i'd like to see some pagination API (like PageRequest
> > etc
> > > in
> > > > > > > >>> spring
> > > > > > > >>>>>>> world)
> > > > > > > >>>>>>>> which are more user friendly that @FirstResult and
> > > > > @MaxResult).
> > > > > > > >>>>>>>>
> > > > > > > >>>>>>>> wdyt?
> > > > > > > >>>>>>>>
> > > > > > > >>>>>>>> *Romain Manni-Bucau*
> > > > > > > >>>>>>>> *Twitter: @rmannibucau <
> https://twitter.com/rmannibucau
> > >*
> > > > > > > >>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > >>>>>>>> http://rmannibucau.wordpress.com/>
> > > > > > > >>>>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > >>>>>>>> *Github: https://github.com/rmannibucau*
> > > > > > > >>>>>>>>
> > > > > > > >>>>>>>>
> > > > > > > >>>>>>>>
> > > > > > > >>>>>>>> 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> > > > > > > >>>>>>>>
> > > > > > > >>>>>>>>> CDI Query has now a completely Solder-free POM. Feel
> > free
> > > > to
> > > > > > > >>> drop
> > > > > > > >>>>>>>> comments
> > > > > > > >>>>>>>>> on the API - some parts might actually be fully
> > excluded
> > > > > (e.g.
> > > > > > > >>>> home
> > > > > > > >>>>>>> and
> > > > > > > >>>>>>>>> critera APIs).
> > > > > > > >>>>>>>>>
> > > > > > > >>>>>>>>> On Tue, Feb 12, 2013 at 10:00 PM, Mark Struberg <
> > > > > > > >>>> struberg@yahoo.de>
> > > > > > > >>>>>>>> wrote:
> > > > > > > >>>>>>>>>>
> > > > > > > >>>>>>>>>> Thanks Thomas, great news!
> > > > > > > >>>>>>>>>>
> > > > > > > >>>>>>>>>> LieGrue,
> > > > > > > >>>>>>>>>> strub
> > > > > > > >>>>>>>>>>
> > > > > > > >>>>>>>>>>
> > > > > > > >>>>>>>>>>
> > > > > > > >>>>>>>>>>
> > > > > > > >>>>>>>>>>
> > > > > > > >>>>>>>>>>> ________________________________
> > > > > > > >>>>>>>>>>> From: Thomas Hug <th...@ctp-consulting.com>
> > > > > > > >>>>>>>>>>> To: "deltaspike-dev@incubator.apache.org" <
> > > > > > > >>>>>>>>>> deltaspike-dev@incubator.apache.org>
> > > > > > > >>>>>>>>>>> Sent: Tuesday, February 12, 2013 4:10 PM
> > > > > > > >>>>>>>>>>> Subject: Re: cdi-query, no news?
> > > > > > > >>>>>>>>>>>
> > > > > > > >>>>>>>>>>> FYI, I've started to "de-solderize" CDI Query and
> > move
> > > > > > > >> things
> > > > > > > >>>> to
> > > > > > > >>>>>>>> depend
> > > > > > > >>>>>>>>> on
> > > > > > > >>>>>>>>>>> DS Core [1]:
> > > > > > > >>>>>>>>>>>
> > https://github.com/ctpconsulting/query/tree/deltaspike
> > > > > > > >>>>>>>>>>>
> > > > > > > >>>>>>>>>>> Todos:
> > > > > > > >>>>>>>>>>> [x] Replace ServiceHandler
> > > > > > > >>>>>>>>>>> [_] Include Property utils
> > > > > > > >>>>>>>>>>> [_] Replace JBoss Logging
> > > > > > > >>>>>>>>>>>
> > > > > > > >>>>>>>>>>> Any feedback welcome.
> > > > > > > >>>>>>>>>>>
> > > > > > > >>>>>>>>>>> [1] including this modification
> > > > > > > >>>>>>>>>>>
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > > > > > >>>>>>>>>>> On Mon, Feb 11, 2013 at 6:01 PM, Romain Manni-Bucau
> > > > > > > >>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > > > > >>>>>>>>>>>
> > > > > > > >>>>>>>>>>>> a review of the API i guess
> > > > > > > >>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>> what is missing today is probably the pagination
> > > helpers
> > > > > > > >>>>>>>> (PageRequest
> > > > > > > >>>>>>>>>> for
> > > > > > > >>>>>>>>>>>> instance)
> > > > > > > >>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>> but technically all is fine IMO
> > > > > > > >>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>> *Romain Manni-Bucau*
> > > > > > > >>>>>>>>>>>> *Twitter: @rmannibucau <
> > > https://twitter.com/rmannibucau
> > > > > > > >>> *
> > > > > > > >>>>>>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > >>>>>>>>>>>> http://rmannibucau.wordpress.com/>
> > > > > > > >>>>>>>>>>>> *LinkedIn: **
> http://fr.linkedin.com/in/rmannibucau*
> > > > > > > >>>>>>>>>>>> *Github: https://github.com/rmannibucau*
> > > > > > > >>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>> 2013/2/11 Jason Porter <li...@gmail.com>
> > > > > > > >>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>>> I know I'm playing the necromancer, but please
> > > forgive
> > > > > > > >>> me.
> > > > > > > >>>> We
> > > > > > > >>>>>>> have
> > > > > > > >>>>>>>>>>>>> InvocationHandler, which looks like it would work
> > as
> > > a
> > > > > > > >>>>>>>>> ServiceHandler
> > > > > > > >>>>>>>>>>>>> substitute. What else is needed to get CDI Query
> > into
> > > > > > > >>>>>>> DeltaSpike?
> > > > > > > >>>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>>> On Sun, Nov 18, 2012 at 12:35 PM, Romain
> > Manni-Bucau
> > > > > > > >>>>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > > > > >>>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>>>> +1, it is a must have for cdi world
> > > > > > > >>>>>>>>>>>>>> Le 18 nov. 2012 20:04, "john.d.ament" <
> > > > > > > >>>>>>> john.d.ament@gmail.com>
> > > > > > > >>>>>>>> a
> > > > > > > >>>>>>>>>>>> écrit :
> > > > > > > >>>>>>>>>>>>>>> RE ServiceHandler - I was one of those who
> > > > > > > >> previously
> > > > > > > >>>>>>>> suggested
> > > > > > > >>>>>>>>>>>>> bringing
> > > > > > > >>>>>>>>>>>>>> it
> > > > > > > >>>>>>>>>>>>>>> over to DeltaSpike, you can see DELTASPIKE-113
> > and
> > > > > > > >>> find
> > > > > > > >>>>> the
> > > > > > > >>>>>>>>> thread
> > > > > > > >>>>>>>>>>>>> about
> > > > > > > >>>>>>>>>>>>>> it
> > > > > > > >>>>>>>>>>>>>>> from April of this year.  At the time, I was
> in a
> > > > > > > >>>>> position
> > > > > > > >>>>>>>>> where I
> > > > > > > >>>>>>>>>>>>>> couldn't
> > > > > > > >>>>>>>>>>>>>>> spend much time on open source contribution.
> >  I've
> > > > > > > >>>>> recently
> > > > > > > >>>>>>>>>> changed
> > > > > > > >>>>>>>>>>>>> jobs,
> > > > > > > >>>>>>>>>>>>>>> to
> > > > > > > >>>>>>>>>>>>>>> something that's going to help me spend some
> more
> > > > > > > >>> time
> > > > > > > >>>>> with
> > > > > > > >>>>>>>> the
> > > > > > > >>>>>>>>>> open
> > > > > > > >>>>>>>>>>>>>> source
> > > > > > > >>>>>>>>>>>>>>> community, and believe I can pick it back up if
> > > > > > > >> we're
> > > > > > > >>>>>>> ready.
> > > > > > > >>>>>>>>>>>>>>> If everyone's ok with it I can start a new
> thread
> > > > > > > >> for
> > > > > > > >>>> 113
> > > > > > > >>>>>>> or
> > > > > > > >>>>>>>>>> revive
> > > > > > > >>>>>>>>>>>> the
> > > > > > > >>>>>>>>>>>>>> old
> > > > > > > >>>>>>>>>>>>>>> thread (though it may come through with a large
> > > > > > > >> pile
> > > > > > > >>> of
> > > > > > > >>>>>>> dust).
> > > > > > > >>>>>>>>>>>>>>> Regards,
> > > > > > > >>>>>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>>>>> John
> > > > > > > >>>>>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>>>>> --
> > > > > > > >>>>>>>>>>>>>>> View this message in context:
> > > > > > > >>>>>>>>>>>>>>>
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > > > > >>>>>>>>>>>>>>> Sent from the Apache DeltaSpike Incubator
> > > > > > > >> Discussions
> > > > > > > >>>>>>> mailing
> > > > > > > >>>>>>>>> list
> > > > > > > >>>>>>>>>>>>>> archive
> > > > > > > >>>>>>>>>>>>>>> at Nabble.com.
> > > > > > > >>>>>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>>> --
> > > > > > > >>>>>>>>>>>>> Jason Porter
> > > > > > > >>>>>>>>>>>>> http://en.gravatar.com/lightguardjp
> > > > > > > >>>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>
> > > > > > > >>>>>>>>>>>
> > > > > > > >>>>>>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Ove Ranheim <or...@gmail.com>.
+1 !!

On Mar 12, 2013, at 9:06 PM, Arne Limburg <ar...@openknowledge.de> wrote:

> +1 for repository, from me too
> 
> Gesendet mit meinem HTC
> 
> 
> ----- Reply message -----
> Von: "Thomas Andraschko" <an...@gmail.com>
> An: "deltaspike-dev@incubator.apache.org" <de...@incubator.apache.org>
> Betreff: cdi-query, no news?
> Datum: Di., Mär. 12, 2013 20:38
> 
> 
> 
> +1 repository! :) "Query" doesn't really match the functionaly.
> 
> 2013/3/12 Romain Manni-Bucau <rm...@gmail.com>
> 
>> +2 for repo
>> 
>> btw did you fixed the scope issue?
>> 
>> *Romain Manni-Bucau*
>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
>> *Blog: **http://rmannibucau.wordpress.com/*<
>> http://rmannibucau.wordpress.com/>
>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
>> *Github: https://github.com/rmannibucau*
>> 
>> 
>> 
>> 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
>> 
>>> The name is still freely choosable - data sounds fine to me if nobody
>> minds
>>> the obvious mirroring on Spring Data ;) dao/@Dao is discussable, all the
>>> domain driven folks prefer probably something like "Repository".
>>> 
>>> On Tue, Mar 12, 2013 at 7:29 PM, Romain Manni-Bucau
>>> <rm...@gmail.com>wrote:
>>> 
>>>> Great :)
>>>> 
>>>> any issue changing "query" to something closer to what it really does ;
>>>> "dao" (because of @Dao) or "data"?
>>>> 
>>>> *Romain Manni-Bucau*
>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
>>>> *Blog: **http://rmannibucau.wordpress.com/*<
>>>> http://rmannibucau.wordpress.com/>
>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
>>>> *Github: https://gihub.com/rmannibucau* <
>> https://github.com/rmannibucau*
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
>>>> 
>>>>> FYI, I've started something like an import proposal in a dedicated
>>> branch
>>>>> [1]. There's currently only the JBoss Arquillian profile running,
>>> haven't
>>>>> looked at the others. Any support there and of course other input's
>>> very
>>>>> welcome :)
>>>>> 
>>>>> [1] https://github.com/ctpconsulting/query/tree/dsimport
>>>>> 
>>>>> On Tue, Mar 5, 2013 at 7:45 AM, Romain Manni-Bucau <
>>>> rmannibucau@gmail.com
>>>>>> wrote:
>>>>> 
>>>>>> Yes
>>>>>> 
>>>>>> It works fine but you bring too much spring dependencies (totally
>>>> useless
>>>>>> when used this way) which clearly show it is rather a bridge than a
>>>>>> solution + there were some leaks in previous version (didnt check
>> fix
>>>> was
>>>>>> released to be honest) because if this usage which was not the
>>> default
>>>>> one.
>>>>>> 
>>>>>> Since cdi query is here it worths importing it IMO
>>>>>> Le 5 mars 2013 02:21, "hantsy" <ha...@yahoo.com.cn> a écrit :
>>>>>> 
>>>>>>> I remember the Spring Data has a CDI extension, but I have not
>> used
>>>> it
>>>>>>> in projects. Is there anyone used it in Java EE 6 projects?
>>>>>>> 
>>>>>>> Hantsy
>>>>>>> 
>>>>>>> On 3/3/2013 20:40, Romain Manni-Bucau wrote:
>>>>>>>> Basically if the query logic could be scope agnostic it would
>> be
>>>>>> perfect
>>>>>>>> for me. Parameters were fine and matched the coomon need. I m
>> not
>>>>> sure
>>>>>> i
>>>>>>>> get what is blocking. Can you detail it a bit please?
>>>>>>>> Le 3 mars 2013 13:09, "Thomas Hug" <
>>> thomas.hug@ctp-consulting.com>
>>>> a
>>>>>>> écrit :
>>>>>>>> 
>>>>>>>>> Aha got you. Yes QueryHandler can be moved to application
>> scope.
>>>>>>>>> 
>>>>>>>>> The other request scoped component ist the
>>>>> CdiQueryInvocationContext.
>>>>>>> Here
>>>>>>>>> we store a bunch of data which is related to the current query
>>>>>>> (parameters,
>>>>>>>>> query string etc). Originally this was passed as parameter,
>> but
>>>> got
>>>>>>>>> injectable for the extension mechanism [1]. Currently on
>>> holidays
>>>>>> (sorry
>>>>>>>>> the response delays) so not much time to look into it but
>> happy
>>> to
>>>>>> take
>>>>>>>>> suggestions :)
>>>>>>>>> 
>>>>>>>>> [1]
>>>>>>>>> 
>>>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>> 
>> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
>>>>>>>>> 
>>>>>>>>> On Fri, Mar 1, 2013 at 8:18 PM, Romain Manni-Bucau <
>>>>>>> rmannibucau@gmail.com
>>>>>>>>>> wrote:
>>>>>>>>>> Hmm,
>>>>>>>>>> 
>>>>>>>>>> Wonder if the scope couldnt be application one. Request
>> sounds
>>>> too
>>>>>> much
>>>>>>>>> web
>>>>>>>>>> to be usable/generic
>>>>>>>>>> Le 1 mars 2013 19:02, "Thomas Hug" <
>>>> thomas.hug@ctp-consulting.com>
>>>>> a
>>>>>>>>>> écrit :
>>>>>>>>>> 
>>>>>>>>>>> Fine for me - planned to create a branch with all the
>>>> experimental
>>>>>>> APIs
>>>>>>>>>>> cleared out as an import proposal.
>>>>>>>>>>> 
>>>>>>>>>>> RE scope, the InvocationHandlers are validated to be normal
>>>> scoped
>>>>>>> [1],
>>>>>>>>>> so
>>>>>>>>>>> that seemed to me the most appropriate choice - any other
>>>>>> suggestions?
>>>>>>>>>>> 
>>>>>>>>>>> [1]
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>> 
>> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
>>>>>>>>>>> 
>>>>>>>>>>> On Wed, Feb 27, 2013 at 1:15 PM, Romain Manni-Bucau
>>>>>>>>>>> <rm...@gmail.com>wrote:
>>>>>>>>>>> 
>>>>>>>>>>>> Hi,
>>>>>>>>>>>> 
>>>>>>>>>>>> some news of it?
>>>>>>>>>>>> 
>>>>>>>>>>>> i think it is time to import at least a first version,
>> isn't
>>>> it?
>>>>>>>>>>>> 
>>>>>>>>>>>> Just a note on current code, i saw QueryHandler (and some
>>> other
>>>>>>>>> beans)
>>>>>>>>>>> has
>>>>>>>>>>>> a request scope. Wonder if such a scope means something
>> for a
>>>>>> generic
>>>>>>>>>>> (not
>>>>>>>>>>>> web) lib.
>>>>>>>>>>>> 
>>>>>>>>>>>> wdyt?
>>>>>>>>>>>> 
>>>>>>>>>>>> *Romain Manni-Bucau*
>>>>>>>>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
>>>>>>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
>>>>>>>>>>>> http://rmannibucau.wordpress.com/>
>>>>>>>>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
>>>>>>>>>>>> *Github: https://github.com/rmannibucau*
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> 2013/2/20 Romain Manni-Bucau <rm...@gmail.com>
>>>>>>>>>>>> 
>>>>>>>>>>>>> guy you rocks!
>>>>>>>>>>>>> 
>>>>>>>>>>>>> effectively i missed it when i looked.
>>>>>>>>>>>>> 
>>>>>>>>>>>>> *Romain Manni-Bucau*
>>>>>>>>>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
>>>>>>>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
>>>>>>>>>>>> http://rmannibucau.wordpress.com/>
>>>>>>>>>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
>>>>>>>>>>>>> *Github: https://github.com/rmannibucau*
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
>>>>>>>>>>>>> 
>>>>>>>>>>>>>> Thnx Romain. If with proxy stuff you refer to the DS
>>>>>>>>>>>>>> InvocationHandlerBinding, that's already integrated :)
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> RE pagination, it's maybe not that obvious, but there's
>>> more
>>>>>>>>>> advanced
>>>>>>>>>>>>>> support in QueryResult [1][2], which is more of a fluent
>>> API
>>>>>>>>>> approach,
>>>>>>>>>>>> but
>>>>>>>>>>>>>> should behave similar to a PageRequest (the query
>> execution
>>>> is
>>>>>>>>>> delayed
>>>>>>>>>>>>>> until the getResult() methods on QueryResult is called).
>>> Hope
>>>>>> that
>>>>>>>>>>> fits
>>>>>>>>>>>> to
>>>>>>>>>>>>>> what you had in mind.
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> [1]
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>> 
>> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
>>>>>>>>>>>>>> [2]
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>> 
>> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
>>>>>>>>>>>>>> On Wed, Feb 20, 2013 at 10:04 PM, Romain Manni-Bucau
>>>>>>>>>>>>>> <rm...@gmail.com>wrote:
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> Hi Thomas,
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> importing proxy stuff would be the first great stuff.
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> i'd like to see some pagination API (like PageRequest
>> etc
>>> in
>>>>>>>>>> spring
>>>>>>>>>>>>>> world)
>>>>>>>>>>>>>>> which are more user friendly that @FirstResult and
>>>>> @MaxResult).
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> wdyt?
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> *Romain Manni-Bucau*
>>>>>>>>>>>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau
>>> *
>>>>>>>>>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
>>>>>>>>>>>>>>> http://rmannibucau.wordpress.com/>
>>>>>>>>>>>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
>>>>>>>>>>>>>>> *Github: https://github.com/rmannibucau*
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> CDI Query has now a completely Solder-free POM. Feel
>> free
>>>> to
>>>>>>>>>> drop
>>>>>>>>>>>>>>> comments
>>>>>>>>>>>>>>>> on the API - some parts might actually be fully
>> excluded
>>>>> (e.g.
>>>>>>>>>>> home
>>>>>>>>>>>>>> and
>>>>>>>>>>>>>>>> critera APIs).
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> On Tue, Feb 12, 2013 at 10:00 PM, Mark Struberg <
>>>>>>>>>>> struberg@yahoo.de>
>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> Thanks Thomas, great news!
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> LieGrue,
>>>>>>>>>>>>>>>>> strub
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>> ________________________________
>>>>>>>>>>>>>>>>>> From: Thomas Hug <th...@ctp-consulting.com>
>>>>>>>>>>>>>>>>>> To: "deltaspike-dev@incubator.apache.org" <
>>>>>>>>>>>>>>>>> deltaspike-dev@incubator.apache.org>
>>>>>>>>>>>>>>>>>> Sent: Tuesday, February 12, 2013 4:10 PM
>>>>>>>>>>>>>>>>>> Subject: Re: cdi-query, no news?
>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>> FYI, I've started to "de-solderize" CDI Query and
>> move
>>>>>>>>> things
>>>>>>>>>>> to
>>>>>>>>>>>>>>> depend
>>>>>>>>>>>>>>>> on
>>>>>>>>>>>>>>>>>> DS Core [1]:
>>>>>>>>>>>>>>>>>> 
>> https://github.com/ctpconsulting/query/tree/deltaspike
>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>> Todos:
>>>>>>>>>>>>>>>>>> [x] Replace ServiceHandler
>>>>>>>>>>>>>>>>>> [_] Include Property utils
>>>>>>>>>>>>>>>>>> [_] Replace JBoss Logging
>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>> Any feedback welcome.
>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>> [1] including this modification
>>>>>>>>>>>>>>>>>> 
>>>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>> 
>> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
>>>>>>>>>>>>>>>>>> On Mon, Feb 11, 2013 at 6:01 PM, Romain Manni-Bucau
>>>>>>>>>>>>>>>>>> <rm...@gmail.com>wrote:
>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>> a review of the API i guess
>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>> what is missing today is probably the pagination
>>> helpers
>>>>>>>>>>>>>>> (PageRequest
>>>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>>>>>> instance)
>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>> but technically all is fine IMO
>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>> *Romain Manni-Bucau*
>>>>>>>>>>>>>>>>>>> *Twitter: @rmannibucau <
>>> https://twitter.com/rmannibucau
>>>>>>>>>> *
>>>>>>>>>>>>>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
>>>>>>>>>>>>>>>>>>> http://rmannibucau.wordpress.com/>
>>>>>>>>>>>>>>>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
>>>>>>>>>>>>>>>>>>> *Github: https://github.com/rmannibucau*
>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>> 2013/2/11 Jason Porter <li...@gmail.com>
>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>>> I know I'm playing the necromancer, but please
>>> forgive
>>>>>>>>>> me.
>>>>>>>>>>> We
>>>>>>>>>>>>>> have
>>>>>>>>>>>>>>>>>>>> InvocationHandler, which looks like it would work
>> as
>>> a
>>>>>>>>>>>>>>>> ServiceHandler
>>>>>>>>>>>>>>>>>>>> substitute. What else is needed to get CDI Query
>> into
>>>>>>>>>>>>>> DeltaSpike?
>>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>>> On Sun, Nov 18, 2012 at 12:35 PM, Romain
>> Manni-Bucau
>>>>>>>>>>>>>>>>>>>> <rm...@gmail.com>wrote:
>>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>>>> +1, it is a must have for cdi world
>>>>>>>>>>>>>>>>>>>>> Le 18 nov. 2012 20:04, "john.d.ament" <
>>>>>>>>>>>>>> john.d.ament@gmail.com>
>>>>>>>>>>>>>>> a
>>>>>>>>>>>>>>>>>>> écrit :
>>>>>>>>>>>>>>>>>>>>>> RE ServiceHandler - I was one of those who
>>>>>>>>> previously
>>>>>>>>>>>>>>> suggested
>>>>>>>>>>>>>>>>>>>> bringing
>>>>>>>>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>>>>>>>> over to DeltaSpike, you can see DELTASPIKE-113
>> and
>>>>>>>>>> find
>>>>>>>>>>>> the
>>>>>>>>>>>>>>>> thread
>>>>>>>>>>>>>>>>>>>> about
>>>>>>>>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>>>>>>>> from April of this year.  At the time, I was in a
>>>>>>>>>>>> position
>>>>>>>>>>>>>>>> where I
>>>>>>>>>>>>>>>>>>>>> couldn't
>>>>>>>>>>>>>>>>>>>>>> spend much time on open source contribution.
>> I've
>>>>>>>>>>>> recently
>>>>>>>>>>>>>>>>> changed
>>>>>>>>>>>>>>>>>>>> jobs,
>>>>>>>>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>>>>>>>> something that's going to help me spend some more
>>>>>>>>>> time
>>>>>>>>>>>> with
>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>> open
>>>>>>>>>>>>>>>>>>>>> source
>>>>>>>>>>>>>>>>>>>>>> community, and believe I can pick it back up if
>>>>>>>>> we're
>>>>>>>>>>>>>> ready.
>>>>>>>>>>>>>>>>>>>>>> If everyone's ok with it I can start a new thread
>>>>>>>>> for
>>>>>>>>>>> 113
>>>>>>>>>>>>>> or
>>>>>>>>>>>>>>>>> revive
>>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>> old
>>>>>>>>>>>>>>>>>>>>>> thread (though it may come through with a large
>>>>>>>>> pile
>>>>>>>>>> of
>>>>>>>>>>>>>> dust).
>>>>>>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>>>>> John
>>>>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>> View this message in context:
>>>>>>>>>>>>>>>>>>>>>> 
>>>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>> 
>> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
>>>>>>>>>>>>>>>>>>>>>> Sent from the Apache DeltaSpike Incubator
>>>>>>>>> Discussions
>>>>>>>>>>>>>> mailing
>>>>>>>>>>>>>>>> list
>>>>>>>>>>>>>>>>>>>>> archive
>>>>>>>>>>>>>>>>>>>>>> at Nabble.com.
>>>>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>> Jason Porter
>>>>>>>>>>>>>>>>>>>> http://en.gravatar.com/lightguardjp
>>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>> 
>> 


Re: cdi-query, no news?

Posted by Gerhard Petracek <ge...@gmail.com>.
+1

regards,
gerhard



2013/3/14 Romain Manni-Bucau <rm...@gmail.com>

> ok great,
>
> wonder if we couldn't start by a first version without such extensibility +
> no scopes for queries?
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog: **http://rmannibucau.wordpress.com/*<
> http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
> 2013/3/14 Gerhard Petracek <ge...@gmail.com>
>
> > hi romain,
> >
> > no - it's more about the style we introduced e.g. for type-safe messages.
> >
> > regards,
> > gerhard
> >
> >
> > 2013/3/14 Romain Manni-Bucau <rm...@gmail.com>
> >
> > > @Gerhard: hope you don't think of @RepoBinding at all...would be too
> much
> > > IMO. Would be great to support aliases/stereotype maybe but not the
> > default
> > >
> > > Wdyt?
> > > Le 14 mars 2013 00:11, "Gerhard Petracek" <ge...@gmail.com>
> a
> > > écrit :
> > >
> > > > hi thomas,
> > > >
> > > > imo it should follow the basic style/s we have in other parts already
> > (if
> > > > possible).
> > > >
> > > > i guess the simple implementations in the test-module are too simple
> to
> > > see
> > > > the real benefit.
> > > > -> it would be nice if you add some drafts to a sub-page of [1].
> > > > (the usage you would prefer and not as it is right now.)
> > > >
> > > > regards,
> > > > gerhard
> > > >
> > > > [1] https://cwiki.apache.org/confluence/display/DeltaSpike/Drafts
> > > >
> > > >
> > > >
> > > > 2013/3/13 Romain Manni-Bucau <rm...@gmail.com>
> > > >
> > > > > i'd put it in to start since that's useful for JPA but it shouldn't
> > use
> > > > it
> > > > > at all
> > > > >
> > > > > a question (for next iteration if that's ok for everybody) is
> should
> > > > repos
> > > > > handle transaction or at least define it.
> > > > >
> > > > > *Romain Manni-Bucau*
> > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > http://rmannibucau.wordpress.com/>
> > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > *Github: https://github.com/rmannibucau*
> > > > >
> > > > >
> > > > >
> > > > > 2013/3/13 John D. Ament <jo...@gmail.com>
> > > > >
> > > > > > Does this have any direct/indirect dependencies on JPA module?
> > Should
> > > > > this
> > > > > > maybe become a part of the JPA module?
> > > > > >
> > > > > >
> > > > > > On Wed, Mar 13, 2013 at 7:23 AM, Thomas Hug
> > > > > > <th...@ctp-consulting.com>wrote:
> > > > > >
> > > > > > > Ok, I guess it's going to be Repository :) Updated the proposal
> > > > branch
> > > > > > and
> > > > > > > also moved things into a data package/module.
> > > > > > >
> > > > > > > Some remarks for the parts below:
> > > > > > >
> > > > > > > 1) EntityManagerRepository wasn't present in the Solder
> > > > implementation
> > > > > -
> > > > > > > there it was possible to simply implement/extend EntityManager.
> > The
> > > > > > problem
> > > > > > > with the invocation handler is that it's not possible to
> restrict
> > > the
> > > > > > bean
> > > > > > > type and exclude EntityManager (or I missed it). Otherwise I'd
> > > rather
> > > > > get
> > > > > > > rid of this interface.
> > > > > > >
> > > > > > > 2) WithEntityManager is definitely discussable. Not the full
> > > solution
> > > > > and
> > > > > > > not consistent. Could be solved with e.g. putting qualifiers
> on a
> > > > > method
> > > > > > > returning an EntityManager (less intuitive) or something like
> the
> > > > > > > InvocationHandlerBinding.
> > > > > > >
> > > > > > > 3) AbstractEntityRepository is just a convenience class for
> > > providing
> > > > > > > concrete query implementations.
> > > > > > >
> > > > > > > On Tue, Mar 12, 2013 at 9:40 PM, Gerhard Petracek <
> > > > > > > gerhard.petracek@gmail.com> wrote:
> > > > > > >
> > > > > > > > hi,
> > > > > > > >
> > > > > > > > currently we don't have one jira ticket per part/feature.
> > > > > > > > that's what we used to have for everything we imported.
> > > > > > > >
> > > > > > > > the first parts to discuss are imo EntityManagerDao,
> > > > > WithEntityManager
> > > > > > > and
> > > > > > > > AbstractEntityDao.
> > > > > > > >
> > > > > > > > regards,
> > > > > > > > gerhard
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > 2013/3/12 Arne Limburg <ar...@openknowledge.de>
> > > > > > > >
> > > > > > > > > +1 for repository, from me too
> > > > > > > > >
> > > > > > > > > Gesendet mit meinem HTC
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > ----- Reply message -----
> > > > > > > > > Von: "Thomas Andraschko" <an...@gmail.com>
> > > > > > > > > An: "deltaspike-dev@incubator.apache.org" <
> > > > > > > > > deltaspike-dev@incubator.apache.org>
> > > > > > > > > Betreff: cdi-query, no news?
> > > > > > > > > Datum: Di., Mär. 12, 2013 20:38
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > +1 repository! :) "Query" doesn't really match the
> > functionaly.
> > > > > > > > >
> > > > > > > > > 2013/3/12 Romain Manni-Bucau <rm...@gmail.com>
> > > > > > > > >
> > > > > > > > > > +2 for repo
> > > > > > > > > >
> > > > > > > > > > btw did you fixed the scope issue?
> > > > > > > > > >
> > > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau
> >*
> > > > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > *Github: https://github.com/rmannibucau*
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
> > > > > > > > > >
> > > > > > > > > > > The name is still freely choosable - data sounds fine
> to
> > me
> > > > if
> > > > > > > nobody
> > > > > > > > > > minds
> > > > > > > > > > > the obvious mirroring on Spring Data ;) dao/@Dao is
> > > > > discussable,
> > > > > > > all
> > > > > > > > > the
> > > > > > > > > > > domain driven folks prefer probably something like
> > > > > "Repository".
> > > > > > > > > > >
> > > > > > > > > > > On Tue, Mar 12, 2013 at 7:29 PM, Romain Manni-Bucau
> > > > > > > > > > > <rm...@gmail.com>wrote:
> > > > > > > > > > >
> > > > > > > > > > > > Great :)
> > > > > > > > > > > >
> > > > > > > > > > > > any issue changing "query" to something closer to
> what
> > it
> > > > > > really
> > > > > > > > > does ;
> > > > > > > > > > > > "dao" (because of @Dao) or "data"?
> > > > > > > > > > > >
> > > > > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > > > > *Twitter: @rmannibucau <
> > https://twitter.com/rmannibucau
> > > >*
> > > > > > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > *Github: https://gihub.com/rmannibucau* <
> > > > > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
> > > > > > > > > > > >
> > > > > > > > > > > > > FYI, I've started something like an import proposal
> > in
> > > a
> > > > > > > > dedicated
> > > > > > > > > > > branch
> > > > > > > > > > > > > [1]. There's currently only the JBoss Arquillian
> > > profile
> > > > > > > running,
> > > > > > > > > > > haven't
> > > > > > > > > > > > > looked at the others. Any support there and of
> course
> > > > other
> > > > > > > > input's
> > > > > > > > > > > very
> > > > > > > > > > > > > welcome :)
> > > > > > > > > > > > >
> > > > > > > > > > > > > [1]
> > > https://github.com/ctpconsulting/query/tree/dsimport
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Tue, Mar 5, 2013 at 7:45 AM, Romain Manni-Bucau
> <
> > > > > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > > > > >wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > Yes
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > It works fine but you bring too much spring
> > > > dependencies
> > > > > > > > (totally
> > > > > > > > > > > > useless
> > > > > > > > > > > > > > when used this way) which clearly show it is
> > rather a
> > > > > > bridge
> > > > > > > > > than a
> > > > > > > > > > > > > > solution + there were some leaks in previous
> > version
> > > > > (didnt
> > > > > > > > check
> > > > > > > > > > fix
> > > > > > > > > > > > was
> > > > > > > > > > > > > > released to be honest) because if this usage
> which
> > > was
> > > > > not
> > > > > > > the
> > > > > > > > > > > default
> > > > > > > > > > > > > one.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Since cdi query is here it worths importing it
> IMO
> > > > > > > > > > > > > > Le 5 mars 2013 02:21, "hantsy" <
> > hantsy@yahoo.com.cn>
> > > a
> > > > > > > écrit :
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I remember the Spring Data has a CDI extension,
> > > but I
> > > > > > have
> > > > > > > > not
> > > > > > > > > > used
> > > > > > > > > > > > it
> > > > > > > > > > > > > > > in projects. Is there anyone used it in Java
> EE 6
> > > > > > projects?
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Hantsy
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On 3/3/2013 20:40, Romain Manni-Bucau wrote:
> > > > > > > > > > > > > > > > Basically if the query logic could be scope
> > > > agnostic
> > > > > it
> > > > > > > > would
> > > > > > > > > > be
> > > > > > > > > > > > > > perfect
> > > > > > > > > > > > > > > > for me. Parameters were fine and matched the
> > > coomon
> > > > > > need.
> > > > > > > > I m
> > > > > > > > > > not
> > > > > > > > > > > > > sure
> > > > > > > > > > > > > > i
> > > > > > > > > > > > > > > > get what is blocking. Can you detail it a bit
> > > > please?
> > > > > > > > > > > > > > > > Le 3 mars 2013 13:09, "Thomas Hug" <
> > > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > a
> > > > > > > > > > > > > > > écrit :
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >> Aha got you. Yes QueryHandler can be moved
> to
> > > > > > > application
> > > > > > > > > > scope.
> > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > >> The other request scoped component ist the
> > > > > > > > > > > > > CdiQueryInvocationContext.
> > > > > > > > > > > > > > > Here
> > > > > > > > > > > > > > > >> we store a bunch of data which is related to
> > the
> > > > > > current
> > > > > > > > > query
> > > > > > > > > > > > > > > (parameters,
> > > > > > > > > > > > > > > >> query string etc). Originally this was
> passed
> > as
> > > > > > > > parameter,
> > > > > > > > > > but
> > > > > > > > > > > > got
> > > > > > > > > > > > > > > >> injectable for the extension mechanism [1].
> > > > > Currently
> > > > > > on
> > > > > > > > > > > holidays
> > > > > > > > > > > > > > (sorry
> > > > > > > > > > > > > > > >> the response delays) so not much time to
> look
> > > into
> > > > > it
> > > > > > > but
> > > > > > > > > > happy
> > > > > > > > > > > to
> > > > > > > > > > > > > > take
> > > > > > > > > > > > > > > >> suggestions :)
> > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > >> [1]
> > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > >> On Fri, Mar 1, 2013 at 8:18 PM, Romain
> > > > Manni-Bucau <
> > > > > > > > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > > > > > > >>> wrote:
> > > > > > > > > > > > > > > >>> Hmm,
> > > > > > > > > > > > > > > >>>
> > > > > > > > > > > > > > > >>> Wonder if the scope couldnt be application
> > one.
> > > > > > Request
> > > > > > > > > > sounds
> > > > > > > > > > > > too
> > > > > > > > > > > > > > much
> > > > > > > > > > > > > > > >> web
> > > > > > > > > > > > > > > >>> to be usable/generic
> > > > > > > > > > > > > > > >>> Le 1 mars 2013 19:02, "Thomas Hug" <
> > > > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > a
> > > > > > > > > > > > > > > >>> écrit :
> > > > > > > > > > > > > > > >>>
> > > > > > > > > > > > > > > >>>> Fine for me - planned to create a branch
> > with
> > > > all
> > > > > > the
> > > > > > > > > > > > experimental
> > > > > > > > > > > > > > > APIs
> > > > > > > > > > > > > > > >>>> cleared out as an import proposal.
> > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > >>>> RE scope, the InvocationHandlers are
> > validated
> > > > to
> > > > > be
> > > > > > > > > normal
> > > > > > > > > > > > scoped
> > > > > > > > > > > > > > > [1],
> > > > > > > > > > > > > > > >>> so
> > > > > > > > > > > > > > > >>>> that seemed to me the most appropriate
> > choice
> > > -
> > > > > any
> > > > > > > > other
> > > > > > > > > > > > > > suggestions?
> > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > >>>> [1]
> > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > >>>> On Wed, Feb 27, 2013 at 1:15 PM, Romain
> > > > > Manni-Bucau
> > > > > > > > > > > > > > > >>>> <rm...@gmail.com>wrote:
> > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > >>>>> Hi,
> > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > >>>>> some news of it?
> > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > >>>>> i think it is time to import at least a
> > first
> > > > > > > version,
> > > > > > > > > > isn't
> > > > > > > > > > > > it?
> > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > >>>>> Just a note on current code, i saw
> > > QueryHandler
> > > > > > (and
> > > > > > > > some
> > > > > > > > > > > other
> > > > > > > > > > > > > > > >> beans)
> > > > > > > > > > > > > > > >>>> has
> > > > > > > > > > > > > > > >>>>> a request scope. Wonder if such a scope
> > means
> > > > > > > something
> > > > > > > > > > for a
> > > > > > > > > > > > > > generic
> > > > > > > > > > > > > > > >>>> (not
> > > > > > > > > > > > > > > >>>>> web) lib.
> > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > >>>>> wdyt?
> > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > >>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > >>>>> *Twitter: @rmannibucau <
> > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > >*
> > > > > > > > > > > > > > > >>>>> *Blog: **
> > http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > >>>>> *LinkedIn: **
> > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > >>>>> *Github: https://github.com/rmannibucau*
> > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > >>>>> 2013/2/20 Romain Manni-Bucau <
> > > > > > rmannibucau@gmail.com>
> > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > >>>>>> guy you rocks!
> > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > >>>>>> effectively i missed it when i looked.
> > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > >>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > >>>>>> *Twitter: @rmannibucau <
> > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > >*
> > > > > > > > > > > > > > > >>>>>> *Blog: **
> > http://rmannibucau.wordpress.com/*
> > > <
> > > > > > > > > > > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > >>>>>> *LinkedIn: **
> > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > >>>>>> *Github:
> https://github.com/rmannibucau*
> > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > >>>>>> 2013/2/20 Thomas Hug <
> > > > > > thomas.hug@ctp-consulting.com
> > > > > > > >
> > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > >>>>>>> Thnx Romain. If with proxy stuff you
> > refer
> > > to
> > > > > the
> > > > > > > DS
> > > > > > > > > > > > > > > >>>>>>> InvocationHandlerBinding, that's
> already
> > > > > > integrated
> > > > > > > > :)
> > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > >>>>>>> RE pagination, it's maybe not that
> > obvious,
> > > > but
> > > > > > > > there's
> > > > > > > > > > > more
> > > > > > > > > > > > > > > >>> advanced
> > > > > > > > > > > > > > > >>>>>>> support in QueryResult [1][2], which is
> > > more
> > > > > of a
> > > > > > > > > fluent
> > > > > > > > > > > API
> > > > > > > > > > > > > > > >>> approach,
> > > > > > > > > > > > > > > >>>>> but
> > > > > > > > > > > > > > > >>>>>>> should behave similar to a PageRequest
> > (the
> > > > > query
> > > > > > > > > > execution
> > > > > > > > > > > > is
> > > > > > > > > > > > > > > >>> delayed
> > > > > > > > > > > > > > > >>>>>>> until the getResult() methods on
> > > QueryResult
> > > > is
> > > > > > > > > called).
> > > > > > > > > > > Hope
> > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > >>>> fits
> > > > > > > > > > > > > > > >>>>> to
> > > > > > > > > > > > > > > >>>>>>> what you had in mind.
> > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > >>>>>>> [1]
> > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > > > > > > > > > > > > > > >>>>>>> [2]
> > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > > > > > > > > > > > > > > >>>>>>> On Wed, Feb 20, 2013 at 10:04 PM,
> Romain
> > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > >>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > >>>>>>>> Hi Thomas,
> > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>> importing proxy stuff would be the
> first
> > > > great
> > > > > > > > stuff.
> > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>> i'd like to see some pagination API
> > (like
> > > > > > > > PageRequest
> > > > > > > > > > etc
> > > > > > > > > > > in
> > > > > > > > > > > > > > > >>> spring
> > > > > > > > > > > > > > > >>>>>>> world)
> > > > > > > > > > > > > > > >>>>>>>> which are more user friendly that
> > > > @FirstResult
> > > > > > and
> > > > > > > > > > > > > @MaxResult).
> > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>> wdyt?
> > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > >>>>>>>> *Twitter: @rmannibucau <
> > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > >*
> > > > > > > > > > > > > > > >>>>>>>> *Blog: **
> > > http://rmannibucau.wordpress.com/*
> > > > <
> > > > > > > > > > > > > > > >>>>>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > >>>>>>>> *LinkedIn: **
> > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > >>>>>>>> *Github:
> > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>> 2013/2/20 Thomas Hug <
> > > > > > > thomas.hug@ctp-consulting.com
> > > > > > > > >
> > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>> CDI Query has now a completely
> > > Solder-free
> > > > > POM.
> > > > > > > > Feel
> > > > > > > > > > free
> > > > > > > > > > > > to
> > > > > > > > > > > > > > > >>> drop
> > > > > > > > > > > > > > > >>>>>>>> comments
> > > > > > > > > > > > > > > >>>>>>>>> on the API - some parts might
> actually
> > be
> > > > > fully
> > > > > > > > > > excluded
> > > > > > > > > > > > > (e.g.
> > > > > > > > > > > > > > > >>>> home
> > > > > > > > > > > > > > > >>>>>>> and
> > > > > > > > > > > > > > > >>>>>>>>> critera APIs).
> > > > > > > > > > > > > > > >>>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>> On Tue, Feb 12, 2013 at 10:00 PM,
> Mark
> > > > > > Struberg <
> > > > > > > > > > > > > > > >>>> struberg@yahoo.de>
> > > > > > > > > > > > > > > >>>>>>>> wrote:
> > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>>> Thanks Thomas, great news!
> > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>>> LieGrue,
> > > > > > > > > > > > > > > >>>>>>>>>> strub
> > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>>>> ________________________________
> > > > > > > > > > > > > > > >>>>>>>>>>> From: Thomas Hug <
> > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > >>>>>>>>>>> To: "
> > > deltaspike-dev@incubator.apache.org
> > > > "
> > > > > <
> > > > > > > > > > > > > > > >>>>>>>>>> deltaspike-dev@incubator.apache.org
> >
> > > > > > > > > > > > > > > >>>>>>>>>>> Sent: Tuesday, February 12, 2013
> 4:10
> > > PM
> > > > > > > > > > > > > > > >>>>>>>>>>> Subject: Re: cdi-query, no news?
> > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>>>> FYI, I've started to "de-solderize"
> > CDI
> > > > > Query
> > > > > > > and
> > > > > > > > > > move
> > > > > > > > > > > > > > > >> things
> > > > > > > > > > > > > > > >>>> to
> > > > > > > > > > > > > > > >>>>>>>> depend
> > > > > > > > > > > > > > > >>>>>>>>> on
> > > > > > > > > > > > > > > >>>>>>>>>>> DS Core [1]:
> > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > https://github.com/ctpconsulting/query/tree/deltaspike
> > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>>>> Todos:
> > > > > > > > > > > > > > > >>>>>>>>>>> [x] Replace ServiceHandler
> > > > > > > > > > > > > > > >>>>>>>>>>> [_] Include Property utils
> > > > > > > > > > > > > > > >>>>>>>>>>> [_] Replace JBoss Logging
> > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>>>> Any feedback welcome.
> > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>>>> [1] including this modification
> > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > > > > > > > > > > > > > >>>>>>>>>>> On Mon, Feb 11, 2013 at 6:01 PM,
> > Romain
> > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > >>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>>>>> a review of the API i guess
> > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>>>>> what is missing today is probably
> > the
> > > > > > > pagination
> > > > > > > > > > > helpers
> > > > > > > > > > > > > > > >>>>>>>> (PageRequest
> > > > > > > > > > > > > > > >>>>>>>>>> for
> > > > > > > > > > > > > > > >>>>>>>>>>>> instance)
> > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>>>>> but technically all is fine IMO
> > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > >>>>>>>>>>>> *Twitter: @rmannibucau <
> > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > > > >>> *
> > > > > > > > > > > > > > > >>>>>>>>>>>> *Blog: **
> > > > > http://rmannibucau.wordpress.com/*
> > > > > > <
> > > > > > > > > > > > > > > >>>>>>>>>>>> http://rmannibucau.wordpress.com/
> >
> > > > > > > > > > > > > > > >>>>>>>>>>>> *LinkedIn: **
> > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > >>>>>>>>>>>> *Github:
> > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>>>>> 2013/2/11 Jason Porter <
> > > > > > > lightguard.jp@gmail.com
> > > > > > > > >
> > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>>>>>> I know I'm playing the
> necromancer,
> > > but
> > > > > > > please
> > > > > > > > > > > forgive
> > > > > > > > > > > > > > > >>> me.
> > > > > > > > > > > > > > > >>>> We
> > > > > > > > > > > > > > > >>>>>>> have
> > > > > > > > > > > > > > > >>>>>>>>>>>>> InvocationHandler, which looks
> like
> > > it
> > > > > > would
> > > > > > > > work
> > > > > > > > > > as
> > > > > > > > > > > a
> > > > > > > > > > > > > > > >>>>>>>>> ServiceHandler
> > > > > > > > > > > > > > > >>>>>>>>>>>>> substitute. What else is needed
> to
> > > get
> > > > > CDI
> > > > > > > > Query
> > > > > > > > > > into
> > > > > > > > > > > > > > > >>>>>>> DeltaSpike?
> > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>>>>>> On Sun, Nov 18, 2012 at 12:35 PM,
> > > > Romain
> > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > >>>>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>>>>>>> +1, it is a must have for cdi
> > world
> > > > > > > > > > > > > > > >>>>>>>>>>>>>> Le 18 nov. 2012 20:04,
> > > "john.d.ament"
> > > > <
> > > > > > > > > > > > > > > >>>>>>> john.d.ament@gmail.com>
> > > > > > > > > > > > > > > >>>>>>>> a
> > > > > > > > > > > > > > > >>>>>>>>>>>> écrit :
> > > > > > > > > > > > > > > >>>>>>>>>>>>>>> RE ServiceHandler - I was one
> of
> > > > those
> > > > > > who
> > > > > > > > > > > > > > > >> previously
> > > > > > > > > > > > > > > >>>>>>>> suggested
> > > > > > > > > > > > > > > >>>>>>>>>>>>> bringing
> > > > > > > > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > > > > > > > >>>>>>>>>>>>>>> over to DeltaSpike, you can see
> > > > > > > > DELTASPIKE-113
> > > > > > > > > > and
> > > > > > > > > > > > > > > >>> find
> > > > > > > > > > > > > > > >>>>> the
> > > > > > > > > > > > > > > >>>>>>>>> thread
> > > > > > > > > > > > > > > >>>>>>>>>>>>> about
> > > > > > > > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > > > > > > > >>>>>>>>>>>>>>> from April of this year.  At
> the
> > > > time,
> > > > > I
> > > > > > > was
> > > > > > > > > in a
> > > > > > > > > > > > > > > >>>>> position
> > > > > > > > > > > > > > > >>>>>>>>> where I
> > > > > > > > > > > > > > > >>>>>>>>>>>>>> couldn't
> > > > > > > > > > > > > > > >>>>>>>>>>>>>>> spend much time on open source
> > > > > > > contribution.
> > > > > > > > > >  I've
> > > > > > > > > > > > > > > >>>>> recently
> > > > > > > > > > > > > > > >>>>>>>>>> changed
> > > > > > > > > > > > > > > >>>>>>>>>>>>> jobs,
> > > > > > > > > > > > > > > >>>>>>>>>>>>>>> to
> > > > > > > > > > > > > > > >>>>>>>>>>>>>>> something that's going to help
> me
> > > > spend
> > > > > > > some
> > > > > > > > > more
> > > > > > > > > > > > > > > >>> time
> > > > > > > > > > > > > > > >>>>> with
> > > > > > > > > > > > > > > >>>>>>>> the
> > > > > > > > > > > > > > > >>>>>>>>>> open
> > > > > > > > > > > > > > > >>>>>>>>>>>>>> source
> > > > > > > > > > > > > > > >>>>>>>>>>>>>>> community, and believe I can
> pick
> > > it
> > > > > back
> > > > > > > up
> > > > > > > > if
> > > > > > > > > > > > > > > >> we're
> > > > > > > > > > > > > > > >>>>>>> ready.
> > > > > > > > > > > > > > > >>>>>>>>>>>>>>> If everyone's ok with it I can
> > > start
> > > > a
> > > > > > new
> > > > > > > > > thread
> > > > > > > > > > > > > > > >> for
> > > > > > > > > > > > > > > >>>> 113
> > > > > > > > > > > > > > > >>>>>>> or
> > > > > > > > > > > > > > > >>>>>>>>>> revive
> > > > > > > > > > > > > > > >>>>>>>>>>>> the
> > > > > > > > > > > > > > > >>>>>>>>>>>>>> old
> > > > > > > > > > > > > > > >>>>>>>>>>>>>>> thread (though it may come
> > through
> > > > > with a
> > > > > > > > large
> > > > > > > > > > > > > > > >> pile
> > > > > > > > > > > > > > > >>> of
> > > > > > > > > > > > > > > >>>>>>> dust).
> > > > > > > > > > > > > > > >>>>>>>>>>>>>>> Regards,
> > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>>>>>>>> John
> > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>>>>>>>> --
> > > > > > > > > > > > > > > >>>>>>>>>>>>>>> View this message in context:
> > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > > > > > > > > > > > > >>>>>>>>>>>>>>> Sent from the Apache DeltaSpike
> > > > > Incubator
> > > > > > > > > > > > > > > >> Discussions
> > > > > > > > > > > > > > > >>>>>>> mailing
> > > > > > > > > > > > > > > >>>>>>>>> list
> > > > > > > > > > > > > > > >>>>>>>>>>>>>> archive
> > > > > > > > > > > > > > > >>>>>>>>>>>>>>> at Nabble.com.
> > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>>>>>> --
> > > > > > > > > > > > > > > >>>>>>>>>>>>> Jason Porter
> > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > http://en.gravatar.com/lightguardjp
> > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
agree but in general you can need the (generated) id -> saveAndFlush but
when you remove sthg you don't query it again. So i guess that's just a
common method added from the usage.

Didn't check the impl but flush could be added to the "method name dsl",
wdyt?

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/3/18 Gerhard Petracek <ge...@gmail.com>

> hi thomas,
>
> @ #getEntityManager:
> injection works in such (partial-)beans (we have tests for it).
>
> @ #saveAndFlush:
> it's clear what it does, but not why it's the only combined operation (e.g.
> there is no #removeAndFlush).
>
> regards,
> gerhard
>
>
>
> 2013/3/18 Thomas Hug <th...@ctp-consulting.com>
>
> > Thnx for the remarks Gerhard!
> >
> > - @Query: Good point, looks more consistent to me too.
> > - NonEntity was AFAIR introduced to make it more explicit that the Entity
> > class comes from somewhere else. I don't think we need it - if nobody
> > prefers the explicit style then I'd favor removing it.
> > - Not sure if I get the next point - the EntityManager comes always from
> a
> > producer and is looked up in the Impl classes (and I guess injection
> won't
> > work in InvocationHandlerBinding beans anyway). The methods from
> > EntityRepository and AbstractEntityRepository are not meant to be
> > implemented by a client. There's only a getEntityManager() on the
> > AbstractEntityRepository to be used by concrete query methods which you
> > don't have with an interface-based repository.
> >
> > @Repository
> > public interface PersonRepository extends EntityRepository <Person,
> Long> {
> >      Person findBySsn(String ssn);
> > }
> >
> > public abstract class PersonRepository extends
> > AbstractEntityRepository<Person, Long> {
> >     public List<Person> findByXY(X x, Y y) {
> >         // some logic
> >         return getEntityManager().createQuery(query).getResultList();
> >     }
> > }
> >
> > - saveAndFlush will simply call flush after persist/merge instead of
> > waiting for it at the transaction commit. Can have impact on following
> > queries.
> >
> > Confluence updates to follow. Hope that helps...
> >
> > On Sun, Mar 17, 2013 at 3:12 PM, Gerhard Petracek <
> > gerhard.petracek@gmail.com> wrote:
> >
> > > hi thomas,
> > >
> > > i would prefer e.g.
> > > Query#value + Query#isNative (false as the default)
> > > instead of
> > > Query#value + Query#sql
> > >
> > > and it would be great to get additional information about the need of:
> > >
> > >  - NonEntity (as the default)
> > >  - AbstractEntityRepository
> > >    (e.g. you can pass in the EntityManager as parameter or inject it.
> > >     you would need it e.g. for EntityRepository#save,... - but in
> > > EntityRepository it isn't part of the contract...)
> > >  - (EntityRepository#saveAndFlush as the only combined operation)
> > >
> > > regards,
> > > gerhard
> > >
> > >
> > >
> > > 2013/3/14 Thomas Hug <th...@ctp-consulting.com>
> > >
> > > > Thnx for the pointers. Started to outline the APIs here [1] with
> > examples
> > > > in decreasing priority.
> > > >
> > > > [1]
> > > >
> > https://cwiki.apache.org/confluence/display/DeltaSpike/Repository+Drafts
> > > >
> > > > On Thu, Mar 14, 2013 at 10:05 AM, Gerhard Petracek <
> > > > gerhard.petracek@gmail.com> wrote:
> > > >
> > > > > +1
> > > > >
> > > > > regards,
> > > > > gerhard
> > > > >
> > > > >
> > > > >
> > > > > 2013/3/14 Romain Manni-Bucau <rm...@gmail.com>
> > > > >
> > > > > > ok great,
> > > > > >
> > > > > > wonder if we couldn't start by a first version without such
> > > > > extensibility +
> > > > > > no scopes for queries?
> > > > > >
> > > > > > *Romain Manni-Bucau*
> > > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > http://rmannibucau.wordpress.com/>
> > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > *Github: https://github.com/rmannibucau*
> > > > > >
> > > > > >
> > > > > >
> > > > > > 2013/3/14 Gerhard Petracek <ge...@gmail.com>
> > > > > >
> > > > > > > hi romain,
> > > > > > >
> > > > > > > no - it's more about the style we introduced e.g. for type-safe
> > > > > messages.
> > > > > > >
> > > > > > > regards,
> > > > > > > gerhard
> > > > > > >
> > > > > > >
> > > > > > > 2013/3/14 Romain Manni-Bucau <rm...@gmail.com>
> > > > > > >
> > > > > > > > @Gerhard: hope you don't think of @RepoBinding at all...would
> > be
> > > > too
> > > > > > much
> > > > > > > > IMO. Would be great to support aliases/stereotype maybe but
> not
> > > the
> > > > > > > default
> > > > > > > >
> > > > > > > > Wdyt?
> > > > > > > > Le 14 mars 2013 00:11, "Gerhard Petracek" <
> > > > > gerhard.petracek@gmail.com>
> > > > > > a
> > > > > > > > écrit :
> > > > > > > >
> > > > > > > > > hi thomas,
> > > > > > > > >
> > > > > > > > > imo it should follow the basic style/s we have in other
> parts
> > > > > already
> > > > > > > (if
> > > > > > > > > possible).
> > > > > > > > >
> > > > > > > > > i guess the simple implementations in the test-module are
> too
> > > > > simple
> > > > > > to
> > > > > > > > see
> > > > > > > > > the real benefit.
> > > > > > > > > -> it would be nice if you add some drafts to a sub-page of
> > > [1].
> > > > > > > > > (the usage you would prefer and not as it is right now.)
> > > > > > > > >
> > > > > > > > > regards,
> > > > > > > > > gerhard
> > > > > > > > >
> > > > > > > > > [1]
> > > > https://cwiki.apache.org/confluence/display/DeltaSpike/Drafts
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > 2013/3/13 Romain Manni-Bucau <rm...@gmail.com>
> > > > > > > > >
> > > > > > > > > > i'd put it in to start since that's useful for JPA but it
> > > > > shouldn't
> > > > > > > use
> > > > > > > > > it
> > > > > > > > > > at all
> > > > > > > > > >
> > > > > > > > > > a question (for next iteration if that's ok for
> everybody)
> > is
> > > > > > should
> > > > > > > > > repos
> > > > > > > > > > handle transaction or at least define it.
> > > > > > > > > >
> > > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau
> >*
> > > > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > *Github: https://github.com/rmannibucau*
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > 2013/3/13 John D. Ament <jo...@gmail.com>
> > > > > > > > > >
> > > > > > > > > > > Does this have any direct/indirect dependencies on JPA
> > > > module?
> > > > > > > Should
> > > > > > > > > > this
> > > > > > > > > > > maybe become a part of the JPA module?
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > On Wed, Mar 13, 2013 at 7:23 AM, Thomas Hug
> > > > > > > > > > > <th...@ctp-consulting.com>wrote:
> > > > > > > > > > >
> > > > > > > > > > > > Ok, I guess it's going to be Repository :) Updated
> the
> > > > > proposal
> > > > > > > > > branch
> > > > > > > > > > > and
> > > > > > > > > > > > also moved things into a data package/module.
> > > > > > > > > > > >
> > > > > > > > > > > > Some remarks for the parts below:
> > > > > > > > > > > >
> > > > > > > > > > > > 1) EntityManagerRepository wasn't present in the
> Solder
> > > > > > > > > implementation
> > > > > > > > > > -
> > > > > > > > > > > > there it was possible to simply implement/extend
> > > > > EntityManager.
> > > > > > > The
> > > > > > > > > > > problem
> > > > > > > > > > > > with the invocation handler is that it's not possible
> > to
> > > > > > restrict
> > > > > > > > the
> > > > > > > > > > > bean
> > > > > > > > > > > > type and exclude EntityManager (or I missed it).
> > > Otherwise
> > > > > I'd
> > > > > > > > rather
> > > > > > > > > > get
> > > > > > > > > > > > rid of this interface.
> > > > > > > > > > > >
> > > > > > > > > > > > 2) WithEntityManager is definitely discussable. Not
> the
> > > > full
> > > > > > > > solution
> > > > > > > > > > and
> > > > > > > > > > > > not consistent. Could be solved with e.g. putting
> > > > qualifiers
> > > > > > on a
> > > > > > > > > > method
> > > > > > > > > > > > returning an EntityManager (less intuitive) or
> > something
> > > > like
> > > > > > the
> > > > > > > > > > > > InvocationHandlerBinding.
> > > > > > > > > > > >
> > > > > > > > > > > > 3) AbstractEntityRepository is just a convenience
> class
> > > for
> > > > > > > > providing
> > > > > > > > > > > > concrete query implementations.
> > > > > > > > > > > >
> > > > > > > > > > > > On Tue, Mar 12, 2013 at 9:40 PM, Gerhard Petracek <
> > > > > > > > > > > > gerhard.petracek@gmail.com> wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > hi,
> > > > > > > > > > > > >
> > > > > > > > > > > > > currently we don't have one jira ticket per
> > > part/feature.
> > > > > > > > > > > > > that's what we used to have for everything we
> > imported.
> > > > > > > > > > > > >
> > > > > > > > > > > > > the first parts to discuss are imo
> EntityManagerDao,
> > > > > > > > > > WithEntityManager
> > > > > > > > > > > > and
> > > > > > > > > > > > > AbstractEntityDao.
> > > > > > > > > > > > >
> > > > > > > > > > > > > regards,
> > > > > > > > > > > > > gerhard
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > 2013/3/12 Arne Limburg <
> > arne.limburg@openknowledge.de>
> > > > > > > > > > > > >
> > > > > > > > > > > > > > +1 for repository, from me too
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Gesendet mit meinem HTC
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > ----- Reply message -----
> > > > > > > > > > > > > > Von: "Thomas Andraschko" <
> > > andraschko.thomas@gmail.com>
> > > > > > > > > > > > > > An: "deltaspike-dev@incubator.apache.org" <
> > > > > > > > > > > > > > deltaspike-dev@incubator.apache.org>
> > > > > > > > > > > > > > Betreff: cdi-query, no news?
> > > > > > > > > > > > > > Datum: Di., Mär. 12, 2013 20:38
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > +1 repository! :) "Query" doesn't really match
> the
> > > > > > > functionaly.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > 2013/3/12 Romain Manni-Bucau <
> > rmannibucau@gmail.com>
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > +2 for repo
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > btw did you fixed the scope issue?
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > > > > > > > *Twitter: @rmannibucau <
> > > > > https://twitter.com/rmannibucau
> > > > > > >*
> > > > > > > > > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > *LinkedIn: **
> > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > *Github: https://github.com/rmannibucau*
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > 2013/3/12 Thomas Hug <
> > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > The name is still freely choosable - data
> > sounds
> > > > fine
> > > > > > to
> > > > > > > me
> > > > > > > > > if
> > > > > > > > > > > > nobody
> > > > > > > > > > > > > > > minds
> > > > > > > > > > > > > > > > the obvious mirroring on Spring Data ;)
> > dao/@Dao
> > > is
> > > > > > > > > > discussable,
> > > > > > > > > > > > all
> > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > domain driven folks prefer probably something
> > > like
> > > > > > > > > > "Repository".
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Tue, Mar 12, 2013 at 7:29 PM, Romain
> > > Manni-Bucau
> > > > > > > > > > > > > > > > <rm...@gmail.com>wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Great :)
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > any issue changing "query" to something
> > closer
> > > to
> > > > > > what
> > > > > > > it
> > > > > > > > > > > really
> > > > > > > > > > > > > > does ;
> > > > > > > > > > > > > > > > > "dao" (because of @Dao) or "data"?
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > *Twitter: @rmannibucau <
> > > > > > > https://twitter.com/rmannibucau
> > > > > > > > >*
> > > > > > > > > > > > > > > > > *Blog: **
> http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > > > *LinkedIn: **
> > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > *Github: https://gihub.com/rmannibucau* <
> > > > > > > > > > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > 2013/3/12 Thomas Hug <
> > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > FYI, I've started something like an
> import
> > > > > proposal
> > > > > > > in
> > > > > > > > a
> > > > > > > > > > > > > dedicated
> > > > > > > > > > > > > > > > branch
> > > > > > > > > > > > > > > > > > [1]. There's currently only the JBoss
> > > > Arquillian
> > > > > > > > profile
> > > > > > > > > > > > running,
> > > > > > > > > > > > > > > > haven't
> > > > > > > > > > > > > > > > > > looked at the others. Any support there
> and
> > > of
> > > > > > course
> > > > > > > > > other
> > > > > > > > > > > > > input's
> > > > > > > > > > > > > > > > very
> > > > > > > > > > > > > > > > > > welcome :)
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > [1]
> > > > > > > > https://github.com/ctpconsulting/query/tree/dsimport
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On Tue, Mar 5, 2013 at 7:45 AM, Romain
> > > > > Manni-Bucau
> > > > > > <
> > > > > > > > > > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > > > > > > > > > >wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Yes
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > It works fine but you bring too much
> > spring
> > > > > > > > > dependencies
> > > > > > > > > > > > > (totally
> > > > > > > > > > > > > > > > > useless
> > > > > > > > > > > > > > > > > > > when used this way) which clearly show
> it
> > > is
> > > > > > > rather a
> > > > > > > > > > > bridge
> > > > > > > > > > > > > > than a
> > > > > > > > > > > > > > > > > > > solution + there were some leaks in
> > > previous
> > > > > > > version
> > > > > > > > > > (didnt
> > > > > > > > > > > > > check
> > > > > > > > > > > > > > > fix
> > > > > > > > > > > > > > > > > was
> > > > > > > > > > > > > > > > > > > released to be honest) because if this
> > > usage
> > > > > > which
> > > > > > > > was
> > > > > > > > > > not
> > > > > > > > > > > > the
> > > > > > > > > > > > > > > > default
> > > > > > > > > > > > > > > > > > one.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Since cdi query is here it worths
> > importing
> > > > it
> > > > > > IMO
> > > > > > > > > > > > > > > > > > > Le 5 mars 2013 02:21, "hantsy" <
> > > > > > > hantsy@yahoo.com.cn>
> > > > > > > > a
> > > > > > > > > > > > écrit :
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > I remember the Spring Data has a CDI
> > > > > extension,
> > > > > > > > but I
> > > > > > > > > > > have
> > > > > > > > > > > > > not
> > > > > > > > > > > > > > > used
> > > > > > > > > > > > > > > > > it
> > > > > > > > > > > > > > > > > > > > in projects. Is there anyone used it
> in
> > > > Java
> > > > > > EE 6
> > > > > > > > > > > projects?
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Hantsy
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > On 3/3/2013 20:40, Romain Manni-Bucau
> > > > wrote:
> > > > > > > > > > > > > > > > > > > > > Basically if the query logic could
> be
> > > > scope
> > > > > > > > > agnostic
> > > > > > > > > > it
> > > > > > > > > > > > > would
> > > > > > > > > > > > > > > be
> > > > > > > > > > > > > > > > > > > perfect
> > > > > > > > > > > > > > > > > > > > > for me. Parameters were fine and
> > > matched
> > > > > the
> > > > > > > > coomon
> > > > > > > > > > > need.
> > > > > > > > > > > > > I m
> > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > > sure
> > > > > > > > > > > > > > > > > > > i
> > > > > > > > > > > > > > > > > > > > > get what is blocking. Can you
> detail
> > > it a
> > > > > bit
> > > > > > > > > please?
> > > > > > > > > > > > > > > > > > > > > Le 3 mars 2013 13:09, "Thomas Hug"
> <
> > > > > > > > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > > > > écrit :
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >> Aha got you. Yes QueryHandler can
> be
> > > > moved
> > > > > > to
> > > > > > > > > > > > application
> > > > > > > > > > > > > > > scope.
> > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > >> The other request scoped component
> > ist
> > > > the
> > > > > > > > > > > > > > > > > > CdiQueryInvocationContext.
> > > > > > > > > > > > > > > > > > > > Here
> > > > > > > > > > > > > > > > > > > > >> we store a bunch of data which is
> > > > related
> > > > > to
> > > > > > > the
> > > > > > > > > > > current
> > > > > > > > > > > > > > query
> > > > > > > > > > > > > > > > > > > > (parameters,
> > > > > > > > > > > > > > > > > > > > >> query string etc). Originally this
> > was
> > > > > > passed
> > > > > > > as
> > > > > > > > > > > > > parameter,
> > > > > > > > > > > > > > > but
> > > > > > > > > > > > > > > > > got
> > > > > > > > > > > > > > > > > > > > >> injectable for the extension
> > mechanism
> > > > > [1].
> > > > > > > > > > Currently
> > > > > > > > > > > on
> > > > > > > > > > > > > > > > holidays
> > > > > > > > > > > > > > > > > > > (sorry
> > > > > > > > > > > > > > > > > > > > >> the response delays) so not much
> > time
> > > to
> > > > > > look
> > > > > > > > into
> > > > > > > > > > it
> > > > > > > > > > > > but
> > > > > > > > > > > > > > > happy
> > > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > > take
> > > > > > > > > > > > > > > > > > > > >> suggestions :)
> > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > >> [1]
> > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > >> On Fri, Mar 1, 2013 at 8:18 PM,
> > Romain
> > > > > > > > > Manni-Bucau <
> > > > > > > > > > > > > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > > > > > > > > > > > >>> wrote:
> > > > > > > > > > > > > > > > > > > > >>> Hmm,
> > > > > > > > > > > > > > > > > > > > >>>
> > > > > > > > > > > > > > > > > > > > >>> Wonder if the scope couldnt be
> > > > > application
> > > > > > > one.
> > > > > > > > > > > Request
> > > > > > > > > > > > > > > sounds
> > > > > > > > > > > > > > > > > too
> > > > > > > > > > > > > > > > > > > much
> > > > > > > > > > > > > > > > > > > > >> web
> > > > > > > > > > > > > > > > > > > > >>> to be usable/generic
> > > > > > > > > > > > > > > > > > > > >>> Le 1 mars 2013 19:02, "Thomas
> Hug"
> > <
> > > > > > > > > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > > > > >>> écrit :
> > > > > > > > > > > > > > > > > > > > >>>
> > > > > > > > > > > > > > > > > > > > >>>> Fine for me - planned to create
> a
> > > > branch
> > > > > > > with
> > > > > > > > > all
> > > > > > > > > > > the
> > > > > > > > > > > > > > > > > experimental
> > > > > > > > > > > > > > > > > > > > APIs
> > > > > > > > > > > > > > > > > > > > >>>> cleared out as an import
> proposal.
> > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > >>>> RE scope, the InvocationHandlers
> > are
> > > > > > > validated
> > > > > > > > > to
> > > > > > > > > > be
> > > > > > > > > > > > > > normal
> > > > > > > > > > > > > > > > > scoped
> > > > > > > > > > > > > > > > > > > > [1],
> > > > > > > > > > > > > > > > > > > > >>> so
> > > > > > > > > > > > > > > > > > > > >>>> that seemed to me the most
> > > appropriate
> > > > > > > choice
> > > > > > > > -
> > > > > > > > > > any
> > > > > > > > > > > > > other
> > > > > > > > > > > > > > > > > > > suggestions?
> > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > >>>> [1]
> > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > >>>> On Wed, Feb 27, 2013 at 1:15 PM,
> > > > Romain
> > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > > > >>>> <rm...@gmail.com>wrote:
> > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > >>>>> Hi,
> > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > >>>>> some news of it?
> > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > >>>>> i think it is time to import at
> > > > least a
> > > > > > > first
> > > > > > > > > > > > version,
> > > > > > > > > > > > > > > isn't
> > > > > > > > > > > > > > > > > it?
> > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > >>>>> Just a note on current code, i
> > saw
> > > > > > > > QueryHandler
> > > > > > > > > > > (and
> > > > > > > > > > > > > some
> > > > > > > > > > > > > > > > other
> > > > > > > > > > > > > > > > > > > > >> beans)
> > > > > > > > > > > > > > > > > > > > >>>> has
> > > > > > > > > > > > > > > > > > > > >>>>> a request scope. Wonder if
> such a
> > > > scope
> > > > > > > means
> > > > > > > > > > > > something
> > > > > > > > > > > > > > > for a
> > > > > > > > > > > > > > > > > > > generic
> > > > > > > > > > > > > > > > > > > > >>>> (not
> > > > > > > > > > > > > > > > > > > > >>>>> web) lib.
> > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > >>>>> wdyt?
> > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > >>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > > > >>>>> *Twitter: @rmannibucau <
> > > > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > > >*
> > > > > > > > > > > > > > > > > > > > >>>>> *Blog: **
> > > > > > > http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > > > > > > > > >>>>>
> > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > > > > > > >>>>> *LinkedIn: **
> > > > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > > >>>>> *Github:
> > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > >>>>> 2013/2/20 Romain Manni-Bucau <
> > > > > > > > > > > rmannibucau@gmail.com>
> > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>> guy you rocks!
> > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>> effectively i missed it when i
> > > > looked.
> > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > > > >>>>>> *Twitter: @rmannibucau <
> > > > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > > >*
> > > > > > > > > > > > > > > > > > > > >>>>>> *Blog: **
> > > > > > > http://rmannibucau.wordpress.com/*
> > > > > > > > <
> > > > > > > > > > > > > > > > > > > > >>>>>
> > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > > > > > > >>>>>> *LinkedIn: **
> > > > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > > >>>>>> *Github:
> > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>> 2013/2/20 Thomas Hug <
> > > > > > > > > > > thomas.hug@ctp-consulting.com
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>> Thnx Romain. If with proxy
> > stuff
> > > > you
> > > > > > > refer
> > > > > > > > to
> > > > > > > > > > the
> > > > > > > > > > > > DS
> > > > > > > > > > > > > > > > > > > > >>>>>>> InvocationHandlerBinding,
> > that's
> > > > > > already
> > > > > > > > > > > integrated
> > > > > > > > > > > > > :)
> > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>> RE pagination, it's maybe not
> > > that
> > > > > > > obvious,
> > > > > > > > > but
> > > > > > > > > > > > > there's
> > > > > > > > > > > > > > > > more
> > > > > > > > > > > > > > > > > > > > >>> advanced
> > > > > > > > > > > > > > > > > > > > >>>>>>> support in QueryResult
> [1][2],
> > > > which
> > > > > is
> > > > > > > > more
> > > > > > > > > > of a
> > > > > > > > > > > > > > fluent
> > > > > > > > > > > > > > > > API
> > > > > > > > > > > > > > > > > > > > >>> approach,
> > > > > > > > > > > > > > > > > > > > >>>>> but
> > > > > > > > > > > > > > > > > > > > >>>>>>> should behave similar to a
> > > > > PageRequest
> > > > > > > (the
> > > > > > > > > > query
> > > > > > > > > > > > > > > execution
> > > > > > > > > > > > > > > > > is
> > > > > > > > > > > > > > > > > > > > >>> delayed
> > > > > > > > > > > > > > > > > > > > >>>>>>> until the getResult() methods
> > on
> > > > > > > > QueryResult
> > > > > > > > > is
> > > > > > > > > > > > > > called).
> > > > > > > > > > > > > > > > Hope
> > > > > > > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > > > > > > >>>> fits
> > > > > > > > > > > > > > > > > > > > >>>>> to
> > > > > > > > > > > > > > > > > > > > >>>>>>> what you had in mind.
> > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>> [1]
> > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > > > > > > > > > > > > > > > > > > > >>>>>>> [2]
> > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > > > > > > > > > > > > > > > > > > > >>>>>>> On Wed, Feb 20, 2013 at 10:04
> > PM,
> > > > > > Romain
> > > > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > > > >>>>>>> <rmannibucau@gmail.com
> >wrote:
> > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>> Hi Thomas,
> > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>> importing proxy stuff would
> be
> > > the
> > > > > > first
> > > > > > > > > great
> > > > > > > > > > > > > stuff.
> > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>> i'd like to see some
> > pagination
> > > > API
> > > > > > > (like
> > > > > > > > > > > > > PageRequest
> > > > > > > > > > > > > > > etc
> > > > > > > > > > > > > > > > in
> > > > > > > > > > > > > > > > > > > > >>> spring
> > > > > > > > > > > > > > > > > > > > >>>>>>> world)
> > > > > > > > > > > > > > > > > > > > >>>>>>>> which are more user friendly
> > > that
> > > > > > > > > @FirstResult
> > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > @MaxResult).
> > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>> wdyt?
> > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > > > >>>>>>>> *Twitter: @rmannibucau <
> > > > > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > > > >*
> > > > > > > > > > > > > > > > > > > > >>>>>>>> *Blog: **
> > > > > > > > http://rmannibucau.wordpress.com/*
> > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > http://rmannibucau.wordpress.com/
> > > > >
> > > > > > > > > > > > > > > > > > > > >>>>>>>> *LinkedIn: **
> > > > > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > > >>>>>>>> *Github:
> > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>> 2013/2/20 Thomas Hug <
> > > > > > > > > > > > thomas.hug@ctp-consulting.com
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>> CDI Query has now a
> > completely
> > > > > > > > Solder-free
> > > > > > > > > > POM.
> > > > > > > > > > > > > Feel
> > > > > > > > > > > > > > > free
> > > > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > > > >>> drop
> > > > > > > > > > > > > > > > > > > > >>>>>>>> comments
> > > > > > > > > > > > > > > > > > > > >>>>>>>>> on the API - some parts
> might
> > > > > > actually
> > > > > > > be
> > > > > > > > > > fully
> > > > > > > > > > > > > > > excluded
> > > > > > > > > > > > > > > > > > (e.g.
> > > > > > > > > > > > > > > > > > > > >>>> home
> > > > > > > > > > > > > > > > > > > > >>>>>>> and
> > > > > > > > > > > > > > > > > > > > >>>>>>>>> critera APIs).
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>> On Tue, Feb 12, 2013 at
> 10:00
> > > PM,
> > > > > > Mark
> > > > > > > > > > > Struberg <
> > > > > > > > > > > > > > > > > > > > >>>> struberg@yahoo.de>
> > > > > > > > > > > > > > > > > > > > >>>>>>>> wrote:
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>> Thanks Thomas, great news!
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>> LieGrue,
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>> strub
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > ________________________________
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> From: Thomas Hug <
> > > > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> To: "
> > > > > > > > deltaspike-dev@incubator.apache.org
> > > > > > > > > "
> > > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > deltaspike-dev@incubator.apache.org
> > > > > > >
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> Sent: Tuesday, February
> 12,
> > > > 2013
> > > > > > 4:10
> > > > > > > > PM
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> Subject: Re: cdi-query,
> no
> > > > news?
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> FYI, I've started to
> > > > > "de-solderize"
> > > > > > > CDI
> > > > > > > > > > Query
> > > > > > > > > > > > and
> > > > > > > > > > > > > > > move
> > > > > > > > > > > > > > > > > > > > >> things
> > > > > > > > > > > > > > > > > > > > >>>> to
> > > > > > > > > > > > > > > > > > > > >>>>>>>> depend
> > > > > > > > > > > > > > > > > > > > >>>>>>>>> on
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> DS Core [1]:
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > >
> > > > https://github.com/ctpconsulting/query/tree/deltaspike
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> Todos:
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> [x] Replace
> ServiceHandler
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> [_] Include Property
> utils
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> [_] Replace JBoss Logging
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> Any feedback welcome.
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> [1] including this
> > > modification
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> On Mon, Feb 11, 2013 at
> > 6:01
> > > > PM,
> > > > > > > Romain
> > > > > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> <rmannibucau@gmail.com
> > > >wrote:
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> a review of the API i
> > guess
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> what is missing today is
> > > > > probably
> > > > > > > the
> > > > > > > > > > > > pagination
> > > > > > > > > > > > > > > > helpers
> > > > > > > > > > > > > > > > > > > > >>>>>>>> (PageRequest
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>> for
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> instance)
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> but technically all is
> > fine
> > > > IMO
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Twitter: @rmannibucau <
> > > > > > > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > > > > > > > > >>> *
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Blog: **
> > > > > > > > > > http://rmannibucau.wordpress.com/*
> > > > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > http://rmannibucau.wordpress.com/
> > > > > > >
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *LinkedIn: **
> > > > > > > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Github:
> > > > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> 2013/2/11 Jason Porter <
> > > > > > > > > > > > lightguard.jp@gmail.com
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> I know I'm playing the
> > > > > > necromancer,
> > > > > > > > but
> > > > > > > > > > > > please
> > > > > > > > > > > > > > > > forgive
> > > > > > > > > > > > > > > > > > > > >>> me.
> > > > > > > > > > > > > > > > > > > > >>>> We
> > > > > > > > > > > > > > > > > > > > >>>>>>> have
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> InvocationHandler,
> which
> > > > looks
> > > > > > like
> > > > > > > > it
> > > > > > > > > > > would
> > > > > > > > > > > > > work
> > > > > > > > > > > > > > > as
> > > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > > > > >>>>>>>>> ServiceHandler
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> substitute. What else
> is
> > > > needed
> > > > > > to
> > > > > > > > get
> > > > > > > > > > CDI
> > > > > > > > > > > > > Query
> > > > > > > > > > > > > > > into
> > > > > > > > > > > > > > > > > > > > >>>>>>> DeltaSpike?
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> On Sun, Nov 18, 2012 at
> > > 12:35
> > > > > PM,
> > > > > > > > > Romain
> > > > > > > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> <rmannibucau@gmail.com
> > > > >wrote:
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> +1, it is a must have
> > for
> > > > cdi
> > > > > > > world
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> Le 18 nov. 2012 20:04,
> > > > > > > > "john.d.ament"
> > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > >>>>>>> john.d.ament@gmail.com>
> > > > > > > > > > > > > > > > > > > > >>>>>>>> a
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> écrit :
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> RE ServiceHandler - I
> > was
> > > > one
> > > > > > of
> > > > > > > > > those
> > > > > > > > > > > who
> > > > > > > > > > > > > > > > > > > > >> previously
> > > > > > > > > > > > > > > > > > > > >>>>>>>> suggested
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> bringing
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> over to DeltaSpike,
> you
> > > can
> > > > > see
> > > > > > > > > > > > > DELTASPIKE-113
> > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > > > >>> find
> > > > > > > > > > > > > > > > > > > > >>>>> the
> > > > > > > > > > > > > > > > > > > > >>>>>>>>> thread
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> about
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> from April of this
> > year.
> > > >  At
> > > > > > the
> > > > > > > > > time,
> > > > > > > > > > I
> > > > > > > > > > > > was
> > > > > > > > > > > > > > in a
> > > > > > > > > > > > > > > > > > > > >>>>> position
> > > > > > > > > > > > > > > > > > > > >>>>>>>>> where I
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> couldn't
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> spend much time on
> open
> > > > > source
> > > > > > > > > > > > contribution.
> > > > > > > > > > > > > > >  I've
> > > > > > > > > > > > > > > > > > > > >>>>> recently
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>> changed
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> jobs,
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> to
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> something that's
> going
> > to
> > > > > help
> > > > > > me
> > > > > > > > > spend
> > > > > > > > > > > > some
> > > > > > > > > > > > > > more
> > > > > > > > > > > > > > > > > > > > >>> time
> > > > > > > > > > > > > > > > > > > > >>>>> with
> > > > > > > > > > > > > > > > > > > > >>>>>>>> the
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>> open
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> source
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> community, and
> believe
> > I
> > > > can
> > > > > > pick
> > > > > > > > it
> > > > > > > > > > back
> > > > > > > > > > > > up
> > > > > > > > > > > > > if
> > > > > > > > > > > > > > > > > > > > >> we're
> > > > > > > > > > > > > > > > > > > > >>>>>>> ready.
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> If everyone's ok with
> > it
> > > I
> > > > > can
> > > > > > > > start
> > > > > > > > > a
> > > > > > > > > > > new
> > > > > > > > > > > > > > thread
> > > > > > > > > > > > > > > > > > > > >> for
> > > > > > > > > > > > > > > > > > > > >>>> 113
> > > > > > > > > > > > > > > > > > > > >>>>>>> or
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>> revive
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> the
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> old
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> thread (though it may
> > > come
> > > > > > > through
> > > > > > > > > > with a
> > > > > > > > > > > > > large
> > > > > > > > > > > > > > > > > > > > >> pile
> > > > > > > > > > > > > > > > > > > > >>> of
> > > > > > > > > > > > > > > > > > > > >>>>>>> dust).
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> Regards,
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> John
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> --
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> View this message in
> > > > context:
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> Sent from the Apache
> > > > > DeltaSpike
> > > > > > > > > > Incubator
> > > > > > > > > > > > > > > > > > > > >> Discussions
> > > > > > > > > > > > > > > > > > > > >>>>>>> mailing
> > > > > > > > > > > > > > > > > > > > >>>>>>>>> list
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> archive
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> at Nabble.com.
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> --
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> Jason Porter
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > http://en.gravatar.com/lightguardjp
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Gerhard Petracek <ge...@gmail.com>.
hi thomas,

@ EntityManager:

that's why i said:
>imo it should follow the basic style/s we have in other parts already (if
possible).

-> in case of EMs with different qualifiers we could think e.g. about an
approach similar to the one we have for the optional MessageContextConfig
(instead of a method in AbstractEntityRepository which would be needed in
EntityRepository to support cases without AbstractEntityRepository), if
users can't or don't like to pass in the needed instance as method
parameter (or inject it in the partial bean).

@ saveAndFlush:
yes - the reason for it is clear as well, however, it doesn't harm to add
the missing combinations (which make sense).

@ john:
it isn't documented so far, but we have it already (as a first draft).
however, we have to move it to an own module and use a different proxy lib
(or commons proxy).

regards,
gerhard



2013/3/20 Romain Manni-Bucau <rm...@gmail.com>

> IIRC what we have should be reworked ir dropped
> Le 20 mars 2013 18:08, "John D. Ament" <jo...@gmail.com> a écrit :
>
> > I don't believe we've implemented partial class support yet.
> >
> >
> > On Wed, Mar 20, 2013 at 12:46 PM, Thomas Hug
> > <th...@ctp-consulting.com>wrote:
> >
> > > @ #getEntityManager: Thnx for the correction - good news, AFAIR that
> > wasn't
> > > implemented in Solder. Injecting the EM is probably more natural, OTOH
> > not
> > > relying on injection seems more consistent with interface based
> > > repositories. Moving the method to EntityRepository might be done with
> > > regards to multiple EMs (overriding and annotating the method with the
> > > qualifier(s)), but this solution has probably some confusing side
> effects
> > > with annotation inheritance on interfaces. Otherwise keeping it in the
> > > class-based repository seems to me ok. Opinions, better suggestions?
> > Looks
> > > not yet optimal to me...
> > >
> > > @ saveAndFlush: Sorry now I get you - yes that's quite a common one,
> > where
> > > I've rarely seen other combined. My preferrence was providing the
> > extension
> > > mechanism for these not so common ones (e.g. save flush refresh etc)
> > > instead of pushing everything into the base classes. But besides that
> > > nothing speaking against it adding other combinations.
> > >
> > > @ flush with method expressions, those expressions are read-only so
> far.
> > >
> > > On Mon, Mar 18, 2013 at 6:45 PM, Romain Manni-Bucau
> > > <rm...@gmail.com>wrote:
> > >
> > > > agree but in general you can need the (generated) id -> saveAndFlush
> > but
> > > > when you remove sthg you don't query it again. So i guess that's
> just a
> > > > common method added from the usage.
> > > >
> > > > Didn't check the impl but flush could be added to the "method name
> > dsl",
> > > > wdyt?
> > > >
> > > > *Romain Manni-Bucau*
> > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > http://rmannibucau.wordpress.com/>
> > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > *Github: https://github.com/rmannibucau*
> > > >
> > > >
> > > >
> > > > 2013/3/18 Gerhard Petracek <ge...@gmail.com>
> > > >
> > > > > hi thomas,
> > > > >
> > > > > @ #getEntityManager:
> > > > > injection works in such (partial-)beans (we have tests for it).
> > > > >
> > > > > @ #saveAndFlush:
> > > > > it's clear what it does, but not why it's the only combined
> operation
> > > > (e.g.
> > > > > there is no #removeAndFlush).
> > > > >
> > > > > regards,
> > > > > gerhard
> > > > >
> > > > >
> > > > >
> > > > > 2013/3/18 Thomas Hug <th...@ctp-consulting.com>
> > > > >
> > > > > > Thnx for the remarks Gerhard!
> > > > > >
> > > > > > - @Query: Good point, looks more consistent to me too.
> > > > > > - NonEntity was AFAIR introduced to make it more explicit that
> the
> > > > Entity
> > > > > > class comes from somewhere else. I don't think we need it - if
> > nobody
> > > > > > prefers the explicit style then I'd favor removing it.
> > > > > > - Not sure if I get the next point - the EntityManager comes
> always
> > > > from
> > > > > a
> > > > > > producer and is looked up in the Impl classes (and I guess
> > injection
> > > > > won't
> > > > > > work in InvocationHandlerBinding beans anyway). The methods from
> > > > > > EntityRepository and AbstractEntityRepository are not meant to be
> > > > > > implemented by a client. There's only a getEntityManager() on the
> > > > > > AbstractEntityRepository to be used by concrete query methods
> which
> > > you
> > > > > > don't have with an interface-based repository.
> > > > > >
> > > > > > @Repository
> > > > > > public interface PersonRepository extends EntityRepository
> <Person,
> > > > > Long> {
> > > > > >      Person findBySsn(String ssn);
> > > > > > }
> > > > > >
> > > > > > public abstract class PersonRepository extends
> > > > > > AbstractEntityRepository<Person, Long> {
> > > > > >     public List<Person> findByXY(X x, Y y) {
> > > > > >         // some logic
> > > > > >         return
> > getEntityManager().createQuery(query).getResultList();
> > > > > >     }
> > > > > > }
> > > > > >
> > > > > > - saveAndFlush will simply call flush after persist/merge instead
> > of
> > > > > > waiting for it at the transaction commit. Can have impact on
> > > following
> > > > > > queries.
> > > > > >
> > > > > > Confluence updates to follow. Hope that helps...
> > > > > >
> > > > > > On Sun, Mar 17, 2013 at 3:12 PM, Gerhard Petracek <
> > > > > > gerhard.petracek@gmail.com> wrote:
> > > > > >
> > > > > > > hi thomas,
> > > > > > >
> > > > > > > i would prefer e.g.
> > > > > > > Query#value + Query#isNative (false as the default)
> > > > > > > instead of
> > > > > > > Query#value + Query#sql
> > > > > > >
> > > > > > > and it would be great to get additional information about the
> > need
> > > > of:
> > > > > > >
> > > > > > >  - NonEntity (as the default)
> > > > > > >  - AbstractEntityRepository
> > > > > > >    (e.g. you can pass in the EntityManager as parameter or
> inject
> > > it.
> > > > > > >     you would need it e.g. for EntityRepository#save,... - but
> in
> > > > > > > EntityRepository it isn't part of the contract...)
> > > > > > >  - (EntityRepository#saveAndFlush as the only combined
> operation)
> > > > > > >
> > > > > > > regards,
> > > > > > > gerhard
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > 2013/3/14 Thomas Hug <th...@ctp-consulting.com>
> > > > > > >
> > > > > > > > Thnx for the pointers. Started to outline the APIs here [1]
> > with
> > > > > > examples
> > > > > > > > in decreasing priority.
> > > > > > > >
> > > > > > > > [1]
> > > > > > > >
> > > > > >
> > > >
> > https://cwiki.apache.org/confluence/display/DeltaSpike/Repository+Drafts
> > > > > > > >
> > > > > > > > On Thu, Mar 14, 2013 at 10:05 AM, Gerhard Petracek <
> > > > > > > > gerhard.petracek@gmail.com> wrote:
> > > > > > > >
> > > > > > > > > +1
> > > > > > > > >
> > > > > > > > > regards,
> > > > > > > > > gerhard
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > 2013/3/14 Romain Manni-Bucau <rm...@gmail.com>
> > > > > > > > >
> > > > > > > > > > ok great,
> > > > > > > > > >
> > > > > > > > > > wonder if we couldn't start by a first version without
> such
> > > > > > > > > extensibility +
> > > > > > > > > > no scopes for queries?
> > > > > > > > > >
> > > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau
> >*
> > > > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > *Github: https://github.com/rmannibucau*
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > 2013/3/14 Gerhard Petracek <ge...@gmail.com>
> > > > > > > > > >
> > > > > > > > > > > hi romain,
> > > > > > > > > > >
> > > > > > > > > > > no - it's more about the style we introduced e.g. for
> > > > type-safe
> > > > > > > > > messages.
> > > > > > > > > > >
> > > > > > > > > > > regards,
> > > > > > > > > > > gerhard
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > 2013/3/14 Romain Manni-Bucau <rm...@gmail.com>
> > > > > > > > > > >
> > > > > > > > > > > > @Gerhard: hope you don't think of @RepoBinding at
> > > > all...would
> > > > > > be
> > > > > > > > too
> > > > > > > > > > much
> > > > > > > > > > > > IMO. Would be great to support aliases/stereotype
> maybe
> > > but
> > > > > not
> > > > > > > the
> > > > > > > > > > > default
> > > > > > > > > > > >
> > > > > > > > > > > > Wdyt?
> > > > > > > > > > > > Le 14 mars 2013 00:11, "Gerhard Petracek" <
> > > > > > > > > gerhard.petracek@gmail.com>
> > > > > > > > > > a
> > > > > > > > > > > > écrit :
> > > > > > > > > > > >
> > > > > > > > > > > > > hi thomas,
> > > > > > > > > > > > >
> > > > > > > > > > > > > imo it should follow the basic style/s we have in
> > other
> > > > > parts
> > > > > > > > > already
> > > > > > > > > > > (if
> > > > > > > > > > > > > possible).
> > > > > > > > > > > > >
> > > > > > > > > > > > > i guess the simple implementations in the
> test-module
> > > are
> > > > > too
> > > > > > > > > simple
> > > > > > > > > > to
> > > > > > > > > > > > see
> > > > > > > > > > > > > the real benefit.
> > > > > > > > > > > > > -> it would be nice if you add some drafts to a
> > > sub-page
> > > > of
> > > > > > > [1].
> > > > > > > > > > > > > (the usage you would prefer and not as it is right
> > > now.)
> > > > > > > > > > > > >
> > > > > > > > > > > > > regards,
> > > > > > > > > > > > > gerhard
> > > > > > > > > > > > >
> > > > > > > > > > > > > [1]
> > > > > > > >
> https://cwiki.apache.org/confluence/display/DeltaSpike/Drafts
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > 2013/3/13 Romain Manni-Bucau <
> rmannibucau@gmail.com>
> > > > > > > > > > > > >
> > > > > > > > > > > > > > i'd put it in to start since that's useful for
> JPA
> > > but
> > > > it
> > > > > > > > > shouldn't
> > > > > > > > > > > use
> > > > > > > > > > > > > it
> > > > > > > > > > > > > > at all
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > a question (for next iteration if that's ok for
> > > > > everybody)
> > > > > > is
> > > > > > > > > > should
> > > > > > > > > > > > > repos
> > > > > > > > > > > > > > handle transaction or at least define it.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > > > > > > *Twitter: @rmannibucau <
> > > > https://twitter.com/rmannibucau
> > > > > >*
> > > > > > > > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > *LinkedIn: **
> > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > *Github: https://github.com/rmannibucau*
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > 2013/3/13 John D. Ament <jo...@gmail.com>
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Does this have any direct/indirect dependencies
> > on
> > > > JPA
> > > > > > > > module?
> > > > > > > > > > > Should
> > > > > > > > > > > > > > this
> > > > > > > > > > > > > > > maybe become a part of the JPA module?
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Wed, Mar 13, 2013 at 7:23 AM, Thomas Hug
> > > > > > > > > > > > > > > <th...@ctp-consulting.com>wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Ok, I guess it's going to be Repository :)
> > > Updated
> > > > > the
> > > > > > > > > proposal
> > > > > > > > > > > > > branch
> > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > also moved things into a data package/module.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Some remarks for the parts below:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > 1) EntityManagerRepository wasn't present in
> > the
> > > > > Solder
> > > > > > > > > > > > > implementation
> > > > > > > > > > > > > > -
> > > > > > > > > > > > > > > > there it was possible to simply
> > implement/extend
> > > > > > > > > EntityManager.
> > > > > > > > > > > The
> > > > > > > > > > > > > > > problem
> > > > > > > > > > > > > > > > with the invocation handler is that it's not
> > > > possible
> > > > > > to
> > > > > > > > > > restrict
> > > > > > > > > > > > the
> > > > > > > > > > > > > > > bean
> > > > > > > > > > > > > > > > type and exclude EntityManager (or I missed
> > it).
> > > > > > > Otherwise
> > > > > > > > > I'd
> > > > > > > > > > > > rather
> > > > > > > > > > > > > > get
> > > > > > > > > > > > > > > > rid of this interface.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > 2) WithEntityManager is definitely
> discussable.
> > > Not
> > > > > the
> > > > > > > > full
> > > > > > > > > > > > solution
> > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > not consistent. Could be solved with e.g.
> > putting
> > > > > > > > qualifiers
> > > > > > > > > > on a
> > > > > > > > > > > > > > method
> > > > > > > > > > > > > > > > returning an EntityManager (less intuitive)
> or
> > > > > > something
> > > > > > > > like
> > > > > > > > > > the
> > > > > > > > > > > > > > > > InvocationHandlerBinding.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > 3) AbstractEntityRepository is just a
> > convenience
> > > > > class
> > > > > > > for
> > > > > > > > > > > > providing
> > > > > > > > > > > > > > > > concrete query implementations.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Tue, Mar 12, 2013 at 9:40 PM, Gerhard
> > > Petracek <
> > > > > > > > > > > > > > > > gerhard.petracek@gmail.com> wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > hi,
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > currently we don't have one jira ticket per
> > > > > > > part/feature.
> > > > > > > > > > > > > > > > > that's what we used to have for everything
> we
> > > > > > imported.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > the first parts to discuss are imo
> > > > > EntityManagerDao,
> > > > > > > > > > > > > > WithEntityManager
> > > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > AbstractEntityDao.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > regards,
> > > > > > > > > > > > > > > > > gerhard
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > 2013/3/12 Arne Limburg <
> > > > > > arne.limburg@openknowledge.de>
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > +1 for repository, from me too
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Gesendet mit meinem HTC
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > ----- Reply message -----
> > > > > > > > > > > > > > > > > > Von: "Thomas Andraschko" <
> > > > > > > andraschko.thomas@gmail.com>
> > > > > > > > > > > > > > > > > > An: "deltaspike-dev@incubator.apache.org
> "
> > <
> > > > > > > > > > > > > > > > > > deltaspike-dev@incubator.apache.org>
> > > > > > > > > > > > > > > > > > Betreff: cdi-query, no news?
> > > > > > > > > > > > > > > > > > Datum: Di., Mär. 12, 2013 20:38
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > +1 repository! :) "Query" doesn't really
> > > match
> > > > > the
> > > > > > > > > > > functionaly.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > 2013/3/12 Romain Manni-Bucau <
> > > > > > rmannibucau@gmail.com>
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > +2 for repo
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > btw did you fixed the scope issue?
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > > *Twitter: @rmannibucau <
> > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > >*
> > > > > > > > > > > > > > > > > > > *Blog: **
> > > http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > > > > > *LinkedIn: **
> > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > *Github:
> https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > 2013/3/12 Thomas Hug <
> > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > The name is still freely choosable -
> > data
> > > > > > sounds
> > > > > > > > fine
> > > > > > > > > > to
> > > > > > > > > > > me
> > > > > > > > > > > > > if
> > > > > > > > > > > > > > > > nobody
> > > > > > > > > > > > > > > > > > > minds
> > > > > > > > > > > > > > > > > > > > the obvious mirroring on Spring Data
> ;)
> > > > > > dao/@Dao
> > > > > > > is
> > > > > > > > > > > > > > discussable,
> > > > > > > > > > > > > > > > all
> > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > domain driven folks prefer probably
> > > > something
> > > > > > > like
> > > > > > > > > > > > > > "Repository".
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > On Tue, Mar 12, 2013 at 7:29 PM,
> Romain
> > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > > > <rm...@gmail.com>wrote:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Great :)
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > any issue changing "query" to
> > something
> > > > > > closer
> > > > > > > to
> > > > > > > > > > what
> > > > > > > > > > > it
> > > > > > > > > > > > > > > really
> > > > > > > > > > > > > > > > > > does ;
> > > > > > > > > > > > > > > > > > > > > "dao" (because of @Dao) or "data"?
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > > > > *Twitter: @rmannibucau <
> > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > >*
> > > > > > > > > > > > > > > > > > > > > *Blog: **
> > > > > http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > > > > > > > *LinkedIn: **
> > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > *Github:
> > > https://gihub.com/rmannibucau*<
> > > > > > > > > > > > > > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > 2013/3/12 Thomas Hug <
> > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > FYI, I've started something like
> an
> > > > > import
> > > > > > > > > proposal
> > > > > > > > > > > in
> > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > dedicated
> > > > > > > > > > > > > > > > > > > > branch
> > > > > > > > > > > > > > > > > > > > > > [1]. There's currently only the
> > JBoss
> > > > > > > > Arquillian
> > > > > > > > > > > > profile
> > > > > > > > > > > > > > > > running,
> > > > > > > > > > > > > > > > > > > > haven't
> > > > > > > > > > > > > > > > > > > > > > looked at the others. Any support
> > > there
> > > > > and
> > > > > > > of
> > > > > > > > > > course
> > > > > > > > > > > > > other
> > > > > > > > > > > > > > > > > input's
> > > > > > > > > > > > > > > > > > > > very
> > > > > > > > > > > > > > > > > > > > > > welcome :)
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > [1]
> > > > > > > > > > > > https://github.com/ctpconsulting/query/tree/dsimport
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > On Tue, Mar 5, 2013 at 7:45 AM,
> > > Romain
> > > > > > > > > Manni-Bucau
> > > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > > > > > > > > > > > > > >wrote:
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Yes
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > It works fine but you bring too
> > > much
> > > > > > spring
> > > > > > > > > > > > > dependencies
> > > > > > > > > > > > > > > > > (totally
> > > > > > > > > > > > > > > > > > > > > useless
> > > > > > > > > > > > > > > > > > > > > > > when used this way) which
> clearly
> > > > show
> > > > > it
> > > > > > > is
> > > > > > > > > > > rather a
> > > > > > > > > > > > > > > bridge
> > > > > > > > > > > > > > > > > > than a
> > > > > > > > > > > > > > > > > > > > > > > solution + there were some
> leaks
> > in
> > > > > > > previous
> > > > > > > > > > > version
> > > > > > > > > > > > > > (didnt
> > > > > > > > > > > > > > > > > check
> > > > > > > > > > > > > > > > > > > fix
> > > > > > > > > > > > > > > > > > > > > was
> > > > > > > > > > > > > > > > > > > > > > > released to be honest) because
> if
> > > > this
> > > > > > > usage
> > > > > > > > > > which
> > > > > > > > > > > > was
> > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > default
> > > > > > > > > > > > > > > > > > > > > > one.
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Since cdi query is here it
> worths
> > > > > > importing
> > > > > > > > it
> > > > > > > > > > IMO
> > > > > > > > > > > > > > > > > > > > > > > Le 5 mars 2013 02:21, "hantsy"
> <
> > > > > > > > > > > hantsy@yahoo.com.cn>
> > > > > > > > > > > > a
> > > > > > > > > > > > > > > > écrit :
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > I remember the Spring Data
> has
> > a
> > > > CDI
> > > > > > > > > extension,
> > > > > > > > > > > > but I
> > > > > > > > > > > > > > > have
> > > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > > > used
> > > > > > > > > > > > > > > > > > > > > it
> > > > > > > > > > > > > > > > > > > > > > > > in projects. Is there anyone
> > used
> > > > it
> > > > > in
> > > > > > > > Java
> > > > > > > > > > EE 6
> > > > > > > > > > > > > > > projects?
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > Hantsy
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > On 3/3/2013 20:40, Romain
> > > > Manni-Bucau
> > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > > > > Basically if the query
> logic
> > > > could
> > > > > be
> > > > > > > > scope
> > > > > > > > > > > > > agnostic
> > > > > > > > > > > > > > it
> > > > > > > > > > > > > > > > > would
> > > > > > > > > > > > > > > > > > > be
> > > > > > > > > > > > > > > > > > > > > > > perfect
> > > > > > > > > > > > > > > > > > > > > > > > > for me. Parameters were
> fine
> > > and
> > > > > > > matched
> > > > > > > > > the
> > > > > > > > > > > > coomon
> > > > > > > > > > > > > > > need.
> > > > > > > > > > > > > > > > > I m
> > > > > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > > > > > > sure
> > > > > > > > > > > > > > > > > > > > > > > i
> > > > > > > > > > > > > > > > > > > > > > > > > get what is blocking. Can
> you
> > > > > detail
> > > > > > > it a
> > > > > > > > > bit
> > > > > > > > > > > > > please?
> > > > > > > > > > > > > > > > > > > > > > > > > Le 3 mars 2013 13:09,
> "Thomas
> > > > Hug"
> > > > > <
> > > > > > > > > > > > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > > > > > > > > écrit :
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > >> Aha got you. Yes
> > QueryHandler
> > > > can
> > > > > be
> > > > > > > > moved
> > > > > > > > > > to
> > > > > > > > > > > > > > > > application
> > > > > > > > > > > > > > > > > > > scope.
> > > > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > > > >> The other request scoped
> > > > component
> > > > > > ist
> > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > > CdiQueryInvocationContext.
> > > > > > > > > > > > > > > > > > > > > > > > Here
> > > > > > > > > > > > > > > > > > > > > > > > >> we store a bunch of data
> > which
> > > > is
> > > > > > > > related
> > > > > > > > > to
> > > > > > > > > > > the
> > > > > > > > > > > > > > > current
> > > > > > > > > > > > > > > > > > query
> > > > > > > > > > > > > > > > > > > > > > > > (parameters,
> > > > > > > > > > > > > > > > > > > > > > > > >> query string etc).
> > Originally
> > > > this
> > > > > > was
> > > > > > > > > > passed
> > > > > > > > > > > as
> > > > > > > > > > > > > > > > > parameter,
> > > > > > > > > > > > > > > > > > > but
> > > > > > > > > > > > > > > > > > > > > got
> > > > > > > > > > > > > > > > > > > > > > > > >> injectable for the
> extension
> > > > > > mechanism
> > > > > > > > > [1].
> > > > > > > > > > > > > > Currently
> > > > > > > > > > > > > > > on
> > > > > > > > > > > > > > > > > > > > holidays
> > > > > > > > > > > > > > > > > > > > > > > (sorry
> > > > > > > > > > > > > > > > > > > > > > > > >> the response delays) so
> not
> > > much
> > > > > > time
> > > > > > > to
> > > > > > > > > > look
> > > > > > > > > > > > into
> > > > > > > > > > > > > > it
> > > > > > > > > > > > > > > > but
> > > > > > > > > > > > > > > > > > > happy
> > > > > > > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > > > > > > take
> > > > > > > > > > > > > > > > > > > > > > > > >> suggestions :)
> > > > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > > > >> [1]
> > > > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> > > > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > > > >> On Fri, Mar 1, 2013 at
> 8:18
> > > PM,
> > > > > > Romain
> > > > > > > > > > > > > Manni-Bucau <
> > > > > > > > > > > > > > > > > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > > > > > > > > > > > > > > > >>> wrote:
> > > > > > > > > > > > > > > > > > > > > > > > >>> Hmm,
> > > > > > > > > > > > > > > > > > > > > > > > >>>
> > > > > > > > > > > > > > > > > > > > > > > > >>> Wonder if the scope
> couldnt
> > > be
> > > > > > > > > application
> > > > > > > > > > > one.
> > > > > > > > > > > > > > > Request
> > > > > > > > > > > > > > > > > > > sounds
> > > > > > > > > > > > > > > > > > > > > too
> > > > > > > > > > > > > > > > > > > > > > > much
> > > > > > > > > > > > > > > > > > > > > > > > >> web
> > > > > > > > > > > > > > > > > > > > > > > > >>> to be usable/generic
> > > > > > > > > > > > > > > > > > > > > > > > >>> Le 1 mars 2013 19:02,
> > "Thomas
> > > > > Hug"
> > > > > > <
> > > > > > > > > > > > > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > > > > > > > > >>> écrit :
> > > > > > > > > > > > > > > > > > > > > > > > >>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>> Fine for me - planned to
> > > > create
> > > > > a
> > > > > > > > branch
> > > > > > > > > > > with
> > > > > > > > > > > > > all
> > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > experimental
> > > > > > > > > > > > > > > > > > > > > > > > APIs
> > > > > > > > > > > > > > > > > > > > > > > > >>>> cleared out as an import
> > > > > proposal.
> > > > > > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>> RE scope, the
> > > > InvocationHandlers
> > > > > > are
> > > > > > > > > > > validated
> > > > > > > > > > > > > to
> > > > > > > > > > > > > > be
> > > > > > > > > > > > > > > > > > normal
> > > > > > > > > > > > > > > > > > > > > scoped
> > > > > > > > > > > > > > > > > > > > > > > > [1],
> > > > > > > > > > > > > > > > > > > > > > > > >>> so
> > > > > > > > > > > > > > > > > > > > > > > > >>>> that seemed to me the
> most
> > > > > > > appropriate
> > > > > > > > > > > choice
> > > > > > > > > > > > -
> > > > > > > > > > > > > > any
> > > > > > > > > > > > > > > > > other
> > > > > > > > > > > > > > > > > > > > > > > suggestions?
> > > > > > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>> [1]
> > > > > > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > > > > > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>> On Wed, Feb 27, 2013 at
> > 1:15
> > > > PM,
> > > > > > > > Romain
> > > > > > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > > > > > > > >>>> <rmannibucau@gmail.com
> > > >wrote:
> > > > > > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>> Hi,
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>> some news of it?
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>> i think it is time to
> > > import
> > > > at
> > > > > > > > least a
> > > > > > > > > > > first
> > > > > > > > > > > > > > > > version,
> > > > > > > > > > > > > > > > > > > isn't
> > > > > > > > > > > > > > > > > > > > > it?
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>> Just a note on current
> > > code,
> > > > i
> > > > > > saw
> > > > > > > > > > > > QueryHandler
> > > > > > > > > > > > > > > (and
> > > > > > > > > > > > > > > > > some
> > > > > > > > > > > > > > > > > > > > other
> > > > > > > > > > > > > > > > > > > > > > > > >> beans)
> > > > > > > > > > > > > > > > > > > > > > > > >>>> has
> > > > > > > > > > > > > > > > > > > > > > > > >>>>> a request scope. Wonder
> > if
> > > > > such a
> > > > > > > > scope
> > > > > > > > > > > means
> > > > > > > > > > > > > > > > something
> > > > > > > > > > > > > > > > > > > for a
> > > > > > > > > > > > > > > > > > > > > > > generic
> > > > > > > > > > > > > > > > > > > > > > > > >>>> (not
> > > > > > > > > > > > > > > > > > > > > > > > >>>>> web) lib.
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>> wdyt?
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > > > > > > > >>>>> *Twitter: @rmannibucau
> <
> > > > > > > > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > > > > > > >*
> > > > > > > > > > > > > > > > > > > > > > > > >>>>> *Blog: **
> > > > > > > > > > > http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>> *LinkedIn: **
> > > > > > > > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > > > > >>>>> *Github:
> > > > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>> 2013/2/20 Romain
> > > Manni-Bucau
> > > > <
> > > > > > > > > > > > > > > rmannibucau@gmail.com>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>> guy you rocks!
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>> effectively i missed
> it
> > > > when i
> > > > > > > > looked.
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>> *Twitter:
> @rmannibucau <
> > > > > > > > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > > > > > > >*
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>> *Blog: **
> > > > > > > > > > > http://rmannibucau.wordpress.com/*
> > > > > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>> *LinkedIn: **
> > > > > > > > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>> *Github:
> > > > > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>> 2013/2/20 Thomas Hug <
> > > > > > > > > > > > > > > thomas.hug@ctp-consulting.com
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> Thnx Romain. If with
> > > proxy
> > > > > > stuff
> > > > > > > > you
> > > > > > > > > > > refer
> > > > > > > > > > > > to
> > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > DS
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > InvocationHandlerBinding,
> > > > > > that's
> > > > > > > > > > already
> > > > > > > > > > > > > > > integrated
> > > > > > > > > > > > > > > > > :)
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> RE pagination, it's
> > maybe
> > > > not
> > > > > > > that
> > > > > > > > > > > obvious,
> > > > > > > > > > > > > but
> > > > > > > > > > > > > > > > > there's
> > > > > > > > > > > > > > > > > > > > more
> > > > > > > > > > > > > > > > > > > > > > > > >>> advanced
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> support in
> QueryResult
> > > > > [1][2],
> > > > > > > > which
> > > > > > > > > is
> > > > > > > > > > > > more
> > > > > > > > > > > > > > of a
> > > > > > > > > > > > > > > > > > fluent
> > > > > > > > > > > > > > > > > > > > API
> > > > > > > > > > > > > > > > > > > > > > > > >>> approach,
> > > > > > > > > > > > > > > > > > > > > > > > >>>>> but
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> should behave similar
> > to
> > > a
> > > > > > > > > PageRequest
> > > > > > > > > > > (the
> > > > > > > > > > > > > > query
> > > > > > > > > > > > > > > > > > > execution
> > > > > > > > > > > > > > > > > > > > > is
> > > > > > > > > > > > > > > > > > > > > > > > >>> delayed
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> until the getResult()
> > > > methods
> > > > > > on
> > > > > > > > > > > > QueryResult
> > > > > > > > > > > > > is
> > > > > > > > > > > > > > > > > > called).
> > > > > > > > > > > > > > > > > > > > Hope
> > > > > > > > > > > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > > > > > > > > > > >>>> fits
> > > > > > > > > > > > > > > > > > > > > > > > >>>>> to
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> what you had in mind.
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> [1]
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> [2]
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> On Wed, Feb 20, 2013
> at
> > > > 10:04
> > > > > > PM,
> > > > > > > > > > Romain
> > > > > > > > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> <
> rmannibucau@gmail.com
> > > > > >wrote:
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> Hi Thomas,
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> importing proxy
> stuff
> > > > would
> > > > > be
> > > > > > > the
> > > > > > > > > > first
> > > > > > > > > > > > > great
> > > > > > > > > > > > > > > > > stuff.
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> i'd like to see some
> > > > > > pagination
> > > > > > > > API
> > > > > > > > > > > (like
> > > > > > > > > > > > > > > > > PageRequest
> > > > > > > > > > > > > > > > > > > etc
> > > > > > > > > > > > > > > > > > > > in
> > > > > > > > > > > > > > > > > > > > > > > > >>> spring
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> world)
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> which are more user
> > > > friendly
> > > > > > > that
> > > > > > > > > > > > > @FirstResult
> > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > > > > > @MaxResult).
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> wdyt?
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> *Twitter:
> > @rmannibucau <
> > > > > > > > > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > > > > > > > >*
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> *Blog: **
> > > > > > > > > > > > http://rmannibucau.wordpress.com/*
> > > > > > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > http://rmannibucau.wordpress.com/
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> *LinkedIn: **
> > > > > > > > > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> *Github:
> > > > > > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> 2013/2/20 Thomas
> Hug <
> > > > > > > > > > > > > > > > thomas.hug@ctp-consulting.com
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> CDI Query has now a
> > > > > > completely
> > > > > > > > > > > > Solder-free
> > > > > > > > > > > > > > POM.
> > > > > > > > > > > > > > > > > Feel
> > > > > > > > > > > > > > > > > > > free
> > > > > > > > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > > > > > > > >>> drop
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> comments
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> on the API - some
> > parts
> > > > > might
> > > > > > > > > > actually
> > > > > > > > > > > be
> > > > > > > > > > > > > > fully
> > > > > > > > > > > > > > > > > > > excluded
> > > > > > > > > > > > > > > > > > > > > > (e.g.
> > > > > > > > > > > > > > > > > > > > > > > > >>>> home
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> and
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> critera APIs).
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> On Tue, Feb 12,
> 2013
> > at
> > > > > 10:00
> > > > > > > PM,
> > > > > > > > > > Mark
> > > > > > > > > > > > > > > Struberg <
> > > > > > > > > > > > > > > > > > > > > > > > >>>> struberg@yahoo.de>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> wrote:
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> Thanks Thomas,
> great
> > > > news!
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> LieGrue,
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> strub
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > ________________________________
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> From: Thomas Hug
> <
> > > > > > > > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> To: "
> > > > > > > > > > > > deltaspike-dev@incubator.apache.org
> > > > > > > > > > > > > "
> > > > > > > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > deltaspike-dev@incubator.apache.org
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> Sent: Tuesday,
> > > February
> > > > > 12,
> > > > > > > > 2013
> > > > > > > > > > 4:10
> > > > > > > > > > > > PM
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> Subject: Re:
> > > cdi-query,
> > > > > no
> > > > > > > > news?
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> FYI, I've started
> > to
> > > > > > > > > "de-solderize"
> > > > > > > > > > > CDI
> > > > > > > > > > > > > > Query
> > > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > > move
> > > > > > > > > > > > > > > > > > > > > > > > >> things
> > > > > > > > > > > > > > > > > > > > > > > > >>>> to
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> depend
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> on
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> DS Core [1]:
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > >
> > > > > > > > https://github.com/ctpconsulting/query/tree/deltaspike
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> Todos:
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> [x] Replace
> > > > > ServiceHandler
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> [_] Include
> > Property
> > > > > utils
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> [_] Replace JBoss
> > > > Logging
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> Any feedback
> > welcome.
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> [1] including
> this
> > > > > > > modification
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> On Mon, Feb 11,
> > 2013
> > > at
> > > > > > 6:01
> > > > > > > > PM,
> > > > > > > > > > > Romain
> > > > > > > > > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> <
> > > rmannibucau@gmail.com
> > > > > > > >wrote:
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> a review of the
> > API
> > > i
> > > > > > guess
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> what is missing
> > > today
> > > > is
> > > > > > > > > probably
> > > > > > > > > > > the
> > > > > > > > > > > > > > > > pagination
> > > > > > > > > > > > > > > > > > > > helpers
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> (PageRequest
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> for
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> instance)
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> but technically
> > all
> > > is
> > > > > > fine
> > > > > > > > IMO
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Romain
> > Manni-Bucau*
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Twitter:
> > > > @rmannibucau <
> > > > > > > > > > > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > > > > > > > > > > > > >>> *
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Blog: **
> > > > > > > > > > > > > > http://rmannibucau.wordpress.com/*
> > > > > > > > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > http://rmannibucau.wordpress.com/
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *LinkedIn: **
> > > > > > > > > > > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Github:
> > > > > > > > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> 2013/2/11 Jason
> > > > Porter <
> > > > > > > > > > > > > > > > lightguard.jp@gmail.com
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> I know I'm
> > playing
> > > > the
> > > > > > > > > > necromancer,
> > > > > > > > > > > > but
> > > > > > > > > > > > > > > > please
> > > > > > > > > > > > > > > > > > > > forgive
> > > > > > > > > > > > > > > > > > > > > > > > >>> me.
> > > > > > > > > > > > > > > > > > > > > > > > >>>> We
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> have
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > InvocationHandler,
> > > > > which
> > > > > > > > looks
> > > > > > > > > > like
> > > > > > > > > > > > it
> > > > > > > > > > > > > > > would
> > > > > > > > > > > > > > > > > work
> > > > > > > > > > > > > > > > > > > as
> > > > > > > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> ServiceHandler
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> substitute.
> What
> > > else
> > > > > is
> > > > > > > > needed
> > > > > > > > > > to
> > > > > > > > > > > > get
> > > > > > > > > > > > > > CDI
> > > > > > > > > > > > > > > > > Query
> > > > > > > > > > > > > > > > > > > into
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> DeltaSpike?
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> On Sun, Nov 18,
> > > 2012
> > > > at
> > > > > > > 12:35
> > > > > > > > > PM,
> > > > > > > > > > > > > Romain
> > > > > > > > > > > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> <
> > > > rmannibucau@gmail.com
> > > > > > > > >wrote:
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> +1, it is a
> must
> > > > have
> > > > > > for
> > > > > > > > cdi
> > > > > > > > > > > world
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> Le 18 nov.
> 2012
> > > > 20:04,
> > > > > > > > > > > > "john.d.ament"
> > > > > > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>
> john.d.ament@gmail.com
> > >
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> a
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> écrit :
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> RE
> > ServiceHandler
> > > > - I
> > > > > > was
> > > > > > > > one
> > > > > > > > > > of
> > > > > > > > > > > > > those
> > > > > > > > > > > > > > > who
> > > > > > > > > > > > > > > > > > > > > > > > >> previously
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> suggested
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> bringing
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> over to
> > > DeltaSpike,
> > > > > you
> > > > > > > can
> > > > > > > > > see
> > > > > > > > > > > > > > > > > DELTASPIKE-113
> > > > > > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > > > > > > > >>> find
> > > > > > > > > > > > > > > > > > > > > > > > >>>>> the
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> thread
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> about
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> from April of
> > > this
> > > > > > year.
> > > > > > > >  At
> > > > > > > > > > the
> > > > > > > > > > > > > time,
> > > > > > > > > > > > > > I
> > > > > > > > > > > > > > > > was
> > > > > > > > > > > > > > > > > > in a
> > > > > > > > > > > > > > > > > > > > > > > > >>>>> position
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> where I
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> couldn't
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> spend much
> time
> > > on
> > > > > open
> > > > > > > > > source
> > > > > > > > > > > > > > > > contribution.
> > > > > > > > > > > > > > > > > > >  I've
> > > > > > > > > > > > > > > > > > > > > > > > >>>>> recently
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> changed
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> jobs,
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> to
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> something
> > that's
> > > > > going
> > > > > > to
> > > > > > > > > help
> > > > > > > > > > me
> > > > > > > > > > > > > spend
> > > > > > > > > > > > > > > > some
> > > > > > > > > > > > > > > > > > more
> > > > > > > > > > > > > > > > > > > > > > > > >>> time
> > > > > > > > > > > > > > > > > > > > > > > > >>>>> with
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> the
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> open
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> source
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> community,
> and
> > > > > believe
> > > > > > I
> > > > > > > > can
> > > > > > > > > > pick
> > > > > > > > > > > > it
> > > > > > > > > > > > > > back
> > > > > > > > > > > > > > > > up
> > > > > > > > > > > > > > > > > if
> > > > > > > > > > > > > > > > > > > > > > > > >> we're
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> ready.
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> If everyone's
> > ok
> > > > with
> > > > > > it
> > > > > > > I
> > > > > > > > > can
> > > > > > > > > > > > start
> > > > > > > > > > > > > a
> > > > > > > > > > > > > > > new
> > > > > > > > > > > > > > > > > > thread
> > > > > > > > > > > > > > > > > > > > > > > > >> for
> > > > > > > > > > > > > > > > > > > > > > > > >>>> 113
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> or
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> revive
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> the
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> old
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> thread
> (though
> > it
> > > > may
> > > > > > > come
> > > > > > > > > > > through
> > > > > > > > > > > > > > with a
> > > > > > > > > > > > > > > > > large
> > > > > > > > > > > > > > > > > > > > > > > > >> pile
> > > > > > > > > > > > > > > > > > > > > > > > >>> of
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> dust).
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> Regards,
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> John
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> --
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> View this
> > message
> > > > in
> > > > > > > > context:
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> Sent from the
> > > > Apache
> > > > > > > > > DeltaSpike
> > > > > > > > > > > > > > Incubator
> > > > > > > > > > > > > > > > > > > > > > > > >> Discussions
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> mailing
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> list
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> archive
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> at
> Nabble.com.
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> --
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> Jason Porter
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > http://en.gravatar.com/lightguardjp
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi

any news?

would be great to include it ASAP IMO

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/4/3 Romain Manni-Bucau <rm...@gmail.com>

> spring-data-jpa sucks ATM because of ambiguity of CDI 1.0 and is not
> usable at all with JSF or any framework using serialization
>
> as a first imports the proposal seems fine and matches common needs IMO
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
> 2013/4/3 hantsy <ha...@yahoo.com.cn>
>
>> Most of the "Repository Drafts" api  is simillar with Spring Data JPA.
>>
>> But I know the Spring Data includs a CDI extension class, so it can be
>> used in CDI directly?
>>
>> Hantsy
>> On 4/3/2013 17:45, Thomas Hug wrote:
>> > Sorry the delay, finally found some time to work on the Wiki proposal
>> again:
>> >
>> https://cwiki.apache.org/confluence/display/DeltaSpike/Repository+Drafts
>> >
>> > On Wed, Mar 20, 2013 at 11:44 PM, Gerhard Petracek <
>> > gerhard.petracek@gmail.com> wrote:
>> >
>> >> hi thomas,
>> >>
>> >> @ EntityManager:
>> >>
>> >> that's why i said:
>> >>> imo it should follow the basic style/s we have in other parts already
>> (if
>> >> possible).
>> >>
>> >> -> in case of EMs with different qualifiers we could think e.g. about
>> an
>> >> approach similar to the one we have for the optional
>> MessageContextConfig
>> >> (instead of a method in AbstractEntityRepository which would be needed
>> in
>> >> EntityRepository to support cases without AbstractEntityRepository), if
>> >> users can't or don't like to pass in the needed instance as method
>> >> parameter (or inject it in the partial bean).
>> >>
>> >> @ saveAndFlush:
>> >> yes - the reason for it is clear as well, however, it doesn't harm to
>> add
>> >> the missing combinations (which make sense).
>> >>
>> >> @ john:
>> >> it isn't documented so far, but we have it already (as a first draft).
>> >> however, we have to move it to an own module and use a different proxy
>> lib
>> >> (or commons proxy).
>> >>
>> >> regards,
>> >> gerhard
>> >>
>> >>
>> >>
>> >> 2013/3/20 Romain Manni-Bucau <rm...@gmail.com>
>> >>
>> >>> IIRC what we have should be reworked ir dropped
>> >>> Le 20 mars 2013 18:08, "John D. Ament" <jo...@gmail.com> a
>> écrit
>> >> :
>> >>>> I don't believe we've implemented partial class support yet.
>> >>>>
>> >>>>
>> >>>> On Wed, Mar 20, 2013 at 12:46 PM, Thomas Hug
>> >>>> <th...@ctp-consulting.com>wrote:
>> >>>>
>> >>>>> @ #getEntityManager: Thnx for the correction - good news, AFAIR that
>> >>>> wasn't
>> >>>>> implemented in Solder. Injecting the EM is probably more natural,
>> >> OTOH
>> >>>> not
>> >>>>> relying on injection seems more consistent with interface based
>> >>>>> repositories. Moving the method to EntityRepository might be done
>> >> with
>> >>>>> regards to multiple EMs (overriding and annotating the method with
>> >> the
>> >>>>> qualifier(s)), but this solution has probably some confusing side
>> >>> effects
>> >>>>> with annotation inheritance on interfaces. Otherwise keeping it in
>> >> the
>> >>>>> class-based repository seems to me ok. Opinions, better suggestions?
>> >>>> Looks
>> >>>>> not yet optimal to me...
>> >>>>>
>> >>>>> @ saveAndFlush: Sorry now I get you - yes that's quite a common one,
>> >>>> where
>> >>>>> I've rarely seen other combined. My preferrence was providing the
>> >>>> extension
>> >>>>> mechanism for these not so common ones (e.g. save flush refresh etc)
>> >>>>> instead of pushing everything into the base classes. But besides
>> that
>> >>>>> nothing speaking against it adding other combinations.
>> >>>>>
>> >>>>> @ flush with method expressions, those expressions are read-only so
>> >>> far.
>> >>>>> On Mon, Mar 18, 2013 at 6:45 PM, Romain Manni-Bucau
>> >>>>> <rm...@gmail.com>wrote:
>> >>>>>
>> >>>>>> agree but in general you can need the (generated) id ->
>> >> saveAndFlush
>> >>>> but
>> >>>>>> when you remove sthg you don't query it again. So i guess that's
>> >>> just a
>> >>>>>> common method added from the usage.
>> >>>>>>
>> >>>>>> Didn't check the impl but flush could be added to the "method name
>> >>>> dsl",
>> >>>>>> wdyt?
>> >>>>>>
>> >>>>>> *Romain Manni-Bucau*
>> >>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
>> >>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
>> >>>>>> http://rmannibucau.wordpress.com/>
>> >>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
>> >>>>>> *Github: https://github.com/rmannibucau*
>> >>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>> 2013/3/18 Gerhard Petracek <ge...@gmail.com>
>> >>>>>>
>> >>>>>>> hi thomas,
>> >>>>>>>
>> >>>>>>> @ #getEntityManager:
>> >>>>>>> injection works in such (partial-)beans (we have tests for it).
>> >>>>>>>
>> >>>>>>> @ #saveAndFlush:
>> >>>>>>> it's clear what it does, but not why it's the only combined
>> >>> operation
>> >>>>>> (e.g.
>> >>>>>>> there is no #removeAndFlush).
>> >>>>>>>
>> >>>>>>> regards,
>> >>>>>>> gerhard
>> >>>>>>>
>> >>>>>>>
>> >>>>>>>
>> >>>>>>> 2013/3/18 Thomas Hug <th...@ctp-consulting.com>
>> >>>>>>>
>> >>>>>>>> Thnx for the remarks Gerhard!
>> >>>>>>>>
>> >>>>>>>> - @Query: Good point, looks more consistent to me too.
>> >>>>>>>> - NonEntity was AFAIR introduced to make it more explicit that
>> >>> the
>> >>>>>> Entity
>> >>>>>>>> class comes from somewhere else. I don't think we need it - if
>> >>>> nobody
>> >>>>>>>> prefers the explicit style then I'd favor removing it.
>> >>>>>>>> - Not sure if I get the next point - the EntityManager comes
>> >>> always
>> >>>>>> from
>> >>>>>>> a
>> >>>>>>>> producer and is looked up in the Impl classes (and I guess
>> >>>> injection
>> >>>>>>> won't
>> >>>>>>>> work in InvocationHandlerBinding beans anyway). The methods
>> >> from
>> >>>>>>>> EntityRepository and AbstractEntityRepository are not meant to
>> >> be
>> >>>>>>>> implemented by a client. There's only a getEntityManager() on
>> >> the
>> >>>>>>>> AbstractEntityRepository to be used by concrete query methods
>> >>> which
>> >>>>> you
>> >>>>>>>> don't have with an interface-based repository.
>> >>>>>>>>
>> >>>>>>>> @Repository
>> >>>>>>>> public interface PersonRepository extends EntityRepository
>> >>> <Person,
>> >>>>>>> Long> {
>> >>>>>>>>      Person findBySsn(String ssn);
>> >>>>>>>> }
>> >>>>>>>>
>> >>>>>>>> public abstract class PersonRepository extends
>> >>>>>>>> AbstractEntityRepository<Person, Long> {
>> >>>>>>>>     public List<Person> findByXY(X x, Y y) {
>> >>>>>>>>         // some logic
>> >>>>>>>>         return
>> >>>> getEntityManager().createQuery(query).getResultList();
>> >>>>>>>>     }
>> >>>>>>>> }
>> >>>>>>>>
>> >>>>>>>> - saveAndFlush will simply call flush after persist/merge
>> >> instead
>> >>>> of
>> >>>>>>>> waiting for it at the transaction commit. Can have impact on
>> >>>>> following
>> >>>>>>>> queries.
>> >>>>>>>>
>> >>>>>>>> Confluence updates to follow. Hope that helps...
>> >>>>>>>>
>> >>>>>>>> On Sun, Mar 17, 2013 at 3:12 PM, Gerhard Petracek <
>> >>>>>>>> gerhard.petracek@gmail.com> wrote:
>> >>>>>>>>
>> >>>>>>>>> hi thomas,
>> >>>>>>>>>
>> >>>>>>>>> i would prefer e.g.
>> >>>>>>>>> Query#value + Query#isNative (false as the default)
>> >>>>>>>>> instead of
>> >>>>>>>>> Query#value + Query#sql
>> >>>>>>>>>
>> >>>>>>>>> and it would be great to get additional information about the
>> >>>> need
>> >>>>>> of:
>> >>>>>>>>>  - NonEntity (as the default)
>> >>>>>>>>>  - AbstractEntityRepository
>> >>>>>>>>>    (e.g. you can pass in the EntityManager as parameter or
>> >>> inject
>> >>>>> it.
>> >>>>>>>>>     you would need it e.g. for EntityRepository#save,... -
>> >> but
>> >>> in
>> >>>>>>>>> EntityRepository it isn't part of the contract...)
>> >>>>>>>>>  - (EntityRepository#saveAndFlush as the only combined
>> >>> operation)
>> >>>>>>>>> regards,
>> >>>>>>>>> gerhard
>> >>>>>>>>>
>> >>>>>>>>>
>> >>>>>>>>>
>> >>>>>>>>> 2013/3/14 Thomas Hug <th...@ctp-consulting.com>
>> >>>>>>>>>
>> >>>>>>>>>> Thnx for the pointers. Started to outline the APIs here [1]
>> >>>> with
>> >>>>>>>> examples
>> >>>>>>>>>> in decreasing priority.
>> >>>>>>>>>>
>> >>>>>>>>>> [1]
>> >>>>>>>>>>
>> >>
>> https://cwiki.apache.org/confluence/display/DeltaSpike/Repository+Drafts
>> >>>>>>>>>> On Thu, Mar 14, 2013 at 10:05 AM, Gerhard Petracek <
>> >>>>>>>>>> gerhard.petracek@gmail.com> wrote:
>> >>>>>>>>>>
>> >>>>>>>>>>> +1
>> >>>>>>>>>>>
>> >>>>>>>>>>> regards,
>> >>>>>>>>>>> gerhard
>> >>>>>>>>>>>
>> >>>>>>>>>>>
>> >>>>>>>>>>>
>> >>>>>>>>>>> 2013/3/14 Romain Manni-Bucau <rm...@gmail.com>
>> >>>>>>>>>>>
>> >>>>>>>>>>>> ok great,
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> wonder if we couldn't start by a first version without
>> >>> such
>> >>>>>>>>>>> extensibility +
>> >>>>>>>>>>>> no scopes for queries?
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> *Romain Manni-Bucau*
>> >>>>>>>>>>>> *Twitter: @rmannibucau <
>> >> https://twitter.com/rmannibucau
>> >>>> *
>> >>>>>>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
>> >>>>>>>>>>>> http://rmannibucau.wordpress.com/>
>> >>>>>>>>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
>> >>>>>>>>>>>> *Github: https://github.com/rmannibucau*
>> >>>>>>>>>>>>
>> >>>>>>>>>>>>
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> 2013/3/14 Gerhard Petracek <gerhard.petracek@gmail.com
>> >>>>>>>>>>>>> hi romain,
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> no - it's more about the style we introduced e.g. for
>> >>>>>> type-safe
>> >>>>>>>>>>> messages.
>> >>>>>>>>>>>>> regards,
>> >>>>>>>>>>>>> gerhard
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> 2013/3/14 Romain Manni-Bucau <rm...@gmail.com>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>> @Gerhard: hope you don't think of @RepoBinding at
>> >>>>>> all...would
>> >>>>>>>> be
>> >>>>>>>>>> too
>> >>>>>>>>>>>> much
>> >>>>>>>>>>>>>> IMO. Would be great to support aliases/stereotype
>> >>> maybe
>> >>>>> but
>> >>>>>>> not
>> >>>>>>>>> the
>> >>>>>>>>>>>>> default
>> >>>>>>>>>>>>>> Wdyt?
>> >>>>>>>>>>>>>> Le 14 mars 2013 00:11, "Gerhard Petracek" <
>> >>>>>>>>>>> gerhard.petracek@gmail.com>
>> >>>>>>>>>>>> a
>> >>>>>>>>>>>>>> écrit :
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>> hi thomas,
>> >>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>> imo it should follow the basic style/s we have in
>> >>>> other
>> >>>>>>> parts
>> >>>>>>>>>>> already
>> >>>>>>>>>>>>> (if
>> >>>>>>>>>>>>>>> possible).
>> >>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>> i guess the simple implementations in the
>> >>> test-module
>> >>>>> are
>> >>>>>>> too
>> >>>>>>>>>>> simple
>> >>>>>>>>>>>> to
>> >>>>>>>>>>>>>> see
>> >>>>>>>>>>>>>>> the real benefit.
>> >>>>>>>>>>>>>>> -> it would be nice if you add some drafts to a
>> >>>>> sub-page
>> >>>>>> of
>> >>>>>>>>> [1].
>> >>>>>>>>>>>>>>> (the usage you would prefer and not as it is
>> >> right
>> >>>>> now.)
>> >>>>>>>>>>>>>>> regards,
>> >>>>>>>>>>>>>>> gerhard
>> >>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>> [1]
>> >>> https://cwiki.apache.org/confluence/display/DeltaSpike/Drafts
>> >>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>> 2013/3/13 Romain Manni-Bucau <
>> >>> rmannibucau@gmail.com>
>> >>>>>>>>>>>>>>>> i'd put it in to start since that's useful for
>> >>> JPA
>> >>>>> but
>> >>>>>> it
>> >>>>>>>>>>> shouldn't
>> >>>>>>>>>>>>> use
>> >>>>>>>>>>>>>>> it
>> >>>>>>>>>>>>>>>> at all
>> >>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>> a question (for next iteration if that's ok for
>> >>>>>>> everybody)
>> >>>>>>>> is
>> >>>>>>>>>>>> should
>> >>>>>>>>>>>>>>> repos
>> >>>>>>>>>>>>>>>> handle transaction or at least define it.
>> >>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>> *Romain Manni-Bucau*
>> >>>>>>>>>>>>>>>> *Twitter: @rmannibucau <
>> >>>>>> https://twitter.com/rmannibucau
>> >>>>>>>> *
>> >>>>>>>>>>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
>> >>>>>>>>>>>>>>>> http://rmannibucau.wordpress.com/>
>> >>>>>>>>>>>>>>>> *LinkedIn: **
>> >>>> http://fr.linkedin.com/in/rmannibucau*
>> >>>>>>>>>>>>>>>> *Github: https://github.com/rmannibucau*
>> >>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>> 2013/3/13 John D. Ament <
>> >> john.d.ament@gmail.com>
>> >>>>>>>>>>>>>>>>> Does this have any direct/indirect
>> >> dependencies
>> >>>> on
>> >>>>>> JPA
>> >>>>>>>>>> module?
>> >>>>>>>>>>>>> Should
>> >>>>>>>>>>>>>>>> this
>> >>>>>>>>>>>>>>>>> maybe become a part of the JPA module?
>> >>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>> On Wed, Mar 13, 2013 at 7:23 AM, Thomas Hug
>> >>>>>>>>>>>>>>>>> <th...@ctp-consulting.com>wrote:
>> >>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>> Ok, I guess it's going to be Repository :)
>> >>>>> Updated
>> >>>>>>> the
>> >>>>>>>>>>> proposal
>> >>>>>>>>>>>>>>> branch
>> >>>>>>>>>>>>>>>>> and
>> >>>>>>>>>>>>>>>>>> also moved things into a data
>> >> package/module.
>> >>>>>>>>>>>>>>>>>> Some remarks for the parts below:
>> >>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>> 1) EntityManagerRepository wasn't present
>> >> in
>> >>>> the
>> >>>>>>> Solder
>> >>>>>>>>>>>>>>> implementation
>> >>>>>>>>>>>>>>>> -
>> >>>>>>>>>>>>>>>>>> there it was possible to simply
>> >>>> implement/extend
>> >>>>>>>>>>> EntityManager.
>> >>>>>>>>>>>>> The
>> >>>>>>>>>>>>>>>>> problem
>> >>>>>>>>>>>>>>>>>> with the invocation handler is that it's
>> >> not
>> >>>>>> possible
>> >>>>>>>> to
>> >>>>>>>>>>>> restrict
>> >>>>>>>>>>>>>> the
>> >>>>>>>>>>>>>>>>> bean
>> >>>>>>>>>>>>>>>>>> type and exclude EntityManager (or I missed
>> >>>> it).
>> >>>>>>>>> Otherwise
>> >>>>>>>>>>> I'd
>> >>>>>>>>>>>>>> rather
>> >>>>>>>>>>>>>>>> get
>> >>>>>>>>>>>>>>>>>> rid of this interface.
>> >>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>> 2) WithEntityManager is definitely
>> >>> discussable.
>> >>>>> Not
>> >>>>>>> the
>> >>>>>>>>>> full
>> >>>>>>>>>>>>>> solution
>> >>>>>>>>>>>>>>>> and
>> >>>>>>>>>>>>>>>>>> not consistent. Could be solved with e.g.
>> >>>> putting
>> >>>>>>>>>> qualifiers
>> >>>>>>>>>>>> on a
>> >>>>>>>>>>>>>>>> method
>> >>>>>>>>>>>>>>>>>> returning an EntityManager (less intuitive)
>> >>> or
>> >>>>>>>> something
>> >>>>>>>>>> like
>> >>>>>>>>>>>> the
>> >>>>>>>>>>>>>>>>>> InvocationHandlerBinding.
>> >>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>> 3) AbstractEntityRepository is just a
>> >>>> convenience
>> >>>>>>> class
>> >>>>>>>>> for
>> >>>>>>>>>>>>>> providing
>> >>>>>>>>>>>>>>>>>> concrete query implementations.
>> >>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>> On Tue, Mar 12, 2013 at 9:40 PM, Gerhard
>> >>>>> Petracek <
>> >>>>>>>>>>>>>>>>>> gerhard.petracek@gmail.com> wrote:
>> >>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>> hi,
>> >>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>> currently we don't have one jira ticket
>> >> per
>> >>>>>>>>> part/feature.
>> >>>>>>>>>>>>>>>>>>> that's what we used to have for
>> >> everything
>> >>> we
>> >>>>>>>> imported.
>> >>>>>>>>>>>>>>>>>>> the first parts to discuss are imo
>> >>>>>>> EntityManagerDao,
>> >>>>>>>>>>>>>>>> WithEntityManager
>> >>>>>>>>>>>>>>>>>> and
>> >>>>>>>>>>>>>>>>>>> AbstractEntityDao.
>> >>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>> regards,
>> >>>>>>>>>>>>>>>>>>> gerhard
>> >>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>> 2013/3/12 Arne Limburg <
>> >>>>>>>> arne.limburg@openknowledge.de>
>> >>>>>>>>>>>>>>>>>>>> +1 for repository, from me too
>> >>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>> Gesendet mit meinem HTC
>> >>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>> ----- Reply message -----
>> >>>>>>>>>>>>>>>>>>>> Von: "Thomas Andraschko" <
>> >>>>>>>>> andraschko.thomas@gmail.com>
>> >>>>>>>>>>>>>>>>>>>> An: "
>> >> deltaspike-dev@incubator.apache.org
>> >>> "
>> >>>> <
>> >>>>>>>>>>>>>>>>>>>> deltaspike-dev@incubator.apache.org>
>> >>>>>>>>>>>>>>>>>>>> Betreff: cdi-query, no news?
>> >>>>>>>>>>>>>>>>>>>> Datum: Di., Mär. 12, 2013 20:38
>> >>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>> +1 repository! :) "Query" doesn't
>> >> really
>> >>>>> match
>> >>>>>>> the
>> >>>>>>>>>>>>> functionaly.
>> >>>>>>>>>>>>>>>>>>>> 2013/3/12 Romain Manni-Bucau <
>> >>>>>>>> rmannibucau@gmail.com>
>> >>>>>>>>>>>>>>>>>>>>> +2 for repo
>> >>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>> btw did you fixed the scope issue?
>> >>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>> *Romain Manni-Bucau*
>> >>>>>>>>>>>>>>>>>>>>> *Twitter: @rmannibucau <
>> >>>>>>>>>>> https://twitter.com/rmannibucau
>> >>>>>>>>>>>>> *
>> >>>>>>>>>>>>>>>>>>>>> *Blog: **
>> >>>>> http://rmannibucau.wordpress.com/*<
>> >>>>>>>>>>>>>>>>>>>>> http://rmannibucau.wordpress.com/>
>> >>>>>>>>>>>>>>>>>>>>> *LinkedIn: **
>> >>>>>>>>> http://fr.linkedin.com/in/rmannibucau*
>> >>>>>>>>>>>>>>>>>>>>> *Github:
>> >>> https://github.com/rmannibucau*
>> >>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>> 2013/3/12 Thomas Hug <
>> >>>>>>>>> thomas.hug@ctp-consulting.com>
>> >>>>>>>>>>>>>>>>>>>>>> The name is still freely choosable
>> >> -
>> >>>> data
>> >>>>>>>> sounds
>> >>>>>>>>>> fine
>> >>>>>>>>>>>> to
>> >>>>>>>>>>>>> me
>> >>>>>>>>>>>>>>> if
>> >>>>>>>>>>>>>>>>>> nobody
>> >>>>>>>>>>>>>>>>>>>>> minds
>> >>>>>>>>>>>>>>>>>>>>>> the obvious mirroring on Spring
>> >> Data
>> >>> ;)
>> >>>>>>>> dao/@Dao
>> >>>>>>>>> is
>> >>>>>>>>>>>>>>>> discussable,
>> >>>>>>>>>>>>>>>>>> all
>> >>>>>>>>>>>>>>>>>>>> the
>> >>>>>>>>>>>>>>>>>>>>>> domain driven folks prefer probably
>> >>>>>> something
>> >>>>>>>>> like
>> >>>>>>>>>>>>>>>> "Repository".
>> >>>>>>>>>>>>>>>>>>>>>> On Tue, Mar 12, 2013 at 7:29 PM,
>> >>> Romain
>> >>>>>>>>> Manni-Bucau
>> >>>>>>>>>>>>>>>>>>>>>> <rm...@gmail.com>wrote:
>> >>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>> Great :)
>> >>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>> any issue changing "query" to
>> >>>> something
>> >>>>>>>> closer
>> >>>>>>>>> to
>> >>>>>>>>>>>> what
>> >>>>>>>>>>>>> it
>> >>>>>>>>>>>>>>>>> really
>> >>>>>>>>>>>>>>>>>>>> does ;
>> >>>>>>>>>>>>>>>>>>>>>>> "dao" (because of @Dao) or
>> >> "data"?
>> >>>>>>>>>>>>>>>>>>>>>>> *Romain Manni-Bucau*
>> >>>>>>>>>>>>>>>>>>>>>>> *Twitter: @rmannibucau <
>> >>>>>>>>>>>>> https://twitter.com/rmannibucau
>> >>>>>>>>>>>>>>> *
>> >>>>>>>>>>>>>>>>>>>>>>> *Blog: **
>> >>>>>>> http://rmannibucau.wordpress.com/*<
>> >> http://rmannibucau.wordpress.com/>
>> >>>>>>>>>>>>>>>>>>>>>>> *LinkedIn: **
>> >>>>>>>>>>> http://fr.linkedin.com/in/rmannibucau*
>> >>>>>>>>>>>>>>>>>>>>>>> *Github:
>> >>>>> https://gihub.com/rmannibucau*<
>> >>>>>>>>>>>>>>>>>>>>> https://github.com/rmannibucau*
>> >>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>> 2013/3/12 Thomas Hug <
>> >>>>>>>>>>> thomas.hug@ctp-consulting.com>
>> >>>>>>>>>>>>>>>>>>>>>>>> FYI, I've started something
>> >> like
>> >>> an
>> >>>>>>> import
>> >>>>>>>>>>> proposal
>> >>>>>>>>>>>>> in
>> >>>>>>>>>>>>>> a
>> >>>>>>>>>>>>>>>>>>> dedicated
>> >>>>>>>>>>>>>>>>>>>>>> branch
>> >>>>>>>>>>>>>>>>>>>>>>>> [1]. There's currently only the
>> >>>> JBoss
>> >>>>>>>>>> Arquillian
>> >>>>>>>>>>>>>> profile
>> >>>>>>>>>>>>>>>>>> running,
>> >>>>>>>>>>>>>>>>>>>>>> haven't
>> >>>>>>>>>>>>>>>>>>>>>>>> looked at the others. Any
>> >> support
>> >>>>> there
>> >>>>>>> and
>> >>>>>>>>> of
>> >>>>>>>>>>>> course
>> >>>>>>>>>>>>>>> other
>> >>>>>>>>>>>>>>>>>>> input's
>> >>>>>>>>>>>>>>>>>>>>>> very
>> >>>>>>>>>>>>>>>>>>>>>>>> welcome :)
>> >>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>> [1]
>> >> https://github.com/ctpconsulting/query/tree/dsimport
>> >>>>>>>>>>>>>>>>>>>>>>>> On Tue, Mar 5, 2013 at 7:45 AM,
>> >>>>> Romain
>> >>>>>>>>>>> Manni-Bucau
>> >>>>>>>>>>>> <
>> >>>>>>>>>>>>>>>>>>>>>>> rmannibucau@gmail.com
>> >>>>>>>>>>>>>>>>>>>>>>>>> wrote:
>> >>>>>>>>>>>>>>>>>>>>>>>>> Yes
>> >>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>> It works fine but you bring
>> >> too
>> >>>>> much
>> >>>>>>>> spring
>> >>>>>>>>>>>>>>> dependencies
>> >>>>>>>>>>>>>>>>>>> (totally
>> >>>>>>>>>>>>>>>>>>>>>>> useless
>> >>>>>>>>>>>>>>>>>>>>>>>>> when used this way) which
>> >>> clearly
>> >>>>>> show
>> >>>>>>> it
>> >>>>>>>>> is
>> >>>>>>>>>>>>> rather a
>> >>>>>>>>>>>>>>>>> bridge
>> >>>>>>>>>>>>>>>>>>>> than a
>> >>>>>>>>>>>>>>>>>>>>>>>>> solution + there were some
>> >>> leaks
>> >>>> in
>> >>>>>>>>> previous
>> >>>>>>>>>>>>> version
>> >>>>>>>>>>>>>>>> (didnt
>> >>>>>>>>>>>>>>>>>>> check
>> >>>>>>>>>>>>>>>>>>>>> fix
>> >>>>>>>>>>>>>>>>>>>>>>> was
>> >>>>>>>>>>>>>>>>>>>>>>>>> released to be honest)
>> >> because
>> >>> if
>> >>>>>> this
>> >>>>>>>>> usage
>> >>>>>>>>>>>> which
>> >>>>>>>>>>>>>> was
>> >>>>>>>>>>>>>>>> not
>> >>>>>>>>>>>>>>>>>> the
>> >>>>>>>>>>>>>>>>>>>>>> default
>> >>>>>>>>>>>>>>>>>>>>>>>> one.
>> >>>>>>>>>>>>>>>>>>>>>>>>> Since cdi query is here it
>> >>> worths
>> >>>>>>>> importing
>> >>>>>>>>>> it
>> >>>>>>>>>>>> IMO
>> >>>>>>>>>>>>>>>>>>>>>>>>> Le 5 mars 2013 02:21,
>> >> "hantsy"
>> >>> <
>> >>>>>>>>>>>>> hantsy@yahoo.com.cn>
>> >>>>>>>>>>>>>> a
>> >>>>>>>>>>>>>>>>>> écrit :
>> >>>>>>>>>>>>>>>>>>>>>>>>>> I remember the Spring Data
>> >>> has
>> >>>> a
>> >>>>>> CDI
>> >>>>>>>>>>> extension,
>> >>>>>>>>>>>>>> but I
>> >>>>>>>>>>>>>>>>> have
>> >>>>>>>>>>>>>>>>>>> not
>> >>>>>>>>>>>>>>>>>>>>> used
>> >>>>>>>>>>>>>>>>>>>>>>> it
>> >>>>>>>>>>>>>>>>>>>>>>>>>> in projects. Is there
>> >> anyone
>> >>>> used
>> >>>>>> it
>> >>>>>>> in
>> >>>>>>>>>> Java
>> >>>>>>>>>>>> EE 6
>> >>>>>>>>>>>>>>>>> projects?
>> >>>>>>>>>>>>>>>>>>>>>>>>>> Hantsy
>> >>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>> On 3/3/2013 20:40, Romain
>> >>>>>> Manni-Bucau
>> >>>>>>>>>> wrote:
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> Basically if the query
>> >>> logic
>> >>>>>> could
>> >>>>>>> be
>> >>>>>>>>>> scope
>> >>>>>>>>>>>>>>> agnostic
>> >>>>>>>>>>>>>>>> it
>> >>>>>>>>>>>>>>>>>>> would
>> >>>>>>>>>>>>>>>>>>>>> be
>> >>>>>>>>>>>>>>>>>>>>>>>>> perfect
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> for me. Parameters were
>> >>> fine
>> >>>>> and
>> >>>>>>>>> matched
>> >>>>>>>>>>> the
>> >>>>>>>>>>>>>> coomon
>> >>>>>>>>>>>>>>>>> need.
>> >>>>>>>>>>>>>>>>>>> I m
>> >>>>>>>>>>>>>>>>>>>>> not
>> >>>>>>>>>>>>>>>>>>>>>>>> sure
>> >>>>>>>>>>>>>>>>>>>>>>>>> i
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> get what is blocking. Can
>> >>> you
>> >>>>>>> detail
>> >>>>>>>>> it a
>> >>>>>>>>>>> bit
>> >>>>>>>>>>>>>>> please?
>> >>>>>>>>>>>>>>>>>>>>>>>>>>> Le 3 mars 2013 13:09,
>> >>> "Thomas
>> >>>>>> Hug"
>> >>>>>>> <
>> >>>>>>>>>>>>>>>>>>>>>> thomas.hug@ctp-consulting.com>
>> >>>>>>>>>>>>>>>>>>>>>>> a
>> >>>>>>>>>>>>>>>>>>>>>>>>>> écrit :
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> Aha got you. Yes
>> >>>> QueryHandler
>> >>>>>> can
>> >>>>>>> be
>> >>>>>>>>>> moved
>> >>>>>>>>>>>> to
>> >>>>>>>>>>>>>>>>>> application
>> >>>>>>>>>>>>>>>>>>>>> scope.
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> The other request scoped
>> >>>>>> component
>> >>>>>>>> ist
>> >>>>>>>>>> the
>> >>>>>>>>>>>>>>>>>>>>>>>> CdiQueryInvocationContext.
>> >>>>>>>>>>>>>>>>>>>>>>>>>> Here
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> we store a bunch of data
>> >>>> which
>> >>>>>> is
>> >>>>>>>>>> related
>> >>>>>>>>>>> to
>> >>>>>>>>>>>>> the
>> >>>>>>>>>>>>>>>>> current
>> >>>>>>>>>>>>>>>>>>>> query
>> >>>>>>>>>>>>>>>>>>>>>>>>>> (parameters,
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> query string etc).
>> >>>> Originally
>> >>>>>> this
>> >>>>>>>> was
>> >>>>>>>>>>>> passed
>> >>>>>>>>>>>>> as
>> >>>>>>>>>>>>>>>>>>> parameter,
>> >>>>>>>>>>>>>>>>>>>>> but
>> >>>>>>>>>>>>>>>>>>>>>>> got
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> injectable for the
>> >>> extension
>> >>>>>>>> mechanism
>> >>>>>>>>>>> [1].
>> >>>>>>>>>>>>>>>> Currently
>> >>>>>>>>>>>>>>>>> on
>> >>>>>>>>>>>>>>>>>>>>>> holidays
>> >>>>>>>>>>>>>>>>>>>>>>>>> (sorry
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> the response delays) so
>> >>> not
>> >>>>> much
>> >>>>>>>> time
>> >>>>>>>>> to
>> >>>>>>>>>>>> look
>> >>>>>>>>>>>>>> into
>> >>>>>>>>>>>>>>>> it
>> >>>>>>>>>>>>>>>>>> but
>> >>>>>>>>>>>>>>>>>>>>> happy
>> >>>>>>>>>>>>>>>>>>>>>> to
>> >>>>>>>>>>>>>>>>>>>>>>>>> take
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> suggestions :)
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> [1]
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>
>> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> On Fri, Mar 1, 2013 at
>> >>> 8:18
>> >>>>> PM,
>> >>>>>>>> Romain
>> >>>>>>>>>>>>>>> Manni-Bucau <
>> >>>>>>>>>>>>>>>>>>>>>>>>>> rmannibucau@gmail.com
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hmm,
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Wonder if the scope
>> >>> couldnt
>> >>>>> be
>> >>>>>>>>>>> application
>> >>>>>>>>>>>>> one.
>> >>>>>>>>>>>>>>>>> Request
>> >>>>>>>>>>>>>>>>>>>>> sounds
>> >>>>>>>>>>>>>>>>>>>>>>> too
>> >>>>>>>>>>>>>>>>>>>>>>>>> much
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> web
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> to be usable/generic
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Le 1 mars 2013 19:02,
>> >>>> "Thomas
>> >>>>>>> Hug"
>> >>>>>>>> <
>> >>>>>>>>>>>>>>>>>>>>>>> thomas.hug@ctp-consulting.com>
>> >>>>>>>>>>>>>>>>>>>>>>>> a
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> écrit :
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Fine for me - planned
>> >> to
>> >>>>>> create
>> >>>>>>> a
>> >>>>>>>>>> branch
>> >>>>>>>>>>>>> with
>> >>>>>>>>>>>>>>> all
>> >>>>>>>>>>>>>>>>> the
>> >>>>>>>>>>>>>>>>>>>>>>> experimental
>> >>>>>>>>>>>>>>>>>>>>>>>>>> APIs
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> cleared out as an
>> >> import
>> >>>>>>> proposal.
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> RE scope, the
>> >>>>>> InvocationHandlers
>> >>>>>>>> are
>> >>>>>>>>>>>>> validated
>> >>>>>>>>>>>>>>> to
>> >>>>>>>>>>>>>>>> be
>> >>>>>>>>>>>>>>>>>>>> normal
>> >>>>>>>>>>>>>>>>>>>>>>> scoped
>> >>>>>>>>>>>>>>>>>>>>>>>>>> [1],
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> so
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> that seemed to me the
>> >>> most
>> >>>>>>>>> appropriate
>> >>>>>>>>>>>>> choice
>> >>>>>>>>>>>>>> -
>> >>>>>>>>>>>>>>>> any
>> >>>>>>>>>>>>>>>>>>> other
>> >>>>>>>>>>>>>>>>>>>>>>>>> suggestions?
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [1]
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>
>> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Wed, Feb 27, 2013
>> >> at
>> >>>> 1:15
>> >>>>>> PM,
>> >>>>>>>>>> Romain
>> >>>>>>>>>>>>>>>> Manni-Bucau
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <
>> >> rmannibucau@gmail.com
>> >>>>>> wrote:
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi,
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> some news of it?
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> i think it is time to
>> >>>>> import
>> >>>>>> at
>> >>>>>>>>>> least a
>> >>>>>>>>>>>>> first
>> >>>>>>>>>>>>>>>>>> version,
>> >>>>>>>>>>>>>>>>>>>>> isn't
>> >>>>>>>>>>>>>>>>>>>>>>> it?
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Just a note on
>> >> current
>> >>>>> code,
>> >>>>>> i
>> >>>>>>>> saw
>> >>>>>>>>>>>>>> QueryHandler
>> >>>>>>>>>>>>>>>>> (and
>> >>>>>>>>>>>>>>>>>>> some
>> >>>>>>>>>>>>>>>>>>>>>> other
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> beans)
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> has
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> a request scope.
>> >> Wonder
>> >>>> if
>> >>>>>>> such a
>> >>>>>>>>>> scope
>> >>>>>>>>>>>>> means
>> >>>>>>>>>>>>>>>>>> something
>> >>>>>>>>>>>>>>>>>>>>> for a
>> >>>>>>>>>>>>>>>>>>>>>>>>> generic
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> (not
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> web) lib.
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> wdyt?
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Romain Manni-Bucau*
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Twitter:
>> >> @rmannibucau
>> >>> <
>> >>>>>>>>>>>>>>>>>>> https://twitter.com/rmannibucau
>> >>>>>>>>>>>>>>>>>>>>> *
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Blog: **
>> >>>>>>>>>>>>> http://rmannibucau.wordpress.com/*<
>> >>>>>>>> http://rmannibucau.wordpress.com/>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *LinkedIn: **
>> >>>>>>>>>>>>>>>>> http://fr.linkedin.com/in/rmannibucau*
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Github:
>> >>>>>>>>>>> https://github.com/rmannibucau*
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2013/2/20 Romain
>> >>>>> Manni-Bucau
>> >>>>>> <
>> >>>>>>>>>>>>>>>>> rmannibucau@gmail.com>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> guy you rocks!
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> effectively i missed
>> >>> it
>> >>>>>> when i
>> >>>>>>>>>> looked.
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Romain Manni-Bucau*
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Twitter:
>> >>> @rmannibucau <
>> >>>>>>>>>>>>>>>>>>> https://twitter.com/rmannibucau
>> >>>>>>>>>>>>>>>>>>>>> *
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Blog: **
>> >>>>>>>>>>>>> http://rmannibucau.wordpress.com/*
>> >>>>>>>>>>>>>> <
>> >>>>>>>> http://rmannibucau.wordpress.com/>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *LinkedIn: **
>> >>>>>>>>>>>>>>>>> http://fr.linkedin.com/in/rmannibucau*
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Github:
>> >>>>>>>>>>>> https://github.com/rmannibucau*
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2013/2/20 Thomas
>> >> Hug <
>> >>>>>>>>>>>>>>>>> thomas.hug@ctp-consulting.com
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thnx Romain. If
>> >> with
>> >>>>> proxy
>> >>>>>>>> stuff
>> >>>>>>>>>> you
>> >>>>>>>>>>>>> refer
>> >>>>>>>>>>>>>> to
>> >>>>>>>>>>>>>>>> the
>> >>>>>>>>>>>>>>>>>> DS
>> >>>> InvocationHandlerBinding,
>> >>>>>>>> that's
>> >>>>>>>>>>>> already
>> >>>>>>>>>>>>>>>>> integrated
>> >>>>>>>>>>>>>>>>>>> :)
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> RE pagination, it's
>> >>>> maybe
>> >>>>>> not
>> >>>>>>>>> that
>> >>>>>>>>>>>>> obvious,
>> >>>>>>>>>>>>>>> but
>> >>>>>>>>>>>>>>>>>>> there's
>> >>>>>>>>>>>>>>>>>>>>>> more
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> advanced
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> support in
>> >>> QueryResult
>> >>>>>>> [1][2],
>> >>>>>>>>>> which
>> >>>>>>>>>>> is
>> >>>>>>>>>>>>>> more
>> >>>>>>>>>>>>>>>> of a
>> >>>>>>>>>>>>>>>>>>>> fluent
>> >>>>>>>>>>>>>>>>>>>>>> API
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> approach,
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> but
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> should behave
>> >> similar
>> >>>> to
>> >>>>> a
>> >>>>>>>>>>> PageRequest
>> >>>>>>>>>>>>> (the
>> >>>>>>>>>>>>>>>> query
>> >>>>>>>>>>>>>>>>>>>>> execution
>> >>>>>>>>>>>>>>>>>>>>>>> is
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> delayed
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> until the
>> >> getResult()
>> >>>>>> methods
>> >>>>>>>> on
>> >>>>>>>>>>>>>> QueryResult
>> >>>>>>>>>>>>>>> is
>> >>>>>>>>>>>>>>>>>>>> called).
>> >>>>>>>>>>>>>>>>>>>>>> Hope
>> >>>>>>>>>>>>>>>>>>>>>>>>> that
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> fits
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> to
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> what you had in
>> >> mind.
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [1]
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>
>> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [2]
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>
>> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Wed, Feb 20,
>> >> 2013
>> >>> at
>> >>>>>> 10:04
>> >>>>>>>> PM,
>> >>>>>>>>>>>> Romain
>> >>>>>>>>>>>>>>>>>> Manni-Bucau
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <
>> >>> rmannibucau@gmail.com
>> >>>>>>>> wrote:
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Thomas,
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> importing proxy
>> >>> stuff
>> >>>>>> would
>> >>>>>>> be
>> >>>>>>>>> the
>> >>>>>>>>>>>> first
>> >>>>>>>>>>>>>>> great
>> >>>>>>>>>>>>>>>>>>> stuff.
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> i'd like to see
>> >> some
>> >>>>>>>> pagination
>> >>>>>>>>>> API
>> >>>>>>>>>>>>> (like
>> >>>>>>>>>>>>>>>>>>> PageRequest
>> >>>>>>>>>>>>>>>>>>>>> etc
>> >>>>>>>>>>>>>>>>>>>>>> in
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> spring
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> world)
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> which are more
>> >> user
>> >>>>>> friendly
>> >>>>>>>>> that
>> >>>>>>>>>>>>>>> @FirstResult
>> >>>>>>>>>>>>>>>>> and
>> >>>>>>>>>>>>>>>>>>>>>>>> @MaxResult).
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> wdyt?
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Romain
>> >> Manni-Bucau*
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Twitter:
>> >>>> @rmannibucau <
>> >>>>>>>>>>>>>>>>>>>> https://twitter.com/rmannibucau
>> >>>>>>>>>>>>>>>>>>>>>> *
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Blog: **
>> >>>>>>>>>>>>>> http://rmannibucau.wordpress.com/*
>> >>>>>>>>>>>>>>> <
>> >>>>>>>>> http://rmannibucau.wordpress.com/
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *LinkedIn: **
>> >>>>>>>>>>>>>>>>>> http://fr.linkedin.com/in/rmannibucau*
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Github:
>> >>>>>>>>>>>>> https://github.com/rmannibucau*
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2013/2/20 Thomas
>> >>> Hug <
>> >>>>>>>>>>>>>>>>>> thomas.hug@ctp-consulting.com
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CDI Query has
>> >> now a
>> >>>>>>>> completely
>> >>>>>>>>>>>>>> Solder-free
>> >>>>>>>>>>>>>>>> POM.
>> >>>>>>>>>>>>>>>>>>> Feel
>> >>>>>>>>>>>>>>>>>>>>> free
>> >>>>>>>>>>>>>>>>>>>>>>> to
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> drop
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> comments
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> on the API - some
>> >>>> parts
>> >>>>>>> might
>> >>>>>>>>>>>> actually
>> >>>>>>>>>>>>> be
>> >>>>>>>>>>>>>>>> fully
>> >>>>>>>>>>>>>>>>>>>>> excluded
>> >>>>>>>>>>>>>>>>>>>>>>>> (e.g.
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> home
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> and
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> critera APIs).
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Tue, Feb 12,
>> >>> 2013
>> >>>> at
>> >>>>>>> 10:00
>> >>>>>>>>> PM,
>> >>>>>>>>>>>> Mark
>> >>>>>>>>>>>>>>>>> Struberg <
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> struberg@yahoo.de>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks Thomas,
>> >>> great
>> >>>>>> news!
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> LieGrue,
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> strub
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>> ________________________________
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> From: Thomas
>> >> Hug
>> >>> <
>> >>>>>>>>>>>>>>>>>> thomas.hug@ctp-consulting.com>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> To: "
>> >>>>>>>>>>>>>> deltaspike-dev@incubator.apache.org
>> >>>>>>>>>>>>>>> "
>> >>>>>>>>>>>>>>>> <
>> >>>>>>>>>>> deltaspike-dev@incubator.apache.org
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Sent: Tuesday,
>> >>>>> February
>> >>>>>>> 12,
>> >>>>>>>>>> 2013
>> >>>>>>>>>>>> 4:10
>> >>>>>>>>>>>>>> PM
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Subject: Re:
>> >>>>> cdi-query,
>> >>>>>>> no
>> >>>>>>>>>> news?
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> FYI, I've
>> >> started
>> >>>> to
>> >>>>>>>>>>> "de-solderize"
>> >>>>>>>>>>>>> CDI
>> >>>>>>>>>>>>>>>> Query
>> >>>>>>>>>>>>>>>>>> and
>> >>>>>>>>>>>>>>>>>>>>> move
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> things
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> to
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> depend
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> on
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> DS Core [1]:
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>> https://github.com/ctpconsulting/query/tree/deltaspike
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Todos:
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [x] Replace
>> >>>>>>> ServiceHandler
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [_] Include
>> >>>> Property
>> >>>>>>> utils
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [_] Replace
>> >> JBoss
>> >>>>>> Logging
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Any feedback
>> >>>> welcome.
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [1] including
>> >>> this
>> >>>>>>>>> modification
>> >>
>> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Feb 11,
>> >>>> 2013
>> >>>>> at
>> >>>>>>>> 6:01
>> >>>>>>>>>> PM,
>> >>>>>>>>>>>>> Romain
>> >>>>>>>>>>>>>>>>>>> Manni-Bucau
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <
>> >>>>> rmannibucau@gmail.com
>> >>>>>>>>>> wrote:
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> a review of
>> >> the
>> >>>> API
>> >>>>> i
>> >>>>>>>> guess
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> what is
>> >> missing
>> >>>>> today
>> >>>>>> is
>> >>>>>>>>>>> probably
>> >>>>>>>>>>>>> the
>> >>>>>>>>>>>>>>>>>> pagination
>> >>>>>>>>>>>>>>>>>>>>>> helpers
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> (PageRequest
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> for
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> instance)
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> but
>> >> technically
>> >>>> all
>> >>>>> is
>> >>>>>>>> fine
>> >>>>>>>>>> IMO
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Romain
>> >>>> Manni-Bucau*
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Twitter:
>> >>>>>> @rmannibucau <
>> >>>>>>>>>>>>>>>>>>>>>> https://twitter.com/rmannibucau
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> *
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Blog: **
>> >>>>>>>>>>>>>>>> http://rmannibucau.wordpress.com/*
>> >>>>>>>>>>>>>>>>> <
>> >>>>>>>>>>> http://rmannibucau.wordpress.com/
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *LinkedIn: **
>> >>>>>>>>>>>>>>>>>>>> http://fr.linkedin.com/in/rmannibucau*
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Github:
>> >>>>>>>>>>>>>>> https://github.com/rmannibucau*
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2013/2/11
>> >> Jason
>> >>>>>> Porter <
>> >>>>>>>>>>>>>>>>>> lightguard.jp@gmail.com
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I know I'm
>> >>>> playing
>> >>>>>> the
>> >>>>>>>>>>>> necromancer,
>> >>>>>>>>>>>>>> but
>> >>>>>>>>>>>>>>>>>> please
>> >>>>>>>>>>>>>>>>>>>>>> forgive
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> me.
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> We
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> have
>> >>>> InvocationHandler,
>> >>>>>>> which
>> >>>>>>>>>> looks
>> >>>>>>>>>>>> like
>> >>>>>>>>>>>>>> it
>> >>>>>>>>>>>>>>>>> would
>> >>>>>>>>>>>>>>>>>>> work
>> >>>>>>>>>>>>>>>>>>>>> as
>> >>>>>>>>>>>>>>>>>>>>>> a
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ServiceHandler
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> substitute.
>> >>> What
>> >>>>> else
>> >>>>>>> is
>> >>>>>>>>>> needed
>> >>>>>>>>>>>> to
>> >>>>>>>>>>>>>> get
>> >>>>>>>>>>>>>>>> CDI
>> >>>>>>>>>>>>>>>>>>> Query
>> >>>>>>>>>>>>>>>>>>>>> into
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> DeltaSpike?
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Sun, Nov
>> >> 18,
>> >>>>> 2012
>> >>>>>> at
>> >>>>>>>>> 12:35
>> >>>>>>>>>>> PM,
>> >>>>>>>>>>>>>>> Romain
>> >>>>>>>>>>>>>>>>>>>>> Manni-Bucau
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <
>> >>>>>> rmannibucau@gmail.com
>> >>>>>>>>>>> wrote:
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +1, it is a
>> >>> must
>> >>>>>> have
>> >>>>>>>> for
>> >>>>>>>>>> cdi
>> >>>>>>>>>>>>> world
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Le 18 nov.
>> >>> 2012
>> >>>>>> 20:04,
>> >>>>>>>>>>>>>> "john.d.ament"
>> >>>>>>>>>>>>>>> <
>> >>> john.d.ament@gmail.com
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> a
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> écrit :
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> RE
>> >>>> ServiceHandler
>> >>>>>> - I
>> >>>>>>>> was
>> >>>>>>>>>> one
>> >>>>>>>>>>>> of
>> >>>>>>>>>>>>>>> those
>> >>>>>>>>>>>>>>>>> who
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> previously
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> suggested
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> bringing
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> it
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> over to
>> >>>>> DeltaSpike,
>> >>>>>>> you
>> >>>>>>>>> can
>> >>>>>>>>>>> see
>> >>>>>>>>>>>>>>>>>>> DELTASPIKE-113
>> >>>>>>>>>>>>>>>>>>>>> and
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> find
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> the
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> thread
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> about
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> it
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> from April
>> >> of
>> >>>>> this
>> >>>>>>>> year.
>> >>>>>>>>>>  At
>> >>>>>>>>>>>> the
>> >>>>>>>>>>>>>>> time,
>> >>>>>>>>>>>>>>>> I
>> >>>>>>>>>>>>>>>>>> was
>> >>>>>>>>>>>>>>>>>>>> in a
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> position
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> where I
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> couldn't
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> spend much
>> >>> time
>> >>>>> on
>> >>>>>>> open
>> >>>>>>>>>>> source
>> >>>>>>>>>>>>>>>>>> contribution.
>> >>>>>>>>>>>>>>>>>>>>>  I've
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> recently
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> changed
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> jobs,
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> to
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> something
>> >>>> that's
>> >>>>>>> going
>> >>>>>>>> to
>> >>>>>>>>>>> help
>> >>>>>>>>>>>> me
>> >>>>>>>>>>>>>>> spend
>> >>>>>>>>>>>>>>>>>> some
>> >>>>>>>>>>>>>>>>>>>> more
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> time
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> with
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> the
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> open
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> source
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> community,
>> >>> and
>> >>>>>>> believe
>> >>>>>>>> I
>> >>>>>>>>>> can
>> >>>>>>>>>>>> pick
>> >>>>>>>>>>>>>> it
>> >>>>>>>>>>>>>>>> back
>> >>>>>>>>>>>>>>>>>> up
>> >>>>>>>>>>>>>>>>>>> if
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> we're
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ready.
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> If
>> >> everyone's
>> >>>> ok
>> >>>>>> with
>> >>>>>>>> it
>> >>>>>>>>> I
>> >>>>>>>>>>> can
>> >>>>>>>>>>>>>> start
>> >>>>>>>>>>>>>>> a
>> >>>>>>>>>>>>>>>>> new
>> >>>>>>>>>>>>>>>>>>>> thread
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> for
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 113
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> or
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> revive
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> the
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> old
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> thread
>> >>> (though
>> >>>> it
>> >>>>>> may
>> >>>>>>>>> come
>> >>>>>>>>>>>>> through
>> >>>>>>>>>>>>>>>> with a
>> >>>>>>>>>>>>>>>>>>> large
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> pile
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> of
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> dust).
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Regards,
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> John
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> View this
>> >>>> message
>> >>>>>> in
>> >>>>>>>>>> context:
>> >>
>> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Sent from
>> >> the
>> >>>>>> Apache
>> >>>>>>>>>>> DeltaSpike
>> >>>>>>>>>>>>>>>> Incubator
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>> Discussions
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> mailing
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> list
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> archive
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> at
>> >>> Nabble.com.
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Jason Porter
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>> http://en.gravatar.com/lightguardjp
>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>>>>>>>
>>
>>
>

Re: cdi-query, no news?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi

Great

TomEE at least to get owb tests
Le 14 mai 2013 00:27, "Thomas Hug" <th...@ctp-consulting.com> a écrit :

> Hi Romain
> The current implementation [1] complies with the Confluence proposal at
> [2]. Happy to take other suggestions - or move forward with an import.
> Still to look at: any other Arquillian profiles than JBoss. I should be
> able to spend some time next week.
>
> [1] https://github.com/ctpconsulting/query/tree/dsimport
> [2]
> https://cwiki.apache.org/confluence/display/DeltaSpike/Repository+Drafts
>
>
> On Mon, May 13, 2013 at 10:56 AM, Romain Manni-Bucau
> <rm...@gmail.com>wrote:
>
> > Hi
> >
> > any news?
> >
> > would be great to include it ASAP IMO
> >
> > *Romain Manni-Bucau*
> > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > *Blog: **http://rmannibucau.wordpress.com/*<
> > http://rmannibucau.wordpress.com/>
> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > *Github: https://github.com/rmannibucau*
> >
> >
> >
> > 2013/4/3 Romain Manni-Bucau <rm...@gmail.com>
> >
> > > spring-data-jpa sucks ATM because of ambiguity of CDI 1.0 and is not
> > > usable at all with JSF or any framework using serialization
> > >
> > > as a first imports the proposal seems fine and matches common needs IMO
> > >
> > > *Romain Manni-Bucau*
> > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > *Blog: **http://rmannibucau.wordpress.com/*<
> > http://rmannibucau.wordpress.com/>
> > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > *Github: https://github.com/rmannibucau*
> > >
> > >
> > >
> > > 2013/4/3 hantsy <ha...@yahoo.com.cn>
> > >
> > >> Most of the "Repository Drafts" api  is simillar with Spring Data JPA.
> > >>
> > >> But I know the Spring Data includs a CDI extension class, so it can be
> > >> used in CDI directly?
> > >>
> > >> Hantsy
> > >> On 4/3/2013 17:45, Thomas Hug wrote:
> > >> > Sorry the delay, finally found some time to work on the Wiki
> proposal
> > >> again:
> > >> >
> > >>
> > https://cwiki.apache.org/confluence/display/DeltaSpike/Repository+Drafts
> > >> >
> > >> > On Wed, Mar 20, 2013 at 11:44 PM, Gerhard Petracek <
> > >> > gerhard.petracek@gmail.com> wrote:
> > >> >
> > >> >> hi thomas,
> > >> >>
> > >> >> @ EntityManager:
> > >> >>
> > >> >> that's why i said:
> > >> >>> imo it should follow the basic style/s we have in other parts
> > already
> > >> (if
> > >> >> possible).
> > >> >>
> > >> >> -> in case of EMs with different qualifiers we could think e.g.
> about
> > >> an
> > >> >> approach similar to the one we have for the optional
> > >> MessageContextConfig
> > >> >> (instead of a method in AbstractEntityRepository which would be
> > needed
> > >> in
> > >> >> EntityRepository to support cases without
> AbstractEntityRepository),
> > if
> > >> >> users can't or don't like to pass in the needed instance as method
> > >> >> parameter (or inject it in the partial bean).
> > >> >>
> > >> >> @ saveAndFlush:
> > >> >> yes - the reason for it is clear as well, however, it doesn't harm
> to
> > >> add
> > >> >> the missing combinations (which make sense).
> > >> >>
> > >> >> @ john:
> > >> >> it isn't documented so far, but we have it already (as a first
> > draft).
> > >> >> however, we have to move it to an own module and use a different
> > proxy
> > >> lib
> > >> >> (or commons proxy).
> > >> >>
> > >> >> regards,
> > >> >> gerhard
> > >> >>
> > >> >>
> > >> >>
> > >> >> 2013/3/20 Romain Manni-Bucau <rm...@gmail.com>
> > >> >>
> > >> >>> IIRC what we have should be reworked ir dropped
> > >> >>> Le 20 mars 2013 18:08, "John D. Ament" <jo...@gmail.com> a
> > >> écrit
> > >> >> :
> > >> >>>> I don't believe we've implemented partial class support yet.
> > >> >>>>
> > >> >>>>
> > >> >>>> On Wed, Mar 20, 2013 at 12:46 PM, Thomas Hug
> > >> >>>> <th...@ctp-consulting.com>wrote:
> > >> >>>>
> > >> >>>>> @ #getEntityManager: Thnx for the correction - good news, AFAIR
> > that
> > >> >>>> wasn't
> > >> >>>>> implemented in Solder. Injecting the EM is probably more
> natural,
> > >> >> OTOH
> > >> >>>> not
> > >> >>>>> relying on injection seems more consistent with interface based
> > >> >>>>> repositories. Moving the method to EntityRepository might be
> done
> > >> >> with
> > >> >>>>> regards to multiple EMs (overriding and annotating the method
> with
> > >> >> the
> > >> >>>>> qualifier(s)), but this solution has probably some confusing
> side
> > >> >>> effects
> > >> >>>>> with annotation inheritance on interfaces. Otherwise keeping it
> in
> > >> >> the
> > >> >>>>> class-based repository seems to me ok. Opinions, better
> > suggestions?
> > >> >>>> Looks
> > >> >>>>> not yet optimal to me...
> > >> >>>>>
> > >> >>>>> @ saveAndFlush: Sorry now I get you - yes that's quite a common
> > one,
> > >> >>>> where
> > >> >>>>> I've rarely seen other combined. My preferrence was providing
> the
> > >> >>>> extension
> > >> >>>>> mechanism for these not so common ones (e.g. save flush refresh
> > etc)
> > >> >>>>> instead of pushing everything into the base classes. But besides
> > >> that
> > >> >>>>> nothing speaking against it adding other combinations.
> > >> >>>>>
> > >> >>>>> @ flush with method expressions, those expressions are read-only
> > so
> > >> >>> far.
> > >> >>>>> On Mon, Mar 18, 2013 at 6:45 PM, Romain Manni-Bucau
> > >> >>>>> <rm...@gmail.com>wrote:
> > >> >>>>>
> > >> >>>>>> agree but in general you can need the (generated) id ->
> > >> >> saveAndFlush
> > >> >>>> but
> > >> >>>>>> when you remove sthg you don't query it again. So i guess
> that's
> > >> >>> just a
> > >> >>>>>> common method added from the usage.
> > >> >>>>>>
> > >> >>>>>> Didn't check the impl but flush could be added to the "method
> > name
> > >> >>>> dsl",
> > >> >>>>>> wdyt?
> > >> >>>>>>
> > >> >>>>>> *Romain Manni-Bucau*
> > >> >>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > >> >>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > >> >>>>>> http://rmannibucau.wordpress.com/>
> > >> >>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > >> >>>>>> *Github: https://github.com/rmannibucau*
> > >> >>>>>>
> > >> >>>>>>
> > >> >>>>>>
> > >> >>>>>> 2013/3/18 Gerhard Petracek <ge...@gmail.com>
> > >> >>>>>>
> > >> >>>>>>> hi thomas,
> > >> >>>>>>>
> > >> >>>>>>> @ #getEntityManager:
> > >> >>>>>>> injection works in such (partial-)beans (we have tests for
> it).
> > >> >>>>>>>
> > >> >>>>>>> @ #saveAndFlush:
> > >> >>>>>>> it's clear what it does, but not why it's the only combined
> > >> >>> operation
> > >> >>>>>> (e.g.
> > >> >>>>>>> there is no #removeAndFlush).
> > >> >>>>>>>
> > >> >>>>>>> regards,
> > >> >>>>>>> gerhard
> > >> >>>>>>>
> > >> >>>>>>>
> > >> >>>>>>>
> > >> >>>>>>> 2013/3/18 Thomas Hug <th...@ctp-consulting.com>
> > >> >>>>>>>
> > >> >>>>>>>> Thnx for the remarks Gerhard!
> > >> >>>>>>>>
> > >> >>>>>>>> - @Query: Good point, looks more consistent to me too.
> > >> >>>>>>>> - NonEntity was AFAIR introduced to make it more explicit
> that
> > >> >>> the
> > >> >>>>>> Entity
> > >> >>>>>>>> class comes from somewhere else. I don't think we need it -
> if
> > >> >>>> nobody
> > >> >>>>>>>> prefers the explicit style then I'd favor removing it.
> > >> >>>>>>>> - Not sure if I get the next point - the EntityManager comes
> > >> >>> always
> > >> >>>>>> from
> > >> >>>>>>> a
> > >> >>>>>>>> producer and is looked up in the Impl classes (and I guess
> > >> >>>> injection
> > >> >>>>>>> won't
> > >> >>>>>>>> work in InvocationHandlerBinding beans anyway). The methods
> > >> >> from
> > >> >>>>>>>> EntityRepository and AbstractEntityRepository are not meant
> to
> > >> >> be
> > >> >>>>>>>> implemented by a client. There's only a getEntityManager() on
> > >> >> the
> > >> >>>>>>>> AbstractEntityRepository to be used by concrete query methods
> > >> >>> which
> > >> >>>>> you
> > >> >>>>>>>> don't have with an interface-based repository.
> > >> >>>>>>>>
> > >> >>>>>>>> @Repository
> > >> >>>>>>>> public interface PersonRepository extends EntityRepository
> > >> >>> <Person,
> > >> >>>>>>> Long> {
> > >> >>>>>>>>      Person findBySsn(String ssn);
> > >> >>>>>>>> }
> > >> >>>>>>>>
> > >> >>>>>>>> public abstract class PersonRepository extends
> > >> >>>>>>>> AbstractEntityRepository<Person, Long> {
> > >> >>>>>>>>     public List<Person> findByXY(X x, Y y) {
> > >> >>>>>>>>         // some logic
> > >> >>>>>>>>         return
> > >> >>>> getEntityManager().createQuery(query).getResultList();
> > >> >>>>>>>>     }
> > >> >>>>>>>> }
> > >> >>>>>>>>
> > >> >>>>>>>> - saveAndFlush will simply call flush after persist/merge
> > >> >> instead
> > >> >>>> of
> > >> >>>>>>>> waiting for it at the transaction commit. Can have impact on
> > >> >>>>> following
> > >> >>>>>>>> queries.
> > >> >>>>>>>>
> > >> >>>>>>>> Confluence updates to follow. Hope that helps...
> > >> >>>>>>>>
> > >> >>>>>>>> On Sun, Mar 17, 2013 at 3:12 PM, Gerhard Petracek <
> > >> >>>>>>>> gerhard.petracek@gmail.com> wrote:
> > >> >>>>>>>>
> > >> >>>>>>>>> hi thomas,
> > >> >>>>>>>>>
> > >> >>>>>>>>> i would prefer e.g.
> > >> >>>>>>>>> Query#value + Query#isNative (false as the default)
> > >> >>>>>>>>> instead of
> > >> >>>>>>>>> Query#value + Query#sql
> > >> >>>>>>>>>
> > >> >>>>>>>>> and it would be great to get additional information about
> the
> > >> >>>> need
> > >> >>>>>> of:
> > >> >>>>>>>>>  - NonEntity (as the default)
> > >> >>>>>>>>>  - AbstractEntityRepository
> > >> >>>>>>>>>    (e.g. you can pass in the EntityManager as parameter or
> > >> >>> inject
> > >> >>>>> it.
> > >> >>>>>>>>>     you would need it e.g. for EntityRepository#save,... -
> > >> >> but
> > >> >>> in
> > >> >>>>>>>>> EntityRepository it isn't part of the contract...)
> > >> >>>>>>>>>  - (EntityRepository#saveAndFlush as the only combined
> > >> >>> operation)
> > >> >>>>>>>>> regards,
> > >> >>>>>>>>> gerhard
> > >> >>>>>>>>>
> > >> >>>>>>>>>
> > >> >>>>>>>>>
> > >> >>>>>>>>> 2013/3/14 Thomas Hug <th...@ctp-consulting.com>
> > >> >>>>>>>>>
> > >> >>>>>>>>>> Thnx for the pointers. Started to outline the APIs here [1]
> > >> >>>> with
> > >> >>>>>>>> examples
> > >> >>>>>>>>>> in decreasing priority.
> > >> >>>>>>>>>>
> > >> >>>>>>>>>> [1]
> > >> >>>>>>>>>>
> > >> >>
> > >>
> > https://cwiki.apache.org/confluence/display/DeltaSpike/Repository+Drafts
> > >> >>>>>>>>>> On Thu, Mar 14, 2013 at 10:05 AM, Gerhard Petracek <
> > >> >>>>>>>>>> gerhard.petracek@gmail.com> wrote:
> > >> >>>>>>>>>>
> > >> >>>>>>>>>>> +1
> > >> >>>>>>>>>>>
> > >> >>>>>>>>>>> regards,
> > >> >>>>>>>>>>> gerhard
> > >> >>>>>>>>>>>
> > >> >>>>>>>>>>>
> > >> >>>>>>>>>>>
> > >> >>>>>>>>>>> 2013/3/14 Romain Manni-Bucau <rm...@gmail.com>
> > >> >>>>>>>>>>>
> > >> >>>>>>>>>>>> ok great,
> > >> >>>>>>>>>>>>
> > >> >>>>>>>>>>>> wonder if we couldn't start by a first version without
> > >> >>> such
> > >> >>>>>>>>>>> extensibility +
> > >> >>>>>>>>>>>> no scopes for queries?
> > >> >>>>>>>>>>>>
> > >> >>>>>>>>>>>> *Romain Manni-Bucau*
> > >> >>>>>>>>>>>> *Twitter: @rmannibucau <
> > >> >> https://twitter.com/rmannibucau
> > >> >>>> *
> > >> >>>>>>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > >> >>>>>>>>>>>> http://rmannibucau.wordpress.com/>
> > >> >>>>>>>>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > >> >>>>>>>>>>>> *Github: https://github.com/rmannibucau*
> > >> >>>>>>>>>>>>
> > >> >>>>>>>>>>>>
> > >> >>>>>>>>>>>>
> > >> >>>>>>>>>>>> 2013/3/14 Gerhard Petracek <gerhard.petracek@gmail.com
> > >> >>>>>>>>>>>>> hi romain,
> > >> >>>>>>>>>>>>>
> > >> >>>>>>>>>>>>> no - it's more about the style we introduced e.g. for
> > >> >>>>>> type-safe
> > >> >>>>>>>>>>> messages.
> > >> >>>>>>>>>>>>> regards,
> > >> >>>>>>>>>>>>> gerhard
> > >> >>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>
> > >> >>>>>>>>>>>>> 2013/3/14 Romain Manni-Bucau <rm...@gmail.com>
> > >> >>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>> @Gerhard: hope you don't think of @RepoBinding at
> > >> >>>>>> all...would
> > >> >>>>>>>> be
> > >> >>>>>>>>>> too
> > >> >>>>>>>>>>>> much
> > >> >>>>>>>>>>>>>> IMO. Would be great to support aliases/stereotype
> > >> >>> maybe
> > >> >>>>> but
> > >> >>>>>>> not
> > >> >>>>>>>>> the
> > >> >>>>>>>>>>>>> default
> > >> >>>>>>>>>>>>>> Wdyt?
> > >> >>>>>>>>>>>>>> Le 14 mars 2013 00:11, "Gerhard Petracek" <
> > >> >>>>>>>>>>> gerhard.petracek@gmail.com>
> > >> >>>>>>>>>>>> a
> > >> >>>>>>>>>>>>>> écrit :
> > >> >>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>> hi thomas,
> > >> >>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>> imo it should follow the basic style/s we have in
> > >> >>>> other
> > >> >>>>>>> parts
> > >> >>>>>>>>>>> already
> > >> >>>>>>>>>>>>> (if
> > >> >>>>>>>>>>>>>>> possible).
> > >> >>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>> i guess the simple implementations in the
> > >> >>> test-module
> > >> >>>>> are
> > >> >>>>>>> too
> > >> >>>>>>>>>>> simple
> > >> >>>>>>>>>>>> to
> > >> >>>>>>>>>>>>>> see
> > >> >>>>>>>>>>>>>>> the real benefit.
> > >> >>>>>>>>>>>>>>> -> it would be nice if you add some drafts to a
> > >> >>>>> sub-page
> > >> >>>>>> of
> > >> >>>>>>>>> [1].
> > >> >>>>>>>>>>>>>>> (the usage you would prefer and not as it is
> > >> >> right
> > >> >>>>> now.)
> > >> >>>>>>>>>>>>>>> regards,
> > >> >>>>>>>>>>>>>>> gerhard
> > >> >>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>> [1]
> > >> >>> https://cwiki.apache.org/confluence/display/DeltaSpike/Drafts
> > >> >>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>> 2013/3/13 Romain Manni-Bucau <
> > >> >>> rmannibucau@gmail.com>
> > >> >>>>>>>>>>>>>>>> i'd put it in to start since that's useful for
> > >> >>> JPA
> > >> >>>>> but
> > >> >>>>>> it
> > >> >>>>>>>>>>> shouldn't
> > >> >>>>>>>>>>>>> use
> > >> >>>>>>>>>>>>>>> it
> > >> >>>>>>>>>>>>>>>> at all
> > >> >>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>> a question (for next iteration if that's ok for
> > >> >>>>>>> everybody)
> > >> >>>>>>>> is
> > >> >>>>>>>>>>>> should
> > >> >>>>>>>>>>>>>>> repos
> > >> >>>>>>>>>>>>>>>> handle transaction or at least define it.
> > >> >>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>> *Romain Manni-Bucau*
> > >> >>>>>>>>>>>>>>>> *Twitter: @rmannibucau <
> > >> >>>>>> https://twitter.com/rmannibucau
> > >> >>>>>>>> *
> > >> >>>>>>>>>>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > >> >>>>>>>>>>>>>>>> http://rmannibucau.wordpress.com/>
> > >> >>>>>>>>>>>>>>>> *LinkedIn: **
> > >> >>>> http://fr.linkedin.com/in/rmannibucau*
> > >> >>>>>>>>>>>>>>>> *Github: https://github.com/rmannibucau*
> > >> >>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>> 2013/3/13 John D. Ament <
> > >> >> john.d.ament@gmail.com>
> > >> >>>>>>>>>>>>>>>>> Does this have any direct/indirect
> > >> >> dependencies
> > >> >>>> on
> > >> >>>>>> JPA
> > >> >>>>>>>>>> module?
> > >> >>>>>>>>>>>>> Should
> > >> >>>>>>>>>>>>>>>> this
> > >> >>>>>>>>>>>>>>>>> maybe become a part of the JPA module?
> > >> >>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>> On Wed, Mar 13, 2013 at 7:23 AM, Thomas Hug
> > >> >>>>>>>>>>>>>>>>> <th...@ctp-consulting.com>wrote:
> > >> >>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>> Ok, I guess it's going to be Repository :)
> > >> >>>>> Updated
> > >> >>>>>>> the
> > >> >>>>>>>>>>> proposal
> > >> >>>>>>>>>>>>>>> branch
> > >> >>>>>>>>>>>>>>>>> and
> > >> >>>>>>>>>>>>>>>>>> also moved things into a data
> > >> >> package/module.
> > >> >>>>>>>>>>>>>>>>>> Some remarks for the parts below:
> > >> >>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>> 1) EntityManagerRepository wasn't present
> > >> >> in
> > >> >>>> the
> > >> >>>>>>> Solder
> > >> >>>>>>>>>>>>>>> implementation
> > >> >>>>>>>>>>>>>>>> -
> > >> >>>>>>>>>>>>>>>>>> there it was possible to simply
> > >> >>>> implement/extend
> > >> >>>>>>>>>>> EntityManager.
> > >> >>>>>>>>>>>>> The
> > >> >>>>>>>>>>>>>>>>> problem
> > >> >>>>>>>>>>>>>>>>>> with the invocation handler is that it's
> > >> >> not
> > >> >>>>>> possible
> > >> >>>>>>>> to
> > >> >>>>>>>>>>>> restrict
> > >> >>>>>>>>>>>>>> the
> > >> >>>>>>>>>>>>>>>>> bean
> > >> >>>>>>>>>>>>>>>>>> type and exclude EntityManager (or I missed
> > >> >>>> it).
> > >> >>>>>>>>> Otherwise
> > >> >>>>>>>>>>> I'd
> > >> >>>>>>>>>>>>>> rather
> > >> >>>>>>>>>>>>>>>> get
> > >> >>>>>>>>>>>>>>>>>> rid of this interface.
> > >> >>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>> 2) WithEntityManager is definitely
> > >> >>> discussable.
> > >> >>>>> Not
> > >> >>>>>>> the
> > >> >>>>>>>>>> full
> > >> >>>>>>>>>>>>>> solution
> > >> >>>>>>>>>>>>>>>> and
> > >> >>>>>>>>>>>>>>>>>> not consistent. Could be solved with e.g.
> > >> >>>> putting
> > >> >>>>>>>>>> qualifiers
> > >> >>>>>>>>>>>> on a
> > >> >>>>>>>>>>>>>>>> method
> > >> >>>>>>>>>>>>>>>>>> returning an EntityManager (less intuitive)
> > >> >>> or
> > >> >>>>>>>> something
> > >> >>>>>>>>>> like
> > >> >>>>>>>>>>>> the
> > >> >>>>>>>>>>>>>>>>>> InvocationHandlerBinding.
> > >> >>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>> 3) AbstractEntityRepository is just a
> > >> >>>> convenience
> > >> >>>>>>> class
> > >> >>>>>>>>> for
> > >> >>>>>>>>>>>>>> providing
> > >> >>>>>>>>>>>>>>>>>> concrete query implementations.
> > >> >>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>> On Tue, Mar 12, 2013 at 9:40 PM, Gerhard
> > >> >>>>> Petracek <
> > >> >>>>>>>>>>>>>>>>>> gerhard.petracek@gmail.com> wrote:
> > >> >>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>> hi,
> > >> >>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>> currently we don't have one jira ticket
> > >> >> per
> > >> >>>>>>>>> part/feature.
> > >> >>>>>>>>>>>>>>>>>>> that's what we used to have for
> > >> >> everything
> > >> >>> we
> > >> >>>>>>>> imported.
> > >> >>>>>>>>>>>>>>>>>>> the first parts to discuss are imo
> > >> >>>>>>> EntityManagerDao,
> > >> >>>>>>>>>>>>>>>> WithEntityManager
> > >> >>>>>>>>>>>>>>>>>> and
> > >> >>>>>>>>>>>>>>>>>>> AbstractEntityDao.
> > >> >>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>> regards,
> > >> >>>>>>>>>>>>>>>>>>> gerhard
> > >> >>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>> 2013/3/12 Arne Limburg <
> > >> >>>>>>>> arne.limburg@openknowledge.de>
> > >> >>>>>>>>>>>>>>>>>>>> +1 for repository, from me too
> > >> >>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>> Gesendet mit meinem HTC
> > >> >>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>> ----- Reply message -----
> > >> >>>>>>>>>>>>>>>>>>>> Von: "Thomas Andraschko" <
> > >> >>>>>>>>> andraschko.thomas@gmail.com>
> > >> >>>>>>>>>>>>>>>>>>>> An: "
> > >> >> deltaspike-dev@incubator.apache.org
> > >> >>> "
> > >> >>>> <
> > >> >>>>>>>>>>>>>>>>>>>> deltaspike-dev@incubator.apache.org>
> > >> >>>>>>>>>>>>>>>>>>>> Betreff: cdi-query, no news?
> > >> >>>>>>>>>>>>>>>>>>>> Datum: Di., Mär. 12, 2013 20:38
> > >> >>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>> +1 repository! :) "Query" doesn't
> > >> >> really
> > >> >>>>> match
> > >> >>>>>>> the
> > >> >>>>>>>>>>>>> functionaly.
> > >> >>>>>>>>>>>>>>>>>>>> 2013/3/12 Romain Manni-Bucau <
> > >> >>>>>>>> rmannibucau@gmail.com>
> > >> >>>>>>>>>>>>>>>>>>>>> +2 for repo
> > >> >>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>> btw did you fixed the scope issue?
> > >> >>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>> *Romain Manni-Bucau*
> > >> >>>>>>>>>>>>>>>>>>>>> *Twitter: @rmannibucau <
> > >> >>>>>>>>>>> https://twitter.com/rmannibucau
> > >> >>>>>>>>>>>>> *
> > >> >>>>>>>>>>>>>>>>>>>>> *Blog: **
> > >> >>>>> http://rmannibucau.wordpress.com/*<
> > >> >>>>>>>>>>>>>>>>>>>>> http://rmannibucau.wordpress.com/>
> > >> >>>>>>>>>>>>>>>>>>>>> *LinkedIn: **
> > >> >>>>>>>>> http://fr.linkedin.com/in/rmannibucau*
> > >> >>>>>>>>>>>>>>>>>>>>> *Github:
> > >> >>> https://github.com/rmannibucau*
> > >> >>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>> 2013/3/12 Thomas Hug <
> > >> >>>>>>>>> thomas.hug@ctp-consulting.com>
> > >> >>>>>>>>>>>>>>>>>>>>>> The name is still freely choosable
> > >> >> -
> > >> >>>> data
> > >> >>>>>>>> sounds
> > >> >>>>>>>>>> fine
> > >> >>>>>>>>>>>> to
> > >> >>>>>>>>>>>>> me
> > >> >>>>>>>>>>>>>>> if
> > >> >>>>>>>>>>>>>>>>>> nobody
> > >> >>>>>>>>>>>>>>>>>>>>> minds
> > >> >>>>>>>>>>>>>>>>>>>>>> the obvious mirroring on Spring
> > >> >> Data
> > >> >>> ;)
> > >> >>>>>>>> dao/@Dao
> > >> >>>>>>>>> is
> > >> >>>>>>>>>>>>>>>> discussable,
> > >> >>>>>>>>>>>>>>>>>> all
> > >> >>>>>>>>>>>>>>>>>>>> the
> > >> >>>>>>>>>>>>>>>>>>>>>> domain driven folks prefer probably
> > >> >>>>>> something
> > >> >>>>>>>>> like
> > >> >>>>>>>>>>>>>>>> "Repository".
> > >> >>>>>>>>>>>>>>>>>>>>>> On Tue, Mar 12, 2013 at 7:29 PM,
> > >> >>> Romain
> > >> >>>>>>>>> Manni-Bucau
> > >> >>>>>>>>>>>>>>>>>>>>>> <rm...@gmail.com>wrote:
> > >> >>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>> Great :)
> > >> >>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>> any issue changing "query" to
> > >> >>>> something
> > >> >>>>>>>> closer
> > >> >>>>>>>>> to
> > >> >>>>>>>>>>>> what
> > >> >>>>>>>>>>>>> it
> > >> >>>>>>>>>>>>>>>>> really
> > >> >>>>>>>>>>>>>>>>>>>> does ;
> > >> >>>>>>>>>>>>>>>>>>>>>>> "dao" (because of @Dao) or
> > >> >> "data"?
> > >> >>>>>>>>>>>>>>>>>>>>>>> *Romain Manni-Bucau*
> > >> >>>>>>>>>>>>>>>>>>>>>>> *Twitter: @rmannibucau <
> > >> >>>>>>>>>>>>> https://twitter.com/rmannibucau
> > >> >>>>>>>>>>>>>>> *
> > >> >>>>>>>>>>>>>>>>>>>>>>> *Blog: **
> > >> >>>>>>> http://rmannibucau.wordpress.com/*<
> > >> >> http://rmannibucau.wordpress.com/>
> > >> >>>>>>>>>>>>>>>>>>>>>>> *LinkedIn: **
> > >> >>>>>>>>>>> http://fr.linkedin.com/in/rmannibucau*
> > >> >>>>>>>>>>>>>>>>>>>>>>> *Github:
> > >> >>>>> https://gihub.com/rmannibucau*<
> > >> >>>>>>>>>>>>>>>>>>>>> https://github.com/rmannibucau*
> > >> >>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>> 2013/3/12 Thomas Hug <
> > >> >>>>>>>>>>> thomas.hug@ctp-consulting.com>
> > >> >>>>>>>>>>>>>>>>>>>>>>>> FYI, I've started something
> > >> >> like
> > >> >>> an
> > >> >>>>>>> import
> > >> >>>>>>>>>>> proposal
> > >> >>>>>>>>>>>>> in
> > >> >>>>>>>>>>>>>> a
> > >> >>>>>>>>>>>>>>>>>>> dedicated
> > >> >>>>>>>>>>>>>>>>>>>>>> branch
> > >> >>>>>>>>>>>>>>>>>>>>>>>> [1]. There's currently only the
> > >> >>>> JBoss
> > >> >>>>>>>>>> Arquillian
> > >> >>>>>>>>>>>>>> profile
> > >> >>>>>>>>>>>>>>>>>> running,
> > >> >>>>>>>>>>>>>>>>>>>>>> haven't
> > >> >>>>>>>>>>>>>>>>>>>>>>>> looked at the others. Any
> > >> >> support
> > >> >>>>> there
> > >> >>>>>>> and
> > >> >>>>>>>>> of
> > >> >>>>>>>>>>>> course
> > >> >>>>>>>>>>>>>>> other
> > >> >>>>>>>>>>>>>>>>>>> input's
> > >> >>>>>>>>>>>>>>>>>>>>>> very
> > >> >>>>>>>>>>>>>>>>>>>>>>>> welcome :)
> > >> >>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>> [1]
> > >> >> https://github.com/ctpconsulting/query/tree/dsimport
> > >> >>>>>>>>>>>>>>>>>>>>>>>> On Tue, Mar 5, 2013 at 7:45 AM,
> > >> >>>>> Romain
> > >> >>>>>>>>>>> Manni-Bucau
> > >> >>>>>>>>>>>> <
> > >> >>>>>>>>>>>>>>>>>>>>>>> rmannibucau@gmail.com
> > >> >>>>>>>>>>>>>>>>>>>>>>>>> wrote:
> > >> >>>>>>>>>>>>>>>>>>>>>>>>> Yes
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>> It works fine but you bring
> > >> >> too
> > >> >>>>> much
> > >> >>>>>>>> spring
> > >> >>>>>>>>>>>>>>> dependencies
> > >> >>>>>>>>>>>>>>>>>>> (totally
> > >> >>>>>>>>>>>>>>>>>>>>>>> useless
> > >> >>>>>>>>>>>>>>>>>>>>>>>>> when used this way) which
> > >> >>> clearly
> > >> >>>>>> show
> > >> >>>>>>> it
> > >> >>>>>>>>> is
> > >> >>>>>>>>>>>>> rather a
> > >> >>>>>>>>>>>>>>>>> bridge
> > >> >>>>>>>>>>>>>>>>>>>> than a
> > >> >>>>>>>>>>>>>>>>>>>>>>>>> solution + there were some
> > >> >>> leaks
> > >> >>>> in
> > >> >>>>>>>>> previous
> > >> >>>>>>>>>>>>> version
> > >> >>>>>>>>>>>>>>>> (didnt
> > >> >>>>>>>>>>>>>>>>>>> check
> > >> >>>>>>>>>>>>>>>>>>>>> fix
> > >> >>>>>>>>>>>>>>>>>>>>>>> was
> > >> >>>>>>>>>>>>>>>>>>>>>>>>> released to be honest)
> > >> >> because
> > >> >>> if
> > >> >>>>>> this
> > >> >>>>>>>>> usage
> > >> >>>>>>>>>>>> which
> > >> >>>>>>>>>>>>>> was
> > >> >>>>>>>>>>>>>>>> not
> > >> >>>>>>>>>>>>>>>>>> the
> > >> >>>>>>>>>>>>>>>>>>>>>> default
> > >> >>>>>>>>>>>>>>>>>>>>>>>> one.
> > >> >>>>>>>>>>>>>>>>>>>>>>>>> Since cdi query is here it
> > >> >>> worths
> > >> >>>>>>>> importing
> > >> >>>>>>>>>> it
> > >> >>>>>>>>>>>> IMO
> > >> >>>>>>>>>>>>>>>>>>>>>>>>> Le 5 mars 2013 02:21,
> > >> >> "hantsy"
> > >> >>> <
> > >> >>>>>>>>>>>>> hantsy@yahoo.com.cn>
> > >> >>>>>>>>>>>>>> a
> > >> >>>>>>>>>>>>>>>>>> écrit :
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>> I remember the Spring Data
> > >> >>> has
> > >> >>>> a
> > >> >>>>>> CDI
> > >> >>>>>>>>>>> extension,
> > >> >>>>>>>>>>>>>> but I
> > >> >>>>>>>>>>>>>>>>> have
> > >> >>>>>>>>>>>>>>>>>>> not
> > >> >>>>>>>>>>>>>>>>>>>>> used
> > >> >>>>>>>>>>>>>>>>>>>>>>> it
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>> in projects. Is there
> > >> >> anyone
> > >> >>>> used
> > >> >>>>>> it
> > >> >>>>>>> in
> > >> >>>>>>>>>> Java
> > >> >>>>>>>>>>>> EE 6
> > >> >>>>>>>>>>>>>>>>> projects?
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>> Hantsy
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>> On 3/3/2013 20:40, Romain
> > >> >>>>>> Manni-Bucau
> > >> >>>>>>>>>> wrote:
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>> Basically if the query
> > >> >>> logic
> > >> >>>>>> could
> > >> >>>>>>> be
> > >> >>>>>>>>>> scope
> > >> >>>>>>>>>>>>>>> agnostic
> > >> >>>>>>>>>>>>>>>> it
> > >> >>>>>>>>>>>>>>>>>>> would
> > >> >>>>>>>>>>>>>>>>>>>>> be
> > >> >>>>>>>>>>>>>>>>>>>>>>>>> perfect
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>> for me. Parameters were
> > >> >>> fine
> > >> >>>>> and
> > >> >>>>>>>>> matched
> > >> >>>>>>>>>>> the
> > >> >>>>>>>>>>>>>> coomon
> > >> >>>>>>>>>>>>>>>>> need.
> > >> >>>>>>>>>>>>>>>>>>> I m
> > >> >>>>>>>>>>>>>>>>>>>>> not
> > >> >>>>>>>>>>>>>>>>>>>>>>>> sure
> > >> >>>>>>>>>>>>>>>>>>>>>>>>> i
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>> get what is blocking. Can
> > >> >>> you
> > >> >>>>>>> detail
> > >> >>>>>>>>> it a
> > >> >>>>>>>>>>> bit
> > >> >>>>>>>>>>>>>>> please?
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>> Le 3 mars 2013 13:09,
> > >> >>> "Thomas
> > >> >>>>>> Hug"
> > >> >>>>>>> <
> > >> >>>>>>>>>>>>>>>>>>>>>> thomas.hug@ctp-consulting.com>
> > >> >>>>>>>>>>>>>>>>>>>>>>> a
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>> écrit :
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> Aha got you. Yes
> > >> >>>> QueryHandler
> > >> >>>>>> can
> > >> >>>>>>> be
> > >> >>>>>>>>>> moved
> > >> >>>>>>>>>>>> to
> > >> >>>>>>>>>>>>>>>>>> application
> > >> >>>>>>>>>>>>>>>>>>>>> scope.
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> The other request scoped
> > >> >>>>>> component
> > >> >>>>>>>> ist
> > >> >>>>>>>>>> the
> > >> >>>>>>>>>>>>>>>>>>>>>>>> CdiQueryInvocationContext.
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>> Here
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> we store a bunch of data
> > >> >>>> which
> > >> >>>>>> is
> > >> >>>>>>>>>> related
> > >> >>>>>>>>>>> to
> > >> >>>>>>>>>>>>> the
> > >> >>>>>>>>>>>>>>>>> current
> > >> >>>>>>>>>>>>>>>>>>>> query
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>> (parameters,
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> query string etc).
> > >> >>>> Originally
> > >> >>>>>> this
> > >> >>>>>>>> was
> > >> >>>>>>>>>>>> passed
> > >> >>>>>>>>>>>>> as
> > >> >>>>>>>>>>>>>>>>>>> parameter,
> > >> >>>>>>>>>>>>>>>>>>>>> but
> > >> >>>>>>>>>>>>>>>>>>>>>>> got
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> injectable for the
> > >> >>> extension
> > >> >>>>>>>> mechanism
> > >> >>>>>>>>>>> [1].
> > >> >>>>>>>>>>>>>>>> Currently
> > >> >>>>>>>>>>>>>>>>> on
> > >> >>>>>>>>>>>>>>>>>>>>>> holidays
> > >> >>>>>>>>>>>>>>>>>>>>>>>>> (sorry
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> the response delays) so
> > >> >>> not
> > >> >>>>> much
> > >> >>>>>>>> time
> > >> >>>>>>>>> to
> > >> >>>>>>>>>>>> look
> > >> >>>>>>>>>>>>>> into
> > >> >>>>>>>>>>>>>>>> it
> > >> >>>>>>>>>>>>>>>>>> but
> > >> >>>>>>>>>>>>>>>>>>>>> happy
> > >> >>>>>>>>>>>>>>>>>>>>>> to
> > >> >>>>>>>>>>>>>>>>>>>>>>>>> take
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> suggestions :)
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> [1]
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>
> > >>
> >
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> On Fri, Mar 1, 2013 at
> > >> >>> 8:18
> > >> >>>>> PM,
> > >> >>>>>>>> Romain
> > >> >>>>>>>>>>>>>>> Manni-Bucau <
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>> rmannibucau@gmail.com
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hmm,
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Wonder if the scope
> > >> >>> couldnt
> > >> >>>>> be
> > >> >>>>>>>>>>> application
> > >> >>>>>>>>>>>>> one.
> > >> >>>>>>>>>>>>>>>>> Request
> > >> >>>>>>>>>>>>>>>>>>>>> sounds
> > >> >>>>>>>>>>>>>>>>>>>>>>> too
> > >> >>>>>>>>>>>>>>>>>>>>>>>>> much
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> web
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> to be usable/generic
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Le 1 mars 2013 19:02,
> > >> >>>> "Thomas
> > >> >>>>>>> Hug"
> > >> >>>>>>>> <
> > >> >>>>>>>>>>>>>>>>>>>>>>> thomas.hug@ctp-consulting.com>
> > >> >>>>>>>>>>>>>>>>>>>>>>>> a
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> écrit :
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Fine for me - planned
> > >> >> to
> > >> >>>>>> create
> > >> >>>>>>> a
> > >> >>>>>>>>>> branch
> > >> >>>>>>>>>>>>> with
> > >> >>>>>>>>>>>>>>> all
> > >> >>>>>>>>>>>>>>>>> the
> > >> >>>>>>>>>>>>>>>>>>>>>>> experimental
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>> APIs
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> cleared out as an
> > >> >> import
> > >> >>>>>>> proposal.
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> RE scope, the
> > >> >>>>>> InvocationHandlers
> > >> >>>>>>>> are
> > >> >>>>>>>>>>>>> validated
> > >> >>>>>>>>>>>>>>> to
> > >> >>>>>>>>>>>>>>>> be
> > >> >>>>>>>>>>>>>>>>>>>> normal
> > >> >>>>>>>>>>>>>>>>>>>>>>> scoped
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>> [1],
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> so
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> that seemed to me the
> > >> >>> most
> > >> >>>>>>>>> appropriate
> > >> >>>>>>>>>>>>> choice
> > >> >>>>>>>>>>>>>> -
> > >> >>>>>>>>>>>>>>>> any
> > >> >>>>>>>>>>>>>>>>>>> other
> > >> >>>>>>>>>>>>>>>>>>>>>>>>> suggestions?
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [1]
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>
> > >>
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Wed, Feb 27, 2013
> > >> >> at
> > >> >>>> 1:15
> > >> >>>>>> PM,
> > >> >>>>>>>>>> Romain
> > >> >>>>>>>>>>>>>>>> Manni-Bucau
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <
> > >> >> rmannibucau@gmail.com
> > >> >>>>>> wrote:
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi,
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> some news of it?
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> i think it is time to
> > >> >>>>> import
> > >> >>>>>> at
> > >> >>>>>>>>>> least a
> > >> >>>>>>>>>>>>> first
> > >> >>>>>>>>>>>>>>>>>> version,
> > >> >>>>>>>>>>>>>>>>>>>>> isn't
> > >> >>>>>>>>>>>>>>>>>>>>>>> it?
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Just a note on
> > >> >> current
> > >> >>>>> code,
> > >> >>>>>> i
> > >> >>>>>>>> saw
> > >> >>>>>>>>>>>>>> QueryHandler
> > >> >>>>>>>>>>>>>>>>> (and
> > >> >>>>>>>>>>>>>>>>>>> some
> > >> >>>>>>>>>>>>>>>>>>>>>> other
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> beans)
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> has
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> a request scope.
> > >> >> Wonder
> > >> >>>> if
> > >> >>>>>>> such a
> > >> >>>>>>>>>> scope
> > >> >>>>>>>>>>>>> means
> > >> >>>>>>>>>>>>>>>>>> something
> > >> >>>>>>>>>>>>>>>>>>>>> for a
> > >> >>>>>>>>>>>>>>>>>>>>>>>>> generic
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> (not
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> web) lib.
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> wdyt?
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Romain Manni-Bucau*
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Twitter:
> > >> >> @rmannibucau
> > >> >>> <
> > >> >>>>>>>>>>>>>>>>>>> https://twitter.com/rmannibucau
> > >> >>>>>>>>>>>>>>>>>>>>> *
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Blog: **
> > >> >>>>>>>>>>>>> http://rmannibucau.wordpress.com/*<
> > >> >>>>>>>> http://rmannibucau.wordpress.com/>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *LinkedIn: **
> > >> >>>>>>>>>>>>>>>>> http://fr.linkedin.com/in/rmannibucau*
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Github:
> > >> >>>>>>>>>>> https://github.com/rmannibucau*
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2013/2/20 Romain
> > >> >>>>> Manni-Bucau
> > >> >>>>>> <
> > >> >>>>>>>>>>>>>>>>> rmannibucau@gmail.com>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> guy you rocks!
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> effectively i missed
> > >> >>> it
> > >> >>>>>> when i
> > >> >>>>>>>>>> looked.
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Romain Manni-Bucau*
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Twitter:
> > >> >>> @rmannibucau <
> > >> >>>>>>>>>>>>>>>>>>> https://twitter.com/rmannibucau
> > >> >>>>>>>>>>>>>>>>>>>>> *
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Blog: **
> > >> >>>>>>>>>>>>> http://rmannibucau.wordpress.com/*
> > >> >>>>>>>>>>>>>> <
> > >> >>>>>>>> http://rmannibucau.wordpress.com/>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *LinkedIn: **
> > >> >>>>>>>>>>>>>>>>> http://fr.linkedin.com/in/rmannibucau*
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Github:
> > >> >>>>>>>>>>>> https://github.com/rmannibucau*
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2013/2/20 Thomas
> > >> >> Hug <
> > >> >>>>>>>>>>>>>>>>> thomas.hug@ctp-consulting.com
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thnx Romain. If
> > >> >> with
> > >> >>>>> proxy
> > >> >>>>>>>> stuff
> > >> >>>>>>>>>> you
> > >> >>>>>>>>>>>>> refer
> > >> >>>>>>>>>>>>>> to
> > >> >>>>>>>>>>>>>>>> the
> > >> >>>>>>>>>>>>>>>>>> DS
> > >> >>>> InvocationHandlerBinding,
> > >> >>>>>>>> that's
> > >> >>>>>>>>>>>> already
> > >> >>>>>>>>>>>>>>>>> integrated
> > >> >>>>>>>>>>>>>>>>>>> :)
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> RE pagination, it's
> > >> >>>> maybe
> > >> >>>>>> not
> > >> >>>>>>>>> that
> > >> >>>>>>>>>>>>> obvious,
> > >> >>>>>>>>>>>>>>> but
> > >> >>>>>>>>>>>>>>>>>>> there's
> > >> >>>>>>>>>>>>>>>>>>>>>> more
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> advanced
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> support in
> > >> >>> QueryResult
> > >> >>>>>>> [1][2],
> > >> >>>>>>>>>> which
> > >> >>>>>>>>>>> is
> > >> >>>>>>>>>>>>>> more
> > >> >>>>>>>>>>>>>>>> of a
> > >> >>>>>>>>>>>>>>>>>>>> fluent
> > >> >>>>>>>>>>>>>>>>>>>>>> API
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> approach,
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> but
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> should behave
> > >> >> similar
> > >> >>>> to
> > >> >>>>> a
> > >> >>>>>>>>>>> PageRequest
> > >> >>>>>>>>>>>>> (the
> > >> >>>>>>>>>>>>>>>> query
> > >> >>>>>>>>>>>>>>>>>>>>> execution
> > >> >>>>>>>>>>>>>>>>>>>>>>> is
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> delayed
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> until the
> > >> >> getResult()
> > >> >>>>>> methods
> > >> >>>>>>>> on
> > >> >>>>>>>>>>>>>> QueryResult
> > >> >>>>>>>>>>>>>>> is
> > >> >>>>>>>>>>>>>>>>>>>> called).
> > >> >>>>>>>>>>>>>>>>>>>>>> Hope
> > >> >>>>>>>>>>>>>>>>>>>>>>>>> that
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> fits
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> to
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> what you had in
> > >> >> mind.
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [1]
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>
> > >>
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [2]
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>
> > >>
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Wed, Feb 20,
> > >> >> 2013
> > >> >>> at
> > >> >>>>>> 10:04
> > >> >>>>>>>> PM,
> > >> >>>>>>>>>>>> Romain
> > >> >>>>>>>>>>>>>>>>>> Manni-Bucau
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <
> > >> >>> rmannibucau@gmail.com
> > >> >>>>>>>> wrote:
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Thomas,
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> importing proxy
> > >> >>> stuff
> > >> >>>>>> would
> > >> >>>>>>> be
> > >> >>>>>>>>> the
> > >> >>>>>>>>>>>> first
> > >> >>>>>>>>>>>>>>> great
> > >> >>>>>>>>>>>>>>>>>>> stuff.
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> i'd like to see
> > >> >> some
> > >> >>>>>>>> pagination
> > >> >>>>>>>>>> API
> > >> >>>>>>>>>>>>> (like
> > >> >>>>>>>>>>>>>>>>>>> PageRequest
> > >> >>>>>>>>>>>>>>>>>>>>> etc
> > >> >>>>>>>>>>>>>>>>>>>>>> in
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> spring
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> world)
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> which are more
> > >> >> user
> > >> >>>>>> friendly
> > >> >>>>>>>>> that
> > >> >>>>>>>>>>>>>>> @FirstResult
> > >> >>>>>>>>>>>>>>>>> and
> > >> >>>>>>>>>>>>>>>>>>>>>>>> @MaxResult).
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> wdyt?
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Romain
> > >> >> Manni-Bucau*
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Twitter:
> > >> >>>> @rmannibucau <
> > >> >>>>>>>>>>>>>>>>>>>> https://twitter.com/rmannibucau
> > >> >>>>>>>>>>>>>>>>>>>>>> *
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Blog: **
> > >> >>>>>>>>>>>>>> http://rmannibucau.wordpress.com/*
> > >> >>>>>>>>>>>>>>> <
> > >> >>>>>>>>> http://rmannibucau.wordpress.com/
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *LinkedIn: **
> > >> >>>>>>>>>>>>>>>>>> http://fr.linkedin.com/in/rmannibucau*
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Github:
> > >> >>>>>>>>>>>>> https://github.com/rmannibucau*
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2013/2/20 Thomas
> > >> >>> Hug <
> > >> >>>>>>>>>>>>>>>>>> thomas.hug@ctp-consulting.com
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CDI Query has
> > >> >> now a
> > >> >>>>>>>> completely
> > >> >>>>>>>>>>>>>> Solder-free
> > >> >>>>>>>>>>>>>>>> POM.
> > >> >>>>>>>>>>>>>>>>>>> Feel
> > >> >>>>>>>>>>>>>>>>>>>>> free
> > >> >>>>>>>>>>>>>>>>>>>>>>> to
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> drop
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> comments
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> on the API - some
> > >> >>>> parts
> > >> >>>>>>> might
> > >> >>>>>>>>>>>> actually
> > >> >>>>>>>>>>>>> be
> > >> >>>>>>>>>>>>>>>> fully
> > >> >>>>>>>>>>>>>>>>>>>>> excluded
> > >> >>>>>>>>>>>>>>>>>>>>>>>> (e.g.
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> home
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> and
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> critera APIs).
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Tue, Feb 12,
> > >> >>> 2013
> > >> >>>> at
> > >> >>>>>>> 10:00
> > >> >>>>>>>>> PM,
> > >> >>>>>>>>>>>> Mark
> > >> >>>>>>>>>>>>>>>>> Struberg <
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> struberg@yahoo.de>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks Thomas,
> > >> >>> great
> > >> >>>>>> news!
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> LieGrue,
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> strub
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>> ________________________________
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> From: Thomas
> > >> >> Hug
> > >> >>> <
> > >> >>>>>>>>>>>>>>>>>> thomas.hug@ctp-consulting.com>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> To: "
> > >> >>>>>>>>>>>>>> deltaspike-dev@incubator.apache.org
> > >> >>>>>>>>>>>>>>> "
> > >> >>>>>>>>>>>>>>>> <
> > >> >>>>>>>>>>> deltaspike-dev@incubator.apache.org
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Sent: Tuesday,
> > >> >>>>> February
> > >> >>>>>>> 12,
> > >> >>>>>>>>>> 2013
> > >> >>>>>>>>>>>> 4:10
> > >> >>>>>>>>>>>>>> PM
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Subject: Re:
> > >> >>>>> cdi-query,
> > >> >>>>>>> no
> > >> >>>>>>>>>> news?
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> FYI, I've
> > >> >> started
> > >> >>>> to
> > >> >>>>>>>>>>> "de-solderize"
> > >> >>>>>>>>>>>>> CDI
> > >> >>>>>>>>>>>>>>>> Query
> > >> >>>>>>>>>>>>>>>>>> and
> > >> >>>>>>>>>>>>>>>>>>>>> move
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> things
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> to
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> depend
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> on
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> DS Core [1]:
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>> https://github.com/ctpconsulting/query/tree/deltaspike
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Todos:
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [x] Replace
> > >> >>>>>>> ServiceHandler
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [_] Include
> > >> >>>> Property
> > >> >>>>>>> utils
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [_] Replace
> > >> >> JBoss
> > >> >>>>>> Logging
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Any feedback
> > >> >>>> welcome.
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [1] including
> > >> >>> this
> > >> >>>>>>>>> modification
> > >> >>
> > >>
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Feb 11,
> > >> >>>> 2013
> > >> >>>>> at
> > >> >>>>>>>> 6:01
> > >> >>>>>>>>>> PM,
> > >> >>>>>>>>>>>>> Romain
> > >> >>>>>>>>>>>>>>>>>>> Manni-Bucau
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <
> > >> >>>>> rmannibucau@gmail.com
> > >> >>>>>>>>>> wrote:
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> a review of
> > >> >> the
> > >> >>>> API
> > >> >>>>> i
> > >> >>>>>>>> guess
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> what is
> > >> >> missing
> > >> >>>>> today
> > >> >>>>>> is
> > >> >>>>>>>>>>> probably
> > >> >>>>>>>>>>>>> the
> > >> >>>>>>>>>>>>>>>>>> pagination
> > >> >>>>>>>>>>>>>>>>>>>>>> helpers
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> (PageRequest
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> for
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> instance)
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> but
> > >> >> technically
> > >> >>>> all
> > >> >>>>> is
> > >> >>>>>>>> fine
> > >> >>>>>>>>>> IMO
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Romain
> > >> >>>> Manni-Bucau*
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Twitter:
> > >> >>>>>> @rmannibucau <
> > >> >>>>>>>>>>>>>>>>>>>>>> https://twitter.com/rmannibucau
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> *
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Blog: **
> > >> >>>>>>>>>>>>>>>> http://rmannibucau.wordpress.com/*
> > >> >>>>>>>>>>>>>>>>> <
> > >> >>>>>>>>>>> http://rmannibucau.wordpress.com/
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *LinkedIn: **
> > >> >>>>>>>>>>>>>>>>>>>> http://fr.linkedin.com/in/rmannibucau*
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Github:
> > >> >>>>>>>>>>>>>>> https://github.com/rmannibucau*
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2013/2/11
> > >> >> Jason
> > >> >>>>>> Porter <
> > >> >>>>>>>>>>>>>>>>>> lightguard.jp@gmail.com
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I know I'm
> > >> >>>> playing
> > >> >>>>>> the
> > >> >>>>>>>>>>>> necromancer,
> > >> >>>>>>>>>>>>>> but
> > >> >>>>>>>>>>>>>>>>>> please
> > >> >>>>>>>>>>>>>>>>>>>>>> forgive
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> me.
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> We
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> have
> > >> >>>> InvocationHandler,
> > >> >>>>>>> which
> > >> >>>>>>>>>> looks
> > >> >>>>>>>>>>>> like
> > >> >>>>>>>>>>>>>> it
> > >> >>>>>>>>>>>>>>>>> would
> > >> >>>>>>>>>>>>>>>>>>> work
> > >> >>>>>>>>>>>>>>>>>>>>> as
> > >> >>>>>>>>>>>>>>>>>>>>>> a
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ServiceHandler
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> substitute.
> > >> >>> What
> > >> >>>>> else
> > >> >>>>>>> is
> > >> >>>>>>>>>> needed
> > >> >>>>>>>>>>>> to
> > >> >>>>>>>>>>>>>> get
> > >> >>>>>>>>>>>>>>>> CDI
> > >> >>>>>>>>>>>>>>>>>>> Query
> > >> >>>>>>>>>>>>>>>>>>>>> into
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> DeltaSpike?
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Sun, Nov
> > >> >> 18,
> > >> >>>>> 2012
> > >> >>>>>> at
> > >> >>>>>>>>> 12:35
> > >> >>>>>>>>>>> PM,
> > >> >>>>>>>>>>>>>>> Romain
> > >> >>>>>>>>>>>>>>>>>>>>> Manni-Bucau
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <
> > >> >>>>>> rmannibucau@gmail.com
> > >> >>>>>>>>>>> wrote:
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +1, it is a
> > >> >>> must
> > >> >>>>>> have
> > >> >>>>>>>> for
> > >> >>>>>>>>>> cdi
> > >> >>>>>>>>>>>>> world
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Le 18 nov.
> > >> >>> 2012
> > >> >>>>>> 20:04,
> > >> >>>>>>>>>>>>>> "john.d.ament"
> > >> >>>>>>>>>>>>>>> <
> > >> >>> john.d.ament@gmail.com
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> a
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> écrit :
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> RE
> > >> >>>> ServiceHandler
> > >> >>>>>> - I
> > >> >>>>>>>> was
> > >> >>>>>>>>>> one
> > >> >>>>>>>>>>>> of
> > >> >>>>>>>>>>>>>>> those
> > >> >>>>>>>>>>>>>>>>> who
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> previously
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> suggested
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> bringing
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> it
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> over to
> > >> >>>>> DeltaSpike,
> > >> >>>>>>> you
> > >> >>>>>>>>> can
> > >> >>>>>>>>>>> see
> > >> >>>>>>>>>>>>>>>>>>> DELTASPIKE-113
> > >> >>>>>>>>>>>>>>>>>>>>> and
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> find
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> the
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> thread
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> about
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> it
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> from April
> > >> >> of
> > >> >>>>> this
> > >> >>>>>>>> year.
> > >> >>>>>>>>>>  At
> > >> >>>>>>>>>>>> the
> > >> >>>>>>>>>>>>>>> time,
> > >> >>>>>>>>>>>>>>>> I
> > >> >>>>>>>>>>>>>>>>>> was
> > >> >>>>>>>>>>>>>>>>>>>> in a
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> position
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> where I
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> couldn't
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> spend much
> > >> >>> time
> > >> >>>>> on
> > >> >>>>>>> open
> > >> >>>>>>>>>>> source
> > >> >>>>>>>>>>>>>>>>>> contribution.
> > >> >>>>>>>>>>>>>>>>>>>>>  I've
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> recently
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> changed
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> jobs,
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> to
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> something
> > >> >>>> that's
> > >> >>>>>>> going
> > >> >>>>>>>> to
> > >> >>>>>>>>>>> help
> > >> >>>>>>>>>>>> me
> > >> >>>>>>>>>>>>>>> spend
> > >> >>>>>>>>>>>>>>>>>> some
> > >> >>>>>>>>>>>>>>>>>>>> more
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> time
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> with
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> the
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> open
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> source
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> community,
> > >> >>> and
> > >> >>>>>>> believe
> > >> >>>>>>>> I
> > >> >>>>>>>>>> can
> > >> >>>>>>>>>>>> pick
> > >> >>>>>>>>>>>>>> it
> > >> >>>>>>>>>>>>>>>> back
> > >> >>>>>>>>>>>>>>>>>> up
> > >> >>>>>>>>>>>>>>>>>>> if
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> we're
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ready.
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> If
> > >> >> everyone's
> > >> >>>> ok
> > >> >>>>>> with
> > >> >>>>>>>> it
> > >> >>>>>>>>> I
> > >> >>>>>>>>>>> can
> > >> >>>>>>>>>>>>>> start
> > >> >>>>>>>>>>>>>>> a
> > >> >>>>>>>>>>>>>>>>> new
> > >> >>>>>>>>>>>>>>>>>>>> thread
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> for
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 113
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> or
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> revive
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> the
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> old
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> thread
> > >> >>> (though
> > >> >>>> it
> > >> >>>>>> may
> > >> >>>>>>>>> come
> > >> >>>>>>>>>>>>> through
> > >> >>>>>>>>>>>>>>>> with a
> > >> >>>>>>>>>>>>>>>>>>> large
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> pile
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> of
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> dust).
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Regards,
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> John
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> View this
> > >> >>>> message
> > >> >>>>>> in
> > >> >>>>>>>>>> context:
> > >> >>
> > >>
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Sent from
> > >> >> the
> > >> >>>>>> Apache
> > >> >>>>>>>>>>> DeltaSpike
> > >> >>>>>>>>>>>>>>>> Incubator
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> Discussions
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> mailing
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> list
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> archive
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> at
> > >> >>> Nabble.com.
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Jason Porter
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>> http://en.gravatar.com/lightguardjp
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > >> >>>>>>>>>>>>>>>>>>>>>>>>>>
> > >>
> > >>
> > >
> >
>

Re: cdi-query, no news?

Posted by Thomas Hug <th...@ctp-consulting.com>.
Hi Romain
The current implementation [1] complies with the Confluence proposal at
[2]. Happy to take other suggestions - or move forward with an import.
Still to look at: any other Arquillian profiles than JBoss. I should be
able to spend some time next week.

[1] https://github.com/ctpconsulting/query/tree/dsimport
[2] https://cwiki.apache.org/confluence/display/DeltaSpike/Repository+Drafts


On Mon, May 13, 2013 at 10:56 AM, Romain Manni-Bucau
<rm...@gmail.com>wrote:

> Hi
>
> any news?
>
> would be great to include it ASAP IMO
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog: **http://rmannibucau.wordpress.com/*<
> http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
> 2013/4/3 Romain Manni-Bucau <rm...@gmail.com>
>
> > spring-data-jpa sucks ATM because of ambiguity of CDI 1.0 and is not
> > usable at all with JSF or any framework using serialization
> >
> > as a first imports the proposal seems fine and matches common needs IMO
> >
> > *Romain Manni-Bucau*
> > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > *Blog: **http://rmannibucau.wordpress.com/*<
> http://rmannibucau.wordpress.com/>
> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > *Github: https://github.com/rmannibucau*
> >
> >
> >
> > 2013/4/3 hantsy <ha...@yahoo.com.cn>
> >
> >> Most of the "Repository Drafts" api  is simillar with Spring Data JPA.
> >>
> >> But I know the Spring Data includs a CDI extension class, so it can be
> >> used in CDI directly?
> >>
> >> Hantsy
> >> On 4/3/2013 17:45, Thomas Hug wrote:
> >> > Sorry the delay, finally found some time to work on the Wiki proposal
> >> again:
> >> >
> >>
> https://cwiki.apache.org/confluence/display/DeltaSpike/Repository+Drafts
> >> >
> >> > On Wed, Mar 20, 2013 at 11:44 PM, Gerhard Petracek <
> >> > gerhard.petracek@gmail.com> wrote:
> >> >
> >> >> hi thomas,
> >> >>
> >> >> @ EntityManager:
> >> >>
> >> >> that's why i said:
> >> >>> imo it should follow the basic style/s we have in other parts
> already
> >> (if
> >> >> possible).
> >> >>
> >> >> -> in case of EMs with different qualifiers we could think e.g. about
> >> an
> >> >> approach similar to the one we have for the optional
> >> MessageContextConfig
> >> >> (instead of a method in AbstractEntityRepository which would be
> needed
> >> in
> >> >> EntityRepository to support cases without AbstractEntityRepository),
> if
> >> >> users can't or don't like to pass in the needed instance as method
> >> >> parameter (or inject it in the partial bean).
> >> >>
> >> >> @ saveAndFlush:
> >> >> yes - the reason for it is clear as well, however, it doesn't harm to
> >> add
> >> >> the missing combinations (which make sense).
> >> >>
> >> >> @ john:
> >> >> it isn't documented so far, but we have it already (as a first
> draft).
> >> >> however, we have to move it to an own module and use a different
> proxy
> >> lib
> >> >> (or commons proxy).
> >> >>
> >> >> regards,
> >> >> gerhard
> >> >>
> >> >>
> >> >>
> >> >> 2013/3/20 Romain Manni-Bucau <rm...@gmail.com>
> >> >>
> >> >>> IIRC what we have should be reworked ir dropped
> >> >>> Le 20 mars 2013 18:08, "John D. Ament" <jo...@gmail.com> a
> >> écrit
> >> >> :
> >> >>>> I don't believe we've implemented partial class support yet.
> >> >>>>
> >> >>>>
> >> >>>> On Wed, Mar 20, 2013 at 12:46 PM, Thomas Hug
> >> >>>> <th...@ctp-consulting.com>wrote:
> >> >>>>
> >> >>>>> @ #getEntityManager: Thnx for the correction - good news, AFAIR
> that
> >> >>>> wasn't
> >> >>>>> implemented in Solder. Injecting the EM is probably more natural,
> >> >> OTOH
> >> >>>> not
> >> >>>>> relying on injection seems more consistent with interface based
> >> >>>>> repositories. Moving the method to EntityRepository might be done
> >> >> with
> >> >>>>> regards to multiple EMs (overriding and annotating the method with
> >> >> the
> >> >>>>> qualifier(s)), but this solution has probably some confusing side
> >> >>> effects
> >> >>>>> with annotation inheritance on interfaces. Otherwise keeping it in
> >> >> the
> >> >>>>> class-based repository seems to me ok. Opinions, better
> suggestions?
> >> >>>> Looks
> >> >>>>> not yet optimal to me...
> >> >>>>>
> >> >>>>> @ saveAndFlush: Sorry now I get you - yes that's quite a common
> one,
> >> >>>> where
> >> >>>>> I've rarely seen other combined. My preferrence was providing the
> >> >>>> extension
> >> >>>>> mechanism for these not so common ones (e.g. save flush refresh
> etc)
> >> >>>>> instead of pushing everything into the base classes. But besides
> >> that
> >> >>>>> nothing speaking against it adding other combinations.
> >> >>>>>
> >> >>>>> @ flush with method expressions, those expressions are read-only
> so
> >> >>> far.
> >> >>>>> On Mon, Mar 18, 2013 at 6:45 PM, Romain Manni-Bucau
> >> >>>>> <rm...@gmail.com>wrote:
> >> >>>>>
> >> >>>>>> agree but in general you can need the (generated) id ->
> >> >> saveAndFlush
> >> >>>> but
> >> >>>>>> when you remove sthg you don't query it again. So i guess that's
> >> >>> just a
> >> >>>>>> common method added from the usage.
> >> >>>>>>
> >> >>>>>> Didn't check the impl but flush could be added to the "method
> name
> >> >>>> dsl",
> >> >>>>>> wdyt?
> >> >>>>>>
> >> >>>>>> *Romain Manni-Bucau*
> >> >>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> >> >>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> >> >>>>>> http://rmannibucau.wordpress.com/>
> >> >>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> >> >>>>>> *Github: https://github.com/rmannibucau*
> >> >>>>>>
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> 2013/3/18 Gerhard Petracek <ge...@gmail.com>
> >> >>>>>>
> >> >>>>>>> hi thomas,
> >> >>>>>>>
> >> >>>>>>> @ #getEntityManager:
> >> >>>>>>> injection works in such (partial-)beans (we have tests for it).
> >> >>>>>>>
> >> >>>>>>> @ #saveAndFlush:
> >> >>>>>>> it's clear what it does, but not why it's the only combined
> >> >>> operation
> >> >>>>>> (e.g.
> >> >>>>>>> there is no #removeAndFlush).
> >> >>>>>>>
> >> >>>>>>> regards,
> >> >>>>>>> gerhard
> >> >>>>>>>
> >> >>>>>>>
> >> >>>>>>>
> >> >>>>>>> 2013/3/18 Thomas Hug <th...@ctp-consulting.com>
> >> >>>>>>>
> >> >>>>>>>> Thnx for the remarks Gerhard!
> >> >>>>>>>>
> >> >>>>>>>> - @Query: Good point, looks more consistent to me too.
> >> >>>>>>>> - NonEntity was AFAIR introduced to make it more explicit that
> >> >>> the
> >> >>>>>> Entity
> >> >>>>>>>> class comes from somewhere else. I don't think we need it - if
> >> >>>> nobody
> >> >>>>>>>> prefers the explicit style then I'd favor removing it.
> >> >>>>>>>> - Not sure if I get the next point - the EntityManager comes
> >> >>> always
> >> >>>>>> from
> >> >>>>>>> a
> >> >>>>>>>> producer and is looked up in the Impl classes (and I guess
> >> >>>> injection
> >> >>>>>>> won't
> >> >>>>>>>> work in InvocationHandlerBinding beans anyway). The methods
> >> >> from
> >> >>>>>>>> EntityRepository and AbstractEntityRepository are not meant to
> >> >> be
> >> >>>>>>>> implemented by a client. There's only a getEntityManager() on
> >> >> the
> >> >>>>>>>> AbstractEntityRepository to be used by concrete query methods
> >> >>> which
> >> >>>>> you
> >> >>>>>>>> don't have with an interface-based repository.
> >> >>>>>>>>
> >> >>>>>>>> @Repository
> >> >>>>>>>> public interface PersonRepository extends EntityRepository
> >> >>> <Person,
> >> >>>>>>> Long> {
> >> >>>>>>>>      Person findBySsn(String ssn);
> >> >>>>>>>> }
> >> >>>>>>>>
> >> >>>>>>>> public abstract class PersonRepository extends
> >> >>>>>>>> AbstractEntityRepository<Person, Long> {
> >> >>>>>>>>     public List<Person> findByXY(X x, Y y) {
> >> >>>>>>>>         // some logic
> >> >>>>>>>>         return
> >> >>>> getEntityManager().createQuery(query).getResultList();
> >> >>>>>>>>     }
> >> >>>>>>>> }
> >> >>>>>>>>
> >> >>>>>>>> - saveAndFlush will simply call flush after persist/merge
> >> >> instead
> >> >>>> of
> >> >>>>>>>> waiting for it at the transaction commit. Can have impact on
> >> >>>>> following
> >> >>>>>>>> queries.
> >> >>>>>>>>
> >> >>>>>>>> Confluence updates to follow. Hope that helps...
> >> >>>>>>>>
> >> >>>>>>>> On Sun, Mar 17, 2013 at 3:12 PM, Gerhard Petracek <
> >> >>>>>>>> gerhard.petracek@gmail.com> wrote:
> >> >>>>>>>>
> >> >>>>>>>>> hi thomas,
> >> >>>>>>>>>
> >> >>>>>>>>> i would prefer e.g.
> >> >>>>>>>>> Query#value + Query#isNative (false as the default)
> >> >>>>>>>>> instead of
> >> >>>>>>>>> Query#value + Query#sql
> >> >>>>>>>>>
> >> >>>>>>>>> and it would be great to get additional information about the
> >> >>>> need
> >> >>>>>> of:
> >> >>>>>>>>>  - NonEntity (as the default)
> >> >>>>>>>>>  - AbstractEntityRepository
> >> >>>>>>>>>    (e.g. you can pass in the EntityManager as parameter or
> >> >>> inject
> >> >>>>> it.
> >> >>>>>>>>>     you would need it e.g. for EntityRepository#save,... -
> >> >> but
> >> >>> in
> >> >>>>>>>>> EntityRepository it isn't part of the contract...)
> >> >>>>>>>>>  - (EntityRepository#saveAndFlush as the only combined
> >> >>> operation)
> >> >>>>>>>>> regards,
> >> >>>>>>>>> gerhard
> >> >>>>>>>>>
> >> >>>>>>>>>
> >> >>>>>>>>>
> >> >>>>>>>>> 2013/3/14 Thomas Hug <th...@ctp-consulting.com>
> >> >>>>>>>>>
> >> >>>>>>>>>> Thnx for the pointers. Started to outline the APIs here [1]
> >> >>>> with
> >> >>>>>>>> examples
> >> >>>>>>>>>> in decreasing priority.
> >> >>>>>>>>>>
> >> >>>>>>>>>> [1]
> >> >>>>>>>>>>
> >> >>
> >>
> https://cwiki.apache.org/confluence/display/DeltaSpike/Repository+Drafts
> >> >>>>>>>>>> On Thu, Mar 14, 2013 at 10:05 AM, Gerhard Petracek <
> >> >>>>>>>>>> gerhard.petracek@gmail.com> wrote:
> >> >>>>>>>>>>
> >> >>>>>>>>>>> +1
> >> >>>>>>>>>>>
> >> >>>>>>>>>>> regards,
> >> >>>>>>>>>>> gerhard
> >> >>>>>>>>>>>
> >> >>>>>>>>>>>
> >> >>>>>>>>>>>
> >> >>>>>>>>>>> 2013/3/14 Romain Manni-Bucau <rm...@gmail.com>
> >> >>>>>>>>>>>
> >> >>>>>>>>>>>> ok great,
> >> >>>>>>>>>>>>
> >> >>>>>>>>>>>> wonder if we couldn't start by a first version without
> >> >>> such
> >> >>>>>>>>>>> extensibility +
> >> >>>>>>>>>>>> no scopes for queries?
> >> >>>>>>>>>>>>
> >> >>>>>>>>>>>> *Romain Manni-Bucau*
> >> >>>>>>>>>>>> *Twitter: @rmannibucau <
> >> >> https://twitter.com/rmannibucau
> >> >>>> *
> >> >>>>>>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> >> >>>>>>>>>>>> http://rmannibucau.wordpress.com/>
> >> >>>>>>>>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> >> >>>>>>>>>>>> *Github: https://github.com/rmannibucau*
> >> >>>>>>>>>>>>
> >> >>>>>>>>>>>>
> >> >>>>>>>>>>>>
> >> >>>>>>>>>>>> 2013/3/14 Gerhard Petracek <gerhard.petracek@gmail.com
> >> >>>>>>>>>>>>> hi romain,
> >> >>>>>>>>>>>>>
> >> >>>>>>>>>>>>> no - it's more about the style we introduced e.g. for
> >> >>>>>> type-safe
> >> >>>>>>>>>>> messages.
> >> >>>>>>>>>>>>> regards,
> >> >>>>>>>>>>>>> gerhard
> >> >>>>>>>>>>>>>
> >> >>>>>>>>>>>>>
> >> >>>>>>>>>>>>> 2013/3/14 Romain Manni-Bucau <rm...@gmail.com>
> >> >>>>>>>>>>>>>
> >> >>>>>>>>>>>>>> @Gerhard: hope you don't think of @RepoBinding at
> >> >>>>>> all...would
> >> >>>>>>>> be
> >> >>>>>>>>>> too
> >> >>>>>>>>>>>> much
> >> >>>>>>>>>>>>>> IMO. Would be great to support aliases/stereotype
> >> >>> maybe
> >> >>>>> but
> >> >>>>>>> not
> >> >>>>>>>>> the
> >> >>>>>>>>>>>>> default
> >> >>>>>>>>>>>>>> Wdyt?
> >> >>>>>>>>>>>>>> Le 14 mars 2013 00:11, "Gerhard Petracek" <
> >> >>>>>>>>>>> gerhard.petracek@gmail.com>
> >> >>>>>>>>>>>> a
> >> >>>>>>>>>>>>>> écrit :
> >> >>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>> hi thomas,
> >> >>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>> imo it should follow the basic style/s we have in
> >> >>>> other
> >> >>>>>>> parts
> >> >>>>>>>>>>> already
> >> >>>>>>>>>>>>> (if
> >> >>>>>>>>>>>>>>> possible).
> >> >>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>> i guess the simple implementations in the
> >> >>> test-module
> >> >>>>> are
> >> >>>>>>> too
> >> >>>>>>>>>>> simple
> >> >>>>>>>>>>>> to
> >> >>>>>>>>>>>>>> see
> >> >>>>>>>>>>>>>>> the real benefit.
> >> >>>>>>>>>>>>>>> -> it would be nice if you add some drafts to a
> >> >>>>> sub-page
> >> >>>>>> of
> >> >>>>>>>>> [1].
> >> >>>>>>>>>>>>>>> (the usage you would prefer and not as it is
> >> >> right
> >> >>>>> now.)
> >> >>>>>>>>>>>>>>> regards,
> >> >>>>>>>>>>>>>>> gerhard
> >> >>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>> [1]
> >> >>> https://cwiki.apache.org/confluence/display/DeltaSpike/Drafts
> >> >>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>> 2013/3/13 Romain Manni-Bucau <
> >> >>> rmannibucau@gmail.com>
> >> >>>>>>>>>>>>>>>> i'd put it in to start since that's useful for
> >> >>> JPA
> >> >>>>> but
> >> >>>>>> it
> >> >>>>>>>>>>> shouldn't
> >> >>>>>>>>>>>>> use
> >> >>>>>>>>>>>>>>> it
> >> >>>>>>>>>>>>>>>> at all
> >> >>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>> a question (for next iteration if that's ok for
> >> >>>>>>> everybody)
> >> >>>>>>>> is
> >> >>>>>>>>>>>> should
> >> >>>>>>>>>>>>>>> repos
> >> >>>>>>>>>>>>>>>> handle transaction or at least define it.
> >> >>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>> *Romain Manni-Bucau*
> >> >>>>>>>>>>>>>>>> *Twitter: @rmannibucau <
> >> >>>>>> https://twitter.com/rmannibucau
> >> >>>>>>>> *
> >> >>>>>>>>>>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> >> >>>>>>>>>>>>>>>> http://rmannibucau.wordpress.com/>
> >> >>>>>>>>>>>>>>>> *LinkedIn: **
> >> >>>> http://fr.linkedin.com/in/rmannibucau*
> >> >>>>>>>>>>>>>>>> *Github: https://github.com/rmannibucau*
> >> >>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>> 2013/3/13 John D. Ament <
> >> >> john.d.ament@gmail.com>
> >> >>>>>>>>>>>>>>>>> Does this have any direct/indirect
> >> >> dependencies
> >> >>>> on
> >> >>>>>> JPA
> >> >>>>>>>>>> module?
> >> >>>>>>>>>>>>> Should
> >> >>>>>>>>>>>>>>>> this
> >> >>>>>>>>>>>>>>>>> maybe become a part of the JPA module?
> >> >>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>> On Wed, Mar 13, 2013 at 7:23 AM, Thomas Hug
> >> >>>>>>>>>>>>>>>>> <th...@ctp-consulting.com>wrote:
> >> >>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>> Ok, I guess it's going to be Repository :)
> >> >>>>> Updated
> >> >>>>>>> the
> >> >>>>>>>>>>> proposal
> >> >>>>>>>>>>>>>>> branch
> >> >>>>>>>>>>>>>>>>> and
> >> >>>>>>>>>>>>>>>>>> also moved things into a data
> >> >> package/module.
> >> >>>>>>>>>>>>>>>>>> Some remarks for the parts below:
> >> >>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>> 1) EntityManagerRepository wasn't present
> >> >> in
> >> >>>> the
> >> >>>>>>> Solder
> >> >>>>>>>>>>>>>>> implementation
> >> >>>>>>>>>>>>>>>> -
> >> >>>>>>>>>>>>>>>>>> there it was possible to simply
> >> >>>> implement/extend
> >> >>>>>>>>>>> EntityManager.
> >> >>>>>>>>>>>>> The
> >> >>>>>>>>>>>>>>>>> problem
> >> >>>>>>>>>>>>>>>>>> with the invocation handler is that it's
> >> >> not
> >> >>>>>> possible
> >> >>>>>>>> to
> >> >>>>>>>>>>>> restrict
> >> >>>>>>>>>>>>>> the
> >> >>>>>>>>>>>>>>>>> bean
> >> >>>>>>>>>>>>>>>>>> type and exclude EntityManager (or I missed
> >> >>>> it).
> >> >>>>>>>>> Otherwise
> >> >>>>>>>>>>> I'd
> >> >>>>>>>>>>>>>> rather
> >> >>>>>>>>>>>>>>>> get
> >> >>>>>>>>>>>>>>>>>> rid of this interface.
> >> >>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>> 2) WithEntityManager is definitely
> >> >>> discussable.
> >> >>>>> Not
> >> >>>>>>> the
> >> >>>>>>>>>> full
> >> >>>>>>>>>>>>>> solution
> >> >>>>>>>>>>>>>>>> and
> >> >>>>>>>>>>>>>>>>>> not consistent. Could be solved with e.g.
> >> >>>> putting
> >> >>>>>>>>>> qualifiers
> >> >>>>>>>>>>>> on a
> >> >>>>>>>>>>>>>>>> method
> >> >>>>>>>>>>>>>>>>>> returning an EntityManager (less intuitive)
> >> >>> or
> >> >>>>>>>> something
> >> >>>>>>>>>> like
> >> >>>>>>>>>>>> the
> >> >>>>>>>>>>>>>>>>>> InvocationHandlerBinding.
> >> >>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>> 3) AbstractEntityRepository is just a
> >> >>>> convenience
> >> >>>>>>> class
> >> >>>>>>>>> for
> >> >>>>>>>>>>>>>> providing
> >> >>>>>>>>>>>>>>>>>> concrete query implementations.
> >> >>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>> On Tue, Mar 12, 2013 at 9:40 PM, Gerhard
> >> >>>>> Petracek <
> >> >>>>>>>>>>>>>>>>>> gerhard.petracek@gmail.com> wrote:
> >> >>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>> hi,
> >> >>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>> currently we don't have one jira ticket
> >> >> per
> >> >>>>>>>>> part/feature.
> >> >>>>>>>>>>>>>>>>>>> that's what we used to have for
> >> >> everything
> >> >>> we
> >> >>>>>>>> imported.
> >> >>>>>>>>>>>>>>>>>>> the first parts to discuss are imo
> >> >>>>>>> EntityManagerDao,
> >> >>>>>>>>>>>>>>>> WithEntityManager
> >> >>>>>>>>>>>>>>>>>> and
> >> >>>>>>>>>>>>>>>>>>> AbstractEntityDao.
> >> >>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>> regards,
> >> >>>>>>>>>>>>>>>>>>> gerhard
> >> >>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>> 2013/3/12 Arne Limburg <
> >> >>>>>>>> arne.limburg@openknowledge.de>
> >> >>>>>>>>>>>>>>>>>>>> +1 for repository, from me too
> >> >>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>> Gesendet mit meinem HTC
> >> >>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>> ----- Reply message -----
> >> >>>>>>>>>>>>>>>>>>>> Von: "Thomas Andraschko" <
> >> >>>>>>>>> andraschko.thomas@gmail.com>
> >> >>>>>>>>>>>>>>>>>>>> An: "
> >> >> deltaspike-dev@incubator.apache.org
> >> >>> "
> >> >>>> <
> >> >>>>>>>>>>>>>>>>>>>> deltaspike-dev@incubator.apache.org>
> >> >>>>>>>>>>>>>>>>>>>> Betreff: cdi-query, no news?
> >> >>>>>>>>>>>>>>>>>>>> Datum: Di., Mär. 12, 2013 20:38
> >> >>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>> +1 repository! :) "Query" doesn't
> >> >> really
> >> >>>>> match
> >> >>>>>>> the
> >> >>>>>>>>>>>>> functionaly.
> >> >>>>>>>>>>>>>>>>>>>> 2013/3/12 Romain Manni-Bucau <
> >> >>>>>>>> rmannibucau@gmail.com>
> >> >>>>>>>>>>>>>>>>>>>>> +2 for repo
> >> >>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>> btw did you fixed the scope issue?
> >> >>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>> *Romain Manni-Bucau*
> >> >>>>>>>>>>>>>>>>>>>>> *Twitter: @rmannibucau <
> >> >>>>>>>>>>> https://twitter.com/rmannibucau
> >> >>>>>>>>>>>>> *
> >> >>>>>>>>>>>>>>>>>>>>> *Blog: **
> >> >>>>> http://rmannibucau.wordpress.com/*<
> >> >>>>>>>>>>>>>>>>>>>>> http://rmannibucau.wordpress.com/>
> >> >>>>>>>>>>>>>>>>>>>>> *LinkedIn: **
> >> >>>>>>>>> http://fr.linkedin.com/in/rmannibucau*
> >> >>>>>>>>>>>>>>>>>>>>> *Github:
> >> >>> https://github.com/rmannibucau*
> >> >>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>> 2013/3/12 Thomas Hug <
> >> >>>>>>>>> thomas.hug@ctp-consulting.com>
> >> >>>>>>>>>>>>>>>>>>>>>> The name is still freely choosable
> >> >> -
> >> >>>> data
> >> >>>>>>>> sounds
> >> >>>>>>>>>> fine
> >> >>>>>>>>>>>> to
> >> >>>>>>>>>>>>> me
> >> >>>>>>>>>>>>>>> if
> >> >>>>>>>>>>>>>>>>>> nobody
> >> >>>>>>>>>>>>>>>>>>>>> minds
> >> >>>>>>>>>>>>>>>>>>>>>> the obvious mirroring on Spring
> >> >> Data
> >> >>> ;)
> >> >>>>>>>> dao/@Dao
> >> >>>>>>>>> is
> >> >>>>>>>>>>>>>>>> discussable,
> >> >>>>>>>>>>>>>>>>>> all
> >> >>>>>>>>>>>>>>>>>>>> the
> >> >>>>>>>>>>>>>>>>>>>>>> domain driven folks prefer probably
> >> >>>>>> something
> >> >>>>>>>>> like
> >> >>>>>>>>>>>>>>>> "Repository".
> >> >>>>>>>>>>>>>>>>>>>>>> On Tue, Mar 12, 2013 at 7:29 PM,
> >> >>> Romain
> >> >>>>>>>>> Manni-Bucau
> >> >>>>>>>>>>>>>>>>>>>>>> <rm...@gmail.com>wrote:
> >> >>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>> Great :)
> >> >>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>> any issue changing "query" to
> >> >>>> something
> >> >>>>>>>> closer
> >> >>>>>>>>> to
> >> >>>>>>>>>>>> what
> >> >>>>>>>>>>>>> it
> >> >>>>>>>>>>>>>>>>> really
> >> >>>>>>>>>>>>>>>>>>>> does ;
> >> >>>>>>>>>>>>>>>>>>>>>>> "dao" (because of @Dao) or
> >> >> "data"?
> >> >>>>>>>>>>>>>>>>>>>>>>> *Romain Manni-Bucau*
> >> >>>>>>>>>>>>>>>>>>>>>>> *Twitter: @rmannibucau <
> >> >>>>>>>>>>>>> https://twitter.com/rmannibucau
> >> >>>>>>>>>>>>>>> *
> >> >>>>>>>>>>>>>>>>>>>>>>> *Blog: **
> >> >>>>>>> http://rmannibucau.wordpress.com/*<
> >> >> http://rmannibucau.wordpress.com/>
> >> >>>>>>>>>>>>>>>>>>>>>>> *LinkedIn: **
> >> >>>>>>>>>>> http://fr.linkedin.com/in/rmannibucau*
> >> >>>>>>>>>>>>>>>>>>>>>>> *Github:
> >> >>>>> https://gihub.com/rmannibucau*<
> >> >>>>>>>>>>>>>>>>>>>>> https://github.com/rmannibucau*
> >> >>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>> 2013/3/12 Thomas Hug <
> >> >>>>>>>>>>> thomas.hug@ctp-consulting.com>
> >> >>>>>>>>>>>>>>>>>>>>>>>> FYI, I've started something
> >> >> like
> >> >>> an
> >> >>>>>>> import
> >> >>>>>>>>>>> proposal
> >> >>>>>>>>>>>>> in
> >> >>>>>>>>>>>>>> a
> >> >>>>>>>>>>>>>>>>>>> dedicated
> >> >>>>>>>>>>>>>>>>>>>>>> branch
> >> >>>>>>>>>>>>>>>>>>>>>>>> [1]. There's currently only the
> >> >>>> JBoss
> >> >>>>>>>>>> Arquillian
> >> >>>>>>>>>>>>>> profile
> >> >>>>>>>>>>>>>>>>>> running,
> >> >>>>>>>>>>>>>>>>>>>>>> haven't
> >> >>>>>>>>>>>>>>>>>>>>>>>> looked at the others. Any
> >> >> support
> >> >>>>> there
> >> >>>>>>> and
> >> >>>>>>>>> of
> >> >>>>>>>>>>>> course
> >> >>>>>>>>>>>>>>> other
> >> >>>>>>>>>>>>>>>>>>> input's
> >> >>>>>>>>>>>>>>>>>>>>>> very
> >> >>>>>>>>>>>>>>>>>>>>>>>> welcome :)
> >> >>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>> [1]
> >> >> https://github.com/ctpconsulting/query/tree/dsimport
> >> >>>>>>>>>>>>>>>>>>>>>>>> On Tue, Mar 5, 2013 at 7:45 AM,
> >> >>>>> Romain
> >> >>>>>>>>>>> Manni-Bucau
> >> >>>>>>>>>>>> <
> >> >>>>>>>>>>>>>>>>>>>>>>> rmannibucau@gmail.com
> >> >>>>>>>>>>>>>>>>>>>>>>>>> wrote:
> >> >>>>>>>>>>>>>>>>>>>>>>>>> Yes
> >> >>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>> It works fine but you bring
> >> >> too
> >> >>>>> much
> >> >>>>>>>> spring
> >> >>>>>>>>>>>>>>> dependencies
> >> >>>>>>>>>>>>>>>>>>> (totally
> >> >>>>>>>>>>>>>>>>>>>>>>> useless
> >> >>>>>>>>>>>>>>>>>>>>>>>>> when used this way) which
> >> >>> clearly
> >> >>>>>> show
> >> >>>>>>> it
> >> >>>>>>>>> is
> >> >>>>>>>>>>>>> rather a
> >> >>>>>>>>>>>>>>>>> bridge
> >> >>>>>>>>>>>>>>>>>>>> than a
> >> >>>>>>>>>>>>>>>>>>>>>>>>> solution + there were some
> >> >>> leaks
> >> >>>> in
> >> >>>>>>>>> previous
> >> >>>>>>>>>>>>> version
> >> >>>>>>>>>>>>>>>> (didnt
> >> >>>>>>>>>>>>>>>>>>> check
> >> >>>>>>>>>>>>>>>>>>>>> fix
> >> >>>>>>>>>>>>>>>>>>>>>>> was
> >> >>>>>>>>>>>>>>>>>>>>>>>>> released to be honest)
> >> >> because
> >> >>> if
> >> >>>>>> this
> >> >>>>>>>>> usage
> >> >>>>>>>>>>>> which
> >> >>>>>>>>>>>>>> was
> >> >>>>>>>>>>>>>>>> not
> >> >>>>>>>>>>>>>>>>>> the
> >> >>>>>>>>>>>>>>>>>>>>>> default
> >> >>>>>>>>>>>>>>>>>>>>>>>> one.
> >> >>>>>>>>>>>>>>>>>>>>>>>>> Since cdi query is here it
> >> >>> worths
> >> >>>>>>>> importing
> >> >>>>>>>>>> it
> >> >>>>>>>>>>>> IMO
> >> >>>>>>>>>>>>>>>>>>>>>>>>> Le 5 mars 2013 02:21,
> >> >> "hantsy"
> >> >>> <
> >> >>>>>>>>>>>>> hantsy@yahoo.com.cn>
> >> >>>>>>>>>>>>>> a
> >> >>>>>>>>>>>>>>>>>> écrit :
> >> >>>>>>>>>>>>>>>>>>>>>>>>>> I remember the Spring Data
> >> >>> has
> >> >>>> a
> >> >>>>>> CDI
> >> >>>>>>>>>>> extension,
> >> >>>>>>>>>>>>>> but I
> >> >>>>>>>>>>>>>>>>> have
> >> >>>>>>>>>>>>>>>>>>> not
> >> >>>>>>>>>>>>>>>>>>>>> used
> >> >>>>>>>>>>>>>>>>>>>>>>> it
> >> >>>>>>>>>>>>>>>>>>>>>>>>>> in projects. Is there
> >> >> anyone
> >> >>>> used
> >> >>>>>> it
> >> >>>>>>> in
> >> >>>>>>>>>> Java
> >> >>>>>>>>>>>> EE 6
> >> >>>>>>>>>>>>>>>>> projects?
> >> >>>>>>>>>>>>>>>>>>>>>>>>>> Hantsy
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>> On 3/3/2013 20:40, Romain
> >> >>>>>> Manni-Bucau
> >> >>>>>>>>>> wrote:
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>> Basically if the query
> >> >>> logic
> >> >>>>>> could
> >> >>>>>>> be
> >> >>>>>>>>>> scope
> >> >>>>>>>>>>>>>>> agnostic
> >> >>>>>>>>>>>>>>>> it
> >> >>>>>>>>>>>>>>>>>>> would
> >> >>>>>>>>>>>>>>>>>>>>> be
> >> >>>>>>>>>>>>>>>>>>>>>>>>> perfect
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>> for me. Parameters were
> >> >>> fine
> >> >>>>> and
> >> >>>>>>>>> matched
> >> >>>>>>>>>>> the
> >> >>>>>>>>>>>>>> coomon
> >> >>>>>>>>>>>>>>>>> need.
> >> >>>>>>>>>>>>>>>>>>> I m
> >> >>>>>>>>>>>>>>>>>>>>> not
> >> >>>>>>>>>>>>>>>>>>>>>>>> sure
> >> >>>>>>>>>>>>>>>>>>>>>>>>> i
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>> get what is blocking. Can
> >> >>> you
> >> >>>>>>> detail
> >> >>>>>>>>> it a
> >> >>>>>>>>>>> bit
> >> >>>>>>>>>>>>>>> please?
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>> Le 3 mars 2013 13:09,
> >> >>> "Thomas
> >> >>>>>> Hug"
> >> >>>>>>> <
> >> >>>>>>>>>>>>>>>>>>>>>> thomas.hug@ctp-consulting.com>
> >> >>>>>>>>>>>>>>>>>>>>>>> a
> >> >>>>>>>>>>>>>>>>>>>>>>>>>> écrit :
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> Aha got you. Yes
> >> >>>> QueryHandler
> >> >>>>>> can
> >> >>>>>>> be
> >> >>>>>>>>>> moved
> >> >>>>>>>>>>>> to
> >> >>>>>>>>>>>>>>>>>> application
> >> >>>>>>>>>>>>>>>>>>>>> scope.
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> The other request scoped
> >> >>>>>> component
> >> >>>>>>>> ist
> >> >>>>>>>>>> the
> >> >>>>>>>>>>>>>>>>>>>>>>>> CdiQueryInvocationContext.
> >> >>>>>>>>>>>>>>>>>>>>>>>>>> Here
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> we store a bunch of data
> >> >>>> which
> >> >>>>>> is
> >> >>>>>>>>>> related
> >> >>>>>>>>>>> to
> >> >>>>>>>>>>>>> the
> >> >>>>>>>>>>>>>>>>> current
> >> >>>>>>>>>>>>>>>>>>>> query
> >> >>>>>>>>>>>>>>>>>>>>>>>>>> (parameters,
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> query string etc).
> >> >>>> Originally
> >> >>>>>> this
> >> >>>>>>>> was
> >> >>>>>>>>>>>> passed
> >> >>>>>>>>>>>>> as
> >> >>>>>>>>>>>>>>>>>>> parameter,
> >> >>>>>>>>>>>>>>>>>>>>> but
> >> >>>>>>>>>>>>>>>>>>>>>>> got
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> injectable for the
> >> >>> extension
> >> >>>>>>>> mechanism
> >> >>>>>>>>>>> [1].
> >> >>>>>>>>>>>>>>>> Currently
> >> >>>>>>>>>>>>>>>>> on
> >> >>>>>>>>>>>>>>>>>>>>>> holidays
> >> >>>>>>>>>>>>>>>>>>>>>>>>> (sorry
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> the response delays) so
> >> >>> not
> >> >>>>> much
> >> >>>>>>>> time
> >> >>>>>>>>> to
> >> >>>>>>>>>>>> look
> >> >>>>>>>>>>>>>> into
> >> >>>>>>>>>>>>>>>> it
> >> >>>>>>>>>>>>>>>>>> but
> >> >>>>>>>>>>>>>>>>>>>>> happy
> >> >>>>>>>>>>>>>>>>>>>>>> to
> >> >>>>>>>>>>>>>>>>>>>>>>>>> take
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> suggestions :)
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> [1]
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>
> >>
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> On Fri, Mar 1, 2013 at
> >> >>> 8:18
> >> >>>>> PM,
> >> >>>>>>>> Romain
> >> >>>>>>>>>>>>>>> Manni-Bucau <
> >> >>>>>>>>>>>>>>>>>>>>>>>>>> rmannibucau@gmail.com
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hmm,
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Wonder if the scope
> >> >>> couldnt
> >> >>>>> be
> >> >>>>>>>>>>> application
> >> >>>>>>>>>>>>> one.
> >> >>>>>>>>>>>>>>>>> Request
> >> >>>>>>>>>>>>>>>>>>>>> sounds
> >> >>>>>>>>>>>>>>>>>>>>>>> too
> >> >>>>>>>>>>>>>>>>>>>>>>>>> much
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> web
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> to be usable/generic
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Le 1 mars 2013 19:02,
> >> >>>> "Thomas
> >> >>>>>>> Hug"
> >> >>>>>>>> <
> >> >>>>>>>>>>>>>>>>>>>>>>> thomas.hug@ctp-consulting.com>
> >> >>>>>>>>>>>>>>>>>>>>>>>> a
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> écrit :
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Fine for me - planned
> >> >> to
> >> >>>>>> create
> >> >>>>>>> a
> >> >>>>>>>>>> branch
> >> >>>>>>>>>>>>> with
> >> >>>>>>>>>>>>>>> all
> >> >>>>>>>>>>>>>>>>> the
> >> >>>>>>>>>>>>>>>>>>>>>>> experimental
> >> >>>>>>>>>>>>>>>>>>>>>>>>>> APIs
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> cleared out as an
> >> >> import
> >> >>>>>>> proposal.
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> RE scope, the
> >> >>>>>> InvocationHandlers
> >> >>>>>>>> are
> >> >>>>>>>>>>>>> validated
> >> >>>>>>>>>>>>>>> to
> >> >>>>>>>>>>>>>>>> be
> >> >>>>>>>>>>>>>>>>>>>> normal
> >> >>>>>>>>>>>>>>>>>>>>>>> scoped
> >> >>>>>>>>>>>>>>>>>>>>>>>>>> [1],
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> so
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> that seemed to me the
> >> >>> most
> >> >>>>>>>>> appropriate
> >> >>>>>>>>>>>>> choice
> >> >>>>>>>>>>>>>> -
> >> >>>>>>>>>>>>>>>> any
> >> >>>>>>>>>>>>>>>>>>> other
> >> >>>>>>>>>>>>>>>>>>>>>>>>> suggestions?
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [1]
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>
> >>
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Wed, Feb 27, 2013
> >> >> at
> >> >>>> 1:15
> >> >>>>>> PM,
> >> >>>>>>>>>> Romain
> >> >>>>>>>>>>>>>>>> Manni-Bucau
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <
> >> >> rmannibucau@gmail.com
> >> >>>>>> wrote:
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi,
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> some news of it?
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> i think it is time to
> >> >>>>> import
> >> >>>>>> at
> >> >>>>>>>>>> least a
> >> >>>>>>>>>>>>> first
> >> >>>>>>>>>>>>>>>>>> version,
> >> >>>>>>>>>>>>>>>>>>>>> isn't
> >> >>>>>>>>>>>>>>>>>>>>>>> it?
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Just a note on
> >> >> current
> >> >>>>> code,
> >> >>>>>> i
> >> >>>>>>>> saw
> >> >>>>>>>>>>>>>> QueryHandler
> >> >>>>>>>>>>>>>>>>> (and
> >> >>>>>>>>>>>>>>>>>>> some
> >> >>>>>>>>>>>>>>>>>>>>>> other
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> beans)
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> has
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> a request scope.
> >> >> Wonder
> >> >>>> if
> >> >>>>>>> such a
> >> >>>>>>>>>> scope
> >> >>>>>>>>>>>>> means
> >> >>>>>>>>>>>>>>>>>> something
> >> >>>>>>>>>>>>>>>>>>>>> for a
> >> >>>>>>>>>>>>>>>>>>>>>>>>> generic
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> (not
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> web) lib.
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> wdyt?
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Romain Manni-Bucau*
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Twitter:
> >> >> @rmannibucau
> >> >>> <
> >> >>>>>>>>>>>>>>>>>>> https://twitter.com/rmannibucau
> >> >>>>>>>>>>>>>>>>>>>>> *
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Blog: **
> >> >>>>>>>>>>>>> http://rmannibucau.wordpress.com/*<
> >> >>>>>>>> http://rmannibucau.wordpress.com/>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *LinkedIn: **
> >> >>>>>>>>>>>>>>>>> http://fr.linkedin.com/in/rmannibucau*
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Github:
> >> >>>>>>>>>>> https://github.com/rmannibucau*
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2013/2/20 Romain
> >> >>>>> Manni-Bucau
> >> >>>>>> <
> >> >>>>>>>>>>>>>>>>> rmannibucau@gmail.com>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> guy you rocks!
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> effectively i missed
> >> >>> it
> >> >>>>>> when i
> >> >>>>>>>>>> looked.
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Romain Manni-Bucau*
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Twitter:
> >> >>> @rmannibucau <
> >> >>>>>>>>>>>>>>>>>>> https://twitter.com/rmannibucau
> >> >>>>>>>>>>>>>>>>>>>>> *
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Blog: **
> >> >>>>>>>>>>>>> http://rmannibucau.wordpress.com/*
> >> >>>>>>>>>>>>>> <
> >> >>>>>>>> http://rmannibucau.wordpress.com/>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *LinkedIn: **
> >> >>>>>>>>>>>>>>>>> http://fr.linkedin.com/in/rmannibucau*
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Github:
> >> >>>>>>>>>>>> https://github.com/rmannibucau*
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2013/2/20 Thomas
> >> >> Hug <
> >> >>>>>>>>>>>>>>>>> thomas.hug@ctp-consulting.com
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thnx Romain. If
> >> >> with
> >> >>>>> proxy
> >> >>>>>>>> stuff
> >> >>>>>>>>>> you
> >> >>>>>>>>>>>>> refer
> >> >>>>>>>>>>>>>> to
> >> >>>>>>>>>>>>>>>> the
> >> >>>>>>>>>>>>>>>>>> DS
> >> >>>> InvocationHandlerBinding,
> >> >>>>>>>> that's
> >> >>>>>>>>>>>> already
> >> >>>>>>>>>>>>>>>>> integrated
> >> >>>>>>>>>>>>>>>>>>> :)
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> RE pagination, it's
> >> >>>> maybe
> >> >>>>>> not
> >> >>>>>>>>> that
> >> >>>>>>>>>>>>> obvious,
> >> >>>>>>>>>>>>>>> but
> >> >>>>>>>>>>>>>>>>>>> there's
> >> >>>>>>>>>>>>>>>>>>>>>> more
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> advanced
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> support in
> >> >>> QueryResult
> >> >>>>>>> [1][2],
> >> >>>>>>>>>> which
> >> >>>>>>>>>>> is
> >> >>>>>>>>>>>>>> more
> >> >>>>>>>>>>>>>>>> of a
> >> >>>>>>>>>>>>>>>>>>>> fluent
> >> >>>>>>>>>>>>>>>>>>>>>> API
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> approach,
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> but
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> should behave
> >> >> similar
> >> >>>> to
> >> >>>>> a
> >> >>>>>>>>>>> PageRequest
> >> >>>>>>>>>>>>> (the
> >> >>>>>>>>>>>>>>>> query
> >> >>>>>>>>>>>>>>>>>>>>> execution
> >> >>>>>>>>>>>>>>>>>>>>>>> is
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> delayed
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> until the
> >> >> getResult()
> >> >>>>>> methods
> >> >>>>>>>> on
> >> >>>>>>>>>>>>>> QueryResult
> >> >>>>>>>>>>>>>>> is
> >> >>>>>>>>>>>>>>>>>>>> called).
> >> >>>>>>>>>>>>>>>>>>>>>> Hope
> >> >>>>>>>>>>>>>>>>>>>>>>>>> that
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> fits
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> to
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> what you had in
> >> >> mind.
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [1]
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>
> >>
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [2]
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>
> >>
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Wed, Feb 20,
> >> >> 2013
> >> >>> at
> >> >>>>>> 10:04
> >> >>>>>>>> PM,
> >> >>>>>>>>>>>> Romain
> >> >>>>>>>>>>>>>>>>>> Manni-Bucau
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <
> >> >>> rmannibucau@gmail.com
> >> >>>>>>>> wrote:
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Thomas,
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> importing proxy
> >> >>> stuff
> >> >>>>>> would
> >> >>>>>>> be
> >> >>>>>>>>> the
> >> >>>>>>>>>>>> first
> >> >>>>>>>>>>>>>>> great
> >> >>>>>>>>>>>>>>>>>>> stuff.
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> i'd like to see
> >> >> some
> >> >>>>>>>> pagination
> >> >>>>>>>>>> API
> >> >>>>>>>>>>>>> (like
> >> >>>>>>>>>>>>>>>>>>> PageRequest
> >> >>>>>>>>>>>>>>>>>>>>> etc
> >> >>>>>>>>>>>>>>>>>>>>>> in
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> spring
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> world)
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> which are more
> >> >> user
> >> >>>>>> friendly
> >> >>>>>>>>> that
> >> >>>>>>>>>>>>>>> @FirstResult
> >> >>>>>>>>>>>>>>>>> and
> >> >>>>>>>>>>>>>>>>>>>>>>>> @MaxResult).
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> wdyt?
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Romain
> >> >> Manni-Bucau*
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Twitter:
> >> >>>> @rmannibucau <
> >> >>>>>>>>>>>>>>>>>>>> https://twitter.com/rmannibucau
> >> >>>>>>>>>>>>>>>>>>>>>> *
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Blog: **
> >> >>>>>>>>>>>>>> http://rmannibucau.wordpress.com/*
> >> >>>>>>>>>>>>>>> <
> >> >>>>>>>>> http://rmannibucau.wordpress.com/
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *LinkedIn: **
> >> >>>>>>>>>>>>>>>>>> http://fr.linkedin.com/in/rmannibucau*
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Github:
> >> >>>>>>>>>>>>> https://github.com/rmannibucau*
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2013/2/20 Thomas
> >> >>> Hug <
> >> >>>>>>>>>>>>>>>>>> thomas.hug@ctp-consulting.com
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CDI Query has
> >> >> now a
> >> >>>>>>>> completely
> >> >>>>>>>>>>>>>> Solder-free
> >> >>>>>>>>>>>>>>>> POM.
> >> >>>>>>>>>>>>>>>>>>> Feel
> >> >>>>>>>>>>>>>>>>>>>>> free
> >> >>>>>>>>>>>>>>>>>>>>>>> to
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> drop
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> comments
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> on the API - some
> >> >>>> parts
> >> >>>>>>> might
> >> >>>>>>>>>>>> actually
> >> >>>>>>>>>>>>> be
> >> >>>>>>>>>>>>>>>> fully
> >> >>>>>>>>>>>>>>>>>>>>> excluded
> >> >>>>>>>>>>>>>>>>>>>>>>>> (e.g.
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> home
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> and
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> critera APIs).
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Tue, Feb 12,
> >> >>> 2013
> >> >>>> at
> >> >>>>>>> 10:00
> >> >>>>>>>>> PM,
> >> >>>>>>>>>>>> Mark
> >> >>>>>>>>>>>>>>>>> Struberg <
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> struberg@yahoo.de>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks Thomas,
> >> >>> great
> >> >>>>>> news!
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> LieGrue,
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> strub
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>> ________________________________
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> From: Thomas
> >> >> Hug
> >> >>> <
> >> >>>>>>>>>>>>>>>>>> thomas.hug@ctp-consulting.com>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> To: "
> >> >>>>>>>>>>>>>> deltaspike-dev@incubator.apache.org
> >> >>>>>>>>>>>>>>> "
> >> >>>>>>>>>>>>>>>> <
> >> >>>>>>>>>>> deltaspike-dev@incubator.apache.org
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Sent: Tuesday,
> >> >>>>> February
> >> >>>>>>> 12,
> >> >>>>>>>>>> 2013
> >> >>>>>>>>>>>> 4:10
> >> >>>>>>>>>>>>>> PM
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Subject: Re:
> >> >>>>> cdi-query,
> >> >>>>>>> no
> >> >>>>>>>>>> news?
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> FYI, I've
> >> >> started
> >> >>>> to
> >> >>>>>>>>>>> "de-solderize"
> >> >>>>>>>>>>>>> CDI
> >> >>>>>>>>>>>>>>>> Query
> >> >>>>>>>>>>>>>>>>>> and
> >> >>>>>>>>>>>>>>>>>>>>> move
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> things
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> to
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> depend
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> on
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> DS Core [1]:
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>> https://github.com/ctpconsulting/query/tree/deltaspike
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Todos:
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [x] Replace
> >> >>>>>>> ServiceHandler
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [_] Include
> >> >>>> Property
> >> >>>>>>> utils
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [_] Replace
> >> >> JBoss
> >> >>>>>> Logging
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Any feedback
> >> >>>> welcome.
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [1] including
> >> >>> this
> >> >>>>>>>>> modification
> >> >>
> >>
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Feb 11,
> >> >>>> 2013
> >> >>>>> at
> >> >>>>>>>> 6:01
> >> >>>>>>>>>> PM,
> >> >>>>>>>>>>>>> Romain
> >> >>>>>>>>>>>>>>>>>>> Manni-Bucau
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <
> >> >>>>> rmannibucau@gmail.com
> >> >>>>>>>>>> wrote:
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> a review of
> >> >> the
> >> >>>> API
> >> >>>>> i
> >> >>>>>>>> guess
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> what is
> >> >> missing
> >> >>>>> today
> >> >>>>>> is
> >> >>>>>>>>>>> probably
> >> >>>>>>>>>>>>> the
> >> >>>>>>>>>>>>>>>>>> pagination
> >> >>>>>>>>>>>>>>>>>>>>>> helpers
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> (PageRequest
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> for
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> instance)
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> but
> >> >> technically
> >> >>>> all
> >> >>>>> is
> >> >>>>>>>> fine
> >> >>>>>>>>>> IMO
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Romain
> >> >>>> Manni-Bucau*
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Twitter:
> >> >>>>>> @rmannibucau <
> >> >>>>>>>>>>>>>>>>>>>>>> https://twitter.com/rmannibucau
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> *
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Blog: **
> >> >>>>>>>>>>>>>>>> http://rmannibucau.wordpress.com/*
> >> >>>>>>>>>>>>>>>>> <
> >> >>>>>>>>>>> http://rmannibucau.wordpress.com/
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *LinkedIn: **
> >> >>>>>>>>>>>>>>>>>>>> http://fr.linkedin.com/in/rmannibucau*
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Github:
> >> >>>>>>>>>>>>>>> https://github.com/rmannibucau*
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2013/2/11
> >> >> Jason
> >> >>>>>> Porter <
> >> >>>>>>>>>>>>>>>>>> lightguard.jp@gmail.com
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I know I'm
> >> >>>> playing
> >> >>>>>> the
> >> >>>>>>>>>>>> necromancer,
> >> >>>>>>>>>>>>>> but
> >> >>>>>>>>>>>>>>>>>> please
> >> >>>>>>>>>>>>>>>>>>>>>> forgive
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> me.
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> We
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> have
> >> >>>> InvocationHandler,
> >> >>>>>>> which
> >> >>>>>>>>>> looks
> >> >>>>>>>>>>>> like
> >> >>>>>>>>>>>>>> it
> >> >>>>>>>>>>>>>>>>> would
> >> >>>>>>>>>>>>>>>>>>> work
> >> >>>>>>>>>>>>>>>>>>>>> as
> >> >>>>>>>>>>>>>>>>>>>>>> a
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ServiceHandler
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> substitute.
> >> >>> What
> >> >>>>> else
> >> >>>>>>> is
> >> >>>>>>>>>> needed
> >> >>>>>>>>>>>> to
> >> >>>>>>>>>>>>>> get
> >> >>>>>>>>>>>>>>>> CDI
> >> >>>>>>>>>>>>>>>>>>> Query
> >> >>>>>>>>>>>>>>>>>>>>> into
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> DeltaSpike?
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Sun, Nov
> >> >> 18,
> >> >>>>> 2012
> >> >>>>>> at
> >> >>>>>>>>> 12:35
> >> >>>>>>>>>>> PM,
> >> >>>>>>>>>>>>>>> Romain
> >> >>>>>>>>>>>>>>>>>>>>> Manni-Bucau
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <
> >> >>>>>> rmannibucau@gmail.com
> >> >>>>>>>>>>> wrote:
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +1, it is a
> >> >>> must
> >> >>>>>> have
> >> >>>>>>>> for
> >> >>>>>>>>>> cdi
> >> >>>>>>>>>>>>> world
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Le 18 nov.
> >> >>> 2012
> >> >>>>>> 20:04,
> >> >>>>>>>>>>>>>> "john.d.ament"
> >> >>>>>>>>>>>>>>> <
> >> >>> john.d.ament@gmail.com
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> a
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> écrit :
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> RE
> >> >>>> ServiceHandler
> >> >>>>>> - I
> >> >>>>>>>> was
> >> >>>>>>>>>> one
> >> >>>>>>>>>>>> of
> >> >>>>>>>>>>>>>>> those
> >> >>>>>>>>>>>>>>>>> who
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> previously
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> suggested
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> bringing
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> it
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> over to
> >> >>>>> DeltaSpike,
> >> >>>>>>> you
> >> >>>>>>>>> can
> >> >>>>>>>>>>> see
> >> >>>>>>>>>>>>>>>>>>> DELTASPIKE-113
> >> >>>>>>>>>>>>>>>>>>>>> and
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> find
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> the
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> thread
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> about
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> it
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> from April
> >> >> of
> >> >>>>> this
> >> >>>>>>>> year.
> >> >>>>>>>>>>  At
> >> >>>>>>>>>>>> the
> >> >>>>>>>>>>>>>>> time,
> >> >>>>>>>>>>>>>>>> I
> >> >>>>>>>>>>>>>>>>>> was
> >> >>>>>>>>>>>>>>>>>>>> in a
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> position
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> where I
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> couldn't
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> spend much
> >> >>> time
> >> >>>>> on
> >> >>>>>>> open
> >> >>>>>>>>>>> source
> >> >>>>>>>>>>>>>>>>>> contribution.
> >> >>>>>>>>>>>>>>>>>>>>>  I've
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> recently
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> changed
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> jobs,
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> to
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> something
> >> >>>> that's
> >> >>>>>>> going
> >> >>>>>>>> to
> >> >>>>>>>>>>> help
> >> >>>>>>>>>>>> me
> >> >>>>>>>>>>>>>>> spend
> >> >>>>>>>>>>>>>>>>>> some
> >> >>>>>>>>>>>>>>>>>>>> more
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> time
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> with
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> the
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> open
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> source
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> community,
> >> >>> and
> >> >>>>>>> believe
> >> >>>>>>>> I
> >> >>>>>>>>>> can
> >> >>>>>>>>>>>> pick
> >> >>>>>>>>>>>>>> it
> >> >>>>>>>>>>>>>>>> back
> >> >>>>>>>>>>>>>>>>>> up
> >> >>>>>>>>>>>>>>>>>>> if
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> we're
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ready.
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> If
> >> >> everyone's
> >> >>>> ok
> >> >>>>>> with
> >> >>>>>>>> it
> >> >>>>>>>>> I
> >> >>>>>>>>>>> can
> >> >>>>>>>>>>>>>> start
> >> >>>>>>>>>>>>>>> a
> >> >>>>>>>>>>>>>>>>> new
> >> >>>>>>>>>>>>>>>>>>>> thread
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> for
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 113
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> or
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> revive
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> the
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> old
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> thread
> >> >>> (though
> >> >>>> it
> >> >>>>>> may
> >> >>>>>>>>> come
> >> >>>>>>>>>>>>> through
> >> >>>>>>>>>>>>>>>> with a
> >> >>>>>>>>>>>>>>>>>>> large
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> pile
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> of
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> dust).
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Regards,
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> John
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> View this
> >> >>>> message
> >> >>>>>> in
> >> >>>>>>>>>> context:
> >> >>
> >>
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Sent from
> >> >> the
> >> >>>>>> Apache
> >> >>>>>>>>>>> DeltaSpike
> >> >>>>>>>>>>>>>>>> Incubator
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>> Discussions
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> mailing
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> list
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> archive
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> at
> >> >>> Nabble.com.
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Jason Porter
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>> http://en.gravatar.com/lightguardjp
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >> >>>>>>>>>>>>>>>>>>>>>>>>>>
> >>
> >>
> >
>

Re: cdi-query, no news?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
spring-data-jpa sucks ATM because of ambiguity of CDI 1.0 and is not usable
at all with JSF or any framework using serialization

as a first imports the proposal seems fine and matches common needs IMO

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/4/3 hantsy <ha...@yahoo.com.cn>

> Most of the "Repository Drafts" api  is simillar with Spring Data JPA.
>
> But I know the Spring Data includs a CDI extension class, so it can be
> used in CDI directly?
>
> Hantsy
> On 4/3/2013 17:45, Thomas Hug wrote:
> > Sorry the delay, finally found some time to work on the Wiki proposal
> again:
> > https://cwiki.apache.org/confluence/display/DeltaSpike/Repository+Drafts
> >
> > On Wed, Mar 20, 2013 at 11:44 PM, Gerhard Petracek <
> > gerhard.petracek@gmail.com> wrote:
> >
> >> hi thomas,
> >>
> >> @ EntityManager:
> >>
> >> that's why i said:
> >>> imo it should follow the basic style/s we have in other parts already
> (if
> >> possible).
> >>
> >> -> in case of EMs with different qualifiers we could think e.g. about an
> >> approach similar to the one we have for the optional
> MessageContextConfig
> >> (instead of a method in AbstractEntityRepository which would be needed
> in
> >> EntityRepository to support cases without AbstractEntityRepository), if
> >> users can't or don't like to pass in the needed instance as method
> >> parameter (or inject it in the partial bean).
> >>
> >> @ saveAndFlush:
> >> yes - the reason for it is clear as well, however, it doesn't harm to
> add
> >> the missing combinations (which make sense).
> >>
> >> @ john:
> >> it isn't documented so far, but we have it already (as a first draft).
> >> however, we have to move it to an own module and use a different proxy
> lib
> >> (or commons proxy).
> >>
> >> regards,
> >> gerhard
> >>
> >>
> >>
> >> 2013/3/20 Romain Manni-Bucau <rm...@gmail.com>
> >>
> >>> IIRC what we have should be reworked ir dropped
> >>> Le 20 mars 2013 18:08, "John D. Ament" <jo...@gmail.com> a
> écrit
> >> :
> >>>> I don't believe we've implemented partial class support yet.
> >>>>
> >>>>
> >>>> On Wed, Mar 20, 2013 at 12:46 PM, Thomas Hug
> >>>> <th...@ctp-consulting.com>wrote:
> >>>>
> >>>>> @ #getEntityManager: Thnx for the correction - good news, AFAIR that
> >>>> wasn't
> >>>>> implemented in Solder. Injecting the EM is probably more natural,
> >> OTOH
> >>>> not
> >>>>> relying on injection seems more consistent with interface based
> >>>>> repositories. Moving the method to EntityRepository might be done
> >> with
> >>>>> regards to multiple EMs (overriding and annotating the method with
> >> the
> >>>>> qualifier(s)), but this solution has probably some confusing side
> >>> effects
> >>>>> with annotation inheritance on interfaces. Otherwise keeping it in
> >> the
> >>>>> class-based repository seems to me ok. Opinions, better suggestions?
> >>>> Looks
> >>>>> not yet optimal to me...
> >>>>>
> >>>>> @ saveAndFlush: Sorry now I get you - yes that's quite a common one,
> >>>> where
> >>>>> I've rarely seen other combined. My preferrence was providing the
> >>>> extension
> >>>>> mechanism for these not so common ones (e.g. save flush refresh etc)
> >>>>> instead of pushing everything into the base classes. But besides that
> >>>>> nothing speaking against it adding other combinations.
> >>>>>
> >>>>> @ flush with method expressions, those expressions are read-only so
> >>> far.
> >>>>> On Mon, Mar 18, 2013 at 6:45 PM, Romain Manni-Bucau
> >>>>> <rm...@gmail.com>wrote:
> >>>>>
> >>>>>> agree but in general you can need the (generated) id ->
> >> saveAndFlush
> >>>> but
> >>>>>> when you remove sthg you don't query it again. So i guess that's
> >>> just a
> >>>>>> common method added from the usage.
> >>>>>>
> >>>>>> Didn't check the impl but flush could be added to the "method name
> >>>> dsl",
> >>>>>> wdyt?
> >>>>>>
> >>>>>> *Romain Manni-Bucau*
> >>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> >>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> >>>>>> http://rmannibucau.wordpress.com/>
> >>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> >>>>>> *Github: https://github.com/rmannibucau*
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> 2013/3/18 Gerhard Petracek <ge...@gmail.com>
> >>>>>>
> >>>>>>> hi thomas,
> >>>>>>>
> >>>>>>> @ #getEntityManager:
> >>>>>>> injection works in such (partial-)beans (we have tests for it).
> >>>>>>>
> >>>>>>> @ #saveAndFlush:
> >>>>>>> it's clear what it does, but not why it's the only combined
> >>> operation
> >>>>>> (e.g.
> >>>>>>> there is no #removeAndFlush).
> >>>>>>>
> >>>>>>> regards,
> >>>>>>> gerhard
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> 2013/3/18 Thomas Hug <th...@ctp-consulting.com>
> >>>>>>>
> >>>>>>>> Thnx for the remarks Gerhard!
> >>>>>>>>
> >>>>>>>> - @Query: Good point, looks more consistent to me too.
> >>>>>>>> - NonEntity was AFAIR introduced to make it more explicit that
> >>> the
> >>>>>> Entity
> >>>>>>>> class comes from somewhere else. I don't think we need it - if
> >>>> nobody
> >>>>>>>> prefers the explicit style then I'd favor removing it.
> >>>>>>>> - Not sure if I get the next point - the EntityManager comes
> >>> always
> >>>>>> from
> >>>>>>> a
> >>>>>>>> producer and is looked up in the Impl classes (and I guess
> >>>> injection
> >>>>>>> won't
> >>>>>>>> work in InvocationHandlerBinding beans anyway). The methods
> >> from
> >>>>>>>> EntityRepository and AbstractEntityRepository are not meant to
> >> be
> >>>>>>>> implemented by a client. There's only a getEntityManager() on
> >> the
> >>>>>>>> AbstractEntityRepository to be used by concrete query methods
> >>> which
> >>>>> you
> >>>>>>>> don't have with an interface-based repository.
> >>>>>>>>
> >>>>>>>> @Repository
> >>>>>>>> public interface PersonRepository extends EntityRepository
> >>> <Person,
> >>>>>>> Long> {
> >>>>>>>>      Person findBySsn(String ssn);
> >>>>>>>> }
> >>>>>>>>
> >>>>>>>> public abstract class PersonRepository extends
> >>>>>>>> AbstractEntityRepository<Person, Long> {
> >>>>>>>>     public List<Person> findByXY(X x, Y y) {
> >>>>>>>>         // some logic
> >>>>>>>>         return
> >>>> getEntityManager().createQuery(query).getResultList();
> >>>>>>>>     }
> >>>>>>>> }
> >>>>>>>>
> >>>>>>>> - saveAndFlush will simply call flush after persist/merge
> >> instead
> >>>> of
> >>>>>>>> waiting for it at the transaction commit. Can have impact on
> >>>>> following
> >>>>>>>> queries.
> >>>>>>>>
> >>>>>>>> Confluence updates to follow. Hope that helps...
> >>>>>>>>
> >>>>>>>> On Sun, Mar 17, 2013 at 3:12 PM, Gerhard Petracek <
> >>>>>>>> gerhard.petracek@gmail.com> wrote:
> >>>>>>>>
> >>>>>>>>> hi thomas,
> >>>>>>>>>
> >>>>>>>>> i would prefer e.g.
> >>>>>>>>> Query#value + Query#isNative (false as the default)
> >>>>>>>>> instead of
> >>>>>>>>> Query#value + Query#sql
> >>>>>>>>>
> >>>>>>>>> and it would be great to get additional information about the
> >>>> need
> >>>>>> of:
> >>>>>>>>>  - NonEntity (as the default)
> >>>>>>>>>  - AbstractEntityRepository
> >>>>>>>>>    (e.g. you can pass in the EntityManager as parameter or
> >>> inject
> >>>>> it.
> >>>>>>>>>     you would need it e.g. for EntityRepository#save,... -
> >> but
> >>> in
> >>>>>>>>> EntityRepository it isn't part of the contract...)
> >>>>>>>>>  - (EntityRepository#saveAndFlush as the only combined
> >>> operation)
> >>>>>>>>> regards,
> >>>>>>>>> gerhard
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> 2013/3/14 Thomas Hug <th...@ctp-consulting.com>
> >>>>>>>>>
> >>>>>>>>>> Thnx for the pointers. Started to outline the APIs here [1]
> >>>> with
> >>>>>>>> examples
> >>>>>>>>>> in decreasing priority.
> >>>>>>>>>>
> >>>>>>>>>> [1]
> >>>>>>>>>>
> >>
> https://cwiki.apache.org/confluence/display/DeltaSpike/Repository+Drafts
> >>>>>>>>>> On Thu, Mar 14, 2013 at 10:05 AM, Gerhard Petracek <
> >>>>>>>>>> gerhard.petracek@gmail.com> wrote:
> >>>>>>>>>>
> >>>>>>>>>>> +1
> >>>>>>>>>>>
> >>>>>>>>>>> regards,
> >>>>>>>>>>> gerhard
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> 2013/3/14 Romain Manni-Bucau <rm...@gmail.com>
> >>>>>>>>>>>
> >>>>>>>>>>>> ok great,
> >>>>>>>>>>>>
> >>>>>>>>>>>> wonder if we couldn't start by a first version without
> >>> such
> >>>>>>>>>>> extensibility +
> >>>>>>>>>>>> no scopes for queries?
> >>>>>>>>>>>>
> >>>>>>>>>>>> *Romain Manni-Bucau*
> >>>>>>>>>>>> *Twitter: @rmannibucau <
> >> https://twitter.com/rmannibucau
> >>>> *
> >>>>>>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> >>>>>>>>>>>> http://rmannibucau.wordpress.com/>
> >>>>>>>>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> >>>>>>>>>>>> *Github: https://github.com/rmannibucau*
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>> 2013/3/14 Gerhard Petracek <gerhard.petracek@gmail.com
> >>>>>>>>>>>>> hi romain,
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> no - it's more about the style we introduced e.g. for
> >>>>>> type-safe
> >>>>>>>>>>> messages.
> >>>>>>>>>>>>> regards,
> >>>>>>>>>>>>> gerhard
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> 2013/3/14 Romain Manni-Bucau <rm...@gmail.com>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> @Gerhard: hope you don't think of @RepoBinding at
> >>>>>> all...would
> >>>>>>>> be
> >>>>>>>>>> too
> >>>>>>>>>>>> much
> >>>>>>>>>>>>>> IMO. Would be great to support aliases/stereotype
> >>> maybe
> >>>>> but
> >>>>>>> not
> >>>>>>>>> the
> >>>>>>>>>>>>> default
> >>>>>>>>>>>>>> Wdyt?
> >>>>>>>>>>>>>> Le 14 mars 2013 00:11, "Gerhard Petracek" <
> >>>>>>>>>>> gerhard.petracek@gmail.com>
> >>>>>>>>>>>> a
> >>>>>>>>>>>>>> écrit :
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> hi thomas,
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> imo it should follow the basic style/s we have in
> >>>> other
> >>>>>>> parts
> >>>>>>>>>>> already
> >>>>>>>>>>>>> (if
> >>>>>>>>>>>>>>> possible).
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> i guess the simple implementations in the
> >>> test-module
> >>>>> are
> >>>>>>> too
> >>>>>>>>>>> simple
> >>>>>>>>>>>> to
> >>>>>>>>>>>>>> see
> >>>>>>>>>>>>>>> the real benefit.
> >>>>>>>>>>>>>>> -> it would be nice if you add some drafts to a
> >>>>> sub-page
> >>>>>> of
> >>>>>>>>> [1].
> >>>>>>>>>>>>>>> (the usage you would prefer and not as it is
> >> right
> >>>>> now.)
> >>>>>>>>>>>>>>> regards,
> >>>>>>>>>>>>>>> gerhard
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> [1]
> >>> https://cwiki.apache.org/confluence/display/DeltaSpike/Drafts
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> 2013/3/13 Romain Manni-Bucau <
> >>> rmannibucau@gmail.com>
> >>>>>>>>>>>>>>>> i'd put it in to start since that's useful for
> >>> JPA
> >>>>> but
> >>>>>> it
> >>>>>>>>>>> shouldn't
> >>>>>>>>>>>>> use
> >>>>>>>>>>>>>>> it
> >>>>>>>>>>>>>>>> at all
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> a question (for next iteration if that's ok for
> >>>>>>> everybody)
> >>>>>>>> is
> >>>>>>>>>>>> should
> >>>>>>>>>>>>>>> repos
> >>>>>>>>>>>>>>>> handle transaction or at least define it.
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> *Romain Manni-Bucau*
> >>>>>>>>>>>>>>>> *Twitter: @rmannibucau <
> >>>>>> https://twitter.com/rmannibucau
> >>>>>>>> *
> >>>>>>>>>>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> >>>>>>>>>>>>>>>> http://rmannibucau.wordpress.com/>
> >>>>>>>>>>>>>>>> *LinkedIn: **
> >>>> http://fr.linkedin.com/in/rmannibucau*
> >>>>>>>>>>>>>>>> *Github: https://github.com/rmannibucau*
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> 2013/3/13 John D. Ament <
> >> john.d.ament@gmail.com>
> >>>>>>>>>>>>>>>>> Does this have any direct/indirect
> >> dependencies
> >>>> on
> >>>>>> JPA
> >>>>>>>>>> module?
> >>>>>>>>>>>>> Should
> >>>>>>>>>>>>>>>> this
> >>>>>>>>>>>>>>>>> maybe become a part of the JPA module?
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> On Wed, Mar 13, 2013 at 7:23 AM, Thomas Hug
> >>>>>>>>>>>>>>>>> <th...@ctp-consulting.com>wrote:
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> Ok, I guess it's going to be Repository :)
> >>>>> Updated
> >>>>>>> the
> >>>>>>>>>>> proposal
> >>>>>>>>>>>>>>> branch
> >>>>>>>>>>>>>>>>> and
> >>>>>>>>>>>>>>>>>> also moved things into a data
> >> package/module.
> >>>>>>>>>>>>>>>>>> Some remarks for the parts below:
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> 1) EntityManagerRepository wasn't present
> >> in
> >>>> the
> >>>>>>> Solder
> >>>>>>>>>>>>>>> implementation
> >>>>>>>>>>>>>>>> -
> >>>>>>>>>>>>>>>>>> there it was possible to simply
> >>>> implement/extend
> >>>>>>>>>>> EntityManager.
> >>>>>>>>>>>>> The
> >>>>>>>>>>>>>>>>> problem
> >>>>>>>>>>>>>>>>>> with the invocation handler is that it's
> >> not
> >>>>>> possible
> >>>>>>>> to
> >>>>>>>>>>>> restrict
> >>>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>> bean
> >>>>>>>>>>>>>>>>>> type and exclude EntityManager (or I missed
> >>>> it).
> >>>>>>>>> Otherwise
> >>>>>>>>>>> I'd
> >>>>>>>>>>>>>> rather
> >>>>>>>>>>>>>>>> get
> >>>>>>>>>>>>>>>>>> rid of this interface.
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> 2) WithEntityManager is definitely
> >>> discussable.
> >>>>> Not
> >>>>>>> the
> >>>>>>>>>> full
> >>>>>>>>>>>>>> solution
> >>>>>>>>>>>>>>>> and
> >>>>>>>>>>>>>>>>>> not consistent. Could be solved with e.g.
> >>>> putting
> >>>>>>>>>> qualifiers
> >>>>>>>>>>>> on a
> >>>>>>>>>>>>>>>> method
> >>>>>>>>>>>>>>>>>> returning an EntityManager (less intuitive)
> >>> or
> >>>>>>>> something
> >>>>>>>>>> like
> >>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>> InvocationHandlerBinding.
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> 3) AbstractEntityRepository is just a
> >>>> convenience
> >>>>>>> class
> >>>>>>>>> for
> >>>>>>>>>>>>>> providing
> >>>>>>>>>>>>>>>>>> concrete query implementations.
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> On Tue, Mar 12, 2013 at 9:40 PM, Gerhard
> >>>>> Petracek <
> >>>>>>>>>>>>>>>>>> gerhard.petracek@gmail.com> wrote:
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> hi,
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> currently we don't have one jira ticket
> >> per
> >>>>>>>>> part/feature.
> >>>>>>>>>>>>>>>>>>> that's what we used to have for
> >> everything
> >>> we
> >>>>>>>> imported.
> >>>>>>>>>>>>>>>>>>> the first parts to discuss are imo
> >>>>>>> EntityManagerDao,
> >>>>>>>>>>>>>>>> WithEntityManager
> >>>>>>>>>>>>>>>>>> and
> >>>>>>>>>>>>>>>>>>> AbstractEntityDao.
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> regards,
> >>>>>>>>>>>>>>>>>>> gerhard
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> 2013/3/12 Arne Limburg <
> >>>>>>>> arne.limburg@openknowledge.de>
> >>>>>>>>>>>>>>>>>>>> +1 for repository, from me too
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> Gesendet mit meinem HTC
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> ----- Reply message -----
> >>>>>>>>>>>>>>>>>>>> Von: "Thomas Andraschko" <
> >>>>>>>>> andraschko.thomas@gmail.com>
> >>>>>>>>>>>>>>>>>>>> An: "
> >> deltaspike-dev@incubator.apache.org
> >>> "
> >>>> <
> >>>>>>>>>>>>>>>>>>>> deltaspike-dev@incubator.apache.org>
> >>>>>>>>>>>>>>>>>>>> Betreff: cdi-query, no news?
> >>>>>>>>>>>>>>>>>>>> Datum: Di., Mär. 12, 2013 20:38
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> +1 repository! :) "Query" doesn't
> >> really
> >>>>> match
> >>>>>>> the
> >>>>>>>>>>>>> functionaly.
> >>>>>>>>>>>>>>>>>>>> 2013/3/12 Romain Manni-Bucau <
> >>>>>>>> rmannibucau@gmail.com>
> >>>>>>>>>>>>>>>>>>>>> +2 for repo
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>> btw did you fixed the scope issue?
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>> *Romain Manni-Bucau*
> >>>>>>>>>>>>>>>>>>>>> *Twitter: @rmannibucau <
> >>>>>>>>>>> https://twitter.com/rmannibucau
> >>>>>>>>>>>>> *
> >>>>>>>>>>>>>>>>>>>>> *Blog: **
> >>>>> http://rmannibucau.wordpress.com/*<
> >>>>>>>>>>>>>>>>>>>>> http://rmannibucau.wordpress.com/>
> >>>>>>>>>>>>>>>>>>>>> *LinkedIn: **
> >>>>>>>>> http://fr.linkedin.com/in/rmannibucau*
> >>>>>>>>>>>>>>>>>>>>> *Github:
> >>> https://github.com/rmannibucau*
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>> 2013/3/12 Thomas Hug <
> >>>>>>>>> thomas.hug@ctp-consulting.com>
> >>>>>>>>>>>>>>>>>>>>>> The name is still freely choosable
> >> -
> >>>> data
> >>>>>>>> sounds
> >>>>>>>>>> fine
> >>>>>>>>>>>> to
> >>>>>>>>>>>>> me
> >>>>>>>>>>>>>>> if
> >>>>>>>>>>>>>>>>>> nobody
> >>>>>>>>>>>>>>>>>>>>> minds
> >>>>>>>>>>>>>>>>>>>>>> the obvious mirroring on Spring
> >> Data
> >>> ;)
> >>>>>>>> dao/@Dao
> >>>>>>>>> is
> >>>>>>>>>>>>>>>> discussable,
> >>>>>>>>>>>>>>>>>> all
> >>>>>>>>>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>>>>>> domain driven folks prefer probably
> >>>>>> something
> >>>>>>>>> like
> >>>>>>>>>>>>>>>> "Repository".
> >>>>>>>>>>>>>>>>>>>>>> On Tue, Mar 12, 2013 at 7:29 PM,
> >>> Romain
> >>>>>>>>> Manni-Bucau
> >>>>>>>>>>>>>>>>>>>>>> <rm...@gmail.com>wrote:
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>> Great :)
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>> any issue changing "query" to
> >>>> something
> >>>>>>>> closer
> >>>>>>>>> to
> >>>>>>>>>>>> what
> >>>>>>>>>>>>> it
> >>>>>>>>>>>>>>>>> really
> >>>>>>>>>>>>>>>>>>>> does ;
> >>>>>>>>>>>>>>>>>>>>>>> "dao" (because of @Dao) or
> >> "data"?
> >>>>>>>>>>>>>>>>>>>>>>> *Romain Manni-Bucau*
> >>>>>>>>>>>>>>>>>>>>>>> *Twitter: @rmannibucau <
> >>>>>>>>>>>>> https://twitter.com/rmannibucau
> >>>>>>>>>>>>>>> *
> >>>>>>>>>>>>>>>>>>>>>>> *Blog: **
> >>>>>>> http://rmannibucau.wordpress.com/*<
> >> http://rmannibucau.wordpress.com/>
> >>>>>>>>>>>>>>>>>>>>>>> *LinkedIn: **
> >>>>>>>>>>> http://fr.linkedin.com/in/rmannibucau*
> >>>>>>>>>>>>>>>>>>>>>>> *Github:
> >>>>> https://gihub.com/rmannibucau*<
> >>>>>>>>>>>>>>>>>>>>> https://github.com/rmannibucau*
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>> 2013/3/12 Thomas Hug <
> >>>>>>>>>>> thomas.hug@ctp-consulting.com>
> >>>>>>>>>>>>>>>>>>>>>>>> FYI, I've started something
> >> like
> >>> an
> >>>>>>> import
> >>>>>>>>>>> proposal
> >>>>>>>>>>>>> in
> >>>>>>>>>>>>>> a
> >>>>>>>>>>>>>>>>>>> dedicated
> >>>>>>>>>>>>>>>>>>>>>> branch
> >>>>>>>>>>>>>>>>>>>>>>>> [1]. There's currently only the
> >>>> JBoss
> >>>>>>>>>> Arquillian
> >>>>>>>>>>>>>> profile
> >>>>>>>>>>>>>>>>>> running,
> >>>>>>>>>>>>>>>>>>>>>> haven't
> >>>>>>>>>>>>>>>>>>>>>>>> looked at the others. Any
> >> support
> >>>>> there
> >>>>>>> and
> >>>>>>>>> of
> >>>>>>>>>>>> course
> >>>>>>>>>>>>>>> other
> >>>>>>>>>>>>>>>>>>> input's
> >>>>>>>>>>>>>>>>>>>>>> very
> >>>>>>>>>>>>>>>>>>>>>>>> welcome :)
> >>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>> [1]
> >> https://github.com/ctpconsulting/query/tree/dsimport
> >>>>>>>>>>>>>>>>>>>>>>>> On Tue, Mar 5, 2013 at 7:45 AM,
> >>>>> Romain
> >>>>>>>>>>> Manni-Bucau
> >>>>>>>>>>>> <
> >>>>>>>>>>>>>>>>>>>>>>> rmannibucau@gmail.com
> >>>>>>>>>>>>>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>> Yes
> >>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>> It works fine but you bring
> >> too
> >>>>> much
> >>>>>>>> spring
> >>>>>>>>>>>>>>> dependencies
> >>>>>>>>>>>>>>>>>>> (totally
> >>>>>>>>>>>>>>>>>>>>>>> useless
> >>>>>>>>>>>>>>>>>>>>>>>>> when used this way) which
> >>> clearly
> >>>>>> show
> >>>>>>> it
> >>>>>>>>> is
> >>>>>>>>>>>>> rather a
> >>>>>>>>>>>>>>>>> bridge
> >>>>>>>>>>>>>>>>>>>> than a
> >>>>>>>>>>>>>>>>>>>>>>>>> solution + there were some
> >>> leaks
> >>>> in
> >>>>>>>>> previous
> >>>>>>>>>>>>> version
> >>>>>>>>>>>>>>>> (didnt
> >>>>>>>>>>>>>>>>>>> check
> >>>>>>>>>>>>>>>>>>>>> fix
> >>>>>>>>>>>>>>>>>>>>>>> was
> >>>>>>>>>>>>>>>>>>>>>>>>> released to be honest)
> >> because
> >>> if
> >>>>>> this
> >>>>>>>>> usage
> >>>>>>>>>>>> which
> >>>>>>>>>>>>>> was
> >>>>>>>>>>>>>>>> not
> >>>>>>>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>>>>>> default
> >>>>>>>>>>>>>>>>>>>>>>>> one.
> >>>>>>>>>>>>>>>>>>>>>>>>> Since cdi query is here it
> >>> worths
> >>>>>>>> importing
> >>>>>>>>>> it
> >>>>>>>>>>>> IMO
> >>>>>>>>>>>>>>>>>>>>>>>>> Le 5 mars 2013 02:21,
> >> "hantsy"
> >>> <
> >>>>>>>>>>>>> hantsy@yahoo.com.cn>
> >>>>>>>>>>>>>> a
> >>>>>>>>>>>>>>>>>> écrit :
> >>>>>>>>>>>>>>>>>>>>>>>>>> I remember the Spring Data
> >>> has
> >>>> a
> >>>>>> CDI
> >>>>>>>>>>> extension,
> >>>>>>>>>>>>>> but I
> >>>>>>>>>>>>>>>>> have
> >>>>>>>>>>>>>>>>>>> not
> >>>>>>>>>>>>>>>>>>>>> used
> >>>>>>>>>>>>>>>>>>>>>>> it
> >>>>>>>>>>>>>>>>>>>>>>>>>> in projects. Is there
> >> anyone
> >>>> used
> >>>>>> it
> >>>>>>> in
> >>>>>>>>>> Java
> >>>>>>>>>>>> EE 6
> >>>>>>>>>>>>>>>>> projects?
> >>>>>>>>>>>>>>>>>>>>>>>>>> Hantsy
> >>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>> On 3/3/2013 20:40, Romain
> >>>>>> Manni-Bucau
> >>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>>> Basically if the query
> >>> logic
> >>>>>> could
> >>>>>>> be
> >>>>>>>>>> scope
> >>>>>>>>>>>>>>> agnostic
> >>>>>>>>>>>>>>>> it
> >>>>>>>>>>>>>>>>>>> would
> >>>>>>>>>>>>>>>>>>>>> be
> >>>>>>>>>>>>>>>>>>>>>>>>> perfect
> >>>>>>>>>>>>>>>>>>>>>>>>>>> for me. Parameters were
> >>> fine
> >>>>> and
> >>>>>>>>> matched
> >>>>>>>>>>> the
> >>>>>>>>>>>>>> coomon
> >>>>>>>>>>>>>>>>> need.
> >>>>>>>>>>>>>>>>>>> I m
> >>>>>>>>>>>>>>>>>>>>> not
> >>>>>>>>>>>>>>>>>>>>>>>> sure
> >>>>>>>>>>>>>>>>>>>>>>>>> i
> >>>>>>>>>>>>>>>>>>>>>>>>>>> get what is blocking. Can
> >>> you
> >>>>>>> detail
> >>>>>>>>> it a
> >>>>>>>>>>> bit
> >>>>>>>>>>>>>>> please?
> >>>>>>>>>>>>>>>>>>>>>>>>>>> Le 3 mars 2013 13:09,
> >>> "Thomas
> >>>>>> Hug"
> >>>>>>> <
> >>>>>>>>>>>>>>>>>>>>>> thomas.hug@ctp-consulting.com>
> >>>>>>>>>>>>>>>>>>>>>>> a
> >>>>>>>>>>>>>>>>>>>>>>>>>> écrit :
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> Aha got you. Yes
> >>>> QueryHandler
> >>>>>> can
> >>>>>>> be
> >>>>>>>>>> moved
> >>>>>>>>>>>> to
> >>>>>>>>>>>>>>>>>> application
> >>>>>>>>>>>>>>>>>>>>> scope.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> The other request scoped
> >>>>>> component
> >>>>>>>> ist
> >>>>>>>>>> the
> >>>>>>>>>>>>>>>>>>>>>>>> CdiQueryInvocationContext.
> >>>>>>>>>>>>>>>>>>>>>>>>>> Here
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> we store a bunch of data
> >>>> which
> >>>>>> is
> >>>>>>>>>> related
> >>>>>>>>>>> to
> >>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>> current
> >>>>>>>>>>>>>>>>>>>> query
> >>>>>>>>>>>>>>>>>>>>>>>>>> (parameters,
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> query string etc).
> >>>> Originally
> >>>>>> this
> >>>>>>>> was
> >>>>>>>>>>>> passed
> >>>>>>>>>>>>> as
> >>>>>>>>>>>>>>>>>>> parameter,
> >>>>>>>>>>>>>>>>>>>>> but
> >>>>>>>>>>>>>>>>>>>>>>> got
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> injectable for the
> >>> extension
> >>>>>>>> mechanism
> >>>>>>>>>>> [1].
> >>>>>>>>>>>>>>>> Currently
> >>>>>>>>>>>>>>>>> on
> >>>>>>>>>>>>>>>>>>>>>> holidays
> >>>>>>>>>>>>>>>>>>>>>>>>> (sorry
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> the response delays) so
> >>> not
> >>>>> much
> >>>>>>>> time
> >>>>>>>>> to
> >>>>>>>>>>>> look
> >>>>>>>>>>>>>> into
> >>>>>>>>>>>>>>>> it
> >>>>>>>>>>>>>>>>>> but
> >>>>>>>>>>>>>>>>>>>>> happy
> >>>>>>>>>>>>>>>>>>>>>> to
> >>>>>>>>>>>>>>>>>>>>>>>>> take
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> suggestions :)
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> [1]
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> On Fri, Mar 1, 2013 at
> >>> 8:18
> >>>>> PM,
> >>>>>>>> Romain
> >>>>>>>>>>>>>>> Manni-Bucau <
> >>>>>>>>>>>>>>>>>>>>>>>>>> rmannibucau@gmail.com
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hmm,
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Wonder if the scope
> >>> couldnt
> >>>>> be
> >>>>>>>>>>> application
> >>>>>>>>>>>>> one.
> >>>>>>>>>>>>>>>>> Request
> >>>>>>>>>>>>>>>>>>>>> sounds
> >>>>>>>>>>>>>>>>>>>>>>> too
> >>>>>>>>>>>>>>>>>>>>>>>>> much
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> web
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> to be usable/generic
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Le 1 mars 2013 19:02,
> >>>> "Thomas
> >>>>>>> Hug"
> >>>>>>>> <
> >>>>>>>>>>>>>>>>>>>>>>> thomas.hug@ctp-consulting.com>
> >>>>>>>>>>>>>>>>>>>>>>>> a
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> écrit :
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Fine for me - planned
> >> to
> >>>>>> create
> >>>>>>> a
> >>>>>>>>>> branch
> >>>>>>>>>>>>> with
> >>>>>>>>>>>>>>> all
> >>>>>>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>>>>>>> experimental
> >>>>>>>>>>>>>>>>>>>>>>>>>> APIs
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> cleared out as an
> >> import
> >>>>>>> proposal.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> RE scope, the
> >>>>>> InvocationHandlers
> >>>>>>>> are
> >>>>>>>>>>>>> validated
> >>>>>>>>>>>>>>> to
> >>>>>>>>>>>>>>>> be
> >>>>>>>>>>>>>>>>>>>> normal
> >>>>>>>>>>>>>>>>>>>>>>> scoped
> >>>>>>>>>>>>>>>>>>>>>>>>>> [1],
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> so
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> that seemed to me the
> >>> most
> >>>>>>>>> appropriate
> >>>>>>>>>>>>> choice
> >>>>>>>>>>>>>> -
> >>>>>>>>>>>>>>>> any
> >>>>>>>>>>>>>>>>>>> other
> >>>>>>>>>>>>>>>>>>>>>>>>> suggestions?
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [1]
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Wed, Feb 27, 2013
> >> at
> >>>> 1:15
> >>>>>> PM,
> >>>>>>>>>> Romain
> >>>>>>>>>>>>>>>> Manni-Bucau
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <
> >> rmannibucau@gmail.com
> >>>>>> wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi,
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> some news of it?
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> i think it is time to
> >>>>> import
> >>>>>> at
> >>>>>>>>>> least a
> >>>>>>>>>>>>> first
> >>>>>>>>>>>>>>>>>> version,
> >>>>>>>>>>>>>>>>>>>>> isn't
> >>>>>>>>>>>>>>>>>>>>>>> it?
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Just a note on
> >> current
> >>>>> code,
> >>>>>> i
> >>>>>>>> saw
> >>>>>>>>>>>>>> QueryHandler
> >>>>>>>>>>>>>>>>> (and
> >>>>>>>>>>>>>>>>>>> some
> >>>>>>>>>>>>>>>>>>>>>> other
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> beans)
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> has
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> a request scope.
> >> Wonder
> >>>> if
> >>>>>>> such a
> >>>>>>>>>> scope
> >>>>>>>>>>>>> means
> >>>>>>>>>>>>>>>>>> something
> >>>>>>>>>>>>>>>>>>>>> for a
> >>>>>>>>>>>>>>>>>>>>>>>>> generic
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> (not
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> web) lib.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> wdyt?
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Romain Manni-Bucau*
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Twitter:
> >> @rmannibucau
> >>> <
> >>>>>>>>>>>>>>>>>>> https://twitter.com/rmannibucau
> >>>>>>>>>>>>>>>>>>>>> *
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Blog: **
> >>>>>>>>>>>>> http://rmannibucau.wordpress.com/*<
> >>>>>>>> http://rmannibucau.wordpress.com/>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *LinkedIn: **
> >>>>>>>>>>>>>>>>> http://fr.linkedin.com/in/rmannibucau*
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Github:
> >>>>>>>>>>> https://github.com/rmannibucau*
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2013/2/20 Romain
> >>>>> Manni-Bucau
> >>>>>> <
> >>>>>>>>>>>>>>>>> rmannibucau@gmail.com>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> guy you rocks!
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> effectively i missed
> >>> it
> >>>>>> when i
> >>>>>>>>>> looked.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Romain Manni-Bucau*
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Twitter:
> >>> @rmannibucau <
> >>>>>>>>>>>>>>>>>>> https://twitter.com/rmannibucau
> >>>>>>>>>>>>>>>>>>>>> *
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Blog: **
> >>>>>>>>>>>>> http://rmannibucau.wordpress.com/*
> >>>>>>>>>>>>>> <
> >>>>>>>> http://rmannibucau.wordpress.com/>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *LinkedIn: **
> >>>>>>>>>>>>>>>>> http://fr.linkedin.com/in/rmannibucau*
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Github:
> >>>>>>>>>>>> https://github.com/rmannibucau*
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2013/2/20 Thomas
> >> Hug <
> >>>>>>>>>>>>>>>>> thomas.hug@ctp-consulting.com
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thnx Romain. If
> >> with
> >>>>> proxy
> >>>>>>>> stuff
> >>>>>>>>>> you
> >>>>>>>>>>>>> refer
> >>>>>>>>>>>>>> to
> >>>>>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>> DS
> >>>> InvocationHandlerBinding,
> >>>>>>>> that's
> >>>>>>>>>>>> already
> >>>>>>>>>>>>>>>>> integrated
> >>>>>>>>>>>>>>>>>>> :)
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> RE pagination, it's
> >>>> maybe
> >>>>>> not
> >>>>>>>>> that
> >>>>>>>>>>>>> obvious,
> >>>>>>>>>>>>>>> but
> >>>>>>>>>>>>>>>>>>> there's
> >>>>>>>>>>>>>>>>>>>>>> more
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> advanced
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> support in
> >>> QueryResult
> >>>>>>> [1][2],
> >>>>>>>>>> which
> >>>>>>>>>>> is
> >>>>>>>>>>>>>> more
> >>>>>>>>>>>>>>>> of a
> >>>>>>>>>>>>>>>>>>>> fluent
> >>>>>>>>>>>>>>>>>>>>>> API
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> approach,
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> but
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> should behave
> >> similar
> >>>> to
> >>>>> a
> >>>>>>>>>>> PageRequest
> >>>>>>>>>>>>> (the
> >>>>>>>>>>>>>>>> query
> >>>>>>>>>>>>>>>>>>>>> execution
> >>>>>>>>>>>>>>>>>>>>>>> is
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> delayed
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> until the
> >> getResult()
> >>>>>> methods
> >>>>>>>> on
> >>>>>>>>>>>>>> QueryResult
> >>>>>>>>>>>>>>> is
> >>>>>>>>>>>>>>>>>>>> called).
> >>>>>>>>>>>>>>>>>>>>>> Hope
> >>>>>>>>>>>>>>>>>>>>>>>>> that
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> fits
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> to
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> what you had in
> >> mind.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [1]
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [2]
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Wed, Feb 20,
> >> 2013
> >>> at
> >>>>>> 10:04
> >>>>>>>> PM,
> >>>>>>>>>>>> Romain
> >>>>>>>>>>>>>>>>>> Manni-Bucau
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <
> >>> rmannibucau@gmail.com
> >>>>>>>> wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Thomas,
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> importing proxy
> >>> stuff
> >>>>>> would
> >>>>>>> be
> >>>>>>>>> the
> >>>>>>>>>>>> first
> >>>>>>>>>>>>>>> great
> >>>>>>>>>>>>>>>>>>> stuff.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> i'd like to see
> >> some
> >>>>>>>> pagination
> >>>>>>>>>> API
> >>>>>>>>>>>>> (like
> >>>>>>>>>>>>>>>>>>> PageRequest
> >>>>>>>>>>>>>>>>>>>>> etc
> >>>>>>>>>>>>>>>>>>>>>> in
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> spring
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> world)
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> which are more
> >> user
> >>>>>> friendly
> >>>>>>>>> that
> >>>>>>>>>>>>>>> @FirstResult
> >>>>>>>>>>>>>>>>> and
> >>>>>>>>>>>>>>>>>>>>>>>> @MaxResult).
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> wdyt?
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Romain
> >> Manni-Bucau*
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Twitter:
> >>>> @rmannibucau <
> >>>>>>>>>>>>>>>>>>>> https://twitter.com/rmannibucau
> >>>>>>>>>>>>>>>>>>>>>> *
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Blog: **
> >>>>>>>>>>>>>> http://rmannibucau.wordpress.com/*
> >>>>>>>>>>>>>>> <
> >>>>>>>>> http://rmannibucau.wordpress.com/
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *LinkedIn: **
> >>>>>>>>>>>>>>>>>> http://fr.linkedin.com/in/rmannibucau*
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Github:
> >>>>>>>>>>>>> https://github.com/rmannibucau*
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2013/2/20 Thomas
> >>> Hug <
> >>>>>>>>>>>>>>>>>> thomas.hug@ctp-consulting.com
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CDI Query has
> >> now a
> >>>>>>>> completely
> >>>>>>>>>>>>>> Solder-free
> >>>>>>>>>>>>>>>> POM.
> >>>>>>>>>>>>>>>>>>> Feel
> >>>>>>>>>>>>>>>>>>>>> free
> >>>>>>>>>>>>>>>>>>>>>>> to
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> drop
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> comments
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> on the API - some
> >>>> parts
> >>>>>>> might
> >>>>>>>>>>>> actually
> >>>>>>>>>>>>> be
> >>>>>>>>>>>>>>>> fully
> >>>>>>>>>>>>>>>>>>>>> excluded
> >>>>>>>>>>>>>>>>>>>>>>>> (e.g.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> home
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> and
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> critera APIs).
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Tue, Feb 12,
> >>> 2013
> >>>> at
> >>>>>>> 10:00
> >>>>>>>>> PM,
> >>>>>>>>>>>> Mark
> >>>>>>>>>>>>>>>>> Struberg <
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> struberg@yahoo.de>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks Thomas,
> >>> great
> >>>>>> news!
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> LieGrue,
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> strub
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>> ________________________________
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> From: Thomas
> >> Hug
> >>> <
> >>>>>>>>>>>>>>>>>> thomas.hug@ctp-consulting.com>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> To: "
> >>>>>>>>>>>>>> deltaspike-dev@incubator.apache.org
> >>>>>>>>>>>>>>> "
> >>>>>>>>>>>>>>>> <
> >>>>>>>>>>> deltaspike-dev@incubator.apache.org
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Sent: Tuesday,
> >>>>> February
> >>>>>>> 12,
> >>>>>>>>>> 2013
> >>>>>>>>>>>> 4:10
> >>>>>>>>>>>>>> PM
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Subject: Re:
> >>>>> cdi-query,
> >>>>>>> no
> >>>>>>>>>> news?
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> FYI, I've
> >> started
> >>>> to
> >>>>>>>>>>> "de-solderize"
> >>>>>>>>>>>>> CDI
> >>>>>>>>>>>>>>>> Query
> >>>>>>>>>>>>>>>>>> and
> >>>>>>>>>>>>>>>>>>>>> move
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> things
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> to
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> depend
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> on
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> DS Core [1]:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>> https://github.com/ctpconsulting/query/tree/deltaspike
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Todos:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [x] Replace
> >>>>>>> ServiceHandler
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [_] Include
> >>>> Property
> >>>>>>> utils
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [_] Replace
> >> JBoss
> >>>>>> Logging
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Any feedback
> >>>> welcome.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [1] including
> >>> this
> >>>>>>>>> modification
> >>
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Feb 11,
> >>>> 2013
> >>>>> at
> >>>>>>>> 6:01
> >>>>>>>>>> PM,
> >>>>>>>>>>>>> Romain
> >>>>>>>>>>>>>>>>>>> Manni-Bucau
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <
> >>>>> rmannibucau@gmail.com
> >>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> a review of
> >> the
> >>>> API
> >>>>> i
> >>>>>>>> guess
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> what is
> >> missing
> >>>>> today
> >>>>>> is
> >>>>>>>>>>> probably
> >>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>> pagination
> >>>>>>>>>>>>>>>>>>>>>> helpers
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> (PageRequest
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> for
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> instance)
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> but
> >> technically
> >>>> all
> >>>>> is
> >>>>>>>> fine
> >>>>>>>>>> IMO
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Romain
> >>>> Manni-Bucau*
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Twitter:
> >>>>>> @rmannibucau <
> >>>>>>>>>>>>>>>>>>>>>> https://twitter.com/rmannibucau
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> *
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Blog: **
> >>>>>>>>>>>>>>>> http://rmannibucau.wordpress.com/*
> >>>>>>>>>>>>>>>>> <
> >>>>>>>>>>> http://rmannibucau.wordpress.com/
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *LinkedIn: **
> >>>>>>>>>>>>>>>>>>>> http://fr.linkedin.com/in/rmannibucau*
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Github:
> >>>>>>>>>>>>>>> https://github.com/rmannibucau*
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2013/2/11
> >> Jason
> >>>>>> Porter <
> >>>>>>>>>>>>>>>>>> lightguard.jp@gmail.com
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I know I'm
> >>>> playing
> >>>>>> the
> >>>>>>>>>>>> necromancer,
> >>>>>>>>>>>>>> but
> >>>>>>>>>>>>>>>>>> please
> >>>>>>>>>>>>>>>>>>>>>> forgive
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> me.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> We
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> have
> >>>> InvocationHandler,
> >>>>>>> which
> >>>>>>>>>> looks
> >>>>>>>>>>>> like
> >>>>>>>>>>>>>> it
> >>>>>>>>>>>>>>>>> would
> >>>>>>>>>>>>>>>>>>> work
> >>>>>>>>>>>>>>>>>>>>> as
> >>>>>>>>>>>>>>>>>>>>>> a
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ServiceHandler
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> substitute.
> >>> What
> >>>>> else
> >>>>>>> is
> >>>>>>>>>> needed
> >>>>>>>>>>>> to
> >>>>>>>>>>>>>> get
> >>>>>>>>>>>>>>>> CDI
> >>>>>>>>>>>>>>>>>>> Query
> >>>>>>>>>>>>>>>>>>>>> into
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> DeltaSpike?
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Sun, Nov
> >> 18,
> >>>>> 2012
> >>>>>> at
> >>>>>>>>> 12:35
> >>>>>>>>>>> PM,
> >>>>>>>>>>>>>>> Romain
> >>>>>>>>>>>>>>>>>>>>> Manni-Bucau
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <
> >>>>>> rmannibucau@gmail.com
> >>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +1, it is a
> >>> must
> >>>>>> have
> >>>>>>>> for
> >>>>>>>>>> cdi
> >>>>>>>>>>>>> world
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Le 18 nov.
> >>> 2012
> >>>>>> 20:04,
> >>>>>>>>>>>>>> "john.d.ament"
> >>>>>>>>>>>>>>> <
> >>> john.d.ament@gmail.com
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> a
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> écrit :
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> RE
> >>>> ServiceHandler
> >>>>>> - I
> >>>>>>>> was
> >>>>>>>>>> one
> >>>>>>>>>>>> of
> >>>>>>>>>>>>>>> those
> >>>>>>>>>>>>>>>>> who
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> previously
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> suggested
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> bringing
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> it
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> over to
> >>>>> DeltaSpike,
> >>>>>>> you
> >>>>>>>>> can
> >>>>>>>>>>> see
> >>>>>>>>>>>>>>>>>>> DELTASPIKE-113
> >>>>>>>>>>>>>>>>>>>>> and
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> find
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> thread
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> about
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> it
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> from April
> >> of
> >>>>> this
> >>>>>>>> year.
> >>>>>>>>>>  At
> >>>>>>>>>>>> the
> >>>>>>>>>>>>>>> time,
> >>>>>>>>>>>>>>>> I
> >>>>>>>>>>>>>>>>>> was
> >>>>>>>>>>>>>>>>>>>> in a
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> position
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> where I
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> couldn't
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> spend much
> >>> time
> >>>>> on
> >>>>>>> open
> >>>>>>>>>>> source
> >>>>>>>>>>>>>>>>>> contribution.
> >>>>>>>>>>>>>>>>>>>>>  I've
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> recently
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> changed
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> jobs,
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> to
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> something
> >>>> that's
> >>>>>>> going
> >>>>>>>> to
> >>>>>>>>>>> help
> >>>>>>>>>>>> me
> >>>>>>>>>>>>>>> spend
> >>>>>>>>>>>>>>>>>> some
> >>>>>>>>>>>>>>>>>>>> more
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> time
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> with
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> open
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> source
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> community,
> >>> and
> >>>>>>> believe
> >>>>>>>> I
> >>>>>>>>>> can
> >>>>>>>>>>>> pick
> >>>>>>>>>>>>>> it
> >>>>>>>>>>>>>>>> back
> >>>>>>>>>>>>>>>>>> up
> >>>>>>>>>>>>>>>>>>> if
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> we're
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ready.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> If
> >> everyone's
> >>>> ok
> >>>>>> with
> >>>>>>>> it
> >>>>>>>>> I
> >>>>>>>>>>> can
> >>>>>>>>>>>>>> start
> >>>>>>>>>>>>>>> a
> >>>>>>>>>>>>>>>>> new
> >>>>>>>>>>>>>>>>>>>> thread
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> for
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 113
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> or
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> revive
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> old
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> thread
> >>> (though
> >>>> it
> >>>>>> may
> >>>>>>>>> come
> >>>>>>>>>>>>> through
> >>>>>>>>>>>>>>>> with a
> >>>>>>>>>>>>>>>>>>> large
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> pile
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> of
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> dust).
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Regards,
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> John
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> View this
> >>>> message
> >>>>>> in
> >>>>>>>>>> context:
> >>
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Sent from
> >> the
> >>>>>> Apache
> >>>>>>>>>>> DeltaSpike
> >>>>>>>>>>>>>>>> Incubator
> >>>>>>>>>>>>>>>>>>>>>>>>>>>> Discussions
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> mailing
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> list
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> archive
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> at
> >>> Nabble.com.
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Jason Porter
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>> http://en.gravatar.com/lightguardjp
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>>>>
>
>

Re: cdi-query, no news?

Posted by hantsy <ha...@yahoo.com.cn>.
Most of the "Repository Drafts" api  is simillar with Spring Data JPA.

But I know the Spring Data includs a CDI extension class, so it can be
used in CDI directly?

Hantsy
On 4/3/2013 17:45, Thomas Hug wrote:
> Sorry the delay, finally found some time to work on the Wiki proposal again:
> https://cwiki.apache.org/confluence/display/DeltaSpike/Repository+Drafts
>
> On Wed, Mar 20, 2013 at 11:44 PM, Gerhard Petracek <
> gerhard.petracek@gmail.com> wrote:
>
>> hi thomas,
>>
>> @ EntityManager:
>>
>> that's why i said:
>>> imo it should follow the basic style/s we have in other parts already (if
>> possible).
>>
>> -> in case of EMs with different qualifiers we could think e.g. about an
>> approach similar to the one we have for the optional MessageContextConfig
>> (instead of a method in AbstractEntityRepository which would be needed in
>> EntityRepository to support cases without AbstractEntityRepository), if
>> users can't or don't like to pass in the needed instance as method
>> parameter (or inject it in the partial bean).
>>
>> @ saveAndFlush:
>> yes - the reason for it is clear as well, however, it doesn't harm to add
>> the missing combinations (which make sense).
>>
>> @ john:
>> it isn't documented so far, but we have it already (as a first draft).
>> however, we have to move it to an own module and use a different proxy lib
>> (or commons proxy).
>>
>> regards,
>> gerhard
>>
>>
>>
>> 2013/3/20 Romain Manni-Bucau <rm...@gmail.com>
>>
>>> IIRC what we have should be reworked ir dropped
>>> Le 20 mars 2013 18:08, "John D. Ament" <jo...@gmail.com> a écrit
>> :
>>>> I don't believe we've implemented partial class support yet.
>>>>
>>>>
>>>> On Wed, Mar 20, 2013 at 12:46 PM, Thomas Hug
>>>> <th...@ctp-consulting.com>wrote:
>>>>
>>>>> @ #getEntityManager: Thnx for the correction - good news, AFAIR that
>>>> wasn't
>>>>> implemented in Solder. Injecting the EM is probably more natural,
>> OTOH
>>>> not
>>>>> relying on injection seems more consistent with interface based
>>>>> repositories. Moving the method to EntityRepository might be done
>> with
>>>>> regards to multiple EMs (overriding and annotating the method with
>> the
>>>>> qualifier(s)), but this solution has probably some confusing side
>>> effects
>>>>> with annotation inheritance on interfaces. Otherwise keeping it in
>> the
>>>>> class-based repository seems to me ok. Opinions, better suggestions?
>>>> Looks
>>>>> not yet optimal to me...
>>>>>
>>>>> @ saveAndFlush: Sorry now I get you - yes that's quite a common one,
>>>> where
>>>>> I've rarely seen other combined. My preferrence was providing the
>>>> extension
>>>>> mechanism for these not so common ones (e.g. save flush refresh etc)
>>>>> instead of pushing everything into the base classes. But besides that
>>>>> nothing speaking against it adding other combinations.
>>>>>
>>>>> @ flush with method expressions, those expressions are read-only so
>>> far.
>>>>> On Mon, Mar 18, 2013 at 6:45 PM, Romain Manni-Bucau
>>>>> <rm...@gmail.com>wrote:
>>>>>
>>>>>> agree but in general you can need the (generated) id ->
>> saveAndFlush
>>>> but
>>>>>> when you remove sthg you don't query it again. So i guess that's
>>> just a
>>>>>> common method added from the usage.
>>>>>>
>>>>>> Didn't check the impl but flush could be added to the "method name
>>>> dsl",
>>>>>> wdyt?
>>>>>>
>>>>>> *Romain Manni-Bucau*
>>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
>>>>>> http://rmannibucau.wordpress.com/>
>>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
>>>>>> *Github: https://github.com/rmannibucau*
>>>>>>
>>>>>>
>>>>>>
>>>>>> 2013/3/18 Gerhard Petracek <ge...@gmail.com>
>>>>>>
>>>>>>> hi thomas,
>>>>>>>
>>>>>>> @ #getEntityManager:
>>>>>>> injection works in such (partial-)beans (we have tests for it).
>>>>>>>
>>>>>>> @ #saveAndFlush:
>>>>>>> it's clear what it does, but not why it's the only combined
>>> operation
>>>>>> (e.g.
>>>>>>> there is no #removeAndFlush).
>>>>>>>
>>>>>>> regards,
>>>>>>> gerhard
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> 2013/3/18 Thomas Hug <th...@ctp-consulting.com>
>>>>>>>
>>>>>>>> Thnx for the remarks Gerhard!
>>>>>>>>
>>>>>>>> - @Query: Good point, looks more consistent to me too.
>>>>>>>> - NonEntity was AFAIR introduced to make it more explicit that
>>> the
>>>>>> Entity
>>>>>>>> class comes from somewhere else. I don't think we need it - if
>>>> nobody
>>>>>>>> prefers the explicit style then I'd favor removing it.
>>>>>>>> - Not sure if I get the next point - the EntityManager comes
>>> always
>>>>>> from
>>>>>>> a
>>>>>>>> producer and is looked up in the Impl classes (and I guess
>>>> injection
>>>>>>> won't
>>>>>>>> work in InvocationHandlerBinding beans anyway). The methods
>> from
>>>>>>>> EntityRepository and AbstractEntityRepository are not meant to
>> be
>>>>>>>> implemented by a client. There's only a getEntityManager() on
>> the
>>>>>>>> AbstractEntityRepository to be used by concrete query methods
>>> which
>>>>> you
>>>>>>>> don't have with an interface-based repository.
>>>>>>>>
>>>>>>>> @Repository
>>>>>>>> public interface PersonRepository extends EntityRepository
>>> <Person,
>>>>>>> Long> {
>>>>>>>>      Person findBySsn(String ssn);
>>>>>>>> }
>>>>>>>>
>>>>>>>> public abstract class PersonRepository extends
>>>>>>>> AbstractEntityRepository<Person, Long> {
>>>>>>>>     public List<Person> findByXY(X x, Y y) {
>>>>>>>>         // some logic
>>>>>>>>         return
>>>> getEntityManager().createQuery(query).getResultList();
>>>>>>>>     }
>>>>>>>> }
>>>>>>>>
>>>>>>>> - saveAndFlush will simply call flush after persist/merge
>> instead
>>>> of
>>>>>>>> waiting for it at the transaction commit. Can have impact on
>>>>> following
>>>>>>>> queries.
>>>>>>>>
>>>>>>>> Confluence updates to follow. Hope that helps...
>>>>>>>>
>>>>>>>> On Sun, Mar 17, 2013 at 3:12 PM, Gerhard Petracek <
>>>>>>>> gerhard.petracek@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> hi thomas,
>>>>>>>>>
>>>>>>>>> i would prefer e.g.
>>>>>>>>> Query#value + Query#isNative (false as the default)
>>>>>>>>> instead of
>>>>>>>>> Query#value + Query#sql
>>>>>>>>>
>>>>>>>>> and it would be great to get additional information about the
>>>> need
>>>>>> of:
>>>>>>>>>  - NonEntity (as the default)
>>>>>>>>>  - AbstractEntityRepository
>>>>>>>>>    (e.g. you can pass in the EntityManager as parameter or
>>> inject
>>>>> it.
>>>>>>>>>     you would need it e.g. for EntityRepository#save,... -
>> but
>>> in
>>>>>>>>> EntityRepository it isn't part of the contract...)
>>>>>>>>>  - (EntityRepository#saveAndFlush as the only combined
>>> operation)
>>>>>>>>> regards,
>>>>>>>>> gerhard
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> 2013/3/14 Thomas Hug <th...@ctp-consulting.com>
>>>>>>>>>
>>>>>>>>>> Thnx for the pointers. Started to outline the APIs here [1]
>>>> with
>>>>>>>> examples
>>>>>>>>>> in decreasing priority.
>>>>>>>>>>
>>>>>>>>>> [1]
>>>>>>>>>>
>> https://cwiki.apache.org/confluence/display/DeltaSpike/Repository+Drafts
>>>>>>>>>> On Thu, Mar 14, 2013 at 10:05 AM, Gerhard Petracek <
>>>>>>>>>> gerhard.petracek@gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> +1
>>>>>>>>>>>
>>>>>>>>>>> regards,
>>>>>>>>>>> gerhard
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> 2013/3/14 Romain Manni-Bucau <rm...@gmail.com>
>>>>>>>>>>>
>>>>>>>>>>>> ok great,
>>>>>>>>>>>>
>>>>>>>>>>>> wonder if we couldn't start by a first version without
>>> such
>>>>>>>>>>> extensibility +
>>>>>>>>>>>> no scopes for queries?
>>>>>>>>>>>>
>>>>>>>>>>>> *Romain Manni-Bucau*
>>>>>>>>>>>> *Twitter: @rmannibucau <
>> https://twitter.com/rmannibucau
>>>> *
>>>>>>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
>>>>>>>>>>>> http://rmannibucau.wordpress.com/>
>>>>>>>>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
>>>>>>>>>>>> *Github: https://github.com/rmannibucau*
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> 2013/3/14 Gerhard Petracek <gerhard.petracek@gmail.com
>>>>>>>>>>>>> hi romain,
>>>>>>>>>>>>>
>>>>>>>>>>>>> no - it's more about the style we introduced e.g. for
>>>>>> type-safe
>>>>>>>>>>> messages.
>>>>>>>>>>>>> regards,
>>>>>>>>>>>>> gerhard
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> 2013/3/14 Romain Manni-Bucau <rm...@gmail.com>
>>>>>>>>>>>>>
>>>>>>>>>>>>>> @Gerhard: hope you don't think of @RepoBinding at
>>>>>> all...would
>>>>>>>> be
>>>>>>>>>> too
>>>>>>>>>>>> much
>>>>>>>>>>>>>> IMO. Would be great to support aliases/stereotype
>>> maybe
>>>>> but
>>>>>>> not
>>>>>>>>> the
>>>>>>>>>>>>> default
>>>>>>>>>>>>>> Wdyt?
>>>>>>>>>>>>>> Le 14 mars 2013 00:11, "Gerhard Petracek" <
>>>>>>>>>>> gerhard.petracek@gmail.com>
>>>>>>>>>>>> a
>>>>>>>>>>>>>> écrit :
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> hi thomas,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> imo it should follow the basic style/s we have in
>>>> other
>>>>>>> parts
>>>>>>>>>>> already
>>>>>>>>>>>>> (if
>>>>>>>>>>>>>>> possible).
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> i guess the simple implementations in the
>>> test-module
>>>>> are
>>>>>>> too
>>>>>>>>>>> simple
>>>>>>>>>>>> to
>>>>>>>>>>>>>> see
>>>>>>>>>>>>>>> the real benefit.
>>>>>>>>>>>>>>> -> it would be nice if you add some drafts to a
>>>>> sub-page
>>>>>> of
>>>>>>>>> [1].
>>>>>>>>>>>>>>> (the usage you would prefer and not as it is
>> right
>>>>> now.)
>>>>>>>>>>>>>>> regards,
>>>>>>>>>>>>>>> gerhard
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> [1]
>>> https://cwiki.apache.org/confluence/display/DeltaSpike/Drafts
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> 2013/3/13 Romain Manni-Bucau <
>>> rmannibucau@gmail.com>
>>>>>>>>>>>>>>>> i'd put it in to start since that's useful for
>>> JPA
>>>>> but
>>>>>> it
>>>>>>>>>>> shouldn't
>>>>>>>>>>>>> use
>>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>> at all
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> a question (for next iteration if that's ok for
>>>>>>> everybody)
>>>>>>>> is
>>>>>>>>>>>> should
>>>>>>>>>>>>>>> repos
>>>>>>>>>>>>>>>> handle transaction or at least define it.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> *Romain Manni-Bucau*
>>>>>>>>>>>>>>>> *Twitter: @rmannibucau <
>>>>>> https://twitter.com/rmannibucau
>>>>>>>> *
>>>>>>>>>>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
>>>>>>>>>>>>>>>> http://rmannibucau.wordpress.com/>
>>>>>>>>>>>>>>>> *LinkedIn: **
>>>> http://fr.linkedin.com/in/rmannibucau*
>>>>>>>>>>>>>>>> *Github: https://github.com/rmannibucau*
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> 2013/3/13 John D. Ament <
>> john.d.ament@gmail.com>
>>>>>>>>>>>>>>>>> Does this have any direct/indirect
>> dependencies
>>>> on
>>>>>> JPA
>>>>>>>>>> module?
>>>>>>>>>>>>> Should
>>>>>>>>>>>>>>>> this
>>>>>>>>>>>>>>>>> maybe become a part of the JPA module?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Wed, Mar 13, 2013 at 7:23 AM, Thomas Hug
>>>>>>>>>>>>>>>>> <th...@ctp-consulting.com>wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Ok, I guess it's going to be Repository :)
>>>>> Updated
>>>>>>> the
>>>>>>>>>>> proposal
>>>>>>>>>>>>>>> branch
>>>>>>>>>>>>>>>>> and
>>>>>>>>>>>>>>>>>> also moved things into a data
>> package/module.
>>>>>>>>>>>>>>>>>> Some remarks for the parts below:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> 1) EntityManagerRepository wasn't present
>> in
>>>> the
>>>>>>> Solder
>>>>>>>>>>>>>>> implementation
>>>>>>>>>>>>>>>> -
>>>>>>>>>>>>>>>>>> there it was possible to simply
>>>> implement/extend
>>>>>>>>>>> EntityManager.
>>>>>>>>>>>>> The
>>>>>>>>>>>>>>>>> problem
>>>>>>>>>>>>>>>>>> with the invocation handler is that it's
>> not
>>>>>> possible
>>>>>>>> to
>>>>>>>>>>>> restrict
>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>> bean
>>>>>>>>>>>>>>>>>> type and exclude EntityManager (or I missed
>>>> it).
>>>>>>>>> Otherwise
>>>>>>>>>>> I'd
>>>>>>>>>>>>>> rather
>>>>>>>>>>>>>>>> get
>>>>>>>>>>>>>>>>>> rid of this interface.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> 2) WithEntityManager is definitely
>>> discussable.
>>>>> Not
>>>>>>> the
>>>>>>>>>> full
>>>>>>>>>>>>>> solution
>>>>>>>>>>>>>>>> and
>>>>>>>>>>>>>>>>>> not consistent. Could be solved with e.g.
>>>> putting
>>>>>>>>>> qualifiers
>>>>>>>>>>>> on a
>>>>>>>>>>>>>>>> method
>>>>>>>>>>>>>>>>>> returning an EntityManager (less intuitive)
>>> or
>>>>>>>> something
>>>>>>>>>> like
>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>> InvocationHandlerBinding.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> 3) AbstractEntityRepository is just a
>>>> convenience
>>>>>>> class
>>>>>>>>> for
>>>>>>>>>>>>>> providing
>>>>>>>>>>>>>>>>>> concrete query implementations.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Tue, Mar 12, 2013 at 9:40 PM, Gerhard
>>>>> Petracek <
>>>>>>>>>>>>>>>>>> gerhard.petracek@gmail.com> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> hi,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> currently we don't have one jira ticket
>> per
>>>>>>>>> part/feature.
>>>>>>>>>>>>>>>>>>> that's what we used to have for
>> everything
>>> we
>>>>>>>> imported.
>>>>>>>>>>>>>>>>>>> the first parts to discuss are imo
>>>>>>> EntityManagerDao,
>>>>>>>>>>>>>>>> WithEntityManager
>>>>>>>>>>>>>>>>>> and
>>>>>>>>>>>>>>>>>>> AbstractEntityDao.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> regards,
>>>>>>>>>>>>>>>>>>> gerhard
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> 2013/3/12 Arne Limburg <
>>>>>>>> arne.limburg@openknowledge.de>
>>>>>>>>>>>>>>>>>>>> +1 for repository, from me too
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Gesendet mit meinem HTC
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> ----- Reply message -----
>>>>>>>>>>>>>>>>>>>> Von: "Thomas Andraschko" <
>>>>>>>>> andraschko.thomas@gmail.com>
>>>>>>>>>>>>>>>>>>>> An: "
>> deltaspike-dev@incubator.apache.org
>>> "
>>>> <
>>>>>>>>>>>>>>>>>>>> deltaspike-dev@incubator.apache.org>
>>>>>>>>>>>>>>>>>>>> Betreff: cdi-query, no news?
>>>>>>>>>>>>>>>>>>>> Datum: Di., Mär. 12, 2013 20:38
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> +1 repository! :) "Query" doesn't
>> really
>>>>> match
>>>>>>> the
>>>>>>>>>>>>> functionaly.
>>>>>>>>>>>>>>>>>>>> 2013/3/12 Romain Manni-Bucau <
>>>>>>>> rmannibucau@gmail.com>
>>>>>>>>>>>>>>>>>>>>> +2 for repo
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> btw did you fixed the scope issue?
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> *Romain Manni-Bucau*
>>>>>>>>>>>>>>>>>>>>> *Twitter: @rmannibucau <
>>>>>>>>>>> https://twitter.com/rmannibucau
>>>>>>>>>>>>> *
>>>>>>>>>>>>>>>>>>>>> *Blog: **
>>>>> http://rmannibucau.wordpress.com/*<
>>>>>>>>>>>>>>>>>>>>> http://rmannibucau.wordpress.com/>
>>>>>>>>>>>>>>>>>>>>> *LinkedIn: **
>>>>>>>>> http://fr.linkedin.com/in/rmannibucau*
>>>>>>>>>>>>>>>>>>>>> *Github:
>>> https://github.com/rmannibucau*
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> 2013/3/12 Thomas Hug <
>>>>>>>>> thomas.hug@ctp-consulting.com>
>>>>>>>>>>>>>>>>>>>>>> The name is still freely choosable
>> -
>>>> data
>>>>>>>> sounds
>>>>>>>>>> fine
>>>>>>>>>>>> to
>>>>>>>>>>>>> me
>>>>>>>>>>>>>>> if
>>>>>>>>>>>>>>>>>> nobody
>>>>>>>>>>>>>>>>>>>>> minds
>>>>>>>>>>>>>>>>>>>>>> the obvious mirroring on Spring
>> Data
>>> ;)
>>>>>>>> dao/@Dao
>>>>>>>>> is
>>>>>>>>>>>>>>>> discussable,
>>>>>>>>>>>>>>>>>> all
>>>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>>> domain driven folks prefer probably
>>>>>> something
>>>>>>>>> like
>>>>>>>>>>>>>>>> "Repository".
>>>>>>>>>>>>>>>>>>>>>> On Tue, Mar 12, 2013 at 7:29 PM,
>>> Romain
>>>>>>>>> Manni-Bucau
>>>>>>>>>>>>>>>>>>>>>> <rm...@gmail.com>wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Great :)
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> any issue changing "query" to
>>>> something
>>>>>>>> closer
>>>>>>>>> to
>>>>>>>>>>>> what
>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>>> really
>>>>>>>>>>>>>>>>>>>> does ;
>>>>>>>>>>>>>>>>>>>>>>> "dao" (because of @Dao) or
>> "data"?
>>>>>>>>>>>>>>>>>>>>>>> *Romain Manni-Bucau*
>>>>>>>>>>>>>>>>>>>>>>> *Twitter: @rmannibucau <
>>>>>>>>>>>>> https://twitter.com/rmannibucau
>>>>>>>>>>>>>>> *
>>>>>>>>>>>>>>>>>>>>>>> *Blog: **
>>>>>>> http://rmannibucau.wordpress.com/*<
>> http://rmannibucau.wordpress.com/>
>>>>>>>>>>>>>>>>>>>>>>> *LinkedIn: **
>>>>>>>>>>> http://fr.linkedin.com/in/rmannibucau*
>>>>>>>>>>>>>>>>>>>>>>> *Github:
>>>>> https://gihub.com/rmannibucau*<
>>>>>>>>>>>>>>>>>>>>> https://github.com/rmannibucau*
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> 2013/3/12 Thomas Hug <
>>>>>>>>>>> thomas.hug@ctp-consulting.com>
>>>>>>>>>>>>>>>>>>>>>>>> FYI, I've started something
>> like
>>> an
>>>>>>> import
>>>>>>>>>>> proposal
>>>>>>>>>>>>> in
>>>>>>>>>>>>>> a
>>>>>>>>>>>>>>>>>>> dedicated
>>>>>>>>>>>>>>>>>>>>>> branch
>>>>>>>>>>>>>>>>>>>>>>>> [1]. There's currently only the
>>>> JBoss
>>>>>>>>>> Arquillian
>>>>>>>>>>>>>> profile
>>>>>>>>>>>>>>>>>> running,
>>>>>>>>>>>>>>>>>>>>>> haven't
>>>>>>>>>>>>>>>>>>>>>>>> looked at the others. Any
>> support
>>>>> there
>>>>>>> and
>>>>>>>>> of
>>>>>>>>>>>> course
>>>>>>>>>>>>>>> other
>>>>>>>>>>>>>>>>>>> input's
>>>>>>>>>>>>>>>>>>>>>> very
>>>>>>>>>>>>>>>>>>>>>>>> welcome :)
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> [1]
>> https://github.com/ctpconsulting/query/tree/dsimport
>>>>>>>>>>>>>>>>>>>>>>>> On Tue, Mar 5, 2013 at 7:45 AM,
>>>>> Romain
>>>>>>>>>>> Manni-Bucau
>>>>>>>>>>>> <
>>>>>>>>>>>>>>>>>>>>>>> rmannibucau@gmail.com
>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>> Yes
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> It works fine but you bring
>> too
>>>>> much
>>>>>>>> spring
>>>>>>>>>>>>>>> dependencies
>>>>>>>>>>>>>>>>>>> (totally
>>>>>>>>>>>>>>>>>>>>>>> useless
>>>>>>>>>>>>>>>>>>>>>>>>> when used this way) which
>>> clearly
>>>>>> show
>>>>>>> it
>>>>>>>>> is
>>>>>>>>>>>>> rather a
>>>>>>>>>>>>>>>>> bridge
>>>>>>>>>>>>>>>>>>>> than a
>>>>>>>>>>>>>>>>>>>>>>>>> solution + there were some
>>> leaks
>>>> in
>>>>>>>>> previous
>>>>>>>>>>>>> version
>>>>>>>>>>>>>>>> (didnt
>>>>>>>>>>>>>>>>>>> check
>>>>>>>>>>>>>>>>>>>>> fix
>>>>>>>>>>>>>>>>>>>>>>> was
>>>>>>>>>>>>>>>>>>>>>>>>> released to be honest)
>> because
>>> if
>>>>>> this
>>>>>>>>> usage
>>>>>>>>>>>> which
>>>>>>>>>>>>>> was
>>>>>>>>>>>>>>>> not
>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>>> default
>>>>>>>>>>>>>>>>>>>>>>>> one.
>>>>>>>>>>>>>>>>>>>>>>>>> Since cdi query is here it
>>> worths
>>>>>>>> importing
>>>>>>>>>> it
>>>>>>>>>>>> IMO
>>>>>>>>>>>>>>>>>>>>>>>>> Le 5 mars 2013 02:21,
>> "hantsy"
>>> <
>>>>>>>>>>>>> hantsy@yahoo.com.cn>
>>>>>>>>>>>>>> a
>>>>>>>>>>>>>>>>>> écrit :
>>>>>>>>>>>>>>>>>>>>>>>>>> I remember the Spring Data
>>> has
>>>> a
>>>>>> CDI
>>>>>>>>>>> extension,
>>>>>>>>>>>>>> but I
>>>>>>>>>>>>>>>>> have
>>>>>>>>>>>>>>>>>>> not
>>>>>>>>>>>>>>>>>>>>> used
>>>>>>>>>>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>>>>>>>>>>>> in projects. Is there
>> anyone
>>>> used
>>>>>> it
>>>>>>> in
>>>>>>>>>> Java
>>>>>>>>>>>> EE 6
>>>>>>>>>>>>>>>>> projects?
>>>>>>>>>>>>>>>>>>>>>>>>>> Hantsy
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> On 3/3/2013 20:40, Romain
>>>>>> Manni-Bucau
>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>> Basically if the query
>>> logic
>>>>>> could
>>>>>>> be
>>>>>>>>>> scope
>>>>>>>>>>>>>>> agnostic
>>>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>>>>> would
>>>>>>>>>>>>>>>>>>>>> be
>>>>>>>>>>>>>>>>>>>>>>>>> perfect
>>>>>>>>>>>>>>>>>>>>>>>>>>> for me. Parameters were
>>> fine
>>>>> and
>>>>>>>>> matched
>>>>>>>>>>> the
>>>>>>>>>>>>>> coomon
>>>>>>>>>>>>>>>>> need.
>>>>>>>>>>>>>>>>>>> I m
>>>>>>>>>>>>>>>>>>>>> not
>>>>>>>>>>>>>>>>>>>>>>>> sure
>>>>>>>>>>>>>>>>>>>>>>>>> i
>>>>>>>>>>>>>>>>>>>>>>>>>>> get what is blocking. Can
>>> you
>>>>>>> detail
>>>>>>>>> it a
>>>>>>>>>>> bit
>>>>>>>>>>>>>>> please?
>>>>>>>>>>>>>>>>>>>>>>>>>>> Le 3 mars 2013 13:09,
>>> "Thomas
>>>>>> Hug"
>>>>>>> <
>>>>>>>>>>>>>>>>>>>>>> thomas.hug@ctp-consulting.com>
>>>>>>>>>>>>>>>>>>>>>>> a
>>>>>>>>>>>>>>>>>>>>>>>>>> écrit :
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Aha got you. Yes
>>>> QueryHandler
>>>>>> can
>>>>>>> be
>>>>>>>>>> moved
>>>>>>>>>>>> to
>>>>>>>>>>>>>>>>>> application
>>>>>>>>>>>>>>>>>>>>> scope.
>>>>>>>>>>>>>>>>>>>>>>>>>>>> The other request scoped
>>>>>> component
>>>>>>>> ist
>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>>>>> CdiQueryInvocationContext.
>>>>>>>>>>>>>>>>>>>>>>>>>> Here
>>>>>>>>>>>>>>>>>>>>>>>>>>>> we store a bunch of data
>>>> which
>>>>>> is
>>>>>>>>>> related
>>>>>>>>>>> to
>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>> current
>>>>>>>>>>>>>>>>>>>> query
>>>>>>>>>>>>>>>>>>>>>>>>>> (parameters,
>>>>>>>>>>>>>>>>>>>>>>>>>>>> query string etc).
>>>> Originally
>>>>>> this
>>>>>>>> was
>>>>>>>>>>>> passed
>>>>>>>>>>>>> as
>>>>>>>>>>>>>>>>>>> parameter,
>>>>>>>>>>>>>>>>>>>>> but
>>>>>>>>>>>>>>>>>>>>>>> got
>>>>>>>>>>>>>>>>>>>>>>>>>>>> injectable for the
>>> extension
>>>>>>>> mechanism
>>>>>>>>>>> [1].
>>>>>>>>>>>>>>>> Currently
>>>>>>>>>>>>>>>>> on
>>>>>>>>>>>>>>>>>>>>>> holidays
>>>>>>>>>>>>>>>>>>>>>>>>> (sorry
>>>>>>>>>>>>>>>>>>>>>>>>>>>> the response delays) so
>>> not
>>>>> much
>>>>>>>> time
>>>>>>>>> to
>>>>>>>>>>>> look
>>>>>>>>>>>>>> into
>>>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>>>> but
>>>>>>>>>>>>>>>>>>>>> happy
>>>>>>>>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>>>>>>>>>>> take
>>>>>>>>>>>>>>>>>>>>>>>>>>>> suggestions :)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> [1]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Fri, Mar 1, 2013 at
>>> 8:18
>>>>> PM,
>>>>>>>> Romain
>>>>>>>>>>>>>>> Manni-Bucau <
>>>>>>>>>>>>>>>>>>>>>>>>>> rmannibucau@gmail.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hmm,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Wonder if the scope
>>> couldnt
>>>>> be
>>>>>>>>>>> application
>>>>>>>>>>>>> one.
>>>>>>>>>>>>>>>>> Request
>>>>>>>>>>>>>>>>>>>>> sounds
>>>>>>>>>>>>>>>>>>>>>>> too
>>>>>>>>>>>>>>>>>>>>>>>>> much
>>>>>>>>>>>>>>>>>>>>>>>>>>>> web
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> to be usable/generic
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Le 1 mars 2013 19:02,
>>>> "Thomas
>>>>>>> Hug"
>>>>>>>> <
>>>>>>>>>>>>>>>>>>>>>>> thomas.hug@ctp-consulting.com>
>>>>>>>>>>>>>>>>>>>>>>>> a
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> écrit :
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Fine for me - planned
>> to
>>>>>> create
>>>>>>> a
>>>>>>>>>> branch
>>>>>>>>>>>>> with
>>>>>>>>>>>>>>> all
>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>>>> experimental
>>>>>>>>>>>>>>>>>>>>>>>>>> APIs
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> cleared out as an
>> import
>>>>>>> proposal.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> RE scope, the
>>>>>> InvocationHandlers
>>>>>>>> are
>>>>>>>>>>>>> validated
>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>> be
>>>>>>>>>>>>>>>>>>>> normal
>>>>>>>>>>>>>>>>>>>>>>> scoped
>>>>>>>>>>>>>>>>>>>>>>>>>> [1],
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> so
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> that seemed to me the
>>> most
>>>>>>>>> appropriate
>>>>>>>>>>>>> choice
>>>>>>>>>>>>>> -
>>>>>>>>>>>>>>>> any
>>>>>>>>>>>>>>>>>>> other
>>>>>>>>>>>>>>>>>>>>>>>>> suggestions?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [1]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Wed, Feb 27, 2013
>> at
>>>> 1:15
>>>>>> PM,
>>>>>>>>>> Romain
>>>>>>>>>>>>>>>> Manni-Bucau
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <
>> rmannibucau@gmail.com
>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> some news of it?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> i think it is time to
>>>>> import
>>>>>> at
>>>>>>>>>> least a
>>>>>>>>>>>>> first
>>>>>>>>>>>>>>>>>> version,
>>>>>>>>>>>>>>>>>>>>> isn't
>>>>>>>>>>>>>>>>>>>>>>> it?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Just a note on
>> current
>>>>> code,
>>>>>> i
>>>>>>>> saw
>>>>>>>>>>>>>> QueryHandler
>>>>>>>>>>>>>>>>> (and
>>>>>>>>>>>>>>>>>>> some
>>>>>>>>>>>>>>>>>>>>>> other
>>>>>>>>>>>>>>>>>>>>>>>>>>>> beans)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> has
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> a request scope.
>> Wonder
>>>> if
>>>>>>> such a
>>>>>>>>>> scope
>>>>>>>>>>>>> means
>>>>>>>>>>>>>>>>>> something
>>>>>>>>>>>>>>>>>>>>> for a
>>>>>>>>>>>>>>>>>>>>>>>>> generic
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> (not
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> web) lib.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> wdyt?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Romain Manni-Bucau*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Twitter:
>> @rmannibucau
>>> <
>>>>>>>>>>>>>>>>>>> https://twitter.com/rmannibucau
>>>>>>>>>>>>>>>>>>>>> *
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Blog: **
>>>>>>>>>>>>> http://rmannibucau.wordpress.com/*<
>>>>>>>> http://rmannibucau.wordpress.com/>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *LinkedIn: **
>>>>>>>>>>>>>>>>> http://fr.linkedin.com/in/rmannibucau*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Github:
>>>>>>>>>>> https://github.com/rmannibucau*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2013/2/20 Romain
>>>>> Manni-Bucau
>>>>>> <
>>>>>>>>>>>>>>>>> rmannibucau@gmail.com>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> guy you rocks!
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> effectively i missed
>>> it
>>>>>> when i
>>>>>>>>>> looked.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Romain Manni-Bucau*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Twitter:
>>> @rmannibucau <
>>>>>>>>>>>>>>>>>>> https://twitter.com/rmannibucau
>>>>>>>>>>>>>>>>>>>>> *
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Blog: **
>>>>>>>>>>>>> http://rmannibucau.wordpress.com/*
>>>>>>>>>>>>>> <
>>>>>>>> http://rmannibucau.wordpress.com/>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *LinkedIn: **
>>>>>>>>>>>>>>>>> http://fr.linkedin.com/in/rmannibucau*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Github:
>>>>>>>>>>>> https://github.com/rmannibucau*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2013/2/20 Thomas
>> Hug <
>>>>>>>>>>>>>>>>> thomas.hug@ctp-consulting.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thnx Romain. If
>> with
>>>>> proxy
>>>>>>>> stuff
>>>>>>>>>> you
>>>>>>>>>>>>> refer
>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>> DS
>>>> InvocationHandlerBinding,
>>>>>>>> that's
>>>>>>>>>>>> already
>>>>>>>>>>>>>>>>> integrated
>>>>>>>>>>>>>>>>>>> :)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> RE pagination, it's
>>>> maybe
>>>>>> not
>>>>>>>>> that
>>>>>>>>>>>>> obvious,
>>>>>>>>>>>>>>> but
>>>>>>>>>>>>>>>>>>> there's
>>>>>>>>>>>>>>>>>>>>>> more
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> advanced
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> support in
>>> QueryResult
>>>>>>> [1][2],
>>>>>>>>>> which
>>>>>>>>>>> is
>>>>>>>>>>>>>> more
>>>>>>>>>>>>>>>> of a
>>>>>>>>>>>>>>>>>>>> fluent
>>>>>>>>>>>>>>>>>>>>>> API
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> approach,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> but
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> should behave
>> similar
>>>> to
>>>>> a
>>>>>>>>>>> PageRequest
>>>>>>>>>>>>> (the
>>>>>>>>>>>>>>>> query
>>>>>>>>>>>>>>>>>>>>> execution
>>>>>>>>>>>>>>>>>>>>>>> is
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> delayed
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> until the
>> getResult()
>>>>>> methods
>>>>>>>> on
>>>>>>>>>>>>>> QueryResult
>>>>>>>>>>>>>>> is
>>>>>>>>>>>>>>>>>>>> called).
>>>>>>>>>>>>>>>>>>>>>> Hope
>>>>>>>>>>>>>>>>>>>>>>>>> that
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> fits
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> what you had in
>> mind.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [1]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [2]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Wed, Feb 20,
>> 2013
>>> at
>>>>>> 10:04
>>>>>>>> PM,
>>>>>>>>>>>> Romain
>>>>>>>>>>>>>>>>>> Manni-Bucau
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <
>>> rmannibucau@gmail.com
>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Thomas,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> importing proxy
>>> stuff
>>>>>> would
>>>>>>> be
>>>>>>>>> the
>>>>>>>>>>>> first
>>>>>>>>>>>>>>> great
>>>>>>>>>>>>>>>>>>> stuff.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> i'd like to see
>> some
>>>>>>>> pagination
>>>>>>>>>> API
>>>>>>>>>>>>> (like
>>>>>>>>>>>>>>>>>>> PageRequest
>>>>>>>>>>>>>>>>>>>>> etc
>>>>>>>>>>>>>>>>>>>>>> in
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> spring
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> world)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> which are more
>> user
>>>>>> friendly
>>>>>>>>> that
>>>>>>>>>>>>>>> @FirstResult
>>>>>>>>>>>>>>>>> and
>>>>>>>>>>>>>>>>>>>>>>>> @MaxResult).
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> wdyt?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Romain
>> Manni-Bucau*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Twitter:
>>>> @rmannibucau <
>>>>>>>>>>>>>>>>>>>> https://twitter.com/rmannibucau
>>>>>>>>>>>>>>>>>>>>>> *
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Blog: **
>>>>>>>>>>>>>> http://rmannibucau.wordpress.com/*
>>>>>>>>>>>>>>> <
>>>>>>>>> http://rmannibucau.wordpress.com/
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *LinkedIn: **
>>>>>>>>>>>>>>>>>> http://fr.linkedin.com/in/rmannibucau*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Github:
>>>>>>>>>>>>> https://github.com/rmannibucau*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2013/2/20 Thomas
>>> Hug <
>>>>>>>>>>>>>>>>>> thomas.hug@ctp-consulting.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CDI Query has
>> now a
>>>>>>>> completely
>>>>>>>>>>>>>> Solder-free
>>>>>>>>>>>>>>>> POM.
>>>>>>>>>>>>>>>>>>> Feel
>>>>>>>>>>>>>>>>>>>>> free
>>>>>>>>>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> drop
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> comments
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> on the API - some
>>>> parts
>>>>>>> might
>>>>>>>>>>>> actually
>>>>>>>>>>>>> be
>>>>>>>>>>>>>>>> fully
>>>>>>>>>>>>>>>>>>>>> excluded
>>>>>>>>>>>>>>>>>>>>>>>> (e.g.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> home
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> and
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> critera APIs).
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Tue, Feb 12,
>>> 2013
>>>> at
>>>>>>> 10:00
>>>>>>>>> PM,
>>>>>>>>>>>> Mark
>>>>>>>>>>>>>>>>> Struberg <
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> struberg@yahoo.de>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks Thomas,
>>> great
>>>>>> news!
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> LieGrue,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> strub
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>> ________________________________
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> From: Thomas
>> Hug
>>> <
>>>>>>>>>>>>>>>>>> thomas.hug@ctp-consulting.com>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> To: "
>>>>>>>>>>>>>> deltaspike-dev@incubator.apache.org
>>>>>>>>>>>>>>> "
>>>>>>>>>>>>>>>> <
>>>>>>>>>>> deltaspike-dev@incubator.apache.org
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Sent: Tuesday,
>>>>> February
>>>>>>> 12,
>>>>>>>>>> 2013
>>>>>>>>>>>> 4:10
>>>>>>>>>>>>>> PM
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Subject: Re:
>>>>> cdi-query,
>>>>>>> no
>>>>>>>>>> news?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> FYI, I've
>> started
>>>> to
>>>>>>>>>>> "de-solderize"
>>>>>>>>>>>>> CDI
>>>>>>>>>>>>>>>> Query
>>>>>>>>>>>>>>>>>> and
>>>>>>>>>>>>>>>>>>>>> move
>>>>>>>>>>>>>>>>>>>>>>>>>>>> things
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> depend
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> on
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> DS Core [1]:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>> https://github.com/ctpconsulting/query/tree/deltaspike
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Todos:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [x] Replace
>>>>>>> ServiceHandler
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [_] Include
>>>> Property
>>>>>>> utils
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [_] Replace
>> JBoss
>>>>>> Logging
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Any feedback
>>>> welcome.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [1] including
>>> this
>>>>>>>>> modification
>> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Feb 11,
>>>> 2013
>>>>> at
>>>>>>>> 6:01
>>>>>>>>>> PM,
>>>>>>>>>>>>> Romain
>>>>>>>>>>>>>>>>>>> Manni-Bucau
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <
>>>>> rmannibucau@gmail.com
>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> a review of
>> the
>>>> API
>>>>> i
>>>>>>>> guess
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> what is
>> missing
>>>>> today
>>>>>> is
>>>>>>>>>>> probably
>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>> pagination
>>>>>>>>>>>>>>>>>>>>>> helpers
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> (PageRequest
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> instance)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> but
>> technically
>>>> all
>>>>> is
>>>>>>>> fine
>>>>>>>>>> IMO
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Romain
>>>> Manni-Bucau*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Twitter:
>>>>>> @rmannibucau <
>>>>>>>>>>>>>>>>>>>>>> https://twitter.com/rmannibucau
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Blog: **
>>>>>>>>>>>>>>>> http://rmannibucau.wordpress.com/*
>>>>>>>>>>>>>>>>> <
>>>>>>>>>>> http://rmannibucau.wordpress.com/
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *LinkedIn: **
>>>>>>>>>>>>>>>>>>>> http://fr.linkedin.com/in/rmannibucau*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Github:
>>>>>>>>>>>>>>> https://github.com/rmannibucau*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2013/2/11
>> Jason
>>>>>> Porter <
>>>>>>>>>>>>>>>>>> lightguard.jp@gmail.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I know I'm
>>>> playing
>>>>>> the
>>>>>>>>>>>> necromancer,
>>>>>>>>>>>>>> but
>>>>>>>>>>>>>>>>>> please
>>>>>>>>>>>>>>>>>>>>>> forgive
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> me.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> We
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> have
>>>> InvocationHandler,
>>>>>>> which
>>>>>>>>>> looks
>>>>>>>>>>>> like
>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>>> would
>>>>>>>>>>>>>>>>>>> work
>>>>>>>>>>>>>>>>>>>>> as
>>>>>>>>>>>>>>>>>>>>>> a
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ServiceHandler
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> substitute.
>>> What
>>>>> else
>>>>>>> is
>>>>>>>>>> needed
>>>>>>>>>>>> to
>>>>>>>>>>>>>> get
>>>>>>>>>>>>>>>> CDI
>>>>>>>>>>>>>>>>>>> Query
>>>>>>>>>>>>>>>>>>>>> into
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> DeltaSpike?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Sun, Nov
>> 18,
>>>>> 2012
>>>>>> at
>>>>>>>>> 12:35
>>>>>>>>>>> PM,
>>>>>>>>>>>>>>> Romain
>>>>>>>>>>>>>>>>>>>>> Manni-Bucau
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <
>>>>>> rmannibucau@gmail.com
>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +1, it is a
>>> must
>>>>>> have
>>>>>>>> for
>>>>>>>>>> cdi
>>>>>>>>>>>>> world
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Le 18 nov.
>>> 2012
>>>>>> 20:04,
>>>>>>>>>>>>>> "john.d.ament"
>>>>>>>>>>>>>>> <
>>> john.d.ament@gmail.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> a
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> écrit :
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> RE
>>>> ServiceHandler
>>>>>> - I
>>>>>>>> was
>>>>>>>>>> one
>>>>>>>>>>>> of
>>>>>>>>>>>>>>> those
>>>>>>>>>>>>>>>>> who
>>>>>>>>>>>>>>>>>>>>>>>>>>>> previously
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> suggested
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> bringing
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> over to
>>>>> DeltaSpike,
>>>>>>> you
>>>>>>>>> can
>>>>>>>>>>> see
>>>>>>>>>>>>>>>>>>> DELTASPIKE-113
>>>>>>>>>>>>>>>>>>>>> and
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> find
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> thread
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> about
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> from April
>> of
>>>>> this
>>>>>>>> year.
>>>>>>>>>>  At
>>>>>>>>>>>> the
>>>>>>>>>>>>>>> time,
>>>>>>>>>>>>>>>> I
>>>>>>>>>>>>>>>>>> was
>>>>>>>>>>>>>>>>>>>> in a
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> position
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> where I
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> couldn't
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> spend much
>>> time
>>>>> on
>>>>>>> open
>>>>>>>>>>> source
>>>>>>>>>>>>>>>>>> contribution.
>>>>>>>>>>>>>>>>>>>>>  I've
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> recently
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> changed
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> jobs,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> something
>>>> that's
>>>>>>> going
>>>>>>>> to
>>>>>>>>>>> help
>>>>>>>>>>>> me
>>>>>>>>>>>>>>> spend
>>>>>>>>>>>>>>>>>> some
>>>>>>>>>>>>>>>>>>>> more
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> time
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> with
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> open
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> source
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> community,
>>> and
>>>>>>> believe
>>>>>>>> I
>>>>>>>>>> can
>>>>>>>>>>>> pick
>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>> back
>>>>>>>>>>>>>>>>>> up
>>>>>>>>>>>>>>>>>>> if
>>>>>>>>>>>>>>>>>>>>>>>>>>>> we're
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ready.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> If
>> everyone's
>>>> ok
>>>>>> with
>>>>>>>> it
>>>>>>>>> I
>>>>>>>>>>> can
>>>>>>>>>>>>>> start
>>>>>>>>>>>>>>> a
>>>>>>>>>>>>>>>>> new
>>>>>>>>>>>>>>>>>>>> thread
>>>>>>>>>>>>>>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 113
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> or
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> revive
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> old
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> thread
>>> (though
>>>> it
>>>>>> may
>>>>>>>>> come
>>>>>>>>>>>>> through
>>>>>>>>>>>>>>>> with a
>>>>>>>>>>>>>>>>>>> large
>>>>>>>>>>>>>>>>>>>>>>>>>>>> pile
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> of
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> dust).
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> John
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> View this
>>>> message
>>>>>> in
>>>>>>>>>> context:
>> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Sent from
>> the
>>>>>> Apache
>>>>>>>>>>> DeltaSpike
>>>>>>>>>>>>>>>> Incubator
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Discussions
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> mailing
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> list
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> archive
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> at
>>> Nabble.com.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Jason Porter
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>> http://en.gravatar.com/lightguardjp
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>


Re: cdi-query, no news?

Posted by Thomas Hug <th...@ctp-consulting.com>.
Sorry the delay, finally found some time to work on the Wiki proposal again:
https://cwiki.apache.org/confluence/display/DeltaSpike/Repository+Drafts

On Wed, Mar 20, 2013 at 11:44 PM, Gerhard Petracek <
gerhard.petracek@gmail.com> wrote:

> hi thomas,
>
> @ EntityManager:
>
> that's why i said:
> >imo it should follow the basic style/s we have in other parts already (if
> possible).
>
> -> in case of EMs with different qualifiers we could think e.g. about an
> approach similar to the one we have for the optional MessageContextConfig
> (instead of a method in AbstractEntityRepository which would be needed in
> EntityRepository to support cases without AbstractEntityRepository), if
> users can't or don't like to pass in the needed instance as method
> parameter (or inject it in the partial bean).
>
> @ saveAndFlush:
> yes - the reason for it is clear as well, however, it doesn't harm to add
> the missing combinations (which make sense).
>
> @ john:
> it isn't documented so far, but we have it already (as a first draft).
> however, we have to move it to an own module and use a different proxy lib
> (or commons proxy).
>
> regards,
> gerhard
>
>
>
> 2013/3/20 Romain Manni-Bucau <rm...@gmail.com>
>
> > IIRC what we have should be reworked ir dropped
> > Le 20 mars 2013 18:08, "John D. Ament" <jo...@gmail.com> a écrit
> :
> >
> > > I don't believe we've implemented partial class support yet.
> > >
> > >
> > > On Wed, Mar 20, 2013 at 12:46 PM, Thomas Hug
> > > <th...@ctp-consulting.com>wrote:
> > >
> > > > @ #getEntityManager: Thnx for the correction - good news, AFAIR that
> > > wasn't
> > > > implemented in Solder. Injecting the EM is probably more natural,
> OTOH
> > > not
> > > > relying on injection seems more consistent with interface based
> > > > repositories. Moving the method to EntityRepository might be done
> with
> > > > regards to multiple EMs (overriding and annotating the method with
> the
> > > > qualifier(s)), but this solution has probably some confusing side
> > effects
> > > > with annotation inheritance on interfaces. Otherwise keeping it in
> the
> > > > class-based repository seems to me ok. Opinions, better suggestions?
> > > Looks
> > > > not yet optimal to me...
> > > >
> > > > @ saveAndFlush: Sorry now I get you - yes that's quite a common one,
> > > where
> > > > I've rarely seen other combined. My preferrence was providing the
> > > extension
> > > > mechanism for these not so common ones (e.g. save flush refresh etc)
> > > > instead of pushing everything into the base classes. But besides that
> > > > nothing speaking against it adding other combinations.
> > > >
> > > > @ flush with method expressions, those expressions are read-only so
> > far.
> > > >
> > > > On Mon, Mar 18, 2013 at 6:45 PM, Romain Manni-Bucau
> > > > <rm...@gmail.com>wrote:
> > > >
> > > > > agree but in general you can need the (generated) id ->
> saveAndFlush
> > > but
> > > > > when you remove sthg you don't query it again. So i guess that's
> > just a
> > > > > common method added from the usage.
> > > > >
> > > > > Didn't check the impl but flush could be added to the "method name
> > > dsl",
> > > > > wdyt?
> > > > >
> > > > > *Romain Manni-Bucau*
> > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > http://rmannibucau.wordpress.com/>
> > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > *Github: https://github.com/rmannibucau*
> > > > >
> > > > >
> > > > >
> > > > > 2013/3/18 Gerhard Petracek <ge...@gmail.com>
> > > > >
> > > > > > hi thomas,
> > > > > >
> > > > > > @ #getEntityManager:
> > > > > > injection works in such (partial-)beans (we have tests for it).
> > > > > >
> > > > > > @ #saveAndFlush:
> > > > > > it's clear what it does, but not why it's the only combined
> > operation
> > > > > (e.g.
> > > > > > there is no #removeAndFlush).
> > > > > >
> > > > > > regards,
> > > > > > gerhard
> > > > > >
> > > > > >
> > > > > >
> > > > > > 2013/3/18 Thomas Hug <th...@ctp-consulting.com>
> > > > > >
> > > > > > > Thnx for the remarks Gerhard!
> > > > > > >
> > > > > > > - @Query: Good point, looks more consistent to me too.
> > > > > > > - NonEntity was AFAIR introduced to make it more explicit that
> > the
> > > > > Entity
> > > > > > > class comes from somewhere else. I don't think we need it - if
> > > nobody
> > > > > > > prefers the explicit style then I'd favor removing it.
> > > > > > > - Not sure if I get the next point - the EntityManager comes
> > always
> > > > > from
> > > > > > a
> > > > > > > producer and is looked up in the Impl classes (and I guess
> > > injection
> > > > > > won't
> > > > > > > work in InvocationHandlerBinding beans anyway). The methods
> from
> > > > > > > EntityRepository and AbstractEntityRepository are not meant to
> be
> > > > > > > implemented by a client. There's only a getEntityManager() on
> the
> > > > > > > AbstractEntityRepository to be used by concrete query methods
> > which
> > > > you
> > > > > > > don't have with an interface-based repository.
> > > > > > >
> > > > > > > @Repository
> > > > > > > public interface PersonRepository extends EntityRepository
> > <Person,
> > > > > > Long> {
> > > > > > >      Person findBySsn(String ssn);
> > > > > > > }
> > > > > > >
> > > > > > > public abstract class PersonRepository extends
> > > > > > > AbstractEntityRepository<Person, Long> {
> > > > > > >     public List<Person> findByXY(X x, Y y) {
> > > > > > >         // some logic
> > > > > > >         return
> > > getEntityManager().createQuery(query).getResultList();
> > > > > > >     }
> > > > > > > }
> > > > > > >
> > > > > > > - saveAndFlush will simply call flush after persist/merge
> instead
> > > of
> > > > > > > waiting for it at the transaction commit. Can have impact on
> > > > following
> > > > > > > queries.
> > > > > > >
> > > > > > > Confluence updates to follow. Hope that helps...
> > > > > > >
> > > > > > > On Sun, Mar 17, 2013 at 3:12 PM, Gerhard Petracek <
> > > > > > > gerhard.petracek@gmail.com> wrote:
> > > > > > >
> > > > > > > > hi thomas,
> > > > > > > >
> > > > > > > > i would prefer e.g.
> > > > > > > > Query#value + Query#isNative (false as the default)
> > > > > > > > instead of
> > > > > > > > Query#value + Query#sql
> > > > > > > >
> > > > > > > > and it would be great to get additional information about the
> > > need
> > > > > of:
> > > > > > > >
> > > > > > > >  - NonEntity (as the default)
> > > > > > > >  - AbstractEntityRepository
> > > > > > > >    (e.g. you can pass in the EntityManager as parameter or
> > inject
> > > > it.
> > > > > > > >     you would need it e.g. for EntityRepository#save,... -
> but
> > in
> > > > > > > > EntityRepository it isn't part of the contract...)
> > > > > > > >  - (EntityRepository#saveAndFlush as the only combined
> > operation)
> > > > > > > >
> > > > > > > > regards,
> > > > > > > > gerhard
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > 2013/3/14 Thomas Hug <th...@ctp-consulting.com>
> > > > > > > >
> > > > > > > > > Thnx for the pointers. Started to outline the APIs here [1]
> > > with
> > > > > > > examples
> > > > > > > > > in decreasing priority.
> > > > > > > > >
> > > > > > > > > [1]
> > > > > > > > >
> > > > > > >
> > > > >
> > >
> https://cwiki.apache.org/confluence/display/DeltaSpike/Repository+Drafts
> > > > > > > > >
> > > > > > > > > On Thu, Mar 14, 2013 at 10:05 AM, Gerhard Petracek <
> > > > > > > > > gerhard.petracek@gmail.com> wrote:
> > > > > > > > >
> > > > > > > > > > +1
> > > > > > > > > >
> > > > > > > > > > regards,
> > > > > > > > > > gerhard
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > 2013/3/14 Romain Manni-Bucau <rm...@gmail.com>
> > > > > > > > > >
> > > > > > > > > > > ok great,
> > > > > > > > > > >
> > > > > > > > > > > wonder if we couldn't start by a first version without
> > such
> > > > > > > > > > extensibility +
> > > > > > > > > > > no scopes for queries?
> > > > > > > > > > >
> > > > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > > > *Twitter: @rmannibucau <
> https://twitter.com/rmannibucau
> > >*
> > > > > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > *Github: https://github.com/rmannibucau*
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > 2013/3/14 Gerhard Petracek <gerhard.petracek@gmail.com
> >
> > > > > > > > > > >
> > > > > > > > > > > > hi romain,
> > > > > > > > > > > >
> > > > > > > > > > > > no - it's more about the style we introduced e.g. for
> > > > > type-safe
> > > > > > > > > > messages.
> > > > > > > > > > > >
> > > > > > > > > > > > regards,
> > > > > > > > > > > > gerhard
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > 2013/3/14 Romain Manni-Bucau <rm...@gmail.com>
> > > > > > > > > > > >
> > > > > > > > > > > > > @Gerhard: hope you don't think of @RepoBinding at
> > > > > all...would
> > > > > > > be
> > > > > > > > > too
> > > > > > > > > > > much
> > > > > > > > > > > > > IMO. Would be great to support aliases/stereotype
> > maybe
> > > > but
> > > > > > not
> > > > > > > > the
> > > > > > > > > > > > default
> > > > > > > > > > > > >
> > > > > > > > > > > > > Wdyt?
> > > > > > > > > > > > > Le 14 mars 2013 00:11, "Gerhard Petracek" <
> > > > > > > > > > gerhard.petracek@gmail.com>
> > > > > > > > > > > a
> > > > > > > > > > > > > écrit :
> > > > > > > > > > > > >
> > > > > > > > > > > > > > hi thomas,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > imo it should follow the basic style/s we have in
> > > other
> > > > > > parts
> > > > > > > > > > already
> > > > > > > > > > > > (if
> > > > > > > > > > > > > > possible).
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > i guess the simple implementations in the
> > test-module
> > > > are
> > > > > > too
> > > > > > > > > > simple
> > > > > > > > > > > to
> > > > > > > > > > > > > see
> > > > > > > > > > > > > > the real benefit.
> > > > > > > > > > > > > > -> it would be nice if you add some drafts to a
> > > > sub-page
> > > > > of
> > > > > > > > [1].
> > > > > > > > > > > > > > (the usage you would prefer and not as it is
> right
> > > > now.)
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > regards,
> > > > > > > > > > > > > > gerhard
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > [1]
> > > > > > > > >
> > https://cwiki.apache.org/confluence/display/DeltaSpike/Drafts
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > 2013/3/13 Romain Manni-Bucau <
> > rmannibucau@gmail.com>
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > i'd put it in to start since that's useful for
> > JPA
> > > > but
> > > > > it
> > > > > > > > > > shouldn't
> > > > > > > > > > > > use
> > > > > > > > > > > > > > it
> > > > > > > > > > > > > > > at all
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > a question (for next iteration if that's ok for
> > > > > > everybody)
> > > > > > > is
> > > > > > > > > > > should
> > > > > > > > > > > > > > repos
> > > > > > > > > > > > > > > handle transaction or at least define it.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > > > > > > > *Twitter: @rmannibucau <
> > > > > https://twitter.com/rmannibucau
> > > > > > >*
> > > > > > > > > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > *LinkedIn: **
> > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > *Github: https://github.com/rmannibucau*
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > 2013/3/13 John D. Ament <
> john.d.ament@gmail.com>
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Does this have any direct/indirect
> dependencies
> > > on
> > > > > JPA
> > > > > > > > > module?
> > > > > > > > > > > > Should
> > > > > > > > > > > > > > > this
> > > > > > > > > > > > > > > > maybe become a part of the JPA module?
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Wed, Mar 13, 2013 at 7:23 AM, Thomas Hug
> > > > > > > > > > > > > > > > <th...@ctp-consulting.com>wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Ok, I guess it's going to be Repository :)
> > > > Updated
> > > > > > the
> > > > > > > > > > proposal
> > > > > > > > > > > > > > branch
> > > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > also moved things into a data
> package/module.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Some remarks for the parts below:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > 1) EntityManagerRepository wasn't present
> in
> > > the
> > > > > > Solder
> > > > > > > > > > > > > > implementation
> > > > > > > > > > > > > > > -
> > > > > > > > > > > > > > > > > there it was possible to simply
> > > implement/extend
> > > > > > > > > > EntityManager.
> > > > > > > > > > > > The
> > > > > > > > > > > > > > > > problem
> > > > > > > > > > > > > > > > > with the invocation handler is that it's
> not
> > > > > possible
> > > > > > > to
> > > > > > > > > > > restrict
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > bean
> > > > > > > > > > > > > > > > > type and exclude EntityManager (or I missed
> > > it).
> > > > > > > > Otherwise
> > > > > > > > > > I'd
> > > > > > > > > > > > > rather
> > > > > > > > > > > > > > > get
> > > > > > > > > > > > > > > > > rid of this interface.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > 2) WithEntityManager is definitely
> > discussable.
> > > > Not
> > > > > > the
> > > > > > > > > full
> > > > > > > > > > > > > solution
> > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > not consistent. Could be solved with e.g.
> > > putting
> > > > > > > > > qualifiers
> > > > > > > > > > > on a
> > > > > > > > > > > > > > > method
> > > > > > > > > > > > > > > > > returning an EntityManager (less intuitive)
> > or
> > > > > > > something
> > > > > > > > > like
> > > > > > > > > > > the
> > > > > > > > > > > > > > > > > InvocationHandlerBinding.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > 3) AbstractEntityRepository is just a
> > > convenience
> > > > > > class
> > > > > > > > for
> > > > > > > > > > > > > providing
> > > > > > > > > > > > > > > > > concrete query implementations.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On Tue, Mar 12, 2013 at 9:40 PM, Gerhard
> > > > Petracek <
> > > > > > > > > > > > > > > > > gerhard.petracek@gmail.com> wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > hi,
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > currently we don't have one jira ticket
> per
> > > > > > > > part/feature.
> > > > > > > > > > > > > > > > > > that's what we used to have for
> everything
> > we
> > > > > > > imported.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > the first parts to discuss are imo
> > > > > > EntityManagerDao,
> > > > > > > > > > > > > > > WithEntityManager
> > > > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > AbstractEntityDao.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > regards,
> > > > > > > > > > > > > > > > > > gerhard
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > 2013/3/12 Arne Limburg <
> > > > > > > arne.limburg@openknowledge.de>
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > +1 for repository, from me too
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Gesendet mit meinem HTC
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > ----- Reply message -----
> > > > > > > > > > > > > > > > > > > Von: "Thomas Andraschko" <
> > > > > > > > andraschko.thomas@gmail.com>
> > > > > > > > > > > > > > > > > > > An: "
> deltaspike-dev@incubator.apache.org
> > "
> > > <
> > > > > > > > > > > > > > > > > > > deltaspike-dev@incubator.apache.org>
> > > > > > > > > > > > > > > > > > > Betreff: cdi-query, no news?
> > > > > > > > > > > > > > > > > > > Datum: Di., Mär. 12, 2013 20:38
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > +1 repository! :) "Query" doesn't
> really
> > > > match
> > > > > > the
> > > > > > > > > > > > functionaly.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > 2013/3/12 Romain Manni-Bucau <
> > > > > > > rmannibucau@gmail.com>
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > +2 for repo
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > btw did you fixed the scope issue?
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > > > *Twitter: @rmannibucau <
> > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > >*
> > > > > > > > > > > > > > > > > > > > *Blog: **
> > > > http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > > > > > > *LinkedIn: **
> > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > > *Github:
> > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > 2013/3/12 Thomas Hug <
> > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > The name is still freely choosable
> -
> > > data
> > > > > > > sounds
> > > > > > > > > fine
> > > > > > > > > > > to
> > > > > > > > > > > > me
> > > > > > > > > > > > > > if
> > > > > > > > > > > > > > > > > nobody
> > > > > > > > > > > > > > > > > > > > minds
> > > > > > > > > > > > > > > > > > > > > the obvious mirroring on Spring
> Data
> > ;)
> > > > > > > dao/@Dao
> > > > > > > > is
> > > > > > > > > > > > > > > discussable,
> > > > > > > > > > > > > > > > > all
> > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > domain driven folks prefer probably
> > > > > something
> > > > > > > > like
> > > > > > > > > > > > > > > "Repository".
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > On Tue, Mar 12, 2013 at 7:29 PM,
> > Romain
> > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > > > > <rm...@gmail.com>wrote:
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Great :)
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > any issue changing "query" to
> > > something
> > > > > > > closer
> > > > > > > > to
> > > > > > > > > > > what
> > > > > > > > > > > > it
> > > > > > > > > > > > > > > > really
> > > > > > > > > > > > > > > > > > > does ;
> > > > > > > > > > > > > > > > > > > > > > "dao" (because of @Dao) or
> "data"?
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > > > > > *Twitter: @rmannibucau <
> > > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > >*
> > > > > > > > > > > > > > > > > > > > > > *Blog: **
> > > > > > http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > > > > > > > > > >
> http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > > > > > > > > *LinkedIn: **
> > > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > > *Github:
> > > > https://gihub.com/rmannibucau*<
> > > > > > > > > > > > > > > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > 2013/3/12 Thomas Hug <
> > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > FYI, I've started something
> like
> > an
> > > > > > import
> > > > > > > > > > proposal
> > > > > > > > > > > > in
> > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > > dedicated
> > > > > > > > > > > > > > > > > > > > > branch
> > > > > > > > > > > > > > > > > > > > > > > [1]. There's currently only the
> > > JBoss
> > > > > > > > > Arquillian
> > > > > > > > > > > > > profile
> > > > > > > > > > > > > > > > > running,
> > > > > > > > > > > > > > > > > > > > > haven't
> > > > > > > > > > > > > > > > > > > > > > > looked at the others. Any
> support
> > > > there
> > > > > > and
> > > > > > > > of
> > > > > > > > > > > course
> > > > > > > > > > > > > > other
> > > > > > > > > > > > > > > > > > input's
> > > > > > > > > > > > > > > > > > > > > very
> > > > > > > > > > > > > > > > > > > > > > > welcome :)
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > [1]
> > > > > > > > > > > > >
> https://github.com/ctpconsulting/query/tree/dsimport
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > On Tue, Mar 5, 2013 at 7:45 AM,
> > > > Romain
> > > > > > > > > > Manni-Bucau
> > > > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > > > > > > > > > > > > > > >wrote:
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > Yes
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > It works fine but you bring
> too
> > > > much
> > > > > > > spring
> > > > > > > > > > > > > > dependencies
> > > > > > > > > > > > > > > > > > (totally
> > > > > > > > > > > > > > > > > > > > > > useless
> > > > > > > > > > > > > > > > > > > > > > > > when used this way) which
> > clearly
> > > > > show
> > > > > > it
> > > > > > > > is
> > > > > > > > > > > > rather a
> > > > > > > > > > > > > > > > bridge
> > > > > > > > > > > > > > > > > > > than a
> > > > > > > > > > > > > > > > > > > > > > > > solution + there were some
> > leaks
> > > in
> > > > > > > > previous
> > > > > > > > > > > > version
> > > > > > > > > > > > > > > (didnt
> > > > > > > > > > > > > > > > > > check
> > > > > > > > > > > > > > > > > > > > fix
> > > > > > > > > > > > > > > > > > > > > > was
> > > > > > > > > > > > > > > > > > > > > > > > released to be honest)
> because
> > if
> > > > > this
> > > > > > > > usage
> > > > > > > > > > > which
> > > > > > > > > > > > > was
> > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > default
> > > > > > > > > > > > > > > > > > > > > > > one.
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > Since cdi query is here it
> > worths
> > > > > > > importing
> > > > > > > > > it
> > > > > > > > > > > IMO
> > > > > > > > > > > > > > > > > > > > > > > > Le 5 mars 2013 02:21,
> "hantsy"
> > <
> > > > > > > > > > > > hantsy@yahoo.com.cn>
> > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > écrit :
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > I remember the Spring Data
> > has
> > > a
> > > > > CDI
> > > > > > > > > > extension,
> > > > > > > > > > > > > but I
> > > > > > > > > > > > > > > > have
> > > > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > > > > used
> > > > > > > > > > > > > > > > > > > > > > it
> > > > > > > > > > > > > > > > > > > > > > > > > in projects. Is there
> anyone
> > > used
> > > > > it
> > > > > > in
> > > > > > > > > Java
> > > > > > > > > > > EE 6
> > > > > > > > > > > > > > > > projects?
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > Hantsy
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > On 3/3/2013 20:40, Romain
> > > > > Manni-Bucau
> > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > > > > > Basically if the query
> > logic
> > > > > could
> > > > > > be
> > > > > > > > > scope
> > > > > > > > > > > > > > agnostic
> > > > > > > > > > > > > > > it
> > > > > > > > > > > > > > > > > > would
> > > > > > > > > > > > > > > > > > > > be
> > > > > > > > > > > > > > > > > > > > > > > > perfect
> > > > > > > > > > > > > > > > > > > > > > > > > > for me. Parameters were
> > fine
> > > > and
> > > > > > > > matched
> > > > > > > > > > the
> > > > > > > > > > > > > coomon
> > > > > > > > > > > > > > > > need.
> > > > > > > > > > > > > > > > > > I m
> > > > > > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > > > > > > > sure
> > > > > > > > > > > > > > > > > > > > > > > > i
> > > > > > > > > > > > > > > > > > > > > > > > > > get what is blocking. Can
> > you
> > > > > > detail
> > > > > > > > it a
> > > > > > > > > > bit
> > > > > > > > > > > > > > please?
> > > > > > > > > > > > > > > > > > > > > > > > > > Le 3 mars 2013 13:09,
> > "Thomas
> > > > > Hug"
> > > > > > <
> > > > > > > > > > > > > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > > > > > > > > > écrit :
> > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > >> Aha got you. Yes
> > > QueryHandler
> > > > > can
> > > > > > be
> > > > > > > > > moved
> > > > > > > > > > > to
> > > > > > > > > > > > > > > > > application
> > > > > > > > > > > > > > > > > > > > scope.
> > > > > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > > > > >> The other request scoped
> > > > > component
> > > > > > > ist
> > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > > > CdiQueryInvocationContext.
> > > > > > > > > > > > > > > > > > > > > > > > > Here
> > > > > > > > > > > > > > > > > > > > > > > > > >> we store a bunch of data
> > > which
> > > > > is
> > > > > > > > > related
> > > > > > > > > > to
> > > > > > > > > > > > the
> > > > > > > > > > > > > > > > current
> > > > > > > > > > > > > > > > > > > query
> > > > > > > > > > > > > > > > > > > > > > > > > (parameters,
> > > > > > > > > > > > > > > > > > > > > > > > > >> query string etc).
> > > Originally
> > > > > this
> > > > > > > was
> > > > > > > > > > > passed
> > > > > > > > > > > > as
> > > > > > > > > > > > > > > > > > parameter,
> > > > > > > > > > > > > > > > > > > > but
> > > > > > > > > > > > > > > > > > > > > > got
> > > > > > > > > > > > > > > > > > > > > > > > > >> injectable for the
> > extension
> > > > > > > mechanism
> > > > > > > > > > [1].
> > > > > > > > > > > > > > > Currently
> > > > > > > > > > > > > > > > on
> > > > > > > > > > > > > > > > > > > > > holidays
> > > > > > > > > > > > > > > > > > > > > > > > (sorry
> > > > > > > > > > > > > > > > > > > > > > > > > >> the response delays) so
> > not
> > > > much
> > > > > > > time
> > > > > > > > to
> > > > > > > > > > > look
> > > > > > > > > > > > > into
> > > > > > > > > > > > > > > it
> > > > > > > > > > > > > > > > > but
> > > > > > > > > > > > > > > > > > > > happy
> > > > > > > > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > > > > > > > take
> > > > > > > > > > > > > > > > > > > > > > > > > >> suggestions :)
> > > > > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > > > > >> [1]
> > > > > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> > > > > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > > > > >> On Fri, Mar 1, 2013 at
> > 8:18
> > > > PM,
> > > > > > > Romain
> > > > > > > > > > > > > > Manni-Bucau <
> > > > > > > > > > > > > > > > > > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > > > > > > > > > > > > > > > > >>> wrote:
> > > > > > > > > > > > > > > > > > > > > > > > > >>> Hmm,
> > > > > > > > > > > > > > > > > > > > > > > > > >>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>> Wonder if the scope
> > couldnt
> > > > be
> > > > > > > > > > application
> > > > > > > > > > > > one.
> > > > > > > > > > > > > > > > Request
> > > > > > > > > > > > > > > > > > > > sounds
> > > > > > > > > > > > > > > > > > > > > > too
> > > > > > > > > > > > > > > > > > > > > > > > much
> > > > > > > > > > > > > > > > > > > > > > > > > >> web
> > > > > > > > > > > > > > > > > > > > > > > > > >>> to be usable/generic
> > > > > > > > > > > > > > > > > > > > > > > > > >>> Le 1 mars 2013 19:02,
> > > "Thomas
> > > > > > Hug"
> > > > > > > <
> > > > > > > > > > > > > > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > > > > > > > > > >>> écrit :
> > > > > > > > > > > > > > > > > > > > > > > > > >>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>> Fine for me - planned
> to
> > > > > create
> > > > > > a
> > > > > > > > > branch
> > > > > > > > > > > > with
> > > > > > > > > > > > > > all
> > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > > > experimental
> > > > > > > > > > > > > > > > > > > > > > > > > APIs
> > > > > > > > > > > > > > > > > > > > > > > > > >>>> cleared out as an
> import
> > > > > > proposal.
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>> RE scope, the
> > > > > InvocationHandlers
> > > > > > > are
> > > > > > > > > > > > validated
> > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > be
> > > > > > > > > > > > > > > > > > > normal
> > > > > > > > > > > > > > > > > > > > > > scoped
> > > > > > > > > > > > > > > > > > > > > > > > > [1],
> > > > > > > > > > > > > > > > > > > > > > > > > >>> so
> > > > > > > > > > > > > > > > > > > > > > > > > >>>> that seemed to me the
> > most
> > > > > > > > appropriate
> > > > > > > > > > > > choice
> > > > > > > > > > > > > -
> > > > > > > > > > > > > > > any
> > > > > > > > > > > > > > > > > > other
> > > > > > > > > > > > > > > > > > > > > > > > suggestions?
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>> [1]
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>> On Wed, Feb 27, 2013
> at
> > > 1:15
> > > > > PM,
> > > > > > > > > Romain
> > > > > > > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > > > > > > > > >>>> <
> rmannibucau@gmail.com
> > > > >wrote:
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>> Hi,
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>> some news of it?
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>> i think it is time to
> > > > import
> > > > > at
> > > > > > > > > least a
> > > > > > > > > > > > first
> > > > > > > > > > > > > > > > > version,
> > > > > > > > > > > > > > > > > > > > isn't
> > > > > > > > > > > > > > > > > > > > > > it?
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>> Just a note on
> current
> > > > code,
> > > > > i
> > > > > > > saw
> > > > > > > > > > > > > QueryHandler
> > > > > > > > > > > > > > > > (and
> > > > > > > > > > > > > > > > > > some
> > > > > > > > > > > > > > > > > > > > > other
> > > > > > > > > > > > > > > > > > > > > > > > > >> beans)
> > > > > > > > > > > > > > > > > > > > > > > > > >>>> has
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>> a request scope.
> Wonder
> > > if
> > > > > > such a
> > > > > > > > > scope
> > > > > > > > > > > > means
> > > > > > > > > > > > > > > > > something
> > > > > > > > > > > > > > > > > > > > for a
> > > > > > > > > > > > > > > > > > > > > > > > generic
> > > > > > > > > > > > > > > > > > > > > > > > > >>>> (not
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>> web) lib.
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>> wdyt?
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>> *Twitter:
> @rmannibucau
> > <
> > > > > > > > > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > > > > > > > >*
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>> *Blog: **
> > > > > > > > > > > > http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>> *LinkedIn: **
> > > > > > > > > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>> *Github:
> > > > > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>> 2013/2/20 Romain
> > > > Manni-Bucau
> > > > > <
> > > > > > > > > > > > > > > > rmannibucau@gmail.com>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>> guy you rocks!
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>> effectively i missed
> > it
> > > > > when i
> > > > > > > > > looked.
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>> *Twitter:
> > @rmannibucau <
> > > > > > > > > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > > > > > > > >*
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>> *Blog: **
> > > > > > > > > > > > http://rmannibucau.wordpress.com/*
> > > > > > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>> *LinkedIn: **
> > > > > > > > > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>> *Github:
> > > > > > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>> 2013/2/20 Thomas
> Hug <
> > > > > > > > > > > > > > > > thomas.hug@ctp-consulting.com
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> Thnx Romain. If
> with
> > > > proxy
> > > > > > > stuff
> > > > > > > > > you
> > > > > > > > > > > > refer
> > > > > > > > > > > > > to
> > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > DS
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > InvocationHandlerBinding,
> > > > > > > that's
> > > > > > > > > > > already
> > > > > > > > > > > > > > > > integrated
> > > > > > > > > > > > > > > > > > :)
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> RE pagination, it's
> > > maybe
> > > > > not
> > > > > > > > that
> > > > > > > > > > > > obvious,
> > > > > > > > > > > > > > but
> > > > > > > > > > > > > > > > > > there's
> > > > > > > > > > > > > > > > > > > > > more
> > > > > > > > > > > > > > > > > > > > > > > > > >>> advanced
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> support in
> > QueryResult
> > > > > > [1][2],
> > > > > > > > > which
> > > > > > > > > > is
> > > > > > > > > > > > > more
> > > > > > > > > > > > > > > of a
> > > > > > > > > > > > > > > > > > > fluent
> > > > > > > > > > > > > > > > > > > > > API
> > > > > > > > > > > > > > > > > > > > > > > > > >>> approach,
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>> but
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> should behave
> similar
> > > to
> > > > a
> > > > > > > > > > PageRequest
> > > > > > > > > > > > (the
> > > > > > > > > > > > > > > query
> > > > > > > > > > > > > > > > > > > > execution
> > > > > > > > > > > > > > > > > > > > > > is
> > > > > > > > > > > > > > > > > > > > > > > > > >>> delayed
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> until the
> getResult()
> > > > > methods
> > > > > > > on
> > > > > > > > > > > > > QueryResult
> > > > > > > > > > > > > > is
> > > > > > > > > > > > > > > > > > > called).
> > > > > > > > > > > > > > > > > > > > > Hope
> > > > > > > > > > > > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > > > > > > > > > > > >>>> fits
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>> to
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> what you had in
> mind.
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> [1]
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> [2]
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> On Wed, Feb 20,
> 2013
> > at
> > > > > 10:04
> > > > > > > PM,
> > > > > > > > > > > Romain
> > > > > > > > > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> <
> > rmannibucau@gmail.com
> > > > > > >wrote:
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> Hi Thomas,
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> importing proxy
> > stuff
> > > > > would
> > > > > > be
> > > > > > > > the
> > > > > > > > > > > first
> > > > > > > > > > > > > > great
> > > > > > > > > > > > > > > > > > stuff.
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> i'd like to see
> some
> > > > > > > pagination
> > > > > > > > > API
> > > > > > > > > > > > (like
> > > > > > > > > > > > > > > > > > PageRequest
> > > > > > > > > > > > > > > > > > > > etc
> > > > > > > > > > > > > > > > > > > > > in
> > > > > > > > > > > > > > > > > > > > > > > > > >>> spring
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> world)
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> which are more
> user
> > > > > friendly
> > > > > > > > that
> > > > > > > > > > > > > > @FirstResult
> > > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > > > > > > @MaxResult).
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> wdyt?
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> *Romain
> Manni-Bucau*
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> *Twitter:
> > > @rmannibucau <
> > > > > > > > > > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > > > > > > > > >*
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> *Blog: **
> > > > > > > > > > > > > http://rmannibucau.wordpress.com/*
> > > > > > > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > http://rmannibucau.wordpress.com/
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> *LinkedIn: **
> > > > > > > > > > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> *Github:
> > > > > > > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> 2013/2/20 Thomas
> > Hug <
> > > > > > > > > > > > > > > > > thomas.hug@ctp-consulting.com
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> CDI Query has
> now a
> > > > > > > completely
> > > > > > > > > > > > > Solder-free
> > > > > > > > > > > > > > > POM.
> > > > > > > > > > > > > > > > > > Feel
> > > > > > > > > > > > > > > > > > > > free
> > > > > > > > > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > > > > > > > > >>> drop
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> comments
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> on the API - some
> > > parts
> > > > > > might
> > > > > > > > > > > actually
> > > > > > > > > > > > be
> > > > > > > > > > > > > > > fully
> > > > > > > > > > > > > > > > > > > > excluded
> > > > > > > > > > > > > > > > > > > > > > > (e.g.
> > > > > > > > > > > > > > > > > > > > > > > > > >>>> home
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> and
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> critera APIs).
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> On Tue, Feb 12,
> > 2013
> > > at
> > > > > > 10:00
> > > > > > > > PM,
> > > > > > > > > > > Mark
> > > > > > > > > > > > > > > > Struberg <
> > > > > > > > > > > > > > > > > > > > > > > > > >>>> struberg@yahoo.de>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> wrote:
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> Thanks Thomas,
> > great
> > > > > news!
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> LieGrue,
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> strub
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > ________________________________
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> From: Thomas
> Hug
> > <
> > > > > > > > > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> To: "
> > > > > > > > > > > > > deltaspike-dev@incubator.apache.org
> > > > > > > > > > > > > > "
> > > > > > > > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > deltaspike-dev@incubator.apache.org
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> Sent: Tuesday,
> > > > February
> > > > > > 12,
> > > > > > > > > 2013
> > > > > > > > > > > 4:10
> > > > > > > > > > > > > PM
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> Subject: Re:
> > > > cdi-query,
> > > > > > no
> > > > > > > > > news?
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> FYI, I've
> started
> > > to
> > > > > > > > > > "de-solderize"
> > > > > > > > > > > > CDI
> > > > > > > > > > > > > > > Query
> > > > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > > > move
> > > > > > > > > > > > > > > > > > > > > > > > > >> things
> > > > > > > > > > > > > > > > > > > > > > > > > >>>> to
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> depend
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> on
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> DS Core [1]:
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > https://github.com/ctpconsulting/query/tree/deltaspike
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> Todos:
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> [x] Replace
> > > > > > ServiceHandler
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> [_] Include
> > > Property
> > > > > > utils
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> [_] Replace
> JBoss
> > > > > Logging
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> Any feedback
> > > welcome.
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> [1] including
> > this
> > > > > > > > modification
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> On Mon, Feb 11,
> > > 2013
> > > > at
> > > > > > > 6:01
> > > > > > > > > PM,
> > > > > > > > > > > > Romain
> > > > > > > > > > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> <
> > > > rmannibucau@gmail.com
> > > > > > > > >wrote:
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> a review of
> the
> > > API
> > > > i
> > > > > > > guess
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> what is
> missing
> > > > today
> > > > > is
> > > > > > > > > > probably
> > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > pagination
> > > > > > > > > > > > > > > > > > > > > helpers
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> (PageRequest
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> for
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> instance)
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> but
> technically
> > > all
> > > > is
> > > > > > > fine
> > > > > > > > > IMO
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Romain
> > > Manni-Bucau*
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Twitter:
> > > > > @rmannibucau <
> > > > > > > > > > > > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > > > > > > > > > > > > > >>> *
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Blog: **
> > > > > > > > > > > > > > > http://rmannibucau.wordpress.com/*
> > > > > > > > > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > http://rmannibucau.wordpress.com/
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *LinkedIn: **
> > > > > > > > > > > > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Github:
> > > > > > > > > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> 2013/2/11
> Jason
> > > > > Porter <
> > > > > > > > > > > > > > > > > lightguard.jp@gmail.com
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> I know I'm
> > > playing
> > > > > the
> > > > > > > > > > > necromancer,
> > > > > > > > > > > > > but
> > > > > > > > > > > > > > > > > please
> > > > > > > > > > > > > > > > > > > > > forgive
> > > > > > > > > > > > > > > > > > > > > > > > > >>> me.
> > > > > > > > > > > > > > > > > > > > > > > > > >>>> We
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> have
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > InvocationHandler,
> > > > > > which
> > > > > > > > > looks
> > > > > > > > > > > like
> > > > > > > > > > > > > it
> > > > > > > > > > > > > > > > would
> > > > > > > > > > > > > > > > > > work
> > > > > > > > > > > > > > > > > > > > as
> > > > > > > > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> ServiceHandler
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> substitute.
> > What
> > > > else
> > > > > > is
> > > > > > > > > needed
> > > > > > > > > > > to
> > > > > > > > > > > > > get
> > > > > > > > > > > > > > > CDI
> > > > > > > > > > > > > > > > > > Query
> > > > > > > > > > > > > > > > > > > > into
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> DeltaSpike?
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> On Sun, Nov
> 18,
> > > > 2012
> > > > > at
> > > > > > > > 12:35
> > > > > > > > > > PM,
> > > > > > > > > > > > > > Romain
> > > > > > > > > > > > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> <
> > > > > rmannibucau@gmail.com
> > > > > > > > > >wrote:
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> +1, it is a
> > must
> > > > > have
> > > > > > > for
> > > > > > > > > cdi
> > > > > > > > > > > > world
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> Le 18 nov.
> > 2012
> > > > > 20:04,
> > > > > > > > > > > > > "john.d.ament"
> > > > > > > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > john.d.ament@gmail.com
> > > >
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> a
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> écrit :
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> RE
> > > ServiceHandler
> > > > > - I
> > > > > > > was
> > > > > > > > > one
> > > > > > > > > > > of
> > > > > > > > > > > > > > those
> > > > > > > > > > > > > > > > who
> > > > > > > > > > > > > > > > > > > > > > > > > >> previously
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> suggested
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> bringing
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> over to
> > > > DeltaSpike,
> > > > > > you
> > > > > > > > can
> > > > > > > > > > see
> > > > > > > > > > > > > > > > > > DELTASPIKE-113
> > > > > > > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > > > > > > > > >>> find
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>> the
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> thread
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> about
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> from April
> of
> > > > this
> > > > > > > year.
> > > > > > > > >  At
> > > > > > > > > > > the
> > > > > > > > > > > > > > time,
> > > > > > > > > > > > > > > I
> > > > > > > > > > > > > > > > > was
> > > > > > > > > > > > > > > > > > > in a
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>> position
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> where I
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> couldn't
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> spend much
> > time
> > > > on
> > > > > > open
> > > > > > > > > > source
> > > > > > > > > > > > > > > > > contribution.
> > > > > > > > > > > > > > > > > > > >  I've
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>> recently
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> changed
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> jobs,
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> to
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> something
> > > that's
> > > > > > going
> > > > > > > to
> > > > > > > > > > help
> > > > > > > > > > > me
> > > > > > > > > > > > > > spend
> > > > > > > > > > > > > > > > > some
> > > > > > > > > > > > > > > > > > > more
> > > > > > > > > > > > > > > > > > > > > > > > > >>> time
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>> with
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> the
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> open
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> source
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> community,
> > and
> > > > > > believe
> > > > > > > I
> > > > > > > > > can
> > > > > > > > > > > pick
> > > > > > > > > > > > > it
> > > > > > > > > > > > > > > back
> > > > > > > > > > > > > > > > > up
> > > > > > > > > > > > > > > > > > if
> > > > > > > > > > > > > > > > > > > > > > > > > >> we're
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> ready.
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> If
> everyone's
> > > ok
> > > > > with
> > > > > > > it
> > > > > > > > I
> > > > > > > > > > can
> > > > > > > > > > > > > start
> > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > new
> > > > > > > > > > > > > > > > > > > thread
> > > > > > > > > > > > > > > > > > > > > > > > > >> for
> > > > > > > > > > > > > > > > > > > > > > > > > >>>> 113
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> or
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> revive
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> the
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> old
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> thread
> > (though
> > > it
> > > > > may
> > > > > > > > come
> > > > > > > > > > > > through
> > > > > > > > > > > > > > > with a
> > > > > > > > > > > > > > > > > > large
> > > > > > > > > > > > > > > > > > > > > > > > > >> pile
> > > > > > > > > > > > > > > > > > > > > > > > > >>> of
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> dust).
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> Regards,
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> John
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> --
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> View this
> > > message
> > > > > in
> > > > > > > > > context:
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> Sent from
> the
> > > > > Apache
> > > > > > > > > > DeltaSpike
> > > > > > > > > > > > > > > Incubator
> > > > > > > > > > > > > > > > > > > > > > > > > >> Discussions
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>> mailing
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> list
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> archive
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> at
> > Nabble.com.
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> --
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> Jason Porter
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > http://en.gravatar.com/lightguardjp
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
IIRC what we have should be reworked ir dropped
Le 20 mars 2013 18:08, "John D. Ament" <jo...@gmail.com> a écrit :

> I don't believe we've implemented partial class support yet.
>
>
> On Wed, Mar 20, 2013 at 12:46 PM, Thomas Hug
> <th...@ctp-consulting.com>wrote:
>
> > @ #getEntityManager: Thnx for the correction - good news, AFAIR that
> wasn't
> > implemented in Solder. Injecting the EM is probably more natural, OTOH
> not
> > relying on injection seems more consistent with interface based
> > repositories. Moving the method to EntityRepository might be done with
> > regards to multiple EMs (overriding and annotating the method with the
> > qualifier(s)), but this solution has probably some confusing side effects
> > with annotation inheritance on interfaces. Otherwise keeping it in the
> > class-based repository seems to me ok. Opinions, better suggestions?
> Looks
> > not yet optimal to me...
> >
> > @ saveAndFlush: Sorry now I get you - yes that's quite a common one,
> where
> > I've rarely seen other combined. My preferrence was providing the
> extension
> > mechanism for these not so common ones (e.g. save flush refresh etc)
> > instead of pushing everything into the base classes. But besides that
> > nothing speaking against it adding other combinations.
> >
> > @ flush with method expressions, those expressions are read-only so far.
> >
> > On Mon, Mar 18, 2013 at 6:45 PM, Romain Manni-Bucau
> > <rm...@gmail.com>wrote:
> >
> > > agree but in general you can need the (generated) id -> saveAndFlush
> but
> > > when you remove sthg you don't query it again. So i guess that's just a
> > > common method added from the usage.
> > >
> > > Didn't check the impl but flush could be added to the "method name
> dsl",
> > > wdyt?
> > >
> > > *Romain Manni-Bucau*
> > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > http://rmannibucau.wordpress.com/>
> > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > *Github: https://github.com/rmannibucau*
> > >
> > >
> > >
> > > 2013/3/18 Gerhard Petracek <ge...@gmail.com>
> > >
> > > > hi thomas,
> > > >
> > > > @ #getEntityManager:
> > > > injection works in such (partial-)beans (we have tests for it).
> > > >
> > > > @ #saveAndFlush:
> > > > it's clear what it does, but not why it's the only combined operation
> > > (e.g.
> > > > there is no #removeAndFlush).
> > > >
> > > > regards,
> > > > gerhard
> > > >
> > > >
> > > >
> > > > 2013/3/18 Thomas Hug <th...@ctp-consulting.com>
> > > >
> > > > > Thnx for the remarks Gerhard!
> > > > >
> > > > > - @Query: Good point, looks more consistent to me too.
> > > > > - NonEntity was AFAIR introduced to make it more explicit that the
> > > Entity
> > > > > class comes from somewhere else. I don't think we need it - if
> nobody
> > > > > prefers the explicit style then I'd favor removing it.
> > > > > - Not sure if I get the next point - the EntityManager comes always
> > > from
> > > > a
> > > > > producer and is looked up in the Impl classes (and I guess
> injection
> > > > won't
> > > > > work in InvocationHandlerBinding beans anyway). The methods from
> > > > > EntityRepository and AbstractEntityRepository are not meant to be
> > > > > implemented by a client. There's only a getEntityManager() on the
> > > > > AbstractEntityRepository to be used by concrete query methods which
> > you
> > > > > don't have with an interface-based repository.
> > > > >
> > > > > @Repository
> > > > > public interface PersonRepository extends EntityRepository <Person,
> > > > Long> {
> > > > >      Person findBySsn(String ssn);
> > > > > }
> > > > >
> > > > > public abstract class PersonRepository extends
> > > > > AbstractEntityRepository<Person, Long> {
> > > > >     public List<Person> findByXY(X x, Y y) {
> > > > >         // some logic
> > > > >         return
> getEntityManager().createQuery(query).getResultList();
> > > > >     }
> > > > > }
> > > > >
> > > > > - saveAndFlush will simply call flush after persist/merge instead
> of
> > > > > waiting for it at the transaction commit. Can have impact on
> > following
> > > > > queries.
> > > > >
> > > > > Confluence updates to follow. Hope that helps...
> > > > >
> > > > > On Sun, Mar 17, 2013 at 3:12 PM, Gerhard Petracek <
> > > > > gerhard.petracek@gmail.com> wrote:
> > > > >
> > > > > > hi thomas,
> > > > > >
> > > > > > i would prefer e.g.
> > > > > > Query#value + Query#isNative (false as the default)
> > > > > > instead of
> > > > > > Query#value + Query#sql
> > > > > >
> > > > > > and it would be great to get additional information about the
> need
> > > of:
> > > > > >
> > > > > >  - NonEntity (as the default)
> > > > > >  - AbstractEntityRepository
> > > > > >    (e.g. you can pass in the EntityManager as parameter or inject
> > it.
> > > > > >     you would need it e.g. for EntityRepository#save,... - but in
> > > > > > EntityRepository it isn't part of the contract...)
> > > > > >  - (EntityRepository#saveAndFlush as the only combined operation)
> > > > > >
> > > > > > regards,
> > > > > > gerhard
> > > > > >
> > > > > >
> > > > > >
> > > > > > 2013/3/14 Thomas Hug <th...@ctp-consulting.com>
> > > > > >
> > > > > > > Thnx for the pointers. Started to outline the APIs here [1]
> with
> > > > > examples
> > > > > > > in decreasing priority.
> > > > > > >
> > > > > > > [1]
> > > > > > >
> > > > >
> > >
> https://cwiki.apache.org/confluence/display/DeltaSpike/Repository+Drafts
> > > > > > >
> > > > > > > On Thu, Mar 14, 2013 at 10:05 AM, Gerhard Petracek <
> > > > > > > gerhard.petracek@gmail.com> wrote:
> > > > > > >
> > > > > > > > +1
> > > > > > > >
> > > > > > > > regards,
> > > > > > > > gerhard
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > 2013/3/14 Romain Manni-Bucau <rm...@gmail.com>
> > > > > > > >
> > > > > > > > > ok great,
> > > > > > > > >
> > > > > > > > > wonder if we couldn't start by a first version without such
> > > > > > > > extensibility +
> > > > > > > > > no scopes for queries?
> > > > > > > > >
> > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > *Github: https://github.com/rmannibucau*
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > 2013/3/14 Gerhard Petracek <ge...@gmail.com>
> > > > > > > > >
> > > > > > > > > > hi romain,
> > > > > > > > > >
> > > > > > > > > > no - it's more about the style we introduced e.g. for
> > > type-safe
> > > > > > > > messages.
> > > > > > > > > >
> > > > > > > > > > regards,
> > > > > > > > > > gerhard
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > 2013/3/14 Romain Manni-Bucau <rm...@gmail.com>
> > > > > > > > > >
> > > > > > > > > > > @Gerhard: hope you don't think of @RepoBinding at
> > > all...would
> > > > > be
> > > > > > > too
> > > > > > > > > much
> > > > > > > > > > > IMO. Would be great to support aliases/stereotype maybe
> > but
> > > > not
> > > > > > the
> > > > > > > > > > default
> > > > > > > > > > >
> > > > > > > > > > > Wdyt?
> > > > > > > > > > > Le 14 mars 2013 00:11, "Gerhard Petracek" <
> > > > > > > > gerhard.petracek@gmail.com>
> > > > > > > > > a
> > > > > > > > > > > écrit :
> > > > > > > > > > >
> > > > > > > > > > > > hi thomas,
> > > > > > > > > > > >
> > > > > > > > > > > > imo it should follow the basic style/s we have in
> other
> > > > parts
> > > > > > > > already
> > > > > > > > > > (if
> > > > > > > > > > > > possible).
> > > > > > > > > > > >
> > > > > > > > > > > > i guess the simple implementations in the test-module
> > are
> > > > too
> > > > > > > > simple
> > > > > > > > > to
> > > > > > > > > > > see
> > > > > > > > > > > > the real benefit.
> > > > > > > > > > > > -> it would be nice if you add some drafts to a
> > sub-page
> > > of
> > > > > > [1].
> > > > > > > > > > > > (the usage you would prefer and not as it is right
> > now.)
> > > > > > > > > > > >
> > > > > > > > > > > > regards,
> > > > > > > > > > > > gerhard
> > > > > > > > > > > >
> > > > > > > > > > > > [1]
> > > > > > > https://cwiki.apache.org/confluence/display/DeltaSpike/Drafts
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > 2013/3/13 Romain Manni-Bucau <rm...@gmail.com>
> > > > > > > > > > > >
> > > > > > > > > > > > > i'd put it in to start since that's useful for JPA
> > but
> > > it
> > > > > > > > shouldn't
> > > > > > > > > > use
> > > > > > > > > > > > it
> > > > > > > > > > > > > at all
> > > > > > > > > > > > >
> > > > > > > > > > > > > a question (for next iteration if that's ok for
> > > > everybody)
> > > > > is
> > > > > > > > > should
> > > > > > > > > > > > repos
> > > > > > > > > > > > > handle transaction or at least define it.
> > > > > > > > > > > > >
> > > > > > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > > > > > *Twitter: @rmannibucau <
> > > https://twitter.com/rmannibucau
> > > > >*
> > > > > > > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > *LinkedIn: **
> http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > *Github: https://github.com/rmannibucau*
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > 2013/3/13 John D. Ament <jo...@gmail.com>
> > > > > > > > > > > > >
> > > > > > > > > > > > > > Does this have any direct/indirect dependencies
> on
> > > JPA
> > > > > > > module?
> > > > > > > > > > Should
> > > > > > > > > > > > > this
> > > > > > > > > > > > > > maybe become a part of the JPA module?
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Wed, Mar 13, 2013 at 7:23 AM, Thomas Hug
> > > > > > > > > > > > > > <th...@ctp-consulting.com>wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Ok, I guess it's going to be Repository :)
> > Updated
> > > > the
> > > > > > > > proposal
> > > > > > > > > > > > branch
> > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > also moved things into a data package/module.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Some remarks for the parts below:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > 1) EntityManagerRepository wasn't present in
> the
> > > > Solder
> > > > > > > > > > > > implementation
> > > > > > > > > > > > > -
> > > > > > > > > > > > > > > there it was possible to simply
> implement/extend
> > > > > > > > EntityManager.
> > > > > > > > > > The
> > > > > > > > > > > > > > problem
> > > > > > > > > > > > > > > with the invocation handler is that it's not
> > > possible
> > > > > to
> > > > > > > > > restrict
> > > > > > > > > > > the
> > > > > > > > > > > > > > bean
> > > > > > > > > > > > > > > type and exclude EntityManager (or I missed
> it).
> > > > > > Otherwise
> > > > > > > > I'd
> > > > > > > > > > > rather
> > > > > > > > > > > > > get
> > > > > > > > > > > > > > > rid of this interface.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > 2) WithEntityManager is definitely discussable.
> > Not
> > > > the
> > > > > > > full
> > > > > > > > > > > solution
> > > > > > > > > > > > > and
> > > > > > > > > > > > > > > not consistent. Could be solved with e.g.
> putting
> > > > > > > qualifiers
> > > > > > > > > on a
> > > > > > > > > > > > > method
> > > > > > > > > > > > > > > returning an EntityManager (less intuitive) or
> > > > > something
> > > > > > > like
> > > > > > > > > the
> > > > > > > > > > > > > > > InvocationHandlerBinding.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > 3) AbstractEntityRepository is just a
> convenience
> > > > class
> > > > > > for
> > > > > > > > > > > providing
> > > > > > > > > > > > > > > concrete query implementations.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Tue, Mar 12, 2013 at 9:40 PM, Gerhard
> > Petracek <
> > > > > > > > > > > > > > > gerhard.petracek@gmail.com> wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > hi,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > currently we don't have one jira ticket per
> > > > > > part/feature.
> > > > > > > > > > > > > > > > that's what we used to have for everything we
> > > > > imported.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > the first parts to discuss are imo
> > > > EntityManagerDao,
> > > > > > > > > > > > > WithEntityManager
> > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > AbstractEntityDao.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > regards,
> > > > > > > > > > > > > > > > gerhard
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > 2013/3/12 Arne Limburg <
> > > > > arne.limburg@openknowledge.de>
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > +1 for repository, from me too
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Gesendet mit meinem HTC
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > ----- Reply message -----
> > > > > > > > > > > > > > > > > Von: "Thomas Andraschko" <
> > > > > > andraschko.thomas@gmail.com>
> > > > > > > > > > > > > > > > > An: "deltaspike-dev@incubator.apache.org"
> <
> > > > > > > > > > > > > > > > > deltaspike-dev@incubator.apache.org>
> > > > > > > > > > > > > > > > > Betreff: cdi-query, no news?
> > > > > > > > > > > > > > > > > Datum: Di., Mär. 12, 2013 20:38
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > +1 repository! :) "Query" doesn't really
> > match
> > > > the
> > > > > > > > > > functionaly.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > 2013/3/12 Romain Manni-Bucau <
> > > > > rmannibucau@gmail.com>
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > +2 for repo
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > btw did you fixed the scope issue?
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > *Twitter: @rmannibucau <
> > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > >*
> > > > > > > > > > > > > > > > > > *Blog: **
> > http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > > > > *LinkedIn: **
> > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > *Github: https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > 2013/3/12 Thomas Hug <
> > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > The name is still freely choosable -
> data
> > > > > sounds
> > > > > > > fine
> > > > > > > > > to
> > > > > > > > > > me
> > > > > > > > > > > > if
> > > > > > > > > > > > > > > nobody
> > > > > > > > > > > > > > > > > > minds
> > > > > > > > > > > > > > > > > > > the obvious mirroring on Spring Data ;)
> > > > > dao/@Dao
> > > > > > is
> > > > > > > > > > > > > discussable,
> > > > > > > > > > > > > > > all
> > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > domain driven folks prefer probably
> > > something
> > > > > > like
> > > > > > > > > > > > > "Repository".
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > On Tue, Mar 12, 2013 at 7:29 PM, Romain
> > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > > <rm...@gmail.com>wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Great :)
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > any issue changing "query" to
> something
> > > > > closer
> > > > > > to
> > > > > > > > > what
> > > > > > > > > > it
> > > > > > > > > > > > > > really
> > > > > > > > > > > > > > > > > does ;
> > > > > > > > > > > > > > > > > > > > "dao" (because of @Dao) or "data"?
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > > > *Twitter: @rmannibucau <
> > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > >*
> > > > > > > > > > > > > > > > > > > > *Blog: **
> > > > http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > > > > > > *LinkedIn: **
> > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > > *Github:
> > https://gihub.com/rmannibucau*<
> > > > > > > > > > > > > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > 2013/3/12 Thomas Hug <
> > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > FYI, I've started something like an
> > > > import
> > > > > > > > proposal
> > > > > > > > > > in
> > > > > > > > > > > a
> > > > > > > > > > > > > > > > dedicated
> > > > > > > > > > > > > > > > > > > branch
> > > > > > > > > > > > > > > > > > > > > [1]. There's currently only the
> JBoss
> > > > > > > Arquillian
> > > > > > > > > > > profile
> > > > > > > > > > > > > > > running,
> > > > > > > > > > > > > > > > > > > haven't
> > > > > > > > > > > > > > > > > > > > > looked at the others. Any support
> > there
> > > > and
> > > > > > of
> > > > > > > > > course
> > > > > > > > > > > > other
> > > > > > > > > > > > > > > > input's
> > > > > > > > > > > > > > > > > > > very
> > > > > > > > > > > > > > > > > > > > > welcome :)
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > [1]
> > > > > > > > > > > https://github.com/ctpconsulting/query/tree/dsimport
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > On Tue, Mar 5, 2013 at 7:45 AM,
> > Romain
> > > > > > > > Manni-Bucau
> > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > > > > > > > > > > > > >wrote:
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Yes
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > It works fine but you bring too
> > much
> > > > > spring
> > > > > > > > > > > > dependencies
> > > > > > > > > > > > > > > > (totally
> > > > > > > > > > > > > > > > > > > > useless
> > > > > > > > > > > > > > > > > > > > > > when used this way) which clearly
> > > show
> > > > it
> > > > > > is
> > > > > > > > > > rather a
> > > > > > > > > > > > > > bridge
> > > > > > > > > > > > > > > > > than a
> > > > > > > > > > > > > > > > > > > > > > solution + there were some leaks
> in
> > > > > > previous
> > > > > > > > > > version
> > > > > > > > > > > > > (didnt
> > > > > > > > > > > > > > > > check
> > > > > > > > > > > > > > > > > > fix
> > > > > > > > > > > > > > > > > > > > was
> > > > > > > > > > > > > > > > > > > > > > released to be honest) because if
> > > this
> > > > > > usage
> > > > > > > > > which
> > > > > > > > > > > was
> > > > > > > > > > > > > not
> > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > default
> > > > > > > > > > > > > > > > > > > > > one.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Since cdi query is here it worths
> > > > > importing
> > > > > > > it
> > > > > > > > > IMO
> > > > > > > > > > > > > > > > > > > > > > Le 5 mars 2013 02:21, "hantsy" <
> > > > > > > > > > hantsy@yahoo.com.cn>
> > > > > > > > > > > a
> > > > > > > > > > > > > > > écrit :
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > I remember the Spring Data has
> a
> > > CDI
> > > > > > > > extension,
> > > > > > > > > > > but I
> > > > > > > > > > > > > > have
> > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > > used
> > > > > > > > > > > > > > > > > > > > it
> > > > > > > > > > > > > > > > > > > > > > > in projects. Is there anyone
> used
> > > it
> > > > in
> > > > > > > Java
> > > > > > > > > EE 6
> > > > > > > > > > > > > > projects?
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Hantsy
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > On 3/3/2013 20:40, Romain
> > > Manni-Bucau
> > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > > > Basically if the query logic
> > > could
> > > > be
> > > > > > > scope
> > > > > > > > > > > > agnostic
> > > > > > > > > > > > > it
> > > > > > > > > > > > > > > > would
> > > > > > > > > > > > > > > > > > be
> > > > > > > > > > > > > > > > > > > > > > perfect
> > > > > > > > > > > > > > > > > > > > > > > > for me. Parameters were fine
> > and
> > > > > > matched
> > > > > > > > the
> > > > > > > > > > > coomon
> > > > > > > > > > > > > > need.
> > > > > > > > > > > > > > > > I m
> > > > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > > > > > sure
> > > > > > > > > > > > > > > > > > > > > > i
> > > > > > > > > > > > > > > > > > > > > > > > get what is blocking. Can you
> > > > detail
> > > > > > it a
> > > > > > > > bit
> > > > > > > > > > > > please?
> > > > > > > > > > > > > > > > > > > > > > > > Le 3 mars 2013 13:09, "Thomas
> > > Hug"
> > > > <
> > > > > > > > > > > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > > > > > > > écrit :
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >> Aha got you. Yes
> QueryHandler
> > > can
> > > > be
> > > > > > > moved
> > > > > > > > > to
> > > > > > > > > > > > > > > application
> > > > > > > > > > > > > > > > > > scope.
> > > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > > >> The other request scoped
> > > component
> > > > > ist
> > > > > > > the
> > > > > > > > > > > > > > > > > > > > > CdiQueryInvocationContext.
> > > > > > > > > > > > > > > > > > > > > > > Here
> > > > > > > > > > > > > > > > > > > > > > > >> we store a bunch of data
> which
> > > is
> > > > > > > related
> > > > > > > > to
> > > > > > > > > > the
> > > > > > > > > > > > > > current
> > > > > > > > > > > > > > > > > query
> > > > > > > > > > > > > > > > > > > > > > > (parameters,
> > > > > > > > > > > > > > > > > > > > > > > >> query string etc).
> Originally
> > > this
> > > > > was
> > > > > > > > > passed
> > > > > > > > > > as
> > > > > > > > > > > > > > > > parameter,
> > > > > > > > > > > > > > > > > > but
> > > > > > > > > > > > > > > > > > > > got
> > > > > > > > > > > > > > > > > > > > > > > >> injectable for the extension
> > > > > mechanism
> > > > > > > > [1].
> > > > > > > > > > > > > Currently
> > > > > > > > > > > > > > on
> > > > > > > > > > > > > > > > > > > holidays
> > > > > > > > > > > > > > > > > > > > > > (sorry
> > > > > > > > > > > > > > > > > > > > > > > >> the response delays) so not
> > much
> > > > > time
> > > > > > to
> > > > > > > > > look
> > > > > > > > > > > into
> > > > > > > > > > > > > it
> > > > > > > > > > > > > > > but
> > > > > > > > > > > > > > > > > > happy
> > > > > > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > > > > > take
> > > > > > > > > > > > > > > > > > > > > > > >> suggestions :)
> > > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > > >> [1]
> > > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> > > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > > >> On Fri, Mar 1, 2013 at 8:18
> > PM,
> > > > > Romain
> > > > > > > > > > > > Manni-Bucau <
> > > > > > > > > > > > > > > > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > > > > > > > > > > > > > > >>> wrote:
> > > > > > > > > > > > > > > > > > > > > > > >>> Hmm,
> > > > > > > > > > > > > > > > > > > > > > > >>>
> > > > > > > > > > > > > > > > > > > > > > > >>> Wonder if the scope couldnt
> > be
> > > > > > > > application
> > > > > > > > > > one.
> > > > > > > > > > > > > > Request
> > > > > > > > > > > > > > > > > > sounds
> > > > > > > > > > > > > > > > > > > > too
> > > > > > > > > > > > > > > > > > > > > > much
> > > > > > > > > > > > > > > > > > > > > > > >> web
> > > > > > > > > > > > > > > > > > > > > > > >>> to be usable/generic
> > > > > > > > > > > > > > > > > > > > > > > >>> Le 1 mars 2013 19:02,
> "Thomas
> > > > Hug"
> > > > > <
> > > > > > > > > > > > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > > > > > > > >>> écrit :
> > > > > > > > > > > > > > > > > > > > > > > >>>
> > > > > > > > > > > > > > > > > > > > > > > >>>> Fine for me - planned to
> > > create
> > > > a
> > > > > > > branch
> > > > > > > > > > with
> > > > > > > > > > > > all
> > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > experimental
> > > > > > > > > > > > > > > > > > > > > > > APIs
> > > > > > > > > > > > > > > > > > > > > > > >>>> cleared out as an import
> > > > proposal.
> > > > > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>> RE scope, the
> > > InvocationHandlers
> > > > > are
> > > > > > > > > > validated
> > > > > > > > > > > > to
> > > > > > > > > > > > > be
> > > > > > > > > > > > > > > > > normal
> > > > > > > > > > > > > > > > > > > > scoped
> > > > > > > > > > > > > > > > > > > > > > > [1],
> > > > > > > > > > > > > > > > > > > > > > > >>> so
> > > > > > > > > > > > > > > > > > > > > > > >>>> that seemed to me the most
> > > > > > appropriate
> > > > > > > > > > choice
> > > > > > > > > > > -
> > > > > > > > > > > > > any
> > > > > > > > > > > > > > > > other
> > > > > > > > > > > > > > > > > > > > > > suggestions?
> > > > > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>> [1]
> > > > > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > > > > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>> On Wed, Feb 27, 2013 at
> 1:15
> > > PM,
> > > > > > > Romain
> > > > > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > > > > > > >>>> <rmannibucau@gmail.com
> > >wrote:
> > > > > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>> Hi,
> > > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>> some news of it?
> > > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>> i think it is time to
> > import
> > > at
> > > > > > > least a
> > > > > > > > > > first
> > > > > > > > > > > > > > > version,
> > > > > > > > > > > > > > > > > > isn't
> > > > > > > > > > > > > > > > > > > > it?
> > > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>> Just a note on current
> > code,
> > > i
> > > > > saw
> > > > > > > > > > > QueryHandler
> > > > > > > > > > > > > > (and
> > > > > > > > > > > > > > > > some
> > > > > > > > > > > > > > > > > > > other
> > > > > > > > > > > > > > > > > > > > > > > >> beans)
> > > > > > > > > > > > > > > > > > > > > > > >>>> has
> > > > > > > > > > > > > > > > > > > > > > > >>>>> a request scope. Wonder
> if
> > > > such a
> > > > > > > scope
> > > > > > > > > > means
> > > > > > > > > > > > > > > something
> > > > > > > > > > > > > > > > > > for a
> > > > > > > > > > > > > > > > > > > > > > generic
> > > > > > > > > > > > > > > > > > > > > > > >>>> (not
> > > > > > > > > > > > > > > > > > > > > > > >>>>> web) lib.
> > > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>> wdyt?
> > > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > > > > > > >>>>> *Twitter: @rmannibucau <
> > > > > > > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > > > > > >*
> > > > > > > > > > > > > > > > > > > > > > > >>>>> *Blog: **
> > > > > > > > > > http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > > > > > > > > > >>>>> *LinkedIn: **
> > > > > > > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > > > >>>>> *Github:
> > > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>> 2013/2/20 Romain
> > Manni-Bucau
> > > <
> > > > > > > > > > > > > > rmannibucau@gmail.com>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>> guy you rocks!
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>> effectively i missed it
> > > when i
> > > > > > > looked.
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > > > > > > >>>>>> *Twitter: @rmannibucau <
> > > > > > > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > > > > > >*
> > > > > > > > > > > > > > > > > > > > > > > >>>>>> *Blog: **
> > > > > > > > > > http://rmannibucau.wordpress.com/*
> > > > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>> *LinkedIn: **
> > > > > > > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > > > >>>>>> *Github:
> > > > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>> 2013/2/20 Thomas Hug <
> > > > > > > > > > > > > > thomas.hug@ctp-consulting.com
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>> Thnx Romain. If with
> > proxy
> > > > > stuff
> > > > > > > you
> > > > > > > > > > refer
> > > > > > > > > > > to
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > DS
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>
> InvocationHandlerBinding,
> > > > > that's
> > > > > > > > > already
> > > > > > > > > > > > > > integrated
> > > > > > > > > > > > > > > > :)
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>> RE pagination, it's
> maybe
> > > not
> > > > > > that
> > > > > > > > > > obvious,
> > > > > > > > > > > > but
> > > > > > > > > > > > > > > > there's
> > > > > > > > > > > > > > > > > > > more
> > > > > > > > > > > > > > > > > > > > > > > >>> advanced
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>> support in QueryResult
> > > > [1][2],
> > > > > > > which
> > > > > > > > is
> > > > > > > > > > > more
> > > > > > > > > > > > > of a
> > > > > > > > > > > > > > > > > fluent
> > > > > > > > > > > > > > > > > > > API
> > > > > > > > > > > > > > > > > > > > > > > >>> approach,
> > > > > > > > > > > > > > > > > > > > > > > >>>>> but
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>> should behave similar
> to
> > a
> > > > > > > > PageRequest
> > > > > > > > > > (the
> > > > > > > > > > > > > query
> > > > > > > > > > > > > > > > > > execution
> > > > > > > > > > > > > > > > > > > > is
> > > > > > > > > > > > > > > > > > > > > > > >>> delayed
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>> until the getResult()
> > > methods
> > > > > on
> > > > > > > > > > > QueryResult
> > > > > > > > > > > > is
> > > > > > > > > > > > > > > > > called).
> > > > > > > > > > > > > > > > > > > Hope
> > > > > > > > > > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > > > > > > > > > >>>> fits
> > > > > > > > > > > > > > > > > > > > > > > >>>>> to
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>> what you had in mind.
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>> [1]
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>> [2]
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>> On Wed, Feb 20, 2013 at
> > > 10:04
> > > > > PM,
> > > > > > > > > Romain
> > > > > > > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>> <rmannibucau@gmail.com
> > > > >wrote:
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> Hi Thomas,
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> importing proxy stuff
> > > would
> > > > be
> > > > > > the
> > > > > > > > > first
> > > > > > > > > > > > great
> > > > > > > > > > > > > > > > stuff.
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> i'd like to see some
> > > > > pagination
> > > > > > > API
> > > > > > > > > > (like
> > > > > > > > > > > > > > > > PageRequest
> > > > > > > > > > > > > > > > > > etc
> > > > > > > > > > > > > > > > > > > in
> > > > > > > > > > > > > > > > > > > > > > > >>> spring
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>> world)
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> which are more user
> > > friendly
> > > > > > that
> > > > > > > > > > > > @FirstResult
> > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > > > > @MaxResult).
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> wdyt?
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> *Twitter:
> @rmannibucau <
> > > > > > > > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > > > > > > >*
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> *Blog: **
> > > > > > > > > > > http://rmannibucau.wordpress.com/*
> > > > > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > http://rmannibucau.wordpress.com/
> > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> *LinkedIn: **
> > > > > > > > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> *Github:
> > > > > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> 2013/2/20 Thomas Hug <
> > > > > > > > > > > > > > > thomas.hug@ctp-consulting.com
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> CDI Query has now a
> > > > > completely
> > > > > > > > > > > Solder-free
> > > > > > > > > > > > > POM.
> > > > > > > > > > > > > > > > Feel
> > > > > > > > > > > > > > > > > > free
> > > > > > > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > > > > > > >>> drop
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> comments
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> on the API - some
> parts
> > > > might
> > > > > > > > > actually
> > > > > > > > > > be
> > > > > > > > > > > > > fully
> > > > > > > > > > > > > > > > > > excluded
> > > > > > > > > > > > > > > > > > > > > (e.g.
> > > > > > > > > > > > > > > > > > > > > > > >>>> home
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>> and
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> critera APIs).
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> On Tue, Feb 12, 2013
> at
> > > > 10:00
> > > > > > PM,
> > > > > > > > > Mark
> > > > > > > > > > > > > > Struberg <
> > > > > > > > > > > > > > > > > > > > > > > >>>> struberg@yahoo.de>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> wrote:
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> Thanks Thomas, great
> > > news!
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> LieGrue,
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> strub
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > ________________________________
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> From: Thomas Hug <
> > > > > > > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> To: "
> > > > > > > > > > > deltaspike-dev@incubator.apache.org
> > > > > > > > > > > > "
> > > > > > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > deltaspike-dev@incubator.apache.org
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> Sent: Tuesday,
> > February
> > > > 12,
> > > > > > > 2013
> > > > > > > > > 4:10
> > > > > > > > > > > PM
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> Subject: Re:
> > cdi-query,
> > > > no
> > > > > > > news?
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> FYI, I've started
> to
> > > > > > > > "de-solderize"
> > > > > > > > > > CDI
> > > > > > > > > > > > > Query
> > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > move
> > > > > > > > > > > > > > > > > > > > > > > >> things
> > > > > > > > > > > > > > > > > > > > > > > >>>> to
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> depend
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> on
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> DS Core [1]:
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > >
> > > > > > > https://github.com/ctpconsulting/query/tree/deltaspike
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> Todos:
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> [x] Replace
> > > > ServiceHandler
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> [_] Include
> Property
> > > > utils
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> [_] Replace JBoss
> > > Logging
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> Any feedback
> welcome.
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> [1] including this
> > > > > > modification
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> On Mon, Feb 11,
> 2013
> > at
> > > > > 6:01
> > > > > > > PM,
> > > > > > > > > > Romain
> > > > > > > > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> <
> > rmannibucau@gmail.com
> > > > > > >wrote:
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> a review of the
> API
> > i
> > > > > guess
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> what is missing
> > today
> > > is
> > > > > > > > probably
> > > > > > > > > > the
> > > > > > > > > > > > > > > pagination
> > > > > > > > > > > > > > > > > > > helpers
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> (PageRequest
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> for
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> instance)
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> but technically
> all
> > is
> > > > > fine
> > > > > > > IMO
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Romain
> Manni-Bucau*
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Twitter:
> > > @rmannibucau <
> > > > > > > > > > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > > > > > > > > > > > >>> *
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Blog: **
> > > > > > > > > > > > > http://rmannibucau.wordpress.com/*
> > > > > > > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > http://rmannibucau.wordpress.com/
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *LinkedIn: **
> > > > > > > > > > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Github:
> > > > > > > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> 2013/2/11 Jason
> > > Porter <
> > > > > > > > > > > > > > > lightguard.jp@gmail.com
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> I know I'm
> playing
> > > the
> > > > > > > > > necromancer,
> > > > > > > > > > > but
> > > > > > > > > > > > > > > please
> > > > > > > > > > > > > > > > > > > forgive
> > > > > > > > > > > > > > > > > > > > > > > >>> me.
> > > > > > > > > > > > > > > > > > > > > > > >>>> We
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>> have
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> InvocationHandler,
> > > > which
> > > > > > > looks
> > > > > > > > > like
> > > > > > > > > > > it
> > > > > > > > > > > > > > would
> > > > > > > > > > > > > > > > work
> > > > > > > > > > > > > > > > > > as
> > > > > > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> ServiceHandler
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> substitute. What
> > else
> > > > is
> > > > > > > needed
> > > > > > > > > to
> > > > > > > > > > > get
> > > > > > > > > > > > > CDI
> > > > > > > > > > > > > > > > Query
> > > > > > > > > > > > > > > > > > into
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>> DeltaSpike?
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> On Sun, Nov 18,
> > 2012
> > > at
> > > > > > 12:35
> > > > > > > > PM,
> > > > > > > > > > > > Romain
> > > > > > > > > > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> <
> > > rmannibucau@gmail.com
> > > > > > > >wrote:
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> +1, it is a must
> > > have
> > > > > for
> > > > > > > cdi
> > > > > > > > > > world
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> Le 18 nov. 2012
> > > 20:04,
> > > > > > > > > > > "john.d.ament"
> > > > > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>> john.d.ament@gmail.com
> >
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> a
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> écrit :
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> RE
> ServiceHandler
> > > - I
> > > > > was
> > > > > > > one
> > > > > > > > > of
> > > > > > > > > > > > those
> > > > > > > > > > > > > > who
> > > > > > > > > > > > > > > > > > > > > > > >> previously
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> suggested
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> bringing
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> over to
> > DeltaSpike,
> > > > you
> > > > > > can
> > > > > > > > see
> > > > > > > > > > > > > > > > DELTASPIKE-113
> > > > > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > > > > > > >>> find
> > > > > > > > > > > > > > > > > > > > > > > >>>>> the
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> thread
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> about
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> from April of
> > this
> > > > > year.
> > > > > > >  At
> > > > > > > > > the
> > > > > > > > > > > > time,
> > > > > > > > > > > > > I
> > > > > > > > > > > > > > > was
> > > > > > > > > > > > > > > > > in a
> > > > > > > > > > > > > > > > > > > > > > > >>>>> position
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> where I
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> couldn't
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> spend much time
> > on
> > > > open
> > > > > > > > source
> > > > > > > > > > > > > > > contribution.
> > > > > > > > > > > > > > > > > >  I've
> > > > > > > > > > > > > > > > > > > > > > > >>>>> recently
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> changed
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> jobs,
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> to
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> something
> that's
> > > > going
> > > > > to
> > > > > > > > help
> > > > > > > > > me
> > > > > > > > > > > > spend
> > > > > > > > > > > > > > > some
> > > > > > > > > > > > > > > > > more
> > > > > > > > > > > > > > > > > > > > > > > >>> time
> > > > > > > > > > > > > > > > > > > > > > > >>>>> with
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>> the
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> open
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> source
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> community, and
> > > > believe
> > > > > I
> > > > > > > can
> > > > > > > > > pick
> > > > > > > > > > > it
> > > > > > > > > > > > > back
> > > > > > > > > > > > > > > up
> > > > > > > > > > > > > > > > if
> > > > > > > > > > > > > > > > > > > > > > > >> we're
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>> ready.
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> If everyone's
> ok
> > > with
> > > > > it
> > > > > > I
> > > > > > > > can
> > > > > > > > > > > start
> > > > > > > > > > > > a
> > > > > > > > > > > > > > new
> > > > > > > > > > > > > > > > > thread
> > > > > > > > > > > > > > > > > > > > > > > >> for
> > > > > > > > > > > > > > > > > > > > > > > >>>> 113
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>> or
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> revive
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> the
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> old
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> thread (though
> it
> > > may
> > > > > > come
> > > > > > > > > > through
> > > > > > > > > > > > > with a
> > > > > > > > > > > > > > > > large
> > > > > > > > > > > > > > > > > > > > > > > >> pile
> > > > > > > > > > > > > > > > > > > > > > > >>> of
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>> dust).
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> Regards,
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> John
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> --
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> View this
> message
> > > in
> > > > > > > context:
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> Sent from the
> > > Apache
> > > > > > > > DeltaSpike
> > > > > > > > > > > > > Incubator
> > > > > > > > > > > > > > > > > > > > > > > >> Discussions
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>> mailing
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> list
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> archive
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> at Nabble.com.
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> --
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> Jason Porter
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > http://en.gravatar.com/lightguardjp
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: cdi-query, no news?

Posted by "John D. Ament" <jo...@gmail.com>.
I don't believe we've implemented partial class support yet.


On Wed, Mar 20, 2013 at 12:46 PM, Thomas Hug
<th...@ctp-consulting.com>wrote:

> @ #getEntityManager: Thnx for the correction - good news, AFAIR that wasn't
> implemented in Solder. Injecting the EM is probably more natural, OTOH not
> relying on injection seems more consistent with interface based
> repositories. Moving the method to EntityRepository might be done with
> regards to multiple EMs (overriding and annotating the method with the
> qualifier(s)), but this solution has probably some confusing side effects
> with annotation inheritance on interfaces. Otherwise keeping it in the
> class-based repository seems to me ok. Opinions, better suggestions? Looks
> not yet optimal to me...
>
> @ saveAndFlush: Sorry now I get you - yes that's quite a common one, where
> I've rarely seen other combined. My preferrence was providing the extension
> mechanism for these not so common ones (e.g. save flush refresh etc)
> instead of pushing everything into the base classes. But besides that
> nothing speaking against it adding other combinations.
>
> @ flush with method expressions, those expressions are read-only so far.
>
> On Mon, Mar 18, 2013 at 6:45 PM, Romain Manni-Bucau
> <rm...@gmail.com>wrote:
>
> > agree but in general you can need the (generated) id -> saveAndFlush but
> > when you remove sthg you don't query it again. So i guess that's just a
> > common method added from the usage.
> >
> > Didn't check the impl but flush could be added to the "method name dsl",
> > wdyt?
> >
> > *Romain Manni-Bucau*
> > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > *Blog: **http://rmannibucau.wordpress.com/*<
> > http://rmannibucau.wordpress.com/>
> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > *Github: https://github.com/rmannibucau*
> >
> >
> >
> > 2013/3/18 Gerhard Petracek <ge...@gmail.com>
> >
> > > hi thomas,
> > >
> > > @ #getEntityManager:
> > > injection works in such (partial-)beans (we have tests for it).
> > >
> > > @ #saveAndFlush:
> > > it's clear what it does, but not why it's the only combined operation
> > (e.g.
> > > there is no #removeAndFlush).
> > >
> > > regards,
> > > gerhard
> > >
> > >
> > >
> > > 2013/3/18 Thomas Hug <th...@ctp-consulting.com>
> > >
> > > > Thnx for the remarks Gerhard!
> > > >
> > > > - @Query: Good point, looks more consistent to me too.
> > > > - NonEntity was AFAIR introduced to make it more explicit that the
> > Entity
> > > > class comes from somewhere else. I don't think we need it - if nobody
> > > > prefers the explicit style then I'd favor removing it.
> > > > - Not sure if I get the next point - the EntityManager comes always
> > from
> > > a
> > > > producer and is looked up in the Impl classes (and I guess injection
> > > won't
> > > > work in InvocationHandlerBinding beans anyway). The methods from
> > > > EntityRepository and AbstractEntityRepository are not meant to be
> > > > implemented by a client. There's only a getEntityManager() on the
> > > > AbstractEntityRepository to be used by concrete query methods which
> you
> > > > don't have with an interface-based repository.
> > > >
> > > > @Repository
> > > > public interface PersonRepository extends EntityRepository <Person,
> > > Long> {
> > > >      Person findBySsn(String ssn);
> > > > }
> > > >
> > > > public abstract class PersonRepository extends
> > > > AbstractEntityRepository<Person, Long> {
> > > >     public List<Person> findByXY(X x, Y y) {
> > > >         // some logic
> > > >         return getEntityManager().createQuery(query).getResultList();
> > > >     }
> > > > }
> > > >
> > > > - saveAndFlush will simply call flush after persist/merge instead of
> > > > waiting for it at the transaction commit. Can have impact on
> following
> > > > queries.
> > > >
> > > > Confluence updates to follow. Hope that helps...
> > > >
> > > > On Sun, Mar 17, 2013 at 3:12 PM, Gerhard Petracek <
> > > > gerhard.petracek@gmail.com> wrote:
> > > >
> > > > > hi thomas,
> > > > >
> > > > > i would prefer e.g.
> > > > > Query#value + Query#isNative (false as the default)
> > > > > instead of
> > > > > Query#value + Query#sql
> > > > >
> > > > > and it would be great to get additional information about the need
> > of:
> > > > >
> > > > >  - NonEntity (as the default)
> > > > >  - AbstractEntityRepository
> > > > >    (e.g. you can pass in the EntityManager as parameter or inject
> it.
> > > > >     you would need it e.g. for EntityRepository#save,... - but in
> > > > > EntityRepository it isn't part of the contract...)
> > > > >  - (EntityRepository#saveAndFlush as the only combined operation)
> > > > >
> > > > > regards,
> > > > > gerhard
> > > > >
> > > > >
> > > > >
> > > > > 2013/3/14 Thomas Hug <th...@ctp-consulting.com>
> > > > >
> > > > > > Thnx for the pointers. Started to outline the APIs here [1] with
> > > > examples
> > > > > > in decreasing priority.
> > > > > >
> > > > > > [1]
> > > > > >
> > > >
> > https://cwiki.apache.org/confluence/display/DeltaSpike/Repository+Drafts
> > > > > >
> > > > > > On Thu, Mar 14, 2013 at 10:05 AM, Gerhard Petracek <
> > > > > > gerhard.petracek@gmail.com> wrote:
> > > > > >
> > > > > > > +1
> > > > > > >
> > > > > > > regards,
> > > > > > > gerhard
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > 2013/3/14 Romain Manni-Bucau <rm...@gmail.com>
> > > > > > >
> > > > > > > > ok great,
> > > > > > > >
> > > > > > > > wonder if we couldn't start by a first version without such
> > > > > > > extensibility +
> > > > > > > > no scopes for queries?
> > > > > > > >
> > > > > > > > *Romain Manni-Bucau*
> > > > > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > *Github: https://github.com/rmannibucau*
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > 2013/3/14 Gerhard Petracek <ge...@gmail.com>
> > > > > > > >
> > > > > > > > > hi romain,
> > > > > > > > >
> > > > > > > > > no - it's more about the style we introduced e.g. for
> > type-safe
> > > > > > > messages.
> > > > > > > > >
> > > > > > > > > regards,
> > > > > > > > > gerhard
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > 2013/3/14 Romain Manni-Bucau <rm...@gmail.com>
> > > > > > > > >
> > > > > > > > > > @Gerhard: hope you don't think of @RepoBinding at
> > all...would
> > > > be
> > > > > > too
> > > > > > > > much
> > > > > > > > > > IMO. Would be great to support aliases/stereotype maybe
> but
> > > not
> > > > > the
> > > > > > > > > default
> > > > > > > > > >
> > > > > > > > > > Wdyt?
> > > > > > > > > > Le 14 mars 2013 00:11, "Gerhard Petracek" <
> > > > > > > gerhard.petracek@gmail.com>
> > > > > > > > a
> > > > > > > > > > écrit :
> > > > > > > > > >
> > > > > > > > > > > hi thomas,
> > > > > > > > > > >
> > > > > > > > > > > imo it should follow the basic style/s we have in other
> > > parts
> > > > > > > already
> > > > > > > > > (if
> > > > > > > > > > > possible).
> > > > > > > > > > >
> > > > > > > > > > > i guess the simple implementations in the test-module
> are
> > > too
> > > > > > > simple
> > > > > > > > to
> > > > > > > > > > see
> > > > > > > > > > > the real benefit.
> > > > > > > > > > > -> it would be nice if you add some drafts to a
> sub-page
> > of
> > > > > [1].
> > > > > > > > > > > (the usage you would prefer and not as it is right
> now.)
> > > > > > > > > > >
> > > > > > > > > > > regards,
> > > > > > > > > > > gerhard
> > > > > > > > > > >
> > > > > > > > > > > [1]
> > > > > > https://cwiki.apache.org/confluence/display/DeltaSpike/Drafts
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > 2013/3/13 Romain Manni-Bucau <rm...@gmail.com>
> > > > > > > > > > >
> > > > > > > > > > > > i'd put it in to start since that's useful for JPA
> but
> > it
> > > > > > > shouldn't
> > > > > > > > > use
> > > > > > > > > > > it
> > > > > > > > > > > > at all
> > > > > > > > > > > >
> > > > > > > > > > > > a question (for next iteration if that's ok for
> > > everybody)
> > > > is
> > > > > > > > should
> > > > > > > > > > > repos
> > > > > > > > > > > > handle transaction or at least define it.
> > > > > > > > > > > >
> > > > > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > > > > *Twitter: @rmannibucau <
> > https://twitter.com/rmannibucau
> > > >*
> > > > > > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > *Github: https://github.com/rmannibucau*
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > 2013/3/13 John D. Ament <jo...@gmail.com>
> > > > > > > > > > > >
> > > > > > > > > > > > > Does this have any direct/indirect dependencies on
> > JPA
> > > > > > module?
> > > > > > > > > Should
> > > > > > > > > > > > this
> > > > > > > > > > > > > maybe become a part of the JPA module?
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Wed, Mar 13, 2013 at 7:23 AM, Thomas Hug
> > > > > > > > > > > > > <th...@ctp-consulting.com>wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > Ok, I guess it's going to be Repository :)
> Updated
> > > the
> > > > > > > proposal
> > > > > > > > > > > branch
> > > > > > > > > > > > > and
> > > > > > > > > > > > > > also moved things into a data package/module.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Some remarks for the parts below:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > 1) EntityManagerRepository wasn't present in the
> > > Solder
> > > > > > > > > > > implementation
> > > > > > > > > > > > -
> > > > > > > > > > > > > > there it was possible to simply implement/extend
> > > > > > > EntityManager.
> > > > > > > > > The
> > > > > > > > > > > > > problem
> > > > > > > > > > > > > > with the invocation handler is that it's not
> > possible
> > > > to
> > > > > > > > restrict
> > > > > > > > > > the
> > > > > > > > > > > > > bean
> > > > > > > > > > > > > > type and exclude EntityManager (or I missed it).
> > > > > Otherwise
> > > > > > > I'd
> > > > > > > > > > rather
> > > > > > > > > > > > get
> > > > > > > > > > > > > > rid of this interface.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > 2) WithEntityManager is definitely discussable.
> Not
> > > the
> > > > > > full
> > > > > > > > > > solution
> > > > > > > > > > > > and
> > > > > > > > > > > > > > not consistent. Could be solved with e.g. putting
> > > > > > qualifiers
> > > > > > > > on a
> > > > > > > > > > > > method
> > > > > > > > > > > > > > returning an EntityManager (less intuitive) or
> > > > something
> > > > > > like
> > > > > > > > the
> > > > > > > > > > > > > > InvocationHandlerBinding.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > 3) AbstractEntityRepository is just a convenience
> > > class
> > > > > for
> > > > > > > > > > providing
> > > > > > > > > > > > > > concrete query implementations.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Tue, Mar 12, 2013 at 9:40 PM, Gerhard
> Petracek <
> > > > > > > > > > > > > > gerhard.petracek@gmail.com> wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > hi,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > currently we don't have one jira ticket per
> > > > > part/feature.
> > > > > > > > > > > > > > > that's what we used to have for everything we
> > > > imported.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > the first parts to discuss are imo
> > > EntityManagerDao,
> > > > > > > > > > > > WithEntityManager
> > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > AbstractEntityDao.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > regards,
> > > > > > > > > > > > > > > gerhard
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > 2013/3/12 Arne Limburg <
> > > > arne.limburg@openknowledge.de>
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > +1 for repository, from me too
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Gesendet mit meinem HTC
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > ----- Reply message -----
> > > > > > > > > > > > > > > > Von: "Thomas Andraschko" <
> > > > > andraschko.thomas@gmail.com>
> > > > > > > > > > > > > > > > An: "deltaspike-dev@incubator.apache.org" <
> > > > > > > > > > > > > > > > deltaspike-dev@incubator.apache.org>
> > > > > > > > > > > > > > > > Betreff: cdi-query, no news?
> > > > > > > > > > > > > > > > Datum: Di., Mär. 12, 2013 20:38
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > +1 repository! :) "Query" doesn't really
> match
> > > the
> > > > > > > > > functionaly.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > 2013/3/12 Romain Manni-Bucau <
> > > > rmannibucau@gmail.com>
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > +2 for repo
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > btw did you fixed the scope issue?
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > *Twitter: @rmannibucau <
> > > > > > > https://twitter.com/rmannibucau
> > > > > > > > >*
> > > > > > > > > > > > > > > > > *Blog: **
> http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > > > *LinkedIn: **
> > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > *Github: https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > 2013/3/12 Thomas Hug <
> > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > The name is still freely choosable - data
> > > > sounds
> > > > > > fine
> > > > > > > > to
> > > > > > > > > me
> > > > > > > > > > > if
> > > > > > > > > > > > > > nobody
> > > > > > > > > > > > > > > > > minds
> > > > > > > > > > > > > > > > > > the obvious mirroring on Spring Data ;)
> > > > dao/@Dao
> > > > > is
> > > > > > > > > > > > discussable,
> > > > > > > > > > > > > > all
> > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > domain driven folks prefer probably
> > something
> > > > > like
> > > > > > > > > > > > "Repository".
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On Tue, Mar 12, 2013 at 7:29 PM, Romain
> > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > <rm...@gmail.com>wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Great :)
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > any issue changing "query" to something
> > > > closer
> > > > > to
> > > > > > > > what
> > > > > > > > > it
> > > > > > > > > > > > > really
> > > > > > > > > > > > > > > > does ;
> > > > > > > > > > > > > > > > > > > "dao" (because of @Dao) or "data"?
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > > *Twitter: @rmannibucau <
> > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > >*
> > > > > > > > > > > > > > > > > > > *Blog: **
> > > http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > > > > > *LinkedIn: **
> > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > *Github:
> https://gihub.com/rmannibucau*<
> > > > > > > > > > > > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > 2013/3/12 Thomas Hug <
> > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > FYI, I've started something like an
> > > import
> > > > > > > proposal
> > > > > > > > > in
> > > > > > > > > > a
> > > > > > > > > > > > > > > dedicated
> > > > > > > > > > > > > > > > > > branch
> > > > > > > > > > > > > > > > > > > > [1]. There's currently only the JBoss
> > > > > > Arquillian
> > > > > > > > > > profile
> > > > > > > > > > > > > > running,
> > > > > > > > > > > > > > > > > > haven't
> > > > > > > > > > > > > > > > > > > > looked at the others. Any support
> there
> > > and
> > > > > of
> > > > > > > > course
> > > > > > > > > > > other
> > > > > > > > > > > > > > > input's
> > > > > > > > > > > > > > > > > > very
> > > > > > > > > > > > > > > > > > > > welcome :)
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > [1]
> > > > > > > > > > https://github.com/ctpconsulting/query/tree/dsimport
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > On Tue, Mar 5, 2013 at 7:45 AM,
> Romain
> > > > > > > Manni-Bucau
> > > > > > > > <
> > > > > > > > > > > > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > > > > > > > > > > > >wrote:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Yes
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > It works fine but you bring too
> much
> > > > spring
> > > > > > > > > > > dependencies
> > > > > > > > > > > > > > > (totally
> > > > > > > > > > > > > > > > > > > useless
> > > > > > > > > > > > > > > > > > > > > when used this way) which clearly
> > show
> > > it
> > > > > is
> > > > > > > > > rather a
> > > > > > > > > > > > > bridge
> > > > > > > > > > > > > > > > than a
> > > > > > > > > > > > > > > > > > > > > solution + there were some leaks in
> > > > > previous
> > > > > > > > > version
> > > > > > > > > > > > (didnt
> > > > > > > > > > > > > > > check
> > > > > > > > > > > > > > > > > fix
> > > > > > > > > > > > > > > > > > > was
> > > > > > > > > > > > > > > > > > > > > released to be honest) because if
> > this
> > > > > usage
> > > > > > > > which
> > > > > > > > > > was
> > > > > > > > > > > > not
> > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > default
> > > > > > > > > > > > > > > > > > > > one.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Since cdi query is here it worths
> > > > importing
> > > > > > it
> > > > > > > > IMO
> > > > > > > > > > > > > > > > > > > > > Le 5 mars 2013 02:21, "hantsy" <
> > > > > > > > > hantsy@yahoo.com.cn>
> > > > > > > > > > a
> > > > > > > > > > > > > > écrit :
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > I remember the Spring Data has a
> > CDI
> > > > > > > extension,
> > > > > > > > > > but I
> > > > > > > > > > > > > have
> > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > used
> > > > > > > > > > > > > > > > > > > it
> > > > > > > > > > > > > > > > > > > > > > in projects. Is there anyone used
> > it
> > > in
> > > > > > Java
> > > > > > > > EE 6
> > > > > > > > > > > > > projects?
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Hantsy
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > On 3/3/2013 20:40, Romain
> > Manni-Bucau
> > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > > Basically if the query logic
> > could
> > > be
> > > > > > scope
> > > > > > > > > > > agnostic
> > > > > > > > > > > > it
> > > > > > > > > > > > > > > would
> > > > > > > > > > > > > > > > > be
> > > > > > > > > > > > > > > > > > > > > perfect
> > > > > > > > > > > > > > > > > > > > > > > for me. Parameters were fine
> and
> > > > > matched
> > > > > > > the
> > > > > > > > > > coomon
> > > > > > > > > > > > > need.
> > > > > > > > > > > > > > > I m
> > > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > > > > sure
> > > > > > > > > > > > > > > > > > > > > i
> > > > > > > > > > > > > > > > > > > > > > > get what is blocking. Can you
> > > detail
> > > > > it a
> > > > > > > bit
> > > > > > > > > > > please?
> > > > > > > > > > > > > > > > > > > > > > > Le 3 mars 2013 13:09, "Thomas
> > Hug"
> > > <
> > > > > > > > > > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > > > > > > écrit :
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >> Aha got you. Yes QueryHandler
> > can
> > > be
> > > > > > moved
> > > > > > > > to
> > > > > > > > > > > > > > application
> > > > > > > > > > > > > > > > > scope.
> > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > >> The other request scoped
> > component
> > > > ist
> > > > > > the
> > > > > > > > > > > > > > > > > > > > CdiQueryInvocationContext.
> > > > > > > > > > > > > > > > > > > > > > Here
> > > > > > > > > > > > > > > > > > > > > > >> we store a bunch of data which
> > is
> > > > > > related
> > > > > > > to
> > > > > > > > > the
> > > > > > > > > > > > > current
> > > > > > > > > > > > > > > > query
> > > > > > > > > > > > > > > > > > > > > > (parameters,
> > > > > > > > > > > > > > > > > > > > > > >> query string etc). Originally
> > this
> > > > was
> > > > > > > > passed
> > > > > > > > > as
> > > > > > > > > > > > > > > parameter,
> > > > > > > > > > > > > > > > > but
> > > > > > > > > > > > > > > > > > > got
> > > > > > > > > > > > > > > > > > > > > > >> injectable for the extension
> > > > mechanism
> > > > > > > [1].
> > > > > > > > > > > > Currently
> > > > > > > > > > > > > on
> > > > > > > > > > > > > > > > > > holidays
> > > > > > > > > > > > > > > > > > > > > (sorry
> > > > > > > > > > > > > > > > > > > > > > >> the response delays) so not
> much
> > > > time
> > > > > to
> > > > > > > > look
> > > > > > > > > > into
> > > > > > > > > > > > it
> > > > > > > > > > > > > > but
> > > > > > > > > > > > > > > > > happy
> > > > > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > > > > take
> > > > > > > > > > > > > > > > > > > > > > >> suggestions :)
> > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > >> [1]
> > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > > >> On Fri, Mar 1, 2013 at 8:18
> PM,
> > > > Romain
> > > > > > > > > > > Manni-Bucau <
> > > > > > > > > > > > > > > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > > > > > > > > > > > > > >>> wrote:
> > > > > > > > > > > > > > > > > > > > > > >>> Hmm,
> > > > > > > > > > > > > > > > > > > > > > >>>
> > > > > > > > > > > > > > > > > > > > > > >>> Wonder if the scope couldnt
> be
> > > > > > > application
> > > > > > > > > one.
> > > > > > > > > > > > > Request
> > > > > > > > > > > > > > > > > sounds
> > > > > > > > > > > > > > > > > > > too
> > > > > > > > > > > > > > > > > > > > > much
> > > > > > > > > > > > > > > > > > > > > > >> web
> > > > > > > > > > > > > > > > > > > > > > >>> to be usable/generic
> > > > > > > > > > > > > > > > > > > > > > >>> Le 1 mars 2013 19:02, "Thomas
> > > Hug"
> > > > <
> > > > > > > > > > > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > > > > > > >>> écrit :
> > > > > > > > > > > > > > > > > > > > > > >>>
> > > > > > > > > > > > > > > > > > > > > > >>>> Fine for me - planned to
> > create
> > > a
> > > > > > branch
> > > > > > > > > with
> > > > > > > > > > > all
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > experimental
> > > > > > > > > > > > > > > > > > > > > > APIs
> > > > > > > > > > > > > > > > > > > > > > >>>> cleared out as an import
> > > proposal.
> > > > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > > > >>>> RE scope, the
> > InvocationHandlers
> > > > are
> > > > > > > > > validated
> > > > > > > > > > > to
> > > > > > > > > > > > be
> > > > > > > > > > > > > > > > normal
> > > > > > > > > > > > > > > > > > > scoped
> > > > > > > > > > > > > > > > > > > > > > [1],
> > > > > > > > > > > > > > > > > > > > > > >>> so
> > > > > > > > > > > > > > > > > > > > > > >>>> that seemed to me the most
> > > > > appropriate
> > > > > > > > > choice
> > > > > > > > > > -
> > > > > > > > > > > > any
> > > > > > > > > > > > > > > other
> > > > > > > > > > > > > > > > > > > > > suggestions?
> > > > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > > > >>>> [1]
> > > > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > > > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > > > >>>> On Wed, Feb 27, 2013 at 1:15
> > PM,
> > > > > > Romain
> > > > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > > > > > >>>> <rmannibucau@gmail.com
> >wrote:
> > > > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>> Hi,
> > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>> some news of it?
> > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>> i think it is time to
> import
> > at
> > > > > > least a
> > > > > > > > > first
> > > > > > > > > > > > > > version,
> > > > > > > > > > > > > > > > > isn't
> > > > > > > > > > > > > > > > > > > it?
> > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>> Just a note on current
> code,
> > i
> > > > saw
> > > > > > > > > > QueryHandler
> > > > > > > > > > > > > (and
> > > > > > > > > > > > > > > some
> > > > > > > > > > > > > > > > > > other
> > > > > > > > > > > > > > > > > > > > > > >> beans)
> > > > > > > > > > > > > > > > > > > > > > >>>> has
> > > > > > > > > > > > > > > > > > > > > > >>>>> a request scope. Wonder if
> > > such a
> > > > > > scope
> > > > > > > > > means
> > > > > > > > > > > > > > something
> > > > > > > > > > > > > > > > > for a
> > > > > > > > > > > > > > > > > > > > > generic
> > > > > > > > > > > > > > > > > > > > > > >>>> (not
> > > > > > > > > > > > > > > > > > > > > > >>>>> web) lib.
> > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>> wdyt?
> > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > > > > > >>>>> *Twitter: @rmannibucau <
> > > > > > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > > > > >*
> > > > > > > > > > > > > > > > > > > > > > >>>>> *Blog: **
> > > > > > > > > http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > > > > > > > > >>>>> *LinkedIn: **
> > > > > > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > > >>>>> *Github:
> > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>> 2013/2/20 Romain
> Manni-Bucau
> > <
> > > > > > > > > > > > > rmannibucau@gmail.com>
> > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>> guy you rocks!
> > > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>> effectively i missed it
> > when i
> > > > > > looked.
> > > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > > > > > >>>>>> *Twitter: @rmannibucau <
> > > > > > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > > > > >*
> > > > > > > > > > > > > > > > > > > > > > >>>>>> *Blog: **
> > > > > > > > > http://rmannibucau.wordpress.com/*
> > > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > > > > > > > > >>>>>> *LinkedIn: **
> > > > > > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > > >>>>>> *Github:
> > > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>> 2013/2/20 Thomas Hug <
> > > > > > > > > > > > > thomas.hug@ctp-consulting.com
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>> Thnx Romain. If with
> proxy
> > > > stuff
> > > > > > you
> > > > > > > > > refer
> > > > > > > > > > to
> > > > > > > > > > > > the
> > > > > > > > > > > > > > DS
> > > > > > > > > > > > > > > > > > > > > > >>>>>>> InvocationHandlerBinding,
> > > > that's
> > > > > > > > already
> > > > > > > > > > > > > integrated
> > > > > > > > > > > > > > > :)
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>> RE pagination, it's maybe
> > not
> > > > > that
> > > > > > > > > obvious,
> > > > > > > > > > > but
> > > > > > > > > > > > > > > there's
> > > > > > > > > > > > > > > > > > more
> > > > > > > > > > > > > > > > > > > > > > >>> advanced
> > > > > > > > > > > > > > > > > > > > > > >>>>>>> support in QueryResult
> > > [1][2],
> > > > > > which
> > > > > > > is
> > > > > > > > > > more
> > > > > > > > > > > > of a
> > > > > > > > > > > > > > > > fluent
> > > > > > > > > > > > > > > > > > API
> > > > > > > > > > > > > > > > > > > > > > >>> approach,
> > > > > > > > > > > > > > > > > > > > > > >>>>> but
> > > > > > > > > > > > > > > > > > > > > > >>>>>>> should behave similar to
> a
> > > > > > > PageRequest
> > > > > > > > > (the
> > > > > > > > > > > > query
> > > > > > > > > > > > > > > > > execution
> > > > > > > > > > > > > > > > > > > is
> > > > > > > > > > > > > > > > > > > > > > >>> delayed
> > > > > > > > > > > > > > > > > > > > > > >>>>>>> until the getResult()
> > methods
> > > > on
> > > > > > > > > > QueryResult
> > > > > > > > > > > is
> > > > > > > > > > > > > > > > called).
> > > > > > > > > > > > > > > > > > Hope
> > > > > > > > > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > > > > > > > > >>>> fits
> > > > > > > > > > > > > > > > > > > > > > >>>>> to
> > > > > > > > > > > > > > > > > > > > > > >>>>>>> what you had in mind.
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>> [1]
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > > > > > > > > > > > > > > > > > > > > > >>>>>>> [2]
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > > > > > > > > > > > > > > > > > > > > > >>>>>>> On Wed, Feb 20, 2013 at
> > 10:04
> > > > PM,
> > > > > > > > Romain
> > > > > > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > > > > > >>>>>>> <rmannibucau@gmail.com
> > > >wrote:
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>> Hi Thomas,
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>> importing proxy stuff
> > would
> > > be
> > > > > the
> > > > > > > > first
> > > > > > > > > > > great
> > > > > > > > > > > > > > > stuff.
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>> i'd like to see some
> > > > pagination
> > > > > > API
> > > > > > > > > (like
> > > > > > > > > > > > > > > PageRequest
> > > > > > > > > > > > > > > > > etc
> > > > > > > > > > > > > > > > > > in
> > > > > > > > > > > > > > > > > > > > > > >>> spring
> > > > > > > > > > > > > > > > > > > > > > >>>>>>> world)
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>> which are more user
> > friendly
> > > > > that
> > > > > > > > > > > @FirstResult
> > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > > > @MaxResult).
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>> wdyt?
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>> *Twitter: @rmannibucau <
> > > > > > > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > > > > > >*
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>> *Blog: **
> > > > > > > > > > http://rmannibucau.wordpress.com/*
> > > > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > http://rmannibucau.wordpress.com/
> > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>> *LinkedIn: **
> > > > > > > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>> *Github:
> > > > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>> 2013/2/20 Thomas Hug <
> > > > > > > > > > > > > > thomas.hug@ctp-consulting.com
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> CDI Query has now a
> > > > completely
> > > > > > > > > > Solder-free
> > > > > > > > > > > > POM.
> > > > > > > > > > > > > > > Feel
> > > > > > > > > > > > > > > > > free
> > > > > > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > > > > > >>> drop
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>> comments
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> on the API - some parts
> > > might
> > > > > > > > actually
> > > > > > > > > be
> > > > > > > > > > > > fully
> > > > > > > > > > > > > > > > > excluded
> > > > > > > > > > > > > > > > > > > > (e.g.
> > > > > > > > > > > > > > > > > > > > > > >>>> home
> > > > > > > > > > > > > > > > > > > > > > >>>>>>> and
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> critera APIs).
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> On Tue, Feb 12, 2013 at
> > > 10:00
> > > > > PM,
> > > > > > > > Mark
> > > > > > > > > > > > > Struberg <
> > > > > > > > > > > > > > > > > > > > > > >>>> struberg@yahoo.de>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>> wrote:
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> Thanks Thomas, great
> > news!
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> LieGrue,
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> strub
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > ________________________________
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> From: Thomas Hug <
> > > > > > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> To: "
> > > > > > > > > > deltaspike-dev@incubator.apache.org
> > > > > > > > > > > "
> > > > > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > deltaspike-dev@incubator.apache.org
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> Sent: Tuesday,
> February
> > > 12,
> > > > > > 2013
> > > > > > > > 4:10
> > > > > > > > > > PM
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> Subject: Re:
> cdi-query,
> > > no
> > > > > > news?
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> FYI, I've started to
> > > > > > > "de-solderize"
> > > > > > > > > CDI
> > > > > > > > > > > > Query
> > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > move
> > > > > > > > > > > > > > > > > > > > > > >> things
> > > > > > > > > > > > > > > > > > > > > > >>>> to
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>> depend
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> on
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> DS Core [1]:
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > >
> > > > > > https://github.com/ctpconsulting/query/tree/deltaspike
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> Todos:
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> [x] Replace
> > > ServiceHandler
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> [_] Include Property
> > > utils
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> [_] Replace JBoss
> > Logging
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> Any feedback welcome.
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> [1] including this
> > > > > modification
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> On Mon, Feb 11, 2013
> at
> > > > 6:01
> > > > > > PM,
> > > > > > > > > Romain
> > > > > > > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> <
> rmannibucau@gmail.com
> > > > > >wrote:
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> a review of the API
> i
> > > > guess
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> what is missing
> today
> > is
> > > > > > > probably
> > > > > > > > > the
> > > > > > > > > > > > > > pagination
> > > > > > > > > > > > > > > > > > helpers
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>> (PageRequest
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> for
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> instance)
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> but technically all
> is
> > > > fine
> > > > > > IMO
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Twitter:
> > @rmannibucau <
> > > > > > > > > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > > > > > > > > > > >>> *
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Blog: **
> > > > > > > > > > > > http://rmannibucau.wordpress.com/*
> > > > > > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > http://rmannibucau.wordpress.com/
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *LinkedIn: **
> > > > > > > > > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Github:
> > > > > > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> 2013/2/11 Jason
> > Porter <
> > > > > > > > > > > > > > lightguard.jp@gmail.com
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> I know I'm playing
> > the
> > > > > > > > necromancer,
> > > > > > > > > > but
> > > > > > > > > > > > > > please
> > > > > > > > > > > > > > > > > > forgive
> > > > > > > > > > > > > > > > > > > > > > >>> me.
> > > > > > > > > > > > > > > > > > > > > > >>>> We
> > > > > > > > > > > > > > > > > > > > > > >>>>>>> have
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> InvocationHandler,
> > > which
> > > > > > looks
> > > > > > > > like
> > > > > > > > > > it
> > > > > > > > > > > > > would
> > > > > > > > > > > > > > > work
> > > > > > > > > > > > > > > > > as
> > > > > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> ServiceHandler
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> substitute. What
> else
> > > is
> > > > > > needed
> > > > > > > > to
> > > > > > > > > > get
> > > > > > > > > > > > CDI
> > > > > > > > > > > > > > > Query
> > > > > > > > > > > > > > > > > into
> > > > > > > > > > > > > > > > > > > > > > >>>>>>> DeltaSpike?
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> On Sun, Nov 18,
> 2012
> > at
> > > > > 12:35
> > > > > > > PM,
> > > > > > > > > > > Romain
> > > > > > > > > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> <
> > rmannibucau@gmail.com
> > > > > > >wrote:
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> +1, it is a must
> > have
> > > > for
> > > > > > cdi
> > > > > > > > > world
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> Le 18 nov. 2012
> > 20:04,
> > > > > > > > > > "john.d.ament"
> > > > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > > >>>>>>> john.d.ament@gmail.com>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>> a
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> écrit :
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> RE ServiceHandler
> > - I
> > > > was
> > > > > > one
> > > > > > > > of
> > > > > > > > > > > those
> > > > > > > > > > > > > who
> > > > > > > > > > > > > > > > > > > > > > >> previously
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>> suggested
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> bringing
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> over to
> DeltaSpike,
> > > you
> > > > > can
> > > > > > > see
> > > > > > > > > > > > > > > DELTASPIKE-113
> > > > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > > > > > >>> find
> > > > > > > > > > > > > > > > > > > > > > >>>>> the
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> thread
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> about
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> from April of
> this
> > > > year.
> > > > > >  At
> > > > > > > > the
> > > > > > > > > > > time,
> > > > > > > > > > > > I
> > > > > > > > > > > > > > was
> > > > > > > > > > > > > > > > in a
> > > > > > > > > > > > > > > > > > > > > > >>>>> position
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> where I
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> couldn't
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> spend much time
> on
> > > open
> > > > > > > source
> > > > > > > > > > > > > > contribution.
> > > > > > > > > > > > > > > > >  I've
> > > > > > > > > > > > > > > > > > > > > > >>>>> recently
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> changed
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> jobs,
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> to
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> something that's
> > > going
> > > > to
> > > > > > > help
> > > > > > > > me
> > > > > > > > > > > spend
> > > > > > > > > > > > > > some
> > > > > > > > > > > > > > > > more
> > > > > > > > > > > > > > > > > > > > > > >>> time
> > > > > > > > > > > > > > > > > > > > > > >>>>> with
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>> the
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> open
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> source
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> community, and
> > > believe
> > > > I
> > > > > > can
> > > > > > > > pick
> > > > > > > > > > it
> > > > > > > > > > > > back
> > > > > > > > > > > > > > up
> > > > > > > > > > > > > > > if
> > > > > > > > > > > > > > > > > > > > > > >> we're
> > > > > > > > > > > > > > > > > > > > > > >>>>>>> ready.
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> If everyone's ok
> > with
> > > > it
> > > > > I
> > > > > > > can
> > > > > > > > > > start
> > > > > > > > > > > a
> > > > > > > > > > > > > new
> > > > > > > > > > > > > > > > thread
> > > > > > > > > > > > > > > > > > > > > > >> for
> > > > > > > > > > > > > > > > > > > > > > >>>> 113
> > > > > > > > > > > > > > > > > > > > > > >>>>>>> or
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> revive
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> the
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> old
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> thread (though it
> > may
> > > > > come
> > > > > > > > > through
> > > > > > > > > > > > with a
> > > > > > > > > > > > > > > large
> > > > > > > > > > > > > > > > > > > > > > >> pile
> > > > > > > > > > > > > > > > > > > > > > >>> of
> > > > > > > > > > > > > > > > > > > > > > >>>>>>> dust).
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> Regards,
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> John
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> --
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> View this message
> > in
> > > > > > context:
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> Sent from the
> > Apache
> > > > > > > DeltaSpike
> > > > > > > > > > > > Incubator
> > > > > > > > > > > > > > > > > > > > > > >> Discussions
> > > > > > > > > > > > > > > > > > > > > > >>>>>>> mailing
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>> list
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> archive
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> at Nabble.com.
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> --
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> Jason Porter
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > http://en.gravatar.com/lightguardjp
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Thomas Hug <th...@ctp-consulting.com>.
@ #getEntityManager: Thnx for the correction - good news, AFAIR that wasn't
implemented in Solder. Injecting the EM is probably more natural, OTOH not
relying on injection seems more consistent with interface based
repositories. Moving the method to EntityRepository might be done with
regards to multiple EMs (overriding and annotating the method with the
qualifier(s)), but this solution has probably some confusing side effects
with annotation inheritance on interfaces. Otherwise keeping it in the
class-based repository seems to me ok. Opinions, better suggestions? Looks
not yet optimal to me...

@ saveAndFlush: Sorry now I get you - yes that's quite a common one, where
I've rarely seen other combined. My preferrence was providing the extension
mechanism for these not so common ones (e.g. save flush refresh etc)
instead of pushing everything into the base classes. But besides that
nothing speaking against it adding other combinations.

@ flush with method expressions, those expressions are read-only so far.

On Mon, Mar 18, 2013 at 6:45 PM, Romain Manni-Bucau
<rm...@gmail.com>wrote:

> agree but in general you can need the (generated) id -> saveAndFlush but
> when you remove sthg you don't query it again. So i guess that's just a
> common method added from the usage.
>
> Didn't check the impl but flush could be added to the "method name dsl",
> wdyt?
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog: **http://rmannibucau.wordpress.com/*<
> http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
> 2013/3/18 Gerhard Petracek <ge...@gmail.com>
>
> > hi thomas,
> >
> > @ #getEntityManager:
> > injection works in such (partial-)beans (we have tests for it).
> >
> > @ #saveAndFlush:
> > it's clear what it does, but not why it's the only combined operation
> (e.g.
> > there is no #removeAndFlush).
> >
> > regards,
> > gerhard
> >
> >
> >
> > 2013/3/18 Thomas Hug <th...@ctp-consulting.com>
> >
> > > Thnx for the remarks Gerhard!
> > >
> > > - @Query: Good point, looks more consistent to me too.
> > > - NonEntity was AFAIR introduced to make it more explicit that the
> Entity
> > > class comes from somewhere else. I don't think we need it - if nobody
> > > prefers the explicit style then I'd favor removing it.
> > > - Not sure if I get the next point - the EntityManager comes always
> from
> > a
> > > producer and is looked up in the Impl classes (and I guess injection
> > won't
> > > work in InvocationHandlerBinding beans anyway). The methods from
> > > EntityRepository and AbstractEntityRepository are not meant to be
> > > implemented by a client. There's only a getEntityManager() on the
> > > AbstractEntityRepository to be used by concrete query methods which you
> > > don't have with an interface-based repository.
> > >
> > > @Repository
> > > public interface PersonRepository extends EntityRepository <Person,
> > Long> {
> > >      Person findBySsn(String ssn);
> > > }
> > >
> > > public abstract class PersonRepository extends
> > > AbstractEntityRepository<Person, Long> {
> > >     public List<Person> findByXY(X x, Y y) {
> > >         // some logic
> > >         return getEntityManager().createQuery(query).getResultList();
> > >     }
> > > }
> > >
> > > - saveAndFlush will simply call flush after persist/merge instead of
> > > waiting for it at the transaction commit. Can have impact on following
> > > queries.
> > >
> > > Confluence updates to follow. Hope that helps...
> > >
> > > On Sun, Mar 17, 2013 at 3:12 PM, Gerhard Petracek <
> > > gerhard.petracek@gmail.com> wrote:
> > >
> > > > hi thomas,
> > > >
> > > > i would prefer e.g.
> > > > Query#value + Query#isNative (false as the default)
> > > > instead of
> > > > Query#value + Query#sql
> > > >
> > > > and it would be great to get additional information about the need
> of:
> > > >
> > > >  - NonEntity (as the default)
> > > >  - AbstractEntityRepository
> > > >    (e.g. you can pass in the EntityManager as parameter or inject it.
> > > >     you would need it e.g. for EntityRepository#save,... - but in
> > > > EntityRepository it isn't part of the contract...)
> > > >  - (EntityRepository#saveAndFlush as the only combined operation)
> > > >
> > > > regards,
> > > > gerhard
> > > >
> > > >
> > > >
> > > > 2013/3/14 Thomas Hug <th...@ctp-consulting.com>
> > > >
> > > > > Thnx for the pointers. Started to outline the APIs here [1] with
> > > examples
> > > > > in decreasing priority.
> > > > >
> > > > > [1]
> > > > >
> > >
> https://cwiki.apache.org/confluence/display/DeltaSpike/Repository+Drafts
> > > > >
> > > > > On Thu, Mar 14, 2013 at 10:05 AM, Gerhard Petracek <
> > > > > gerhard.petracek@gmail.com> wrote:
> > > > >
> > > > > > +1
> > > > > >
> > > > > > regards,
> > > > > > gerhard
> > > > > >
> > > > > >
> > > > > >
> > > > > > 2013/3/14 Romain Manni-Bucau <rm...@gmail.com>
> > > > > >
> > > > > > > ok great,
> > > > > > >
> > > > > > > wonder if we couldn't start by a first version without such
> > > > > > extensibility +
> > > > > > > no scopes for queries?
> > > > > > >
> > > > > > > *Romain Manni-Bucau*
> > > > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > *Github: https://github.com/rmannibucau*
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > 2013/3/14 Gerhard Petracek <ge...@gmail.com>
> > > > > > >
> > > > > > > > hi romain,
> > > > > > > >
> > > > > > > > no - it's more about the style we introduced e.g. for
> type-safe
> > > > > > messages.
> > > > > > > >
> > > > > > > > regards,
> > > > > > > > gerhard
> > > > > > > >
> > > > > > > >
> > > > > > > > 2013/3/14 Romain Manni-Bucau <rm...@gmail.com>
> > > > > > > >
> > > > > > > > > @Gerhard: hope you don't think of @RepoBinding at
> all...would
> > > be
> > > > > too
> > > > > > > much
> > > > > > > > > IMO. Would be great to support aliases/stereotype maybe but
> > not
> > > > the
> > > > > > > > default
> > > > > > > > >
> > > > > > > > > Wdyt?
> > > > > > > > > Le 14 mars 2013 00:11, "Gerhard Petracek" <
> > > > > > gerhard.petracek@gmail.com>
> > > > > > > a
> > > > > > > > > écrit :
> > > > > > > > >
> > > > > > > > > > hi thomas,
> > > > > > > > > >
> > > > > > > > > > imo it should follow the basic style/s we have in other
> > parts
> > > > > > already
> > > > > > > > (if
> > > > > > > > > > possible).
> > > > > > > > > >
> > > > > > > > > > i guess the simple implementations in the test-module are
> > too
> > > > > > simple
> > > > > > > to
> > > > > > > > > see
> > > > > > > > > > the real benefit.
> > > > > > > > > > -> it would be nice if you add some drafts to a sub-page
> of
> > > > [1].
> > > > > > > > > > (the usage you would prefer and not as it is right now.)
> > > > > > > > > >
> > > > > > > > > > regards,
> > > > > > > > > > gerhard
> > > > > > > > > >
> > > > > > > > > > [1]
> > > > > https://cwiki.apache.org/confluence/display/DeltaSpike/Drafts
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > 2013/3/13 Romain Manni-Bucau <rm...@gmail.com>
> > > > > > > > > >
> > > > > > > > > > > i'd put it in to start since that's useful for JPA but
> it
> > > > > > shouldn't
> > > > > > > > use
> > > > > > > > > > it
> > > > > > > > > > > at all
> > > > > > > > > > >
> > > > > > > > > > > a question (for next iteration if that's ok for
> > everybody)
> > > is
> > > > > > > should
> > > > > > > > > > repos
> > > > > > > > > > > handle transaction or at least define it.
> > > > > > > > > > >
> > > > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > > > *Twitter: @rmannibucau <
> https://twitter.com/rmannibucau
> > >*
> > > > > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > *Github: https://github.com/rmannibucau*
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > 2013/3/13 John D. Ament <jo...@gmail.com>
> > > > > > > > > > >
> > > > > > > > > > > > Does this have any direct/indirect dependencies on
> JPA
> > > > > module?
> > > > > > > > Should
> > > > > > > > > > > this
> > > > > > > > > > > > maybe become a part of the JPA module?
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > On Wed, Mar 13, 2013 at 7:23 AM, Thomas Hug
> > > > > > > > > > > > <th...@ctp-consulting.com>wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > Ok, I guess it's going to be Repository :) Updated
> > the
> > > > > > proposal
> > > > > > > > > > branch
> > > > > > > > > > > > and
> > > > > > > > > > > > > also moved things into a data package/module.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Some remarks for the parts below:
> > > > > > > > > > > > >
> > > > > > > > > > > > > 1) EntityManagerRepository wasn't present in the
> > Solder
> > > > > > > > > > implementation
> > > > > > > > > > > -
> > > > > > > > > > > > > there it was possible to simply implement/extend
> > > > > > EntityManager.
> > > > > > > > The
> > > > > > > > > > > > problem
> > > > > > > > > > > > > with the invocation handler is that it's not
> possible
> > > to
> > > > > > > restrict
> > > > > > > > > the
> > > > > > > > > > > > bean
> > > > > > > > > > > > > type and exclude EntityManager (or I missed it).
> > > > Otherwise
> > > > > > I'd
> > > > > > > > > rather
> > > > > > > > > > > get
> > > > > > > > > > > > > rid of this interface.
> > > > > > > > > > > > >
> > > > > > > > > > > > > 2) WithEntityManager is definitely discussable. Not
> > the
> > > > > full
> > > > > > > > > solution
> > > > > > > > > > > and
> > > > > > > > > > > > > not consistent. Could be solved with e.g. putting
> > > > > qualifiers
> > > > > > > on a
> > > > > > > > > > > method
> > > > > > > > > > > > > returning an EntityManager (less intuitive) or
> > > something
> > > > > like
> > > > > > > the
> > > > > > > > > > > > > InvocationHandlerBinding.
> > > > > > > > > > > > >
> > > > > > > > > > > > > 3) AbstractEntityRepository is just a convenience
> > class
> > > > for
> > > > > > > > > providing
> > > > > > > > > > > > > concrete query implementations.
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Tue, Mar 12, 2013 at 9:40 PM, Gerhard Petracek <
> > > > > > > > > > > > > gerhard.petracek@gmail.com> wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > hi,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > currently we don't have one jira ticket per
> > > > part/feature.
> > > > > > > > > > > > > > that's what we used to have for everything we
> > > imported.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > the first parts to discuss are imo
> > EntityManagerDao,
> > > > > > > > > > > WithEntityManager
> > > > > > > > > > > > > and
> > > > > > > > > > > > > > AbstractEntityDao.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > regards,
> > > > > > > > > > > > > > gerhard
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > 2013/3/12 Arne Limburg <
> > > arne.limburg@openknowledge.de>
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > +1 for repository, from me too
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Gesendet mit meinem HTC
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > ----- Reply message -----
> > > > > > > > > > > > > > > Von: "Thomas Andraschko" <
> > > > andraschko.thomas@gmail.com>
> > > > > > > > > > > > > > > An: "deltaspike-dev@incubator.apache.org" <
> > > > > > > > > > > > > > > deltaspike-dev@incubator.apache.org>
> > > > > > > > > > > > > > > Betreff: cdi-query, no news?
> > > > > > > > > > > > > > > Datum: Di., Mär. 12, 2013 20:38
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > +1 repository! :) "Query" doesn't really match
> > the
> > > > > > > > functionaly.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > 2013/3/12 Romain Manni-Bucau <
> > > rmannibucau@gmail.com>
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > +2 for repo
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > btw did you fixed the scope issue?
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > *Twitter: @rmannibucau <
> > > > > > https://twitter.com/rmannibucau
> > > > > > > >*
> > > > > > > > > > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > > *LinkedIn: **
> > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > *Github: https://github.com/rmannibucau*
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > 2013/3/12 Thomas Hug <
> > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > The name is still freely choosable - data
> > > sounds
> > > > > fine
> > > > > > > to
> > > > > > > > me
> > > > > > > > > > if
> > > > > > > > > > > > > nobody
> > > > > > > > > > > > > > > > minds
> > > > > > > > > > > > > > > > > the obvious mirroring on Spring Data ;)
> > > dao/@Dao
> > > > is
> > > > > > > > > > > discussable,
> > > > > > > > > > > > > all
> > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > domain driven folks prefer probably
> something
> > > > like
> > > > > > > > > > > "Repository".
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On Tue, Mar 12, 2013 at 7:29 PM, Romain
> > > > Manni-Bucau
> > > > > > > > > > > > > > > > > <rm...@gmail.com>wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Great :)
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > any issue changing "query" to something
> > > closer
> > > > to
> > > > > > > what
> > > > > > > > it
> > > > > > > > > > > > really
> > > > > > > > > > > > > > > does ;
> > > > > > > > > > > > > > > > > > "dao" (because of @Dao) or "data"?
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > *Twitter: @rmannibucau <
> > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > >*
> > > > > > > > > > > > > > > > > > *Blog: **
> > http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > > > > *LinkedIn: **
> > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > *Github: https://gihub.com/rmannibucau*<
> > > > > > > > > > > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > 2013/3/12 Thomas Hug <
> > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > FYI, I've started something like an
> > import
> > > > > > proposal
> > > > > > > > in
> > > > > > > > > a
> > > > > > > > > > > > > > dedicated
> > > > > > > > > > > > > > > > > branch
> > > > > > > > > > > > > > > > > > > [1]. There's currently only the JBoss
> > > > > Arquillian
> > > > > > > > > profile
> > > > > > > > > > > > > running,
> > > > > > > > > > > > > > > > > haven't
> > > > > > > > > > > > > > > > > > > looked at the others. Any support there
> > and
> > > > of
> > > > > > > course
> > > > > > > > > > other
> > > > > > > > > > > > > > input's
> > > > > > > > > > > > > > > > > very
> > > > > > > > > > > > > > > > > > > welcome :)
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > [1]
> > > > > > > > > https://github.com/ctpconsulting/query/tree/dsimport
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > On Tue, Mar 5, 2013 at 7:45 AM, Romain
> > > > > > Manni-Bucau
> > > > > > > <
> > > > > > > > > > > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > > > > > > > > > > >wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Yes
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > It works fine but you bring too much
> > > spring
> > > > > > > > > > dependencies
> > > > > > > > > > > > > > (totally
> > > > > > > > > > > > > > > > > > useless
> > > > > > > > > > > > > > > > > > > > when used this way) which clearly
> show
> > it
> > > > is
> > > > > > > > rather a
> > > > > > > > > > > > bridge
> > > > > > > > > > > > > > > than a
> > > > > > > > > > > > > > > > > > > > solution + there were some leaks in
> > > > previous
> > > > > > > > version
> > > > > > > > > > > (didnt
> > > > > > > > > > > > > > check
> > > > > > > > > > > > > > > > fix
> > > > > > > > > > > > > > > > > > was
> > > > > > > > > > > > > > > > > > > > released to be honest) because if
> this
> > > > usage
> > > > > > > which
> > > > > > > > > was
> > > > > > > > > > > not
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > default
> > > > > > > > > > > > > > > > > > > one.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Since cdi query is here it worths
> > > importing
> > > > > it
> > > > > > > IMO
> > > > > > > > > > > > > > > > > > > > Le 5 mars 2013 02:21, "hantsy" <
> > > > > > > > hantsy@yahoo.com.cn>
> > > > > > > > > a
> > > > > > > > > > > > > écrit :
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > I remember the Spring Data has a
> CDI
> > > > > > extension,
> > > > > > > > > but I
> > > > > > > > > > > > have
> > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > used
> > > > > > > > > > > > > > > > > > it
> > > > > > > > > > > > > > > > > > > > > in projects. Is there anyone used
> it
> > in
> > > > > Java
> > > > > > > EE 6
> > > > > > > > > > > > projects?
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Hantsy
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > On 3/3/2013 20:40, Romain
> Manni-Bucau
> > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > Basically if the query logic
> could
> > be
> > > > > scope
> > > > > > > > > > agnostic
> > > > > > > > > > > it
> > > > > > > > > > > > > > would
> > > > > > > > > > > > > > > > be
> > > > > > > > > > > > > > > > > > > > perfect
> > > > > > > > > > > > > > > > > > > > > > for me. Parameters were fine and
> > > > matched
> > > > > > the
> > > > > > > > > coomon
> > > > > > > > > > > > need.
> > > > > > > > > > > > > > I m
> > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > > > sure
> > > > > > > > > > > > > > > > > > > > i
> > > > > > > > > > > > > > > > > > > > > > get what is blocking. Can you
> > detail
> > > > it a
> > > > > > bit
> > > > > > > > > > please?
> > > > > > > > > > > > > > > > > > > > > > Le 3 mars 2013 13:09, "Thomas
> Hug"
> > <
> > > > > > > > > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > > > > > écrit :
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >> Aha got you. Yes QueryHandler
> can
> > be
> > > > > moved
> > > > > > > to
> > > > > > > > > > > > > application
> > > > > > > > > > > > > > > > scope.
> > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > >> The other request scoped
> component
> > > ist
> > > > > the
> > > > > > > > > > > > > > > > > > > CdiQueryInvocationContext.
> > > > > > > > > > > > > > > > > > > > > Here
> > > > > > > > > > > > > > > > > > > > > >> we store a bunch of data which
> is
> > > > > related
> > > > > > to
> > > > > > > > the
> > > > > > > > > > > > current
> > > > > > > > > > > > > > > query
> > > > > > > > > > > > > > > > > > > > > (parameters,
> > > > > > > > > > > > > > > > > > > > > >> query string etc). Originally
> this
> > > was
> > > > > > > passed
> > > > > > > > as
> > > > > > > > > > > > > > parameter,
> > > > > > > > > > > > > > > > but
> > > > > > > > > > > > > > > > > > got
> > > > > > > > > > > > > > > > > > > > > >> injectable for the extension
> > > mechanism
> > > > > > [1].
> > > > > > > > > > > Currently
> > > > > > > > > > > > on
> > > > > > > > > > > > > > > > > holidays
> > > > > > > > > > > > > > > > > > > > (sorry
> > > > > > > > > > > > > > > > > > > > > >> the response delays) so not much
> > > time
> > > > to
> > > > > > > look
> > > > > > > > > into
> > > > > > > > > > > it
> > > > > > > > > > > > > but
> > > > > > > > > > > > > > > > happy
> > > > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > > > take
> > > > > > > > > > > > > > > > > > > > > >> suggestions :)
> > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > >> [1]
> > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > > >> On Fri, Mar 1, 2013 at 8:18 PM,
> > > Romain
> > > > > > > > > > Manni-Bucau <
> > > > > > > > > > > > > > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > > > > > > > > > > > > >>> wrote:
> > > > > > > > > > > > > > > > > > > > > >>> Hmm,
> > > > > > > > > > > > > > > > > > > > > >>>
> > > > > > > > > > > > > > > > > > > > > >>> Wonder if the scope couldnt be
> > > > > > application
> > > > > > > > one.
> > > > > > > > > > > > Request
> > > > > > > > > > > > > > > > sounds
> > > > > > > > > > > > > > > > > > too
> > > > > > > > > > > > > > > > > > > > much
> > > > > > > > > > > > > > > > > > > > > >> web
> > > > > > > > > > > > > > > > > > > > > >>> to be usable/generic
> > > > > > > > > > > > > > > > > > > > > >>> Le 1 mars 2013 19:02, "Thomas
> > Hug"
> > > <
> > > > > > > > > > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > > > > > >>> écrit :
> > > > > > > > > > > > > > > > > > > > > >>>
> > > > > > > > > > > > > > > > > > > > > >>>> Fine for me - planned to
> create
> > a
> > > > > branch
> > > > > > > > with
> > > > > > > > > > all
> > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > experimental
> > > > > > > > > > > > > > > > > > > > > APIs
> > > > > > > > > > > > > > > > > > > > > >>>> cleared out as an import
> > proposal.
> > > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > > >>>> RE scope, the
> InvocationHandlers
> > > are
> > > > > > > > validated
> > > > > > > > > > to
> > > > > > > > > > > be
> > > > > > > > > > > > > > > normal
> > > > > > > > > > > > > > > > > > scoped
> > > > > > > > > > > > > > > > > > > > > [1],
> > > > > > > > > > > > > > > > > > > > > >>> so
> > > > > > > > > > > > > > > > > > > > > >>>> that seemed to me the most
> > > > appropriate
> > > > > > > > choice
> > > > > > > > > -
> > > > > > > > > > > any
> > > > > > > > > > > > > > other
> > > > > > > > > > > > > > > > > > > > suggestions?
> > > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > > >>>> [1]
> > > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > > >>>> On Wed, Feb 27, 2013 at 1:15
> PM,
> > > > > Romain
> > > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > > > > >>>> <rm...@gmail.com>wrote:
> > > > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > > > >>>>> Hi,
> > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>> some news of it?
> > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>> i think it is time to import
> at
> > > > > least a
> > > > > > > > first
> > > > > > > > > > > > > version,
> > > > > > > > > > > > > > > > isn't
> > > > > > > > > > > > > > > > > > it?
> > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>> Just a note on current code,
> i
> > > saw
> > > > > > > > > QueryHandler
> > > > > > > > > > > > (and
> > > > > > > > > > > > > > some
> > > > > > > > > > > > > > > > > other
> > > > > > > > > > > > > > > > > > > > > >> beans)
> > > > > > > > > > > > > > > > > > > > > >>>> has
> > > > > > > > > > > > > > > > > > > > > >>>>> a request scope. Wonder if
> > such a
> > > > > scope
> > > > > > > > means
> > > > > > > > > > > > > something
> > > > > > > > > > > > > > > > for a
> > > > > > > > > > > > > > > > > > > > generic
> > > > > > > > > > > > > > > > > > > > > >>>> (not
> > > > > > > > > > > > > > > > > > > > > >>>>> web) lib.
> > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>> wdyt?
> > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > > > > >>>>> *Twitter: @rmannibucau <
> > > > > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > > > >*
> > > > > > > > > > > > > > > > > > > > > >>>>> *Blog: **
> > > > > > > > http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > > > > > > > > > >>>>>
> > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > > > > > > > >>>>> *LinkedIn: **
> > > > > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > >>>>> *Github:
> > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>> 2013/2/20 Romain Manni-Bucau
> <
> > > > > > > > > > > > rmannibucau@gmail.com>
> > > > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>> guy you rocks!
> > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>> effectively i missed it
> when i
> > > > > looked.
> > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > > > > >>>>>> *Twitter: @rmannibucau <
> > > > > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > > > >*
> > > > > > > > > > > > > > > > > > > > > >>>>>> *Blog: **
> > > > > > > > http://rmannibucau.wordpress.com/*
> > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > >>>>>
> > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > > > > > > > >>>>>> *LinkedIn: **
> > > > > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > >>>>>> *Github:
> > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>> 2013/2/20 Thomas Hug <
> > > > > > > > > > > > thomas.hug@ctp-consulting.com
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>> Thnx Romain. If with proxy
> > > stuff
> > > > > you
> > > > > > > > refer
> > > > > > > > > to
> > > > > > > > > > > the
> > > > > > > > > > > > > DS
> > > > > > > > > > > > > > > > > > > > > >>>>>>> InvocationHandlerBinding,
> > > that's
> > > > > > > already
> > > > > > > > > > > > integrated
> > > > > > > > > > > > > > :)
> > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>> RE pagination, it's maybe
> not
> > > > that
> > > > > > > > obvious,
> > > > > > > > > > but
> > > > > > > > > > > > > > there's
> > > > > > > > > > > > > > > > > more
> > > > > > > > > > > > > > > > > > > > > >>> advanced
> > > > > > > > > > > > > > > > > > > > > >>>>>>> support in QueryResult
> > [1][2],
> > > > > which
> > > > > > is
> > > > > > > > > more
> > > > > > > > > > > of a
> > > > > > > > > > > > > > > fluent
> > > > > > > > > > > > > > > > > API
> > > > > > > > > > > > > > > > > > > > > >>> approach,
> > > > > > > > > > > > > > > > > > > > > >>>>> but
> > > > > > > > > > > > > > > > > > > > > >>>>>>> should behave similar to a
> > > > > > PageRequest
> > > > > > > > (the
> > > > > > > > > > > query
> > > > > > > > > > > > > > > > execution
> > > > > > > > > > > > > > > > > > is
> > > > > > > > > > > > > > > > > > > > > >>> delayed
> > > > > > > > > > > > > > > > > > > > > >>>>>>> until the getResult()
> methods
> > > on
> > > > > > > > > QueryResult
> > > > > > > > > > is
> > > > > > > > > > > > > > > called).
> > > > > > > > > > > > > > > > > Hope
> > > > > > > > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > > > > > > > >>>> fits
> > > > > > > > > > > > > > > > > > > > > >>>>> to
> > > > > > > > > > > > > > > > > > > > > >>>>>>> what you had in mind.
> > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>> [1]
> > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > > > > > > > > > > > > > > > > > > > > >>>>>>> [2]
> > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > > > > > > > > > > > > > > > > > > > > >>>>>>> On Wed, Feb 20, 2013 at
> 10:04
> > > PM,
> > > > > > > Romain
> > > > > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > > > > >>>>>>> <rmannibucau@gmail.com
> > >wrote:
> > > > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>> Hi Thomas,
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>> importing proxy stuff
> would
> > be
> > > > the
> > > > > > > first
> > > > > > > > > > great
> > > > > > > > > > > > > > stuff.
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>> i'd like to see some
> > > pagination
> > > > > API
> > > > > > > > (like
> > > > > > > > > > > > > > PageRequest
> > > > > > > > > > > > > > > > etc
> > > > > > > > > > > > > > > > > in
> > > > > > > > > > > > > > > > > > > > > >>> spring
> > > > > > > > > > > > > > > > > > > > > >>>>>>> world)
> > > > > > > > > > > > > > > > > > > > > >>>>>>>> which are more user
> friendly
> > > > that
> > > > > > > > > > @FirstResult
> > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > > @MaxResult).
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>> wdyt?
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > > > > >>>>>>>> *Twitter: @rmannibucau <
> > > > > > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > > > > >*
> > > > > > > > > > > > > > > > > > > > > >>>>>>>> *Blog: **
> > > > > > > > > http://rmannibucau.wordpress.com/*
> > > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > http://rmannibucau.wordpress.com/
> > > > > >
> > > > > > > > > > > > > > > > > > > > > >>>>>>>> *LinkedIn: **
> > > > > > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > >>>>>>>> *Github:
> > > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>> 2013/2/20 Thomas Hug <
> > > > > > > > > > > > > thomas.hug@ctp-consulting.com
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>> CDI Query has now a
> > > completely
> > > > > > > > > Solder-free
> > > > > > > > > > > POM.
> > > > > > > > > > > > > > Feel
> > > > > > > > > > > > > > > > free
> > > > > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > > > > >>> drop
> > > > > > > > > > > > > > > > > > > > > >>>>>>>> comments
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>> on the API - some parts
> > might
> > > > > > > actually
> > > > > > > > be
> > > > > > > > > > > fully
> > > > > > > > > > > > > > > > excluded
> > > > > > > > > > > > > > > > > > > (e.g.
> > > > > > > > > > > > > > > > > > > > > >>>> home
> > > > > > > > > > > > > > > > > > > > > >>>>>>> and
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>> critera APIs).
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>> On Tue, Feb 12, 2013 at
> > 10:00
> > > > PM,
> > > > > > > Mark
> > > > > > > > > > > > Struberg <
> > > > > > > > > > > > > > > > > > > > > >>>> struberg@yahoo.de>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>> wrote:
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> Thanks Thomas, great
> news!
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> LieGrue,
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> strub
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > ________________________________
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> From: Thomas Hug <
> > > > > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> To: "
> > > > > > > > > deltaspike-dev@incubator.apache.org
> > > > > > > > > > "
> > > > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > deltaspike-dev@incubator.apache.org
> > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> Sent: Tuesday, February
> > 12,
> > > > > 2013
> > > > > > > 4:10
> > > > > > > > > PM
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> Subject: Re: cdi-query,
> > no
> > > > > news?
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> FYI, I've started to
> > > > > > "de-solderize"
> > > > > > > > CDI
> > > > > > > > > > > Query
> > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > move
> > > > > > > > > > > > > > > > > > > > > >> things
> > > > > > > > > > > > > > > > > > > > > >>>> to
> > > > > > > > > > > > > > > > > > > > > >>>>>>>> depend
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>> on
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> DS Core [1]:
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > >
> > > > > https://github.com/ctpconsulting/query/tree/deltaspike
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> Todos:
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> [x] Replace
> > ServiceHandler
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> [_] Include Property
> > utils
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> [_] Replace JBoss
> Logging
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> Any feedback welcome.
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> [1] including this
> > > > modification
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> On Mon, Feb 11, 2013 at
> > > 6:01
> > > > > PM,
> > > > > > > > Romain
> > > > > > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>> <rmannibucau@gmail.com
> > > > >wrote:
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> a review of the API i
> > > guess
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> what is missing today
> is
> > > > > > probably
> > > > > > > > the
> > > > > > > > > > > > > pagination
> > > > > > > > > > > > > > > > > helpers
> > > > > > > > > > > > > > > > > > > > > >>>>>>>> (PageRequest
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> for
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> instance)
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> but technically all is
> > > fine
> > > > > IMO
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Twitter:
> @rmannibucau <
> > > > > > > > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > > > > > > > > > >>> *
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Blog: **
> > > > > > > > > > > http://rmannibucau.wordpress.com/*
> > > > > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > http://rmannibucau.wordpress.com/
> > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *LinkedIn: **
> > > > > > > > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Github:
> > > > > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> 2013/2/11 Jason
> Porter <
> > > > > > > > > > > > > lightguard.jp@gmail.com
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> I know I'm playing
> the
> > > > > > > necromancer,
> > > > > > > > > but
> > > > > > > > > > > > > please
> > > > > > > > > > > > > > > > > forgive
> > > > > > > > > > > > > > > > > > > > > >>> me.
> > > > > > > > > > > > > > > > > > > > > >>>> We
> > > > > > > > > > > > > > > > > > > > > >>>>>>> have
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> InvocationHandler,
> > which
> > > > > looks
> > > > > > > like
> > > > > > > > > it
> > > > > > > > > > > > would
> > > > > > > > > > > > > > work
> > > > > > > > > > > > > > > > as
> > > > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>> ServiceHandler
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> substitute. What else
> > is
> > > > > needed
> > > > > > > to
> > > > > > > > > get
> > > > > > > > > > > CDI
> > > > > > > > > > > > > > Query
> > > > > > > > > > > > > > > > into
> > > > > > > > > > > > > > > > > > > > > >>>>>>> DeltaSpike?
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> On Sun, Nov 18, 2012
> at
> > > > 12:35
> > > > > > PM,
> > > > > > > > > > Romain
> > > > > > > > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> <
> rmannibucau@gmail.com
> > > > > >wrote:
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> +1, it is a must
> have
> > > for
> > > > > cdi
> > > > > > > > world
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> Le 18 nov. 2012
> 20:04,
> > > > > > > > > "john.d.ament"
> > > > > > > > > > <
> > > > > > > > > > > > > > > > > > > > > >>>>>>> john.d.ament@gmail.com>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>> a
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> écrit :
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> RE ServiceHandler
> - I
> > > was
> > > > > one
> > > > > > > of
> > > > > > > > > > those
> > > > > > > > > > > > who
> > > > > > > > > > > > > > > > > > > > > >> previously
> > > > > > > > > > > > > > > > > > > > > >>>>>>>> suggested
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> bringing
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> over to DeltaSpike,
> > you
> > > > can
> > > > > > see
> > > > > > > > > > > > > > DELTASPIKE-113
> > > > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > > > > >>> find
> > > > > > > > > > > > > > > > > > > > > >>>>> the
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>> thread
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> about
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> from April of this
> > > year.
> > > > >  At
> > > > > > > the
> > > > > > > > > > time,
> > > > > > > > > > > I
> > > > > > > > > > > > > was
> > > > > > > > > > > > > > > in a
> > > > > > > > > > > > > > > > > > > > > >>>>> position
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>> where I
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> couldn't
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> spend much time on
> > open
> > > > > > source
> > > > > > > > > > > > > contribution.
> > > > > > > > > > > > > > > >  I've
> > > > > > > > > > > > > > > > > > > > > >>>>> recently
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> changed
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> jobs,
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> to
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> something that's
> > going
> > > to
> > > > > > help
> > > > > > > me
> > > > > > > > > > spend
> > > > > > > > > > > > > some
> > > > > > > > > > > > > > > more
> > > > > > > > > > > > > > > > > > > > > >>> time
> > > > > > > > > > > > > > > > > > > > > >>>>> with
> > > > > > > > > > > > > > > > > > > > > >>>>>>>> the
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> open
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> source
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> community, and
> > believe
> > > I
> > > > > can
> > > > > > > pick
> > > > > > > > > it
> > > > > > > > > > > back
> > > > > > > > > > > > > up
> > > > > > > > > > > > > > if
> > > > > > > > > > > > > > > > > > > > > >> we're
> > > > > > > > > > > > > > > > > > > > > >>>>>>> ready.
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> If everyone's ok
> with
> > > it
> > > > I
> > > > > > can
> > > > > > > > > start
> > > > > > > > > > a
> > > > > > > > > > > > new
> > > > > > > > > > > > > > > thread
> > > > > > > > > > > > > > > > > > > > > >> for
> > > > > > > > > > > > > > > > > > > > > >>>> 113
> > > > > > > > > > > > > > > > > > > > > >>>>>>> or
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>> revive
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> the
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> old
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> thread (though it
> may
> > > > come
> > > > > > > > through
> > > > > > > > > > > with a
> > > > > > > > > > > > > > large
> > > > > > > > > > > > > > > > > > > > > >> pile
> > > > > > > > > > > > > > > > > > > > > >>> of
> > > > > > > > > > > > > > > > > > > > > >>>>>>> dust).
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> Regards,
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> John
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> --
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> View this message
> in
> > > > > context:
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> Sent from the
> Apache
> > > > > > DeltaSpike
> > > > > > > > > > > Incubator
> > > > > > > > > > > > > > > > > > > > > >> Discussions
> > > > > > > > > > > > > > > > > > > > > >>>>>>> mailing
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>> list
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> archive
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> at Nabble.com.
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> --
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> Jason Porter
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > http://en.gravatar.com/lightguardjp
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Gerhard Petracek <ge...@gmail.com>.
hi thomas,

@ #getEntityManager:
injection works in such (partial-)beans (we have tests for it).

@ #saveAndFlush:
it's clear what it does, but not why it's the only combined operation (e.g.
there is no #removeAndFlush).

regards,
gerhard



2013/3/18 Thomas Hug <th...@ctp-consulting.com>

> Thnx for the remarks Gerhard!
>
> - @Query: Good point, looks more consistent to me too.
> - NonEntity was AFAIR introduced to make it more explicit that the Entity
> class comes from somewhere else. I don't think we need it - if nobody
> prefers the explicit style then I'd favor removing it.
> - Not sure if I get the next point - the EntityManager comes always from a
> producer and is looked up in the Impl classes (and I guess injection won't
> work in InvocationHandlerBinding beans anyway). The methods from
> EntityRepository and AbstractEntityRepository are not meant to be
> implemented by a client. There's only a getEntityManager() on the
> AbstractEntityRepository to be used by concrete query methods which you
> don't have with an interface-based repository.
>
> @Repository
> public interface PersonRepository extends EntityRepository <Person, Long> {
>      Person findBySsn(String ssn);
> }
>
> public abstract class PersonRepository extends
> AbstractEntityRepository<Person, Long> {
>     public List<Person> findByXY(X x, Y y) {
>         // some logic
>         return getEntityManager().createQuery(query).getResultList();
>     }
> }
>
> - saveAndFlush will simply call flush after persist/merge instead of
> waiting for it at the transaction commit. Can have impact on following
> queries.
>
> Confluence updates to follow. Hope that helps...
>
> On Sun, Mar 17, 2013 at 3:12 PM, Gerhard Petracek <
> gerhard.petracek@gmail.com> wrote:
>
> > hi thomas,
> >
> > i would prefer e.g.
> > Query#value + Query#isNative (false as the default)
> > instead of
> > Query#value + Query#sql
> >
> > and it would be great to get additional information about the need of:
> >
> >  - NonEntity (as the default)
> >  - AbstractEntityRepository
> >    (e.g. you can pass in the EntityManager as parameter or inject it.
> >     you would need it e.g. for EntityRepository#save,... - but in
> > EntityRepository it isn't part of the contract...)
> >  - (EntityRepository#saveAndFlush as the only combined operation)
> >
> > regards,
> > gerhard
> >
> >
> >
> > 2013/3/14 Thomas Hug <th...@ctp-consulting.com>
> >
> > > Thnx for the pointers. Started to outline the APIs here [1] with
> examples
> > > in decreasing priority.
> > >
> > > [1]
> > >
> https://cwiki.apache.org/confluence/display/DeltaSpike/Repository+Drafts
> > >
> > > On Thu, Mar 14, 2013 at 10:05 AM, Gerhard Petracek <
> > > gerhard.petracek@gmail.com> wrote:
> > >
> > > > +1
> > > >
> > > > regards,
> > > > gerhard
> > > >
> > > >
> > > >
> > > > 2013/3/14 Romain Manni-Bucau <rm...@gmail.com>
> > > >
> > > > > ok great,
> > > > >
> > > > > wonder if we couldn't start by a first version without such
> > > > extensibility +
> > > > > no scopes for queries?
> > > > >
> > > > > *Romain Manni-Bucau*
> > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > http://rmannibucau.wordpress.com/>
> > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > *Github: https://github.com/rmannibucau*
> > > > >
> > > > >
> > > > >
> > > > > 2013/3/14 Gerhard Petracek <ge...@gmail.com>
> > > > >
> > > > > > hi romain,
> > > > > >
> > > > > > no - it's more about the style we introduced e.g. for type-safe
> > > > messages.
> > > > > >
> > > > > > regards,
> > > > > > gerhard
> > > > > >
> > > > > >
> > > > > > 2013/3/14 Romain Manni-Bucau <rm...@gmail.com>
> > > > > >
> > > > > > > @Gerhard: hope you don't think of @RepoBinding at all...would
> be
> > > too
> > > > > much
> > > > > > > IMO. Would be great to support aliases/stereotype maybe but not
> > the
> > > > > > default
> > > > > > >
> > > > > > > Wdyt?
> > > > > > > Le 14 mars 2013 00:11, "Gerhard Petracek" <
> > > > gerhard.petracek@gmail.com>
> > > > > a
> > > > > > > écrit :
> > > > > > >
> > > > > > > > hi thomas,
> > > > > > > >
> > > > > > > > imo it should follow the basic style/s we have in other parts
> > > > already
> > > > > > (if
> > > > > > > > possible).
> > > > > > > >
> > > > > > > > i guess the simple implementations in the test-module are too
> > > > simple
> > > > > to
> > > > > > > see
> > > > > > > > the real benefit.
> > > > > > > > -> it would be nice if you add some drafts to a sub-page of
> > [1].
> > > > > > > > (the usage you would prefer and not as it is right now.)
> > > > > > > >
> > > > > > > > regards,
> > > > > > > > gerhard
> > > > > > > >
> > > > > > > > [1]
> > > https://cwiki.apache.org/confluence/display/DeltaSpike/Drafts
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > 2013/3/13 Romain Manni-Bucau <rm...@gmail.com>
> > > > > > > >
> > > > > > > > > i'd put it in to start since that's useful for JPA but it
> > > > shouldn't
> > > > > > use
> > > > > > > > it
> > > > > > > > > at all
> > > > > > > > >
> > > > > > > > > a question (for next iteration if that's ok for everybody)
> is
> > > > > should
> > > > > > > > repos
> > > > > > > > > handle transaction or at least define it.
> > > > > > > > >
> > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > *Github: https://github.com/rmannibucau*
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > 2013/3/13 John D. Ament <jo...@gmail.com>
> > > > > > > > >
> > > > > > > > > > Does this have any direct/indirect dependencies on JPA
> > > module?
> > > > > > Should
> > > > > > > > > this
> > > > > > > > > > maybe become a part of the JPA module?
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > On Wed, Mar 13, 2013 at 7:23 AM, Thomas Hug
> > > > > > > > > > <th...@ctp-consulting.com>wrote:
> > > > > > > > > >
> > > > > > > > > > > Ok, I guess it's going to be Repository :) Updated the
> > > > proposal
> > > > > > > > branch
> > > > > > > > > > and
> > > > > > > > > > > also moved things into a data package/module.
> > > > > > > > > > >
> > > > > > > > > > > Some remarks for the parts below:
> > > > > > > > > > >
> > > > > > > > > > > 1) EntityManagerRepository wasn't present in the Solder
> > > > > > > > implementation
> > > > > > > > > -
> > > > > > > > > > > there it was possible to simply implement/extend
> > > > EntityManager.
> > > > > > The
> > > > > > > > > > problem
> > > > > > > > > > > with the invocation handler is that it's not possible
> to
> > > > > restrict
> > > > > > > the
> > > > > > > > > > bean
> > > > > > > > > > > type and exclude EntityManager (or I missed it).
> > Otherwise
> > > > I'd
> > > > > > > rather
> > > > > > > > > get
> > > > > > > > > > > rid of this interface.
> > > > > > > > > > >
> > > > > > > > > > > 2) WithEntityManager is definitely discussable. Not the
> > > full
> > > > > > > solution
> > > > > > > > > and
> > > > > > > > > > > not consistent. Could be solved with e.g. putting
> > > qualifiers
> > > > > on a
> > > > > > > > > method
> > > > > > > > > > > returning an EntityManager (less intuitive) or
> something
> > > like
> > > > > the
> > > > > > > > > > > InvocationHandlerBinding.
> > > > > > > > > > >
> > > > > > > > > > > 3) AbstractEntityRepository is just a convenience class
> > for
> > > > > > > providing
> > > > > > > > > > > concrete query implementations.
> > > > > > > > > > >
> > > > > > > > > > > On Tue, Mar 12, 2013 at 9:40 PM, Gerhard Petracek <
> > > > > > > > > > > gerhard.petracek@gmail.com> wrote:
> > > > > > > > > > >
> > > > > > > > > > > > hi,
> > > > > > > > > > > >
> > > > > > > > > > > > currently we don't have one jira ticket per
> > part/feature.
> > > > > > > > > > > > that's what we used to have for everything we
> imported.
> > > > > > > > > > > >
> > > > > > > > > > > > the first parts to discuss are imo EntityManagerDao,
> > > > > > > > > WithEntityManager
> > > > > > > > > > > and
> > > > > > > > > > > > AbstractEntityDao.
> > > > > > > > > > > >
> > > > > > > > > > > > regards,
> > > > > > > > > > > > gerhard
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > 2013/3/12 Arne Limburg <
> arne.limburg@openknowledge.de>
> > > > > > > > > > > >
> > > > > > > > > > > > > +1 for repository, from me too
> > > > > > > > > > > > >
> > > > > > > > > > > > > Gesendet mit meinem HTC
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > ----- Reply message -----
> > > > > > > > > > > > > Von: "Thomas Andraschko" <
> > andraschko.thomas@gmail.com>
> > > > > > > > > > > > > An: "deltaspike-dev@incubator.apache.org" <
> > > > > > > > > > > > > deltaspike-dev@incubator.apache.org>
> > > > > > > > > > > > > Betreff: cdi-query, no news?
> > > > > > > > > > > > > Datum: Di., Mär. 12, 2013 20:38
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > +1 repository! :) "Query" doesn't really match the
> > > > > > functionaly.
> > > > > > > > > > > > >
> > > > > > > > > > > > > 2013/3/12 Romain Manni-Bucau <
> rmannibucau@gmail.com>
> > > > > > > > > > > > >
> > > > > > > > > > > > > > +2 for repo
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > btw did you fixed the scope issue?
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > > > > > > *Twitter: @rmannibucau <
> > > > https://twitter.com/rmannibucau
> > > > > >*
> > > > > > > > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > *LinkedIn: **
> > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > *Github: https://github.com/rmannibucau*
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > 2013/3/12 Thomas Hug <
> > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > The name is still freely choosable - data
> sounds
> > > fine
> > > > > to
> > > > > > me
> > > > > > > > if
> > > > > > > > > > > nobody
> > > > > > > > > > > > > > minds
> > > > > > > > > > > > > > > the obvious mirroring on Spring Data ;)
> dao/@Dao
> > is
> > > > > > > > > discussable,
> > > > > > > > > > > all
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > domain driven folks prefer probably something
> > like
> > > > > > > > > "Repository".
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Tue, Mar 12, 2013 at 7:29 PM, Romain
> > Manni-Bucau
> > > > > > > > > > > > > > > <rm...@gmail.com>wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Great :)
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > any issue changing "query" to something
> closer
> > to
> > > > > what
> > > > > > it
> > > > > > > > > > really
> > > > > > > > > > > > > does ;
> > > > > > > > > > > > > > > > "dao" (because of @Dao) or "data"?
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > *Twitter: @rmannibucau <
> > > > > > https://twitter.com/rmannibucau
> > > > > > > >*
> > > > > > > > > > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > > *LinkedIn: **
> > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > *Github: https://gihub.com/rmannibucau* <
> > > > > > > > > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > 2013/3/12 Thomas Hug <
> > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > FYI, I've started something like an import
> > > > proposal
> > > > > > in
> > > > > > > a
> > > > > > > > > > > > dedicated
> > > > > > > > > > > > > > > branch
> > > > > > > > > > > > > > > > > [1]. There's currently only the JBoss
> > > Arquillian
> > > > > > > profile
> > > > > > > > > > > running,
> > > > > > > > > > > > > > > haven't
> > > > > > > > > > > > > > > > > looked at the others. Any support there and
> > of
> > > > > course
> > > > > > > > other
> > > > > > > > > > > > input's
> > > > > > > > > > > > > > > very
> > > > > > > > > > > > > > > > > welcome :)
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > [1]
> > > > > > > https://github.com/ctpconsulting/query/tree/dsimport
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On Tue, Mar 5, 2013 at 7:45 AM, Romain
> > > > Manni-Bucau
> > > > > <
> > > > > > > > > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > > > > > > > > >wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Yes
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > It works fine but you bring too much
> spring
> > > > > > > > dependencies
> > > > > > > > > > > > (totally
> > > > > > > > > > > > > > > > useless
> > > > > > > > > > > > > > > > > > when used this way) which clearly show it
> > is
> > > > > > rather a
> > > > > > > > > > bridge
> > > > > > > > > > > > > than a
> > > > > > > > > > > > > > > > > > solution + there were some leaks in
> > previous
> > > > > > version
> > > > > > > > > (didnt
> > > > > > > > > > > > check
> > > > > > > > > > > > > > fix
> > > > > > > > > > > > > > > > was
> > > > > > > > > > > > > > > > > > released to be honest) because if this
> > usage
> > > > > which
> > > > > > > was
> > > > > > > > > not
> > > > > > > > > > > the
> > > > > > > > > > > > > > > default
> > > > > > > > > > > > > > > > > one.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Since cdi query is here it worths
> importing
> > > it
> > > > > IMO
> > > > > > > > > > > > > > > > > > Le 5 mars 2013 02:21, "hantsy" <
> > > > > > hantsy@yahoo.com.cn>
> > > > > > > a
> > > > > > > > > > > écrit :
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > I remember the Spring Data has a CDI
> > > > extension,
> > > > > > > but I
> > > > > > > > > > have
> > > > > > > > > > > > not
> > > > > > > > > > > > > > used
> > > > > > > > > > > > > > > > it
> > > > > > > > > > > > > > > > > > > in projects. Is there anyone used it in
> > > Java
> > > > > EE 6
> > > > > > > > > > projects?
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Hantsy
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > On 3/3/2013 20:40, Romain Manni-Bucau
> > > wrote:
> > > > > > > > > > > > > > > > > > > > Basically if the query logic could be
> > > scope
> > > > > > > > agnostic
> > > > > > > > > it
> > > > > > > > > > > > would
> > > > > > > > > > > > > > be
> > > > > > > > > > > > > > > > > > perfect
> > > > > > > > > > > > > > > > > > > > for me. Parameters were fine and
> > matched
> > > > the
> > > > > > > coomon
> > > > > > > > > > need.
> > > > > > > > > > > > I m
> > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > sure
> > > > > > > > > > > > > > > > > > i
> > > > > > > > > > > > > > > > > > > > get what is blocking. Can you detail
> > it a
> > > > bit
> > > > > > > > please?
> > > > > > > > > > > > > > > > > > > > Le 3 mars 2013 13:09, "Thomas Hug" <
> > > > > > > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > > > écrit :
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >> Aha got you. Yes QueryHandler can be
> > > moved
> > > > > to
> > > > > > > > > > > application
> > > > > > > > > > > > > > scope.
> > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > >> The other request scoped component
> ist
> > > the
> > > > > > > > > > > > > > > > > CdiQueryInvocationContext.
> > > > > > > > > > > > > > > > > > > Here
> > > > > > > > > > > > > > > > > > > >> we store a bunch of data which is
> > > related
> > > > to
> > > > > > the
> > > > > > > > > > current
> > > > > > > > > > > > > query
> > > > > > > > > > > > > > > > > > > (parameters,
> > > > > > > > > > > > > > > > > > > >> query string etc). Originally this
> was
> > > > > passed
> > > > > > as
> > > > > > > > > > > > parameter,
> > > > > > > > > > > > > > but
> > > > > > > > > > > > > > > > got
> > > > > > > > > > > > > > > > > > > >> injectable for the extension
> mechanism
> > > > [1].
> > > > > > > > > Currently
> > > > > > > > > > on
> > > > > > > > > > > > > > > holidays
> > > > > > > > > > > > > > > > > > (sorry
> > > > > > > > > > > > > > > > > > > >> the response delays) so not much
> time
> > to
> > > > > look
> > > > > > > into
> > > > > > > > > it
> > > > > > > > > > > but
> > > > > > > > > > > > > > happy
> > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > take
> > > > > > > > > > > > > > > > > > > >> suggestions :)
> > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > >> [1]
> > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > > >> On Fri, Mar 1, 2013 at 8:18 PM,
> Romain
> > > > > > > > Manni-Bucau <
> > > > > > > > > > > > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > > > > > > > > > > >>> wrote:
> > > > > > > > > > > > > > > > > > > >>> Hmm,
> > > > > > > > > > > > > > > > > > > >>>
> > > > > > > > > > > > > > > > > > > >>> Wonder if the scope couldnt be
> > > > application
> > > > > > one.
> > > > > > > > > > Request
> > > > > > > > > > > > > > sounds
> > > > > > > > > > > > > > > > too
> > > > > > > > > > > > > > > > > > much
> > > > > > > > > > > > > > > > > > > >> web
> > > > > > > > > > > > > > > > > > > >>> to be usable/generic
> > > > > > > > > > > > > > > > > > > >>> Le 1 mars 2013 19:02, "Thomas Hug"
> <
> > > > > > > > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > > > >>> écrit :
> > > > > > > > > > > > > > > > > > > >>>
> > > > > > > > > > > > > > > > > > > >>>> Fine for me - planned to create a
> > > branch
> > > > > > with
> > > > > > > > all
> > > > > > > > > > the
> > > > > > > > > > > > > > > > experimental
> > > > > > > > > > > > > > > > > > > APIs
> > > > > > > > > > > > > > > > > > > >>>> cleared out as an import proposal.
> > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > >>>> RE scope, the InvocationHandlers
> are
> > > > > > validated
> > > > > > > > to
> > > > > > > > > be
> > > > > > > > > > > > > normal
> > > > > > > > > > > > > > > > scoped
> > > > > > > > > > > > > > > > > > > [1],
> > > > > > > > > > > > > > > > > > > >>> so
> > > > > > > > > > > > > > > > > > > >>>> that seemed to me the most
> > appropriate
> > > > > > choice
> > > > > > > -
> > > > > > > > > any
> > > > > > > > > > > > other
> > > > > > > > > > > > > > > > > > suggestions?
> > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > >>>> [1]
> > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > >>>> On Wed, Feb 27, 2013 at 1:15 PM,
> > > Romain
> > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > > >>>> <rm...@gmail.com>wrote:
> > > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > > >>>>> Hi,
> > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > >>>>> some news of it?
> > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > >>>>> i think it is time to import at
> > > least a
> > > > > > first
> > > > > > > > > > > version,
> > > > > > > > > > > > > > isn't
> > > > > > > > > > > > > > > > it?
> > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > >>>>> Just a note on current code, i
> saw
> > > > > > > QueryHandler
> > > > > > > > > > (and
> > > > > > > > > > > > some
> > > > > > > > > > > > > > > other
> > > > > > > > > > > > > > > > > > > >> beans)
> > > > > > > > > > > > > > > > > > > >>>> has
> > > > > > > > > > > > > > > > > > > >>>>> a request scope. Wonder if such a
> > > scope
> > > > > > means
> > > > > > > > > > > something
> > > > > > > > > > > > > > for a
> > > > > > > > > > > > > > > > > > generic
> > > > > > > > > > > > > > > > > > > >>>> (not
> > > > > > > > > > > > > > > > > > > >>>>> web) lib.
> > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > >>>>> wdyt?
> > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > >>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > > >>>>> *Twitter: @rmannibucau <
> > > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > >*
> > > > > > > > > > > > > > > > > > > >>>>> *Blog: **
> > > > > > http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > > > > > > > >>>>>
> http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > > > > > >>>>> *LinkedIn: **
> > > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > >>>>> *Github:
> > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > >>>>> 2013/2/20 Romain Manni-Bucau <
> > > > > > > > > > rmannibucau@gmail.com>
> > > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > > >>>>>> guy you rocks!
> > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>> effectively i missed it when i
> > > looked.
> > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > > >>>>>> *Twitter: @rmannibucau <
> > > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > >*
> > > > > > > > > > > > > > > > > > > >>>>>> *Blog: **
> > > > > > http://rmannibucau.wordpress.com/*
> > > > > > > <
> > > > > > > > > > > > > > > > > > > >>>>>
> http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > > > > > >>>>>> *LinkedIn: **
> > > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > >>>>>> *Github:
> > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>> 2013/2/20 Thomas Hug <
> > > > > > > > > > thomas.hug@ctp-consulting.com
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>> Thnx Romain. If with proxy
> stuff
> > > you
> > > > > > refer
> > > > > > > to
> > > > > > > > > the
> > > > > > > > > > > DS
> > > > > > > > > > > > > > > > > > > >>>>>>> InvocationHandlerBinding,
> that's
> > > > > already
> > > > > > > > > > integrated
> > > > > > > > > > > > :)
> > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>> RE pagination, it's maybe not
> > that
> > > > > > obvious,
> > > > > > > > but
> > > > > > > > > > > > there's
> > > > > > > > > > > > > > > more
> > > > > > > > > > > > > > > > > > > >>> advanced
> > > > > > > > > > > > > > > > > > > >>>>>>> support in QueryResult [1][2],
> > > which
> > > > is
> > > > > > > more
> > > > > > > > > of a
> > > > > > > > > > > > > fluent
> > > > > > > > > > > > > > > API
> > > > > > > > > > > > > > > > > > > >>> approach,
> > > > > > > > > > > > > > > > > > > >>>>> but
> > > > > > > > > > > > > > > > > > > >>>>>>> should behave similar to a
> > > > PageRequest
> > > > > > (the
> > > > > > > > > query
> > > > > > > > > > > > > > execution
> > > > > > > > > > > > > > > > is
> > > > > > > > > > > > > > > > > > > >>> delayed
> > > > > > > > > > > > > > > > > > > >>>>>>> until the getResult() methods
> on
> > > > > > > QueryResult
> > > > > > > > is
> > > > > > > > > > > > > called).
> > > > > > > > > > > > > > > Hope
> > > > > > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > > > > > >>>> fits
> > > > > > > > > > > > > > > > > > > >>>>> to
> > > > > > > > > > > > > > > > > > > >>>>>>> what you had in mind.
> > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>> [1]
> > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > > > > > > > > > > > > > > > > > > >>>>>>> [2]
> > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > > > > > > > > > > > > > > > > > > >>>>>>> On Wed, Feb 20, 2013 at 10:04
> PM,
> > > > > Romain
> > > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > > >>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>> Hi Thomas,
> > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>> importing proxy stuff would be
> > the
> > > > > first
> > > > > > > > great
> > > > > > > > > > > > stuff.
> > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>> i'd like to see some
> pagination
> > > API
> > > > > > (like
> > > > > > > > > > > > PageRequest
> > > > > > > > > > > > > > etc
> > > > > > > > > > > > > > > in
> > > > > > > > > > > > > > > > > > > >>> spring
> > > > > > > > > > > > > > > > > > > >>>>>>> world)
> > > > > > > > > > > > > > > > > > > >>>>>>>> which are more user friendly
> > that
> > > > > > > > @FirstResult
> > > > > > > > > > and
> > > > > > > > > > > > > > > > > @MaxResult).
> > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>> wdyt?
> > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > > >>>>>>>> *Twitter: @rmannibucau <
> > > > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > > >*
> > > > > > > > > > > > > > > > > > > >>>>>>>> *Blog: **
> > > > > > > http://rmannibucau.wordpress.com/*
> > > > > > > > <
> > > > > > > > > > > > > > > > > > > >>>>>>>>
> > http://rmannibucau.wordpress.com/
> > > >
> > > > > > > > > > > > > > > > > > > >>>>>>>> *LinkedIn: **
> > > > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > >>>>>>>> *Github:
> > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>> 2013/2/20 Thomas Hug <
> > > > > > > > > > > thomas.hug@ctp-consulting.com
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>> CDI Query has now a
> completely
> > > > > > > Solder-free
> > > > > > > > > POM.
> > > > > > > > > > > > Feel
> > > > > > > > > > > > > > free
> > > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > > >>> drop
> > > > > > > > > > > > > > > > > > > >>>>>>>> comments
> > > > > > > > > > > > > > > > > > > >>>>>>>>> on the API - some parts might
> > > > > actually
> > > > > > be
> > > > > > > > > fully
> > > > > > > > > > > > > > excluded
> > > > > > > > > > > > > > > > > (e.g.
> > > > > > > > > > > > > > > > > > > >>>> home
> > > > > > > > > > > > > > > > > > > >>>>>>> and
> > > > > > > > > > > > > > > > > > > >>>>>>>>> critera APIs).
> > > > > > > > > > > > > > > > > > > >>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>> On Tue, Feb 12, 2013 at 10:00
> > PM,
> > > > > Mark
> > > > > > > > > > Struberg <
> > > > > > > > > > > > > > > > > > > >>>> struberg@yahoo.de>
> > > > > > > > > > > > > > > > > > > >>>>>>>> wrote:
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>>> Thanks Thomas, great news!
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>>> LieGrue,
> > > > > > > > > > > > > > > > > > > >>>>>>>>>> strub
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > ________________________________
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>> From: Thomas Hug <
> > > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>> To: "
> > > > > > > deltaspike-dev@incubator.apache.org
> > > > > > > > "
> > > > > > > > > <
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > deltaspike-dev@incubator.apache.org
> > > > > >
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>> Sent: Tuesday, February 12,
> > > 2013
> > > > > 4:10
> > > > > > > PM
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>> Subject: Re: cdi-query, no
> > > news?
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>> FYI, I've started to
> > > > "de-solderize"
> > > > > > CDI
> > > > > > > > > Query
> > > > > > > > > > > and
> > > > > > > > > > > > > > move
> > > > > > > > > > > > > > > > > > > >> things
> > > > > > > > > > > > > > > > > > > >>>> to
> > > > > > > > > > > > > > > > > > > >>>>>>>> depend
> > > > > > > > > > > > > > > > > > > >>>>>>>>> on
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>> DS Core [1]:
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > >
> > > https://github.com/ctpconsulting/query/tree/deltaspike
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>> Todos:
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>> [x] Replace ServiceHandler
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>> [_] Include Property utils
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>> [_] Replace JBoss Logging
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>> Any feedback welcome.
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>> [1] including this
> > modification
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>> On Mon, Feb 11, 2013 at
> 6:01
> > > PM,
> > > > > > Romain
> > > > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>> <rmannibucau@gmail.com
> > >wrote:
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> a review of the API i
> guess
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> what is missing today is
> > > > probably
> > > > > > the
> > > > > > > > > > > pagination
> > > > > > > > > > > > > > > helpers
> > > > > > > > > > > > > > > > > > > >>>>>>>> (PageRequest
> > > > > > > > > > > > > > > > > > > >>>>>>>>>> for
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> instance)
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> but technically all is
> fine
> > > IMO
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Twitter: @rmannibucau <
> > > > > > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > > > > > > > >>> *
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Blog: **
> > > > > > > > > http://rmannibucau.wordpress.com/*
> > > > > > > > > > <
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > http://rmannibucau.wordpress.com/
> > > > > >
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *LinkedIn: **
> > > > > > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Github:
> > > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> 2013/2/11 Jason Porter <
> > > > > > > > > > > lightguard.jp@gmail.com
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> I know I'm playing the
> > > > > necromancer,
> > > > > > > but
> > > > > > > > > > > please
> > > > > > > > > > > > > > > forgive
> > > > > > > > > > > > > > > > > > > >>> me.
> > > > > > > > > > > > > > > > > > > >>>> We
> > > > > > > > > > > > > > > > > > > >>>>>>> have
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> InvocationHandler, which
> > > looks
> > > > > like
> > > > > > > it
> > > > > > > > > > would
> > > > > > > > > > > > work
> > > > > > > > > > > > > > as
> > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > > > >>>>>>>>> ServiceHandler
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> substitute. What else is
> > > needed
> > > > > to
> > > > > > > get
> > > > > > > > > CDI
> > > > > > > > > > > > Query
> > > > > > > > > > > > > > into
> > > > > > > > > > > > > > > > > > > >>>>>>> DeltaSpike?
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> On Sun, Nov 18, 2012 at
> > 12:35
> > > > PM,
> > > > > > > > Romain
> > > > > > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> <rmannibucau@gmail.com
> > > >wrote:
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> +1, it is a must have
> for
> > > cdi
> > > > > > world
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> Le 18 nov. 2012 20:04,
> > > > > > > "john.d.ament"
> > > > > > > > <
> > > > > > > > > > > > > > > > > > > >>>>>>> john.d.ament@gmail.com>
> > > > > > > > > > > > > > > > > > > >>>>>>>> a
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> écrit :
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> RE ServiceHandler - I
> was
> > > one
> > > > > of
> > > > > > > > those
> > > > > > > > > > who
> > > > > > > > > > > > > > > > > > > >> previously
> > > > > > > > > > > > > > > > > > > >>>>>>>> suggested
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> bringing
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> over to DeltaSpike, you
> > can
> > > > see
> > > > > > > > > > > > DELTASPIKE-113
> > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > > >>> find
> > > > > > > > > > > > > > > > > > > >>>>> the
> > > > > > > > > > > > > > > > > > > >>>>>>>>> thread
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> about
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> from April of this
> year.
> > >  At
> > > > > the
> > > > > > > > time,
> > > > > > > > > I
> > > > > > > > > > > was
> > > > > > > > > > > > > in a
> > > > > > > > > > > > > > > > > > > >>>>> position
> > > > > > > > > > > > > > > > > > > >>>>>>>>> where I
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> couldn't
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> spend much time on open
> > > > source
> > > > > > > > > > > contribution.
> > > > > > > > > > > > > >  I've
> > > > > > > > > > > > > > > > > > > >>>>> recently
> > > > > > > > > > > > > > > > > > > >>>>>>>>>> changed
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> jobs,
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> to
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> something that's going
> to
> > > > help
> > > > > me
> > > > > > > > spend
> > > > > > > > > > > some
> > > > > > > > > > > > > more
> > > > > > > > > > > > > > > > > > > >>> time
> > > > > > > > > > > > > > > > > > > >>>>> with
> > > > > > > > > > > > > > > > > > > >>>>>>>> the
> > > > > > > > > > > > > > > > > > > >>>>>>>>>> open
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> source
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> community, and believe
> I
> > > can
> > > > > pick
> > > > > > > it
> > > > > > > > > back
> > > > > > > > > > > up
> > > > > > > > > > > > if
> > > > > > > > > > > > > > > > > > > >> we're
> > > > > > > > > > > > > > > > > > > >>>>>>> ready.
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> If everyone's ok with
> it
> > I
> > > > can
> > > > > > > start
> > > > > > > > a
> > > > > > > > > > new
> > > > > > > > > > > > > thread
> > > > > > > > > > > > > > > > > > > >> for
> > > > > > > > > > > > > > > > > > > >>>> 113
> > > > > > > > > > > > > > > > > > > >>>>>>> or
> > > > > > > > > > > > > > > > > > > >>>>>>>>>> revive
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>> the
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> old
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> thread (though it may
> > come
> > > > > > through
> > > > > > > > > with a
> > > > > > > > > > > > large
> > > > > > > > > > > > > > > > > > > >> pile
> > > > > > > > > > > > > > > > > > > >>> of
> > > > > > > > > > > > > > > > > > > >>>>>>> dust).
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> Regards,
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> John
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> --
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> View this message in
> > > context:
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> Sent from the Apache
> > > > DeltaSpike
> > > > > > > > > Incubator
> > > > > > > > > > > > > > > > > > > >> Discussions
> > > > > > > > > > > > > > > > > > > >>>>>>> mailing
> > > > > > > > > > > > > > > > > > > >>>>>>>>> list
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> archive
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> at Nabble.com.
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> --
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> Jason Porter
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > http://en.gravatar.com/lightguardjp
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Thomas Hug <th...@ctp-consulting.com>.
Thnx for the remarks Gerhard!

- @Query: Good point, looks more consistent to me too.
- NonEntity was AFAIR introduced to make it more explicit that the Entity
class comes from somewhere else. I don't think we need it - if nobody
prefers the explicit style then I'd favor removing it.
- Not sure if I get the next point - the EntityManager comes always from a
producer and is looked up in the Impl classes (and I guess injection won't
work in InvocationHandlerBinding beans anyway). The methods from
EntityRepository and AbstractEntityRepository are not meant to be
implemented by a client. There's only a getEntityManager() on the
AbstractEntityRepository to be used by concrete query methods which you
don't have with an interface-based repository.

@Repository
public interface PersonRepository extends EntityRepository <Person, Long> {
     Person findBySsn(String ssn);
}

public abstract class PersonRepository extends
AbstractEntityRepository<Person, Long> {
    public List<Person> findByXY(X x, Y y) {
        // some logic
        return getEntityManager().createQuery(query).getResultList();
    }
}

- saveAndFlush will simply call flush after persist/merge instead of
waiting for it at the transaction commit. Can have impact on following
queries.

Confluence updates to follow. Hope that helps...

On Sun, Mar 17, 2013 at 3:12 PM, Gerhard Petracek <
gerhard.petracek@gmail.com> wrote:

> hi thomas,
>
> i would prefer e.g.
> Query#value + Query#isNative (false as the default)
> instead of
> Query#value + Query#sql
>
> and it would be great to get additional information about the need of:
>
>  - NonEntity (as the default)
>  - AbstractEntityRepository
>    (e.g. you can pass in the EntityManager as parameter or inject it.
>     you would need it e.g. for EntityRepository#save,... - but in
> EntityRepository it isn't part of the contract...)
>  - (EntityRepository#saveAndFlush as the only combined operation)
>
> regards,
> gerhard
>
>
>
> 2013/3/14 Thomas Hug <th...@ctp-consulting.com>
>
> > Thnx for the pointers. Started to outline the APIs here [1] with examples
> > in decreasing priority.
> >
> > [1]
> > https://cwiki.apache.org/confluence/display/DeltaSpike/Repository+Drafts
> >
> > On Thu, Mar 14, 2013 at 10:05 AM, Gerhard Petracek <
> > gerhard.petracek@gmail.com> wrote:
> >
> > > +1
> > >
> > > regards,
> > > gerhard
> > >
> > >
> > >
> > > 2013/3/14 Romain Manni-Bucau <rm...@gmail.com>
> > >
> > > > ok great,
> > > >
> > > > wonder if we couldn't start by a first version without such
> > > extensibility +
> > > > no scopes for queries?
> > > >
> > > > *Romain Manni-Bucau*
> > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > http://rmannibucau.wordpress.com/>
> > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > *Github: https://github.com/rmannibucau*
> > > >
> > > >
> > > >
> > > > 2013/3/14 Gerhard Petracek <ge...@gmail.com>
> > > >
> > > > > hi romain,
> > > > >
> > > > > no - it's more about the style we introduced e.g. for type-safe
> > > messages.
> > > > >
> > > > > regards,
> > > > > gerhard
> > > > >
> > > > >
> > > > > 2013/3/14 Romain Manni-Bucau <rm...@gmail.com>
> > > > >
> > > > > > @Gerhard: hope you don't think of @RepoBinding at all...would be
> > too
> > > > much
> > > > > > IMO. Would be great to support aliases/stereotype maybe but not
> the
> > > > > default
> > > > > >
> > > > > > Wdyt?
> > > > > > Le 14 mars 2013 00:11, "Gerhard Petracek" <
> > > gerhard.petracek@gmail.com>
> > > > a
> > > > > > écrit :
> > > > > >
> > > > > > > hi thomas,
> > > > > > >
> > > > > > > imo it should follow the basic style/s we have in other parts
> > > already
> > > > > (if
> > > > > > > possible).
> > > > > > >
> > > > > > > i guess the simple implementations in the test-module are too
> > > simple
> > > > to
> > > > > > see
> > > > > > > the real benefit.
> > > > > > > -> it would be nice if you add some drafts to a sub-page of
> [1].
> > > > > > > (the usage you would prefer and not as it is right now.)
> > > > > > >
> > > > > > > regards,
> > > > > > > gerhard
> > > > > > >
> > > > > > > [1]
> > https://cwiki.apache.org/confluence/display/DeltaSpike/Drafts
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > 2013/3/13 Romain Manni-Bucau <rm...@gmail.com>
> > > > > > >
> > > > > > > > i'd put it in to start since that's useful for JPA but it
> > > shouldn't
> > > > > use
> > > > > > > it
> > > > > > > > at all
> > > > > > > >
> > > > > > > > a question (for next iteration if that's ok for everybody) is
> > > > should
> > > > > > > repos
> > > > > > > > handle transaction or at least define it.
> > > > > > > >
> > > > > > > > *Romain Manni-Bucau*
> > > > > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > *Github: https://github.com/rmannibucau*
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > 2013/3/13 John D. Ament <jo...@gmail.com>
> > > > > > > >
> > > > > > > > > Does this have any direct/indirect dependencies on JPA
> > module?
> > > > > Should
> > > > > > > > this
> > > > > > > > > maybe become a part of the JPA module?
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On Wed, Mar 13, 2013 at 7:23 AM, Thomas Hug
> > > > > > > > > <th...@ctp-consulting.com>wrote:
> > > > > > > > >
> > > > > > > > > > Ok, I guess it's going to be Repository :) Updated the
> > > proposal
> > > > > > > branch
> > > > > > > > > and
> > > > > > > > > > also moved things into a data package/module.
> > > > > > > > > >
> > > > > > > > > > Some remarks for the parts below:
> > > > > > > > > >
> > > > > > > > > > 1) EntityManagerRepository wasn't present in the Solder
> > > > > > > implementation
> > > > > > > > -
> > > > > > > > > > there it was possible to simply implement/extend
> > > EntityManager.
> > > > > The
> > > > > > > > > problem
> > > > > > > > > > with the invocation handler is that it's not possible to
> > > > restrict
> > > > > > the
> > > > > > > > > bean
> > > > > > > > > > type and exclude EntityManager (or I missed it).
> Otherwise
> > > I'd
> > > > > > rather
> > > > > > > > get
> > > > > > > > > > rid of this interface.
> > > > > > > > > >
> > > > > > > > > > 2) WithEntityManager is definitely discussable. Not the
> > full
> > > > > > solution
> > > > > > > > and
> > > > > > > > > > not consistent. Could be solved with e.g. putting
> > qualifiers
> > > > on a
> > > > > > > > method
> > > > > > > > > > returning an EntityManager (less intuitive) or something
> > like
> > > > the
> > > > > > > > > > InvocationHandlerBinding.
> > > > > > > > > >
> > > > > > > > > > 3) AbstractEntityRepository is just a convenience class
> for
> > > > > > providing
> > > > > > > > > > concrete query implementations.
> > > > > > > > > >
> > > > > > > > > > On Tue, Mar 12, 2013 at 9:40 PM, Gerhard Petracek <
> > > > > > > > > > gerhard.petracek@gmail.com> wrote:
> > > > > > > > > >
> > > > > > > > > > > hi,
> > > > > > > > > > >
> > > > > > > > > > > currently we don't have one jira ticket per
> part/feature.
> > > > > > > > > > > that's what we used to have for everything we imported.
> > > > > > > > > > >
> > > > > > > > > > > the first parts to discuss are imo EntityManagerDao,
> > > > > > > > WithEntityManager
> > > > > > > > > > and
> > > > > > > > > > > AbstractEntityDao.
> > > > > > > > > > >
> > > > > > > > > > > regards,
> > > > > > > > > > > gerhard
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > 2013/3/12 Arne Limburg <ar...@openknowledge.de>
> > > > > > > > > > >
> > > > > > > > > > > > +1 for repository, from me too
> > > > > > > > > > > >
> > > > > > > > > > > > Gesendet mit meinem HTC
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > ----- Reply message -----
> > > > > > > > > > > > Von: "Thomas Andraschko" <
> andraschko.thomas@gmail.com>
> > > > > > > > > > > > An: "deltaspike-dev@incubator.apache.org" <
> > > > > > > > > > > > deltaspike-dev@incubator.apache.org>
> > > > > > > > > > > > Betreff: cdi-query, no news?
> > > > > > > > > > > > Datum: Di., Mär. 12, 2013 20:38
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > +1 repository! :) "Query" doesn't really match the
> > > > > functionaly.
> > > > > > > > > > > >
> > > > > > > > > > > > 2013/3/12 Romain Manni-Bucau <rm...@gmail.com>
> > > > > > > > > > > >
> > > > > > > > > > > > > +2 for repo
> > > > > > > > > > > > >
> > > > > > > > > > > > > btw did you fixed the scope issue?
> > > > > > > > > > > > >
> > > > > > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > > > > > *Twitter: @rmannibucau <
> > > https://twitter.com/rmannibucau
> > > > >*
> > > > > > > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > *LinkedIn: **
> http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > *Github: https://github.com/rmannibucau*
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > 2013/3/12 Thomas Hug <
> thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > >
> > > > > > > > > > > > > > The name is still freely choosable - data sounds
> > fine
> > > > to
> > > > > me
> > > > > > > if
> > > > > > > > > > nobody
> > > > > > > > > > > > > minds
> > > > > > > > > > > > > > the obvious mirroring on Spring Data ;) dao/@Dao
> is
> > > > > > > > discussable,
> > > > > > > > > > all
> > > > > > > > > > > > the
> > > > > > > > > > > > > > domain driven folks prefer probably something
> like
> > > > > > > > "Repository".
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Tue, Mar 12, 2013 at 7:29 PM, Romain
> Manni-Bucau
> > > > > > > > > > > > > > <rm...@gmail.com>wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Great :)
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > any issue changing "query" to something closer
> to
> > > > what
> > > > > it
> > > > > > > > > really
> > > > > > > > > > > > does ;
> > > > > > > > > > > > > > > "dao" (because of @Dao) or "data"?
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > > > > > > > *Twitter: @rmannibucau <
> > > > > https://twitter.com/rmannibucau
> > > > > > >*
> > > > > > > > > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > *LinkedIn: **
> > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > *Github: https://gihub.com/rmannibucau* <
> > > > > > > > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > 2013/3/12 Thomas Hug <
> > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > FYI, I've started something like an import
> > > proposal
> > > > > in
> > > > > > a
> > > > > > > > > > > dedicated
> > > > > > > > > > > > > > branch
> > > > > > > > > > > > > > > > [1]. There's currently only the JBoss
> > Arquillian
> > > > > > profile
> > > > > > > > > > running,
> > > > > > > > > > > > > > haven't
> > > > > > > > > > > > > > > > looked at the others. Any support there and
> of
> > > > course
> > > > > > > other
> > > > > > > > > > > input's
> > > > > > > > > > > > > > very
> > > > > > > > > > > > > > > > welcome :)
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > [1]
> > > > > > https://github.com/ctpconsulting/query/tree/dsimport
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Tue, Mar 5, 2013 at 7:45 AM, Romain
> > > Manni-Bucau
> > > > <
> > > > > > > > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > > > > > > > >wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Yes
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > It works fine but you bring too much spring
> > > > > > > dependencies
> > > > > > > > > > > (totally
> > > > > > > > > > > > > > > useless
> > > > > > > > > > > > > > > > > when used this way) which clearly show it
> is
> > > > > rather a
> > > > > > > > > bridge
> > > > > > > > > > > > than a
> > > > > > > > > > > > > > > > > solution + there were some leaks in
> previous
> > > > > version
> > > > > > > > (didnt
> > > > > > > > > > > check
> > > > > > > > > > > > > fix
> > > > > > > > > > > > > > > was
> > > > > > > > > > > > > > > > > released to be honest) because if this
> usage
> > > > which
> > > > > > was
> > > > > > > > not
> > > > > > > > > > the
> > > > > > > > > > > > > > default
> > > > > > > > > > > > > > > > one.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Since cdi query is here it worths importing
> > it
> > > > IMO
> > > > > > > > > > > > > > > > > Le 5 mars 2013 02:21, "hantsy" <
> > > > > hantsy@yahoo.com.cn>
> > > > > > a
> > > > > > > > > > écrit :
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > I remember the Spring Data has a CDI
> > > extension,
> > > > > > but I
> > > > > > > > > have
> > > > > > > > > > > not
> > > > > > > > > > > > > used
> > > > > > > > > > > > > > > it
> > > > > > > > > > > > > > > > > > in projects. Is there anyone used it in
> > Java
> > > > EE 6
> > > > > > > > > projects?
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Hantsy
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On 3/3/2013 20:40, Romain Manni-Bucau
> > wrote:
> > > > > > > > > > > > > > > > > > > Basically if the query logic could be
> > scope
> > > > > > > agnostic
> > > > > > > > it
> > > > > > > > > > > would
> > > > > > > > > > > > > be
> > > > > > > > > > > > > > > > > perfect
> > > > > > > > > > > > > > > > > > > for me. Parameters were fine and
> matched
> > > the
> > > > > > coomon
> > > > > > > > > need.
> > > > > > > > > > > I m
> > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > sure
> > > > > > > > > > > > > > > > > i
> > > > > > > > > > > > > > > > > > > get what is blocking. Can you detail
> it a
> > > bit
> > > > > > > please?
> > > > > > > > > > > > > > > > > > > Le 3 mars 2013 13:09, "Thomas Hug" <
> > > > > > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > > écrit :
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >> Aha got you. Yes QueryHandler can be
> > moved
> > > > to
> > > > > > > > > > application
> > > > > > > > > > > > > scope.
> > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > >> The other request scoped component ist
> > the
> > > > > > > > > > > > > > > > CdiQueryInvocationContext.
> > > > > > > > > > > > > > > > > > Here
> > > > > > > > > > > > > > > > > > >> we store a bunch of data which is
> > related
> > > to
> > > > > the
> > > > > > > > > current
> > > > > > > > > > > > query
> > > > > > > > > > > > > > > > > > (parameters,
> > > > > > > > > > > > > > > > > > >> query string etc). Originally this was
> > > > passed
> > > > > as
> > > > > > > > > > > parameter,
> > > > > > > > > > > > > but
> > > > > > > > > > > > > > > got
> > > > > > > > > > > > > > > > > > >> injectable for the extension mechanism
> > > [1].
> > > > > > > > Currently
> > > > > > > > > on
> > > > > > > > > > > > > > holidays
> > > > > > > > > > > > > > > > > (sorry
> > > > > > > > > > > > > > > > > > >> the response delays) so not much time
> to
> > > > look
> > > > > > into
> > > > > > > > it
> > > > > > > > > > but
> > > > > > > > > > > > > happy
> > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > take
> > > > > > > > > > > > > > > > > > >> suggestions :)
> > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > >> [1]
> > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > > >> On Fri, Mar 1, 2013 at 8:18 PM, Romain
> > > > > > > Manni-Bucau <
> > > > > > > > > > > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > > > > > > > > > >>> wrote:
> > > > > > > > > > > > > > > > > > >>> Hmm,
> > > > > > > > > > > > > > > > > > >>>
> > > > > > > > > > > > > > > > > > >>> Wonder if the scope couldnt be
> > > application
> > > > > one.
> > > > > > > > > Request
> > > > > > > > > > > > > sounds
> > > > > > > > > > > > > > > too
> > > > > > > > > > > > > > > > > much
> > > > > > > > > > > > > > > > > > >> web
> > > > > > > > > > > > > > > > > > >>> to be usable/generic
> > > > > > > > > > > > > > > > > > >>> Le 1 mars 2013 19:02, "Thomas Hug" <
> > > > > > > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > > >>> écrit :
> > > > > > > > > > > > > > > > > > >>>
> > > > > > > > > > > > > > > > > > >>>> Fine for me - planned to create a
> > branch
> > > > > with
> > > > > > > all
> > > > > > > > > the
> > > > > > > > > > > > > > > experimental
> > > > > > > > > > > > > > > > > > APIs
> > > > > > > > > > > > > > > > > > >>>> cleared out as an import proposal.
> > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > >>>> RE scope, the InvocationHandlers are
> > > > > validated
> > > > > > > to
> > > > > > > > be
> > > > > > > > > > > > normal
> > > > > > > > > > > > > > > scoped
> > > > > > > > > > > > > > > > > > [1],
> > > > > > > > > > > > > > > > > > >>> so
> > > > > > > > > > > > > > > > > > >>>> that seemed to me the most
> appropriate
> > > > > choice
> > > > > > -
> > > > > > > > any
> > > > > > > > > > > other
> > > > > > > > > > > > > > > > > suggestions?
> > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > >>>> [1]
> > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > >>>> On Wed, Feb 27, 2013 at 1:15 PM,
> > Romain
> > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > >>>> <rm...@gmail.com>wrote:
> > > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > > >>>>> Hi,
> > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > >>>>> some news of it?
> > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > >>>>> i think it is time to import at
> > least a
> > > > > first
> > > > > > > > > > version,
> > > > > > > > > > > > > isn't
> > > > > > > > > > > > > > > it?
> > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > >>>>> Just a note on current code, i saw
> > > > > > QueryHandler
> > > > > > > > > (and
> > > > > > > > > > > some
> > > > > > > > > > > > > > other
> > > > > > > > > > > > > > > > > > >> beans)
> > > > > > > > > > > > > > > > > > >>>> has
> > > > > > > > > > > > > > > > > > >>>>> a request scope. Wonder if such a
> > scope
> > > > > means
> > > > > > > > > > something
> > > > > > > > > > > > > for a
> > > > > > > > > > > > > > > > > generic
> > > > > > > > > > > > > > > > > > >>>> (not
> > > > > > > > > > > > > > > > > > >>>>> web) lib.
> > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > >>>>> wdyt?
> > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > >>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > >>>>> *Twitter: @rmannibucau <
> > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > >*
> > > > > > > > > > > > > > > > > > >>>>> *Blog: **
> > > > > http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > > > > >>>>> *LinkedIn: **
> > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > >>>>> *Github:
> > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > >>>>> 2013/2/20 Romain Manni-Bucau <
> > > > > > > > > rmannibucau@gmail.com>
> > > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > > >>>>>> guy you rocks!
> > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > >>>>>> effectively i missed it when i
> > looked.
> > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > >>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > >>>>>> *Twitter: @rmannibucau <
> > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > >*
> > > > > > > > > > > > > > > > > > >>>>>> *Blog: **
> > > > > http://rmannibucau.wordpress.com/*
> > > > > > <
> > > > > > > > > > > > > > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > > > > >>>>>> *LinkedIn: **
> > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > >>>>>> *Github:
> > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > >>>>>> 2013/2/20 Thomas Hug <
> > > > > > > > > thomas.hug@ctp-consulting.com
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>> Thnx Romain. If with proxy stuff
> > you
> > > > > refer
> > > > > > to
> > > > > > > > the
> > > > > > > > > > DS
> > > > > > > > > > > > > > > > > > >>>>>>> InvocationHandlerBinding, that's
> > > > already
> > > > > > > > > integrated
> > > > > > > > > > > :)
> > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>> RE pagination, it's maybe not
> that
> > > > > obvious,
> > > > > > > but
> > > > > > > > > > > there's
> > > > > > > > > > > > > > more
> > > > > > > > > > > > > > > > > > >>> advanced
> > > > > > > > > > > > > > > > > > >>>>>>> support in QueryResult [1][2],
> > which
> > > is
> > > > > > more
> > > > > > > > of a
> > > > > > > > > > > > fluent
> > > > > > > > > > > > > > API
> > > > > > > > > > > > > > > > > > >>> approach,
> > > > > > > > > > > > > > > > > > >>>>> but
> > > > > > > > > > > > > > > > > > >>>>>>> should behave similar to a
> > > PageRequest
> > > > > (the
> > > > > > > > query
> > > > > > > > > > > > > execution
> > > > > > > > > > > > > > > is
> > > > > > > > > > > > > > > > > > >>> delayed
> > > > > > > > > > > > > > > > > > >>>>>>> until the getResult() methods on
> > > > > > QueryResult
> > > > > > > is
> > > > > > > > > > > > called).
> > > > > > > > > > > > > > Hope
> > > > > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > > > > >>>> fits
> > > > > > > > > > > > > > > > > > >>>>> to
> > > > > > > > > > > > > > > > > > >>>>>>> what you had in mind.
> > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>> [1]
> > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > > > > > > > > > > > > > > > > > >>>>>>> [2]
> > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > > > > > > > > > > > > > > > > > >>>>>>> On Wed, Feb 20, 2013 at 10:04 PM,
> > > > Romain
> > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > >>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>> Hi Thomas,
> > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>> importing proxy stuff would be
> the
> > > > first
> > > > > > > great
> > > > > > > > > > > stuff.
> > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>> i'd like to see some pagination
> > API
> > > > > (like
> > > > > > > > > > > PageRequest
> > > > > > > > > > > > > etc
> > > > > > > > > > > > > > in
> > > > > > > > > > > > > > > > > > >>> spring
> > > > > > > > > > > > > > > > > > >>>>>>> world)
> > > > > > > > > > > > > > > > > > >>>>>>>> which are more user friendly
> that
> > > > > > > @FirstResult
> > > > > > > > > and
> > > > > > > > > > > > > > > > @MaxResult).
> > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>> wdyt?
> > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > >>>>>>>> *Twitter: @rmannibucau <
> > > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > >*
> > > > > > > > > > > > > > > > > > >>>>>>>> *Blog: **
> > > > > > http://rmannibucau.wordpress.com/*
> > > > > > > <
> > > > > > > > > > > > > > > > > > >>>>>>>>
> http://rmannibucau.wordpress.com/
> > >
> > > > > > > > > > > > > > > > > > >>>>>>>> *LinkedIn: **
> > > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > >>>>>>>> *Github:
> > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>> 2013/2/20 Thomas Hug <
> > > > > > > > > > thomas.hug@ctp-consulting.com
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>> CDI Query has now a completely
> > > > > > Solder-free
> > > > > > > > POM.
> > > > > > > > > > > Feel
> > > > > > > > > > > > > free
> > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > >>> drop
> > > > > > > > > > > > > > > > > > >>>>>>>> comments
> > > > > > > > > > > > > > > > > > >>>>>>>>> on the API - some parts might
> > > > actually
> > > > > be
> > > > > > > > fully
> > > > > > > > > > > > > excluded
> > > > > > > > > > > > > > > > (e.g.
> > > > > > > > > > > > > > > > > > >>>> home
> > > > > > > > > > > > > > > > > > >>>>>>> and
> > > > > > > > > > > > > > > > > > >>>>>>>>> critera APIs).
> > > > > > > > > > > > > > > > > > >>>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>> On Tue, Feb 12, 2013 at 10:00
> PM,
> > > > Mark
> > > > > > > > > Struberg <
> > > > > > > > > > > > > > > > > > >>>> struberg@yahoo.de>
> > > > > > > > > > > > > > > > > > >>>>>>>> wrote:
> > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>>> Thanks Thomas, great news!
> > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>>> LieGrue,
> > > > > > > > > > > > > > > > > > >>>>>>>>>> strub
> > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > ________________________________
> > > > > > > > > > > > > > > > > > >>>>>>>>>>> From: Thomas Hug <
> > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > > > >>>>>>>>>>> To: "
> > > > > > deltaspike-dev@incubator.apache.org
> > > > > > > "
> > > > > > > > <
> > > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > deltaspike-dev@incubator.apache.org
> > > > >
> > > > > > > > > > > > > > > > > > >>>>>>>>>>> Sent: Tuesday, February 12,
> > 2013
> > > > 4:10
> > > > > > PM
> > > > > > > > > > > > > > > > > > >>>>>>>>>>> Subject: Re: cdi-query, no
> > news?
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>>>> FYI, I've started to
> > > "de-solderize"
> > > > > CDI
> > > > > > > > Query
> > > > > > > > > > and
> > > > > > > > > > > > > move
> > > > > > > > > > > > > > > > > > >> things
> > > > > > > > > > > > > > > > > > >>>> to
> > > > > > > > > > > > > > > > > > >>>>>>>> depend
> > > > > > > > > > > > > > > > > > >>>>>>>>> on
> > > > > > > > > > > > > > > > > > >>>>>>>>>>> DS Core [1]:
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > >
> > https://github.com/ctpconsulting/query/tree/deltaspike
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>>>> Todos:
> > > > > > > > > > > > > > > > > > >>>>>>>>>>> [x] Replace ServiceHandler
> > > > > > > > > > > > > > > > > > >>>>>>>>>>> [_] Include Property utils
> > > > > > > > > > > > > > > > > > >>>>>>>>>>> [_] Replace JBoss Logging
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>>>> Any feedback welcome.
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>>>> [1] including this
> modification
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > > > > > > > > > > > > > > > > >>>>>>>>>>> On Mon, Feb 11, 2013 at 6:01
> > PM,
> > > > > Romain
> > > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > >>>>>>>>>>> <rmannibucau@gmail.com
> >wrote:
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>> a review of the API i guess
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>> what is missing today is
> > > probably
> > > > > the
> > > > > > > > > > pagination
> > > > > > > > > > > > > > helpers
> > > > > > > > > > > > > > > > > > >>>>>>>> (PageRequest
> > > > > > > > > > > > > > > > > > >>>>>>>>>> for
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>> instance)
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>> but technically all is fine
> > IMO
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Twitter: @rmannibucau <
> > > > > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > > > > > > >>> *
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Blog: **
> > > > > > > > http://rmannibucau.wordpress.com/*
> > > > > > > > > <
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > http://rmannibucau.wordpress.com/
> > > > >
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *LinkedIn: **
> > > > > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Github:
> > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>> 2013/2/11 Jason Porter <
> > > > > > > > > > lightguard.jp@gmail.com
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> I know I'm playing the
> > > > necromancer,
> > > > > > but
> > > > > > > > > > please
> > > > > > > > > > > > > > forgive
> > > > > > > > > > > > > > > > > > >>> me.
> > > > > > > > > > > > > > > > > > >>>> We
> > > > > > > > > > > > > > > > > > >>>>>>> have
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> InvocationHandler, which
> > looks
> > > > like
> > > > > > it
> > > > > > > > > would
> > > > > > > > > > > work
> > > > > > > > > > > > > as
> > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > > >>>>>>>>> ServiceHandler
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> substitute. What else is
> > needed
> > > > to
> > > > > > get
> > > > > > > > CDI
> > > > > > > > > > > Query
> > > > > > > > > > > > > into
> > > > > > > > > > > > > > > > > > >>>>>>> DeltaSpike?
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> On Sun, Nov 18, 2012 at
> 12:35
> > > PM,
> > > > > > > Romain
> > > > > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> <rmannibucau@gmail.com
> > >wrote:
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> +1, it is a must have for
> > cdi
> > > > > world
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> Le 18 nov. 2012 20:04,
> > > > > > "john.d.ament"
> > > > > > > <
> > > > > > > > > > > > > > > > > > >>>>>>> john.d.ament@gmail.com>
> > > > > > > > > > > > > > > > > > >>>>>>>> a
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>> écrit :
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> RE ServiceHandler - I was
> > one
> > > > of
> > > > > > > those
> > > > > > > > > who
> > > > > > > > > > > > > > > > > > >> previously
> > > > > > > > > > > > > > > > > > >>>>>>>> suggested
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> bringing
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> over to DeltaSpike, you
> can
> > > see
> > > > > > > > > > > DELTASPIKE-113
> > > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > > >>> find
> > > > > > > > > > > > > > > > > > >>>>> the
> > > > > > > > > > > > > > > > > > >>>>>>>>> thread
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> about
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> from April of this year.
> >  At
> > > > the
> > > > > > > time,
> > > > > > > > I
> > > > > > > > > > was
> > > > > > > > > > > > in a
> > > > > > > > > > > > > > > > > > >>>>> position
> > > > > > > > > > > > > > > > > > >>>>>>>>> where I
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> couldn't
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> spend much time on open
> > > source
> > > > > > > > > > contribution.
> > > > > > > > > > > > >  I've
> > > > > > > > > > > > > > > > > > >>>>> recently
> > > > > > > > > > > > > > > > > > >>>>>>>>>> changed
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> jobs,
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> to
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> something that's going to
> > > help
> > > > me
> > > > > > > spend
> > > > > > > > > > some
> > > > > > > > > > > > more
> > > > > > > > > > > > > > > > > > >>> time
> > > > > > > > > > > > > > > > > > >>>>> with
> > > > > > > > > > > > > > > > > > >>>>>>>> the
> > > > > > > > > > > > > > > > > > >>>>>>>>>> open
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> source
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> community, and believe I
> > can
> > > > pick
> > > > > > it
> > > > > > > > back
> > > > > > > > > > up
> > > > > > > > > > > if
> > > > > > > > > > > > > > > > > > >> we're
> > > > > > > > > > > > > > > > > > >>>>>>> ready.
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> If everyone's ok with it
> I
> > > can
> > > > > > start
> > > > > > > a
> > > > > > > > > new
> > > > > > > > > > > > thread
> > > > > > > > > > > > > > > > > > >> for
> > > > > > > > > > > > > > > > > > >>>> 113
> > > > > > > > > > > > > > > > > > >>>>>>> or
> > > > > > > > > > > > > > > > > > >>>>>>>>>> revive
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>> the
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> old
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> thread (though it may
> come
> > > > > through
> > > > > > > > with a
> > > > > > > > > > > large
> > > > > > > > > > > > > > > > > > >> pile
> > > > > > > > > > > > > > > > > > >>> of
> > > > > > > > > > > > > > > > > > >>>>>>> dust).
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> Regards,
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> John
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> --
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> View this message in
> > context:
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> Sent from the Apache
> > > DeltaSpike
> > > > > > > > Incubator
> > > > > > > > > > > > > > > > > > >> Discussions
> > > > > > > > > > > > > > > > > > >>>>>>> mailing
> > > > > > > > > > > > > > > > > > >>>>>>>>> list
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> archive
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> at Nabble.com.
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> --
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>> Jason Porter
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > http://en.gravatar.com/lightguardjp
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Gerhard Petracek <ge...@gmail.com>.
hi thomas,

i would prefer e.g.
Query#value + Query#isNative (false as the default)
instead of
Query#value + Query#sql

and it would be great to get additional information about the need of:

 - NonEntity (as the default)
 - AbstractEntityRepository
   (e.g. you can pass in the EntityManager as parameter or inject it.
    you would need it e.g. for EntityRepository#save,... - but in
EntityRepository it isn't part of the contract...)
 - (EntityRepository#saveAndFlush as the only combined operation)

regards,
gerhard



2013/3/14 Thomas Hug <th...@ctp-consulting.com>

> Thnx for the pointers. Started to outline the APIs here [1] with examples
> in decreasing priority.
>
> [1]
> https://cwiki.apache.org/confluence/display/DeltaSpike/Repository+Drafts
>
> On Thu, Mar 14, 2013 at 10:05 AM, Gerhard Petracek <
> gerhard.petracek@gmail.com> wrote:
>
> > +1
> >
> > regards,
> > gerhard
> >
> >
> >
> > 2013/3/14 Romain Manni-Bucau <rm...@gmail.com>
> >
> > > ok great,
> > >
> > > wonder if we couldn't start by a first version without such
> > extensibility +
> > > no scopes for queries?
> > >
> > > *Romain Manni-Bucau*
> > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > http://rmannibucau.wordpress.com/>
> > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > *Github: https://github.com/rmannibucau*
> > >
> > >
> > >
> > > 2013/3/14 Gerhard Petracek <ge...@gmail.com>
> > >
> > > > hi romain,
> > > >
> > > > no - it's more about the style we introduced e.g. for type-safe
> > messages.
> > > >
> > > > regards,
> > > > gerhard
> > > >
> > > >
> > > > 2013/3/14 Romain Manni-Bucau <rm...@gmail.com>
> > > >
> > > > > @Gerhard: hope you don't think of @RepoBinding at all...would be
> too
> > > much
> > > > > IMO. Would be great to support aliases/stereotype maybe but not the
> > > > default
> > > > >
> > > > > Wdyt?
> > > > > Le 14 mars 2013 00:11, "Gerhard Petracek" <
> > gerhard.petracek@gmail.com>
> > > a
> > > > > écrit :
> > > > >
> > > > > > hi thomas,
> > > > > >
> > > > > > imo it should follow the basic style/s we have in other parts
> > already
> > > > (if
> > > > > > possible).
> > > > > >
> > > > > > i guess the simple implementations in the test-module are too
> > simple
> > > to
> > > > > see
> > > > > > the real benefit.
> > > > > > -> it would be nice if you add some drafts to a sub-page of [1].
> > > > > > (the usage you would prefer and not as it is right now.)
> > > > > >
> > > > > > regards,
> > > > > > gerhard
> > > > > >
> > > > > > [1]
> https://cwiki.apache.org/confluence/display/DeltaSpike/Drafts
> > > > > >
> > > > > >
> > > > > >
> > > > > > 2013/3/13 Romain Manni-Bucau <rm...@gmail.com>
> > > > > >
> > > > > > > i'd put it in to start since that's useful for JPA but it
> > shouldn't
> > > > use
> > > > > > it
> > > > > > > at all
> > > > > > >
> > > > > > > a question (for next iteration if that's ok for everybody) is
> > > should
> > > > > > repos
> > > > > > > handle transaction or at least define it.
> > > > > > >
> > > > > > > *Romain Manni-Bucau*
> > > > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > *Github: https://github.com/rmannibucau*
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > 2013/3/13 John D. Ament <jo...@gmail.com>
> > > > > > >
> > > > > > > > Does this have any direct/indirect dependencies on JPA
> module?
> > > > Should
> > > > > > > this
> > > > > > > > maybe become a part of the JPA module?
> > > > > > > >
> > > > > > > >
> > > > > > > > On Wed, Mar 13, 2013 at 7:23 AM, Thomas Hug
> > > > > > > > <th...@ctp-consulting.com>wrote:
> > > > > > > >
> > > > > > > > > Ok, I guess it's going to be Repository :) Updated the
> > proposal
> > > > > > branch
> > > > > > > > and
> > > > > > > > > also moved things into a data package/module.
> > > > > > > > >
> > > > > > > > > Some remarks for the parts below:
> > > > > > > > >
> > > > > > > > > 1) EntityManagerRepository wasn't present in the Solder
> > > > > > implementation
> > > > > > > -
> > > > > > > > > there it was possible to simply implement/extend
> > EntityManager.
> > > > The
> > > > > > > > problem
> > > > > > > > > with the invocation handler is that it's not possible to
> > > restrict
> > > > > the
> > > > > > > > bean
> > > > > > > > > type and exclude EntityManager (or I missed it). Otherwise
> > I'd
> > > > > rather
> > > > > > > get
> > > > > > > > > rid of this interface.
> > > > > > > > >
> > > > > > > > > 2) WithEntityManager is definitely discussable. Not the
> full
> > > > > solution
> > > > > > > and
> > > > > > > > > not consistent. Could be solved with e.g. putting
> qualifiers
> > > on a
> > > > > > > method
> > > > > > > > > returning an EntityManager (less intuitive) or something
> like
> > > the
> > > > > > > > > InvocationHandlerBinding.
> > > > > > > > >
> > > > > > > > > 3) AbstractEntityRepository is just a convenience class for
> > > > > providing
> > > > > > > > > concrete query implementations.
> > > > > > > > >
> > > > > > > > > On Tue, Mar 12, 2013 at 9:40 PM, Gerhard Petracek <
> > > > > > > > > gerhard.petracek@gmail.com> wrote:
> > > > > > > > >
> > > > > > > > > > hi,
> > > > > > > > > >
> > > > > > > > > > currently we don't have one jira ticket per part/feature.
> > > > > > > > > > that's what we used to have for everything we imported.
> > > > > > > > > >
> > > > > > > > > > the first parts to discuss are imo EntityManagerDao,
> > > > > > > WithEntityManager
> > > > > > > > > and
> > > > > > > > > > AbstractEntityDao.
> > > > > > > > > >
> > > > > > > > > > regards,
> > > > > > > > > > gerhard
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > 2013/3/12 Arne Limburg <ar...@openknowledge.de>
> > > > > > > > > >
> > > > > > > > > > > +1 for repository, from me too
> > > > > > > > > > >
> > > > > > > > > > > Gesendet mit meinem HTC
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > ----- Reply message -----
> > > > > > > > > > > Von: "Thomas Andraschko" <an...@gmail.com>
> > > > > > > > > > > An: "deltaspike-dev@incubator.apache.org" <
> > > > > > > > > > > deltaspike-dev@incubator.apache.org>
> > > > > > > > > > > Betreff: cdi-query, no news?
> > > > > > > > > > > Datum: Di., Mär. 12, 2013 20:38
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > +1 repository! :) "Query" doesn't really match the
> > > > functionaly.
> > > > > > > > > > >
> > > > > > > > > > > 2013/3/12 Romain Manni-Bucau <rm...@gmail.com>
> > > > > > > > > > >
> > > > > > > > > > > > +2 for repo
> > > > > > > > > > > >
> > > > > > > > > > > > btw did you fixed the scope issue?
> > > > > > > > > > > >
> > > > > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > > > > *Twitter: @rmannibucau <
> > https://twitter.com/rmannibucau
> > > >*
> > > > > > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > *Github: https://github.com/rmannibucau*
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
> > > > > > > > > > > >
> > > > > > > > > > > > > The name is still freely choosable - data sounds
> fine
> > > to
> > > > me
> > > > > > if
> > > > > > > > > nobody
> > > > > > > > > > > > minds
> > > > > > > > > > > > > the obvious mirroring on Spring Data ;) dao/@Dao is
> > > > > > > discussable,
> > > > > > > > > all
> > > > > > > > > > > the
> > > > > > > > > > > > > domain driven folks prefer probably something like
> > > > > > > "Repository".
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Tue, Mar 12, 2013 at 7:29 PM, Romain Manni-Bucau
> > > > > > > > > > > > > <rm...@gmail.com>wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > Great :)
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > any issue changing "query" to something closer to
> > > what
> > > > it
> > > > > > > > really
> > > > > > > > > > > does ;
> > > > > > > > > > > > > > "dao" (because of @Dao) or "data"?
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > > > > > > *Twitter: @rmannibucau <
> > > > https://twitter.com/rmannibucau
> > > > > >*
> > > > > > > > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > *LinkedIn: **
> > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > *Github: https://gihub.com/rmannibucau* <
> > > > > > > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > 2013/3/12 Thomas Hug <
> > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > FYI, I've started something like an import
> > proposal
> > > > in
> > > > > a
> > > > > > > > > > dedicated
> > > > > > > > > > > > > branch
> > > > > > > > > > > > > > > [1]. There's currently only the JBoss
> Arquillian
> > > > > profile
> > > > > > > > > running,
> > > > > > > > > > > > > haven't
> > > > > > > > > > > > > > > looked at the others. Any support there and of
> > > course
> > > > > > other
> > > > > > > > > > input's
> > > > > > > > > > > > > very
> > > > > > > > > > > > > > > welcome :)
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > [1]
> > > > > https://github.com/ctpconsulting/query/tree/dsimport
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Tue, Mar 5, 2013 at 7:45 AM, Romain
> > Manni-Bucau
> > > <
> > > > > > > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > > > > > > >wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Yes
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > It works fine but you bring too much spring
> > > > > > dependencies
> > > > > > > > > > (totally
> > > > > > > > > > > > > > useless
> > > > > > > > > > > > > > > > when used this way) which clearly show it is
> > > > rather a
> > > > > > > > bridge
> > > > > > > > > > > than a
> > > > > > > > > > > > > > > > solution + there were some leaks in previous
> > > > version
> > > > > > > (didnt
> > > > > > > > > > check
> > > > > > > > > > > > fix
> > > > > > > > > > > > > > was
> > > > > > > > > > > > > > > > released to be honest) because if this usage
> > > which
> > > > > was
> > > > > > > not
> > > > > > > > > the
> > > > > > > > > > > > > default
> > > > > > > > > > > > > > > one.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Since cdi query is here it worths importing
> it
> > > IMO
> > > > > > > > > > > > > > > > Le 5 mars 2013 02:21, "hantsy" <
> > > > hantsy@yahoo.com.cn>
> > > > > a
> > > > > > > > > écrit :
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > I remember the Spring Data has a CDI
> > extension,
> > > > > but I
> > > > > > > > have
> > > > > > > > > > not
> > > > > > > > > > > > used
> > > > > > > > > > > > > > it
> > > > > > > > > > > > > > > > > in projects. Is there anyone used it in
> Java
> > > EE 6
> > > > > > > > projects?
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Hantsy
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On 3/3/2013 20:40, Romain Manni-Bucau
> wrote:
> > > > > > > > > > > > > > > > > > Basically if the query logic could be
> scope
> > > > > > agnostic
> > > > > > > it
> > > > > > > > > > would
> > > > > > > > > > > > be
> > > > > > > > > > > > > > > > perfect
> > > > > > > > > > > > > > > > > > for me. Parameters were fine and matched
> > the
> > > > > coomon
> > > > > > > > need.
> > > > > > > > > > I m
> > > > > > > > > > > > not
> > > > > > > > > > > > > > > sure
> > > > > > > > > > > > > > > > i
> > > > > > > > > > > > > > > > > > get what is blocking. Can you detail it a
> > bit
> > > > > > please?
> > > > > > > > > > > > > > > > > > Le 3 mars 2013 13:09, "Thomas Hug" <
> > > > > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > écrit :
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >> Aha got you. Yes QueryHandler can be
> moved
> > > to
> > > > > > > > > application
> > > > > > > > > > > > scope.
> > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > >> The other request scoped component ist
> the
> > > > > > > > > > > > > > > CdiQueryInvocationContext.
> > > > > > > > > > > > > > > > > Here
> > > > > > > > > > > > > > > > > >> we store a bunch of data which is
> related
> > to
> > > > the
> > > > > > > > current
> > > > > > > > > > > query
> > > > > > > > > > > > > > > > > (parameters,
> > > > > > > > > > > > > > > > > >> query string etc). Originally this was
> > > passed
> > > > as
> > > > > > > > > > parameter,
> > > > > > > > > > > > but
> > > > > > > > > > > > > > got
> > > > > > > > > > > > > > > > > >> injectable for the extension mechanism
> > [1].
> > > > > > > Currently
> > > > > > > > on
> > > > > > > > > > > > > holidays
> > > > > > > > > > > > > > > > (sorry
> > > > > > > > > > > > > > > > > >> the response delays) so not much time to
> > > look
> > > > > into
> > > > > > > it
> > > > > > > > > but
> > > > > > > > > > > > happy
> > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > take
> > > > > > > > > > > > > > > > > >> suggestions :)
> > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > >> [1]
> > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > > >> On Fri, Mar 1, 2013 at 8:18 PM, Romain
> > > > > > Manni-Bucau <
> > > > > > > > > > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > > > > > > > > >>> wrote:
> > > > > > > > > > > > > > > > > >>> Hmm,
> > > > > > > > > > > > > > > > > >>>
> > > > > > > > > > > > > > > > > >>> Wonder if the scope couldnt be
> > application
> > > > one.
> > > > > > > > Request
> > > > > > > > > > > > sounds
> > > > > > > > > > > > > > too
> > > > > > > > > > > > > > > > much
> > > > > > > > > > > > > > > > > >> web
> > > > > > > > > > > > > > > > > >>> to be usable/generic
> > > > > > > > > > > > > > > > > >>> Le 1 mars 2013 19:02, "Thomas Hug" <
> > > > > > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > >>> écrit :
> > > > > > > > > > > > > > > > > >>>
> > > > > > > > > > > > > > > > > >>>> Fine for me - planned to create a
> branch
> > > > with
> > > > > > all
> > > > > > > > the
> > > > > > > > > > > > > > experimental
> > > > > > > > > > > > > > > > > APIs
> > > > > > > > > > > > > > > > > >>>> cleared out as an import proposal.
> > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > >>>> RE scope, the InvocationHandlers are
> > > > validated
> > > > > > to
> > > > > > > be
> > > > > > > > > > > normal
> > > > > > > > > > > > > > scoped
> > > > > > > > > > > > > > > > > [1],
> > > > > > > > > > > > > > > > > >>> so
> > > > > > > > > > > > > > > > > >>>> that seemed to me the most appropriate
> > > > choice
> > > > > -
> > > > > > > any
> > > > > > > > > > other
> > > > > > > > > > > > > > > > suggestions?
> > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > >>>> [1]
> > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > >>>> On Wed, Feb 27, 2013 at 1:15 PM,
> Romain
> > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > >>>> <rm...@gmail.com>wrote:
> > > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > > >>>>> Hi,
> > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > >>>>> some news of it?
> > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > >>>>> i think it is time to import at
> least a
> > > > first
> > > > > > > > > version,
> > > > > > > > > > > > isn't
> > > > > > > > > > > > > > it?
> > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > >>>>> Just a note on current code, i saw
> > > > > QueryHandler
> > > > > > > > (and
> > > > > > > > > > some
> > > > > > > > > > > > > other
> > > > > > > > > > > > > > > > > >> beans)
> > > > > > > > > > > > > > > > > >>>> has
> > > > > > > > > > > > > > > > > >>>>> a request scope. Wonder if such a
> scope
> > > > means
> > > > > > > > > something
> > > > > > > > > > > > for a
> > > > > > > > > > > > > > > > generic
> > > > > > > > > > > > > > > > > >>>> (not
> > > > > > > > > > > > > > > > > >>>>> web) lib.
> > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > >>>>> wdyt?
> > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > >>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > >>>>> *Twitter: @rmannibucau <
> > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > >*
> > > > > > > > > > > > > > > > > >>>>> *Blog: **
> > > > http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > > > >>>>> *LinkedIn: **
> > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > >>>>> *Github:
> > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > >>>>> 2013/2/20 Romain Manni-Bucau <
> > > > > > > > rmannibucau@gmail.com>
> > > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > > >>>>>> guy you rocks!
> > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > >>>>>> effectively i missed it when i
> looked.
> > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > >>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > >>>>>> *Twitter: @rmannibucau <
> > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > >*
> > > > > > > > > > > > > > > > > >>>>>> *Blog: **
> > > > http://rmannibucau.wordpress.com/*
> > > > > <
> > > > > > > > > > > > > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > > > >>>>>> *LinkedIn: **
> > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > >>>>>> *Github:
> > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > >>>>>> 2013/2/20 Thomas Hug <
> > > > > > > > thomas.hug@ctp-consulting.com
> > > > > > > > > >
> > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > > >>>>>>> Thnx Romain. If with proxy stuff
> you
> > > > refer
> > > > > to
> > > > > > > the
> > > > > > > > > DS
> > > > > > > > > > > > > > > > > >>>>>>> InvocationHandlerBinding, that's
> > > already
> > > > > > > > integrated
> > > > > > > > > > :)
> > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>> RE pagination, it's maybe not that
> > > > obvious,
> > > > > > but
> > > > > > > > > > there's
> > > > > > > > > > > > > more
> > > > > > > > > > > > > > > > > >>> advanced
> > > > > > > > > > > > > > > > > >>>>>>> support in QueryResult [1][2],
> which
> > is
> > > > > more
> > > > > > > of a
> > > > > > > > > > > fluent
> > > > > > > > > > > > > API
> > > > > > > > > > > > > > > > > >>> approach,
> > > > > > > > > > > > > > > > > >>>>> but
> > > > > > > > > > > > > > > > > >>>>>>> should behave similar to a
> > PageRequest
> > > > (the
> > > > > > > query
> > > > > > > > > > > > execution
> > > > > > > > > > > > > > is
> > > > > > > > > > > > > > > > > >>> delayed
> > > > > > > > > > > > > > > > > >>>>>>> until the getResult() methods on
> > > > > QueryResult
> > > > > > is
> > > > > > > > > > > called).
> > > > > > > > > > > > > Hope
> > > > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > > > >>>> fits
> > > > > > > > > > > > > > > > > >>>>> to
> > > > > > > > > > > > > > > > > >>>>>>> what you had in mind.
> > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>> [1]
> > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > > > > > > > > > > > > > > > > >>>>>>> [2]
> > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > > > > > > > > > > > > > > > > >>>>>>> On Wed, Feb 20, 2013 at 10:04 PM,
> > > Romain
> > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > >>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>> Hi Thomas,
> > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>> importing proxy stuff would be the
> > > first
> > > > > > great
> > > > > > > > > > stuff.
> > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>> i'd like to see some pagination
> API
> > > > (like
> > > > > > > > > > PageRequest
> > > > > > > > > > > > etc
> > > > > > > > > > > > > in
> > > > > > > > > > > > > > > > > >>> spring
> > > > > > > > > > > > > > > > > >>>>>>> world)
> > > > > > > > > > > > > > > > > >>>>>>>> which are more user friendly that
> > > > > > @FirstResult
> > > > > > > > and
> > > > > > > > > > > > > > > @MaxResult).
> > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>> wdyt?
> > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > >>>>>>>> *Twitter: @rmannibucau <
> > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > >*
> > > > > > > > > > > > > > > > > >>>>>>>> *Blog: **
> > > > > http://rmannibucau.wordpress.com/*
> > > > > > <
> > > > > > > > > > > > > > > > > >>>>>>>> http://rmannibucau.wordpress.com/
> >
> > > > > > > > > > > > > > > > > >>>>>>>> *LinkedIn: **
> > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > >>>>>>>> *Github:
> > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>> 2013/2/20 Thomas Hug <
> > > > > > > > > thomas.hug@ctp-consulting.com
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>> CDI Query has now a completely
> > > > > Solder-free
> > > > > > > POM.
> > > > > > > > > > Feel
> > > > > > > > > > > > free
> > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > >>> drop
> > > > > > > > > > > > > > > > > >>>>>>>> comments
> > > > > > > > > > > > > > > > > >>>>>>>>> on the API - some parts might
> > > actually
> > > > be
> > > > > > > fully
> > > > > > > > > > > > excluded
> > > > > > > > > > > > > > > (e.g.
> > > > > > > > > > > > > > > > > >>>> home
> > > > > > > > > > > > > > > > > >>>>>>> and
> > > > > > > > > > > > > > > > > >>>>>>>>> critera APIs).
> > > > > > > > > > > > > > > > > >>>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>> On Tue, Feb 12, 2013 at 10:00 PM,
> > > Mark
> > > > > > > > Struberg <
> > > > > > > > > > > > > > > > > >>>> struberg@yahoo.de>
> > > > > > > > > > > > > > > > > >>>>>>>> wrote:
> > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>>> Thanks Thomas, great news!
> > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>>> LieGrue,
> > > > > > > > > > > > > > > > > >>>>>>>>>> strub
> > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>>>>
> ________________________________
> > > > > > > > > > > > > > > > > >>>>>>>>>>> From: Thomas Hug <
> > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > > >>>>>>>>>>> To: "
> > > > > deltaspike-dev@incubator.apache.org
> > > > > > "
> > > > > > > <
> > > > > > > > > > > > > > > > > >>>>>>>>>>
> > deltaspike-dev@incubator.apache.org
> > > >
> > > > > > > > > > > > > > > > > >>>>>>>>>>> Sent: Tuesday, February 12,
> 2013
> > > 4:10
> > > > > PM
> > > > > > > > > > > > > > > > > >>>>>>>>>>> Subject: Re: cdi-query, no
> news?
> > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>>>> FYI, I've started to
> > "de-solderize"
> > > > CDI
> > > > > > > Query
> > > > > > > > > and
> > > > > > > > > > > > move
> > > > > > > > > > > > > > > > > >> things
> > > > > > > > > > > > > > > > > >>>> to
> > > > > > > > > > > > > > > > > >>>>>>>> depend
> > > > > > > > > > > > > > > > > >>>>>>>>> on
> > > > > > > > > > > > > > > > > >>>>>>>>>>> DS Core [1]:
> > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > >
> https://github.com/ctpconsulting/query/tree/deltaspike
> > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>>>> Todos:
> > > > > > > > > > > > > > > > > >>>>>>>>>>> [x] Replace ServiceHandler
> > > > > > > > > > > > > > > > > >>>>>>>>>>> [_] Include Property utils
> > > > > > > > > > > > > > > > > >>>>>>>>>>> [_] Replace JBoss Logging
> > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>>>> Any feedback welcome.
> > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>>>> [1] including this modification
> > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > > > > > > > > > > > > > > > >>>>>>>>>>> On Mon, Feb 11, 2013 at 6:01
> PM,
> > > > Romain
> > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > >>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>>>>> a review of the API i guess
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>>>>> what is missing today is
> > probably
> > > > the
> > > > > > > > > pagination
> > > > > > > > > > > > > helpers
> > > > > > > > > > > > > > > > > >>>>>>>> (PageRequest
> > > > > > > > > > > > > > > > > >>>>>>>>>> for
> > > > > > > > > > > > > > > > > >>>>>>>>>>>> instance)
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>>>>> but technically all is fine
> IMO
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Twitter: @rmannibucau <
> > > > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > > > > > >>> *
> > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Blog: **
> > > > > > > http://rmannibucau.wordpress.com/*
> > > > > > > > <
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > http://rmannibucau.wordpress.com/
> > > >
> > > > > > > > > > > > > > > > > >>>>>>>>>>>> *LinkedIn: **
> > > > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > > >>>>>>>>>>>> *Github:
> > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>>>>> 2013/2/11 Jason Porter <
> > > > > > > > > lightguard.jp@gmail.com
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>> I know I'm playing the
> > > necromancer,
> > > > > but
> > > > > > > > > please
> > > > > > > > > > > > > forgive
> > > > > > > > > > > > > > > > > >>> me.
> > > > > > > > > > > > > > > > > >>>> We
> > > > > > > > > > > > > > > > > >>>>>>> have
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>> InvocationHandler, which
> looks
> > > like
> > > > > it
> > > > > > > > would
> > > > > > > > > > work
> > > > > > > > > > > > as
> > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > >>>>>>>>> ServiceHandler
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>> substitute. What else is
> needed
> > > to
> > > > > get
> > > > > > > CDI
> > > > > > > > > > Query
> > > > > > > > > > > > into
> > > > > > > > > > > > > > > > > >>>>>>> DeltaSpike?
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>> On Sun, Nov 18, 2012 at 12:35
> > PM,
> > > > > > Romain
> > > > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>> <rmannibucau@gmail.com
> >wrote:
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> +1, it is a must have for
> cdi
> > > > world
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> Le 18 nov. 2012 20:04,
> > > > > "john.d.ament"
> > > > > > <
> > > > > > > > > > > > > > > > > >>>>>>> john.d.ament@gmail.com>
> > > > > > > > > > > > > > > > > >>>>>>>> a
> > > > > > > > > > > > > > > > > >>>>>>>>>>>> écrit :
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> RE ServiceHandler - I was
> one
> > > of
> > > > > > those
> > > > > > > > who
> > > > > > > > > > > > > > > > > >> previously
> > > > > > > > > > > > > > > > > >>>>>>>> suggested
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>> bringing
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> over to DeltaSpike, you can
> > see
> > > > > > > > > > DELTASPIKE-113
> > > > > > > > > > > > and
> > > > > > > > > > > > > > > > > >>> find
> > > > > > > > > > > > > > > > > >>>>> the
> > > > > > > > > > > > > > > > > >>>>>>>>> thread
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>> about
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> from April of this year.
>  At
> > > the
> > > > > > time,
> > > > > > > I
> > > > > > > > > was
> > > > > > > > > > > in a
> > > > > > > > > > > > > > > > > >>>>> position
> > > > > > > > > > > > > > > > > >>>>>>>>> where I
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> couldn't
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> spend much time on open
> > source
> > > > > > > > > contribution.
> > > > > > > > > > > >  I've
> > > > > > > > > > > > > > > > > >>>>> recently
> > > > > > > > > > > > > > > > > >>>>>>>>>> changed
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>> jobs,
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> to
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> something that's going to
> > help
> > > me
> > > > > > spend
> > > > > > > > > some
> > > > > > > > > > > more
> > > > > > > > > > > > > > > > > >>> time
> > > > > > > > > > > > > > > > > >>>>> with
> > > > > > > > > > > > > > > > > >>>>>>>> the
> > > > > > > > > > > > > > > > > >>>>>>>>>> open
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> source
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> community, and believe I
> can
> > > pick
> > > > > it
> > > > > > > back
> > > > > > > > > up
> > > > > > > > > > if
> > > > > > > > > > > > > > > > > >> we're
> > > > > > > > > > > > > > > > > >>>>>>> ready.
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> If everyone's ok with it I
> > can
> > > > > start
> > > > > > a
> > > > > > > > new
> > > > > > > > > > > thread
> > > > > > > > > > > > > > > > > >> for
> > > > > > > > > > > > > > > > > >>>> 113
> > > > > > > > > > > > > > > > > >>>>>>> or
> > > > > > > > > > > > > > > > > >>>>>>>>>> revive
> > > > > > > > > > > > > > > > > >>>>>>>>>>>> the
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> old
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> thread (though it may come
> > > > through
> > > > > > > with a
> > > > > > > > > > large
> > > > > > > > > > > > > > > > > >> pile
> > > > > > > > > > > > > > > > > >>> of
> > > > > > > > > > > > > > > > > >>>>>>> dust).
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> Regards,
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> John
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> --
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> View this message in
> context:
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> Sent from the Apache
> > DeltaSpike
> > > > > > > Incubator
> > > > > > > > > > > > > > > > > >> Discussions
> > > > > > > > > > > > > > > > > >>>>>>> mailing
> > > > > > > > > > > > > > > > > >>>>>>>>> list
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>> archive
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> at Nabble.com.
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>> --
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>> Jason Porter
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > http://en.gravatar.com/lightguardjp
> > > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Thomas Hug <th...@ctp-consulting.com>.
Thnx for the pointers. Started to outline the APIs here [1] with examples
in decreasing priority.

[1] https://cwiki.apache.org/confluence/display/DeltaSpike/Repository+Drafts

On Thu, Mar 14, 2013 at 10:05 AM, Gerhard Petracek <
gerhard.petracek@gmail.com> wrote:

> +1
>
> regards,
> gerhard
>
>
>
> 2013/3/14 Romain Manni-Bucau <rm...@gmail.com>
>
> > ok great,
> >
> > wonder if we couldn't start by a first version without such
> extensibility +
> > no scopes for queries?
> >
> > *Romain Manni-Bucau*
> > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > *Blog: **http://rmannibucau.wordpress.com/*<
> > http://rmannibucau.wordpress.com/>
> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > *Github: https://github.com/rmannibucau*
> >
> >
> >
> > 2013/3/14 Gerhard Petracek <ge...@gmail.com>
> >
> > > hi romain,
> > >
> > > no - it's more about the style we introduced e.g. for type-safe
> messages.
> > >
> > > regards,
> > > gerhard
> > >
> > >
> > > 2013/3/14 Romain Manni-Bucau <rm...@gmail.com>
> > >
> > > > @Gerhard: hope you don't think of @RepoBinding at all...would be too
> > much
> > > > IMO. Would be great to support aliases/stereotype maybe but not the
> > > default
> > > >
> > > > Wdyt?
> > > > Le 14 mars 2013 00:11, "Gerhard Petracek" <
> gerhard.petracek@gmail.com>
> > a
> > > > écrit :
> > > >
> > > > > hi thomas,
> > > > >
> > > > > imo it should follow the basic style/s we have in other parts
> already
> > > (if
> > > > > possible).
> > > > >
> > > > > i guess the simple implementations in the test-module are too
> simple
> > to
> > > > see
> > > > > the real benefit.
> > > > > -> it would be nice if you add some drafts to a sub-page of [1].
> > > > > (the usage you would prefer and not as it is right now.)
> > > > >
> > > > > regards,
> > > > > gerhard
> > > > >
> > > > > [1] https://cwiki.apache.org/confluence/display/DeltaSpike/Drafts
> > > > >
> > > > >
> > > > >
> > > > > 2013/3/13 Romain Manni-Bucau <rm...@gmail.com>
> > > > >
> > > > > > i'd put it in to start since that's useful for JPA but it
> shouldn't
> > > use
> > > > > it
> > > > > > at all
> > > > > >
> > > > > > a question (for next iteration if that's ok for everybody) is
> > should
> > > > > repos
> > > > > > handle transaction or at least define it.
> > > > > >
> > > > > > *Romain Manni-Bucau*
> > > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > http://rmannibucau.wordpress.com/>
> > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > *Github: https://github.com/rmannibucau*
> > > > > >
> > > > > >
> > > > > >
> > > > > > 2013/3/13 John D. Ament <jo...@gmail.com>
> > > > > >
> > > > > > > Does this have any direct/indirect dependencies on JPA module?
> > > Should
> > > > > > this
> > > > > > > maybe become a part of the JPA module?
> > > > > > >
> > > > > > >
> > > > > > > On Wed, Mar 13, 2013 at 7:23 AM, Thomas Hug
> > > > > > > <th...@ctp-consulting.com>wrote:
> > > > > > >
> > > > > > > > Ok, I guess it's going to be Repository :) Updated the
> proposal
> > > > > branch
> > > > > > > and
> > > > > > > > also moved things into a data package/module.
> > > > > > > >
> > > > > > > > Some remarks for the parts below:
> > > > > > > >
> > > > > > > > 1) EntityManagerRepository wasn't present in the Solder
> > > > > implementation
> > > > > > -
> > > > > > > > there it was possible to simply implement/extend
> EntityManager.
> > > The
> > > > > > > problem
> > > > > > > > with the invocation handler is that it's not possible to
> > restrict
> > > > the
> > > > > > > bean
> > > > > > > > type and exclude EntityManager (or I missed it). Otherwise
> I'd
> > > > rather
> > > > > > get
> > > > > > > > rid of this interface.
> > > > > > > >
> > > > > > > > 2) WithEntityManager is definitely discussable. Not the full
> > > > solution
> > > > > > and
> > > > > > > > not consistent. Could be solved with e.g. putting qualifiers
> > on a
> > > > > > method
> > > > > > > > returning an EntityManager (less intuitive) or something like
> > the
> > > > > > > > InvocationHandlerBinding.
> > > > > > > >
> > > > > > > > 3) AbstractEntityRepository is just a convenience class for
> > > > providing
> > > > > > > > concrete query implementations.
> > > > > > > >
> > > > > > > > On Tue, Mar 12, 2013 at 9:40 PM, Gerhard Petracek <
> > > > > > > > gerhard.petracek@gmail.com> wrote:
> > > > > > > >
> > > > > > > > > hi,
> > > > > > > > >
> > > > > > > > > currently we don't have one jira ticket per part/feature.
> > > > > > > > > that's what we used to have for everything we imported.
> > > > > > > > >
> > > > > > > > > the first parts to discuss are imo EntityManagerDao,
> > > > > > WithEntityManager
> > > > > > > > and
> > > > > > > > > AbstractEntityDao.
> > > > > > > > >
> > > > > > > > > regards,
> > > > > > > > > gerhard
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > 2013/3/12 Arne Limburg <ar...@openknowledge.de>
> > > > > > > > >
> > > > > > > > > > +1 for repository, from me too
> > > > > > > > > >
> > > > > > > > > > Gesendet mit meinem HTC
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > ----- Reply message -----
> > > > > > > > > > Von: "Thomas Andraschko" <an...@gmail.com>
> > > > > > > > > > An: "deltaspike-dev@incubator.apache.org" <
> > > > > > > > > > deltaspike-dev@incubator.apache.org>
> > > > > > > > > > Betreff: cdi-query, no news?
> > > > > > > > > > Datum: Di., Mär. 12, 2013 20:38
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > +1 repository! :) "Query" doesn't really match the
> > > functionaly.
> > > > > > > > > >
> > > > > > > > > > 2013/3/12 Romain Manni-Bucau <rm...@gmail.com>
> > > > > > > > > >
> > > > > > > > > > > +2 for repo
> > > > > > > > > > >
> > > > > > > > > > > btw did you fixed the scope issue?
> > > > > > > > > > >
> > > > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > > > *Twitter: @rmannibucau <
> https://twitter.com/rmannibucau
> > >*
> > > > > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > *Github: https://github.com/rmannibucau*
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
> > > > > > > > > > >
> > > > > > > > > > > > The name is still freely choosable - data sounds fine
> > to
> > > me
> > > > > if
> > > > > > > > nobody
> > > > > > > > > > > minds
> > > > > > > > > > > > the obvious mirroring on Spring Data ;) dao/@Dao is
> > > > > > discussable,
> > > > > > > > all
> > > > > > > > > > the
> > > > > > > > > > > > domain driven folks prefer probably something like
> > > > > > "Repository".
> > > > > > > > > > > >
> > > > > > > > > > > > On Tue, Mar 12, 2013 at 7:29 PM, Romain Manni-Bucau
> > > > > > > > > > > > <rm...@gmail.com>wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > Great :)
> > > > > > > > > > > > >
> > > > > > > > > > > > > any issue changing "query" to something closer to
> > what
> > > it
> > > > > > > really
> > > > > > > > > > does ;
> > > > > > > > > > > > > "dao" (because of @Dao) or "data"?
> > > > > > > > > > > > >
> > > > > > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > > > > > *Twitter: @rmannibucau <
> > > https://twitter.com/rmannibucau
> > > > >*
> > > > > > > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > *LinkedIn: **
> http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > *Github: https://gihub.com/rmannibucau* <
> > > > > > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > 2013/3/12 Thomas Hug <
> thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > >
> > > > > > > > > > > > > > FYI, I've started something like an import
> proposal
> > > in
> > > > a
> > > > > > > > > dedicated
> > > > > > > > > > > > branch
> > > > > > > > > > > > > > [1]. There's currently only the JBoss Arquillian
> > > > profile
> > > > > > > > running,
> > > > > > > > > > > > haven't
> > > > > > > > > > > > > > looked at the others. Any support there and of
> > course
> > > > > other
> > > > > > > > > input's
> > > > > > > > > > > > very
> > > > > > > > > > > > > > welcome :)
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > [1]
> > > > https://github.com/ctpconsulting/query/tree/dsimport
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Tue, Mar 5, 2013 at 7:45 AM, Romain
> Manni-Bucau
> > <
> > > > > > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > > > > > >wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Yes
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > It works fine but you bring too much spring
> > > > > dependencies
> > > > > > > > > (totally
> > > > > > > > > > > > > useless
> > > > > > > > > > > > > > > when used this way) which clearly show it is
> > > rather a
> > > > > > > bridge
> > > > > > > > > > than a
> > > > > > > > > > > > > > > solution + there were some leaks in previous
> > > version
> > > > > > (didnt
> > > > > > > > > check
> > > > > > > > > > > fix
> > > > > > > > > > > > > was
> > > > > > > > > > > > > > > released to be honest) because if this usage
> > which
> > > > was
> > > > > > not
> > > > > > > > the
> > > > > > > > > > > > default
> > > > > > > > > > > > > > one.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Since cdi query is here it worths importing it
> > IMO
> > > > > > > > > > > > > > > Le 5 mars 2013 02:21, "hantsy" <
> > > hantsy@yahoo.com.cn>
> > > > a
> > > > > > > > écrit :
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I remember the Spring Data has a CDI
> extension,
> > > > but I
> > > > > > > have
> > > > > > > > > not
> > > > > > > > > > > used
> > > > > > > > > > > > > it
> > > > > > > > > > > > > > > > in projects. Is there anyone used it in Java
> > EE 6
> > > > > > > projects?
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Hantsy
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On 3/3/2013 20:40, Romain Manni-Bucau wrote:
> > > > > > > > > > > > > > > > > Basically if the query logic could be scope
> > > > > agnostic
> > > > > > it
> > > > > > > > > would
> > > > > > > > > > > be
> > > > > > > > > > > > > > > perfect
> > > > > > > > > > > > > > > > > for me. Parameters were fine and matched
> the
> > > > coomon
> > > > > > > need.
> > > > > > > > > I m
> > > > > > > > > > > not
> > > > > > > > > > > > > > sure
> > > > > > > > > > > > > > > i
> > > > > > > > > > > > > > > > > get what is blocking. Can you detail it a
> bit
> > > > > please?
> > > > > > > > > > > > > > > > > Le 3 mars 2013 13:09, "Thomas Hug" <
> > > > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > écrit :
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >> Aha got you. Yes QueryHandler can be moved
> > to
> > > > > > > > application
> > > > > > > > > > > scope.
> > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > >> The other request scoped component ist the
> > > > > > > > > > > > > > CdiQueryInvocationContext.
> > > > > > > > > > > > > > > > Here
> > > > > > > > > > > > > > > > >> we store a bunch of data which is related
> to
> > > the
> > > > > > > current
> > > > > > > > > > query
> > > > > > > > > > > > > > > > (parameters,
> > > > > > > > > > > > > > > > >> query string etc). Originally this was
> > passed
> > > as
> > > > > > > > > parameter,
> > > > > > > > > > > but
> > > > > > > > > > > > > got
> > > > > > > > > > > > > > > > >> injectable for the extension mechanism
> [1].
> > > > > > Currently
> > > > > > > on
> > > > > > > > > > > > holidays
> > > > > > > > > > > > > > > (sorry
> > > > > > > > > > > > > > > > >> the response delays) so not much time to
> > look
> > > > into
> > > > > > it
> > > > > > > > but
> > > > > > > > > > > happy
> > > > > > > > > > > > to
> > > > > > > > > > > > > > > take
> > > > > > > > > > > > > > > > >> suggestions :)
> > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > >> [1]
> > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > > >> On Fri, Mar 1, 2013 at 8:18 PM, Romain
> > > > > Manni-Bucau <
> > > > > > > > > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > > > > > > > >>> wrote:
> > > > > > > > > > > > > > > > >>> Hmm,
> > > > > > > > > > > > > > > > >>>
> > > > > > > > > > > > > > > > >>> Wonder if the scope couldnt be
> application
> > > one.
> > > > > > > Request
> > > > > > > > > > > sounds
> > > > > > > > > > > > > too
> > > > > > > > > > > > > > > much
> > > > > > > > > > > > > > > > >> web
> > > > > > > > > > > > > > > > >>> to be usable/generic
> > > > > > > > > > > > > > > > >>> Le 1 mars 2013 19:02, "Thomas Hug" <
> > > > > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > >>> écrit :
> > > > > > > > > > > > > > > > >>>
> > > > > > > > > > > > > > > > >>>> Fine for me - planned to create a branch
> > > with
> > > > > all
> > > > > > > the
> > > > > > > > > > > > > experimental
> > > > > > > > > > > > > > > > APIs
> > > > > > > > > > > > > > > > >>>> cleared out as an import proposal.
> > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > >>>> RE scope, the InvocationHandlers are
> > > validated
> > > > > to
> > > > > > be
> > > > > > > > > > normal
> > > > > > > > > > > > > scoped
> > > > > > > > > > > > > > > > [1],
> > > > > > > > > > > > > > > > >>> so
> > > > > > > > > > > > > > > > >>>> that seemed to me the most appropriate
> > > choice
> > > > -
> > > > > > any
> > > > > > > > > other
> > > > > > > > > > > > > > > suggestions?
> > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > >>>> [1]
> > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > >>>> On Wed, Feb 27, 2013 at 1:15 PM, Romain
> > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > >>>> <rm...@gmail.com>wrote:
> > > > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > > > >>>>> Hi,
> > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > >>>>> some news of it?
> > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > >>>>> i think it is time to import at least a
> > > first
> > > > > > > > version,
> > > > > > > > > > > isn't
> > > > > > > > > > > > > it?
> > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > >>>>> Just a note on current code, i saw
> > > > QueryHandler
> > > > > > > (and
> > > > > > > > > some
> > > > > > > > > > > > other
> > > > > > > > > > > > > > > > >> beans)
> > > > > > > > > > > > > > > > >>>> has
> > > > > > > > > > > > > > > > >>>>> a request scope. Wonder if such a scope
> > > means
> > > > > > > > something
> > > > > > > > > > > for a
> > > > > > > > > > > > > > > generic
> > > > > > > > > > > > > > > > >>>> (not
> > > > > > > > > > > > > > > > >>>>> web) lib.
> > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > >>>>> wdyt?
> > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > >>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > >>>>> *Twitter: @rmannibucau <
> > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > >*
> > > > > > > > > > > > > > > > >>>>> *Blog: **
> > > http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > > >>>>> *LinkedIn: **
> > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > >>>>> *Github:
> https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > >>>>> 2013/2/20 Romain Manni-Bucau <
> > > > > > > rmannibucau@gmail.com>
> > > > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > > > >>>>>> guy you rocks!
> > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > >>>>>> effectively i missed it when i looked.
> > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > >>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > >>>>>> *Twitter: @rmannibucau <
> > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > >*
> > > > > > > > > > > > > > > > >>>>>> *Blog: **
> > > http://rmannibucau.wordpress.com/*
> > > > <
> > > > > > > > > > > > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > > >>>>>> *LinkedIn: **
> > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > >>>>>> *Github:
> > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > >>>>>> 2013/2/20 Thomas Hug <
> > > > > > > thomas.hug@ctp-consulting.com
> > > > > > > > >
> > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > > >>>>>>> Thnx Romain. If with proxy stuff you
> > > refer
> > > > to
> > > > > > the
> > > > > > > > DS
> > > > > > > > > > > > > > > > >>>>>>> InvocationHandlerBinding, that's
> > already
> > > > > > > integrated
> > > > > > > > > :)
> > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > >>>>>>> RE pagination, it's maybe not that
> > > obvious,
> > > > > but
> > > > > > > > > there's
> > > > > > > > > > > > more
> > > > > > > > > > > > > > > > >>> advanced
> > > > > > > > > > > > > > > > >>>>>>> support in QueryResult [1][2], which
> is
> > > > more
> > > > > > of a
> > > > > > > > > > fluent
> > > > > > > > > > > > API
> > > > > > > > > > > > > > > > >>> approach,
> > > > > > > > > > > > > > > > >>>>> but
> > > > > > > > > > > > > > > > >>>>>>> should behave similar to a
> PageRequest
> > > (the
> > > > > > query
> > > > > > > > > > > execution
> > > > > > > > > > > > > is
> > > > > > > > > > > > > > > > >>> delayed
> > > > > > > > > > > > > > > > >>>>>>> until the getResult() methods on
> > > > QueryResult
> > > > > is
> > > > > > > > > > called).
> > > > > > > > > > > > Hope
> > > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > > >>>> fits
> > > > > > > > > > > > > > > > >>>>> to
> > > > > > > > > > > > > > > > >>>>>>> what you had in mind.
> > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > >>>>>>> [1]
> > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > > > > > > > > > > > > > > > >>>>>>> [2]
> > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > > > > > > > > > > > > > > > >>>>>>> On Wed, Feb 20, 2013 at 10:04 PM,
> > Romain
> > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > >>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>> Hi Thomas,
> > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>> importing proxy stuff would be the
> > first
> > > > > great
> > > > > > > > > stuff.
> > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>> i'd like to see some pagination API
> > > (like
> > > > > > > > > PageRequest
> > > > > > > > > > > etc
> > > > > > > > > > > > in
> > > > > > > > > > > > > > > > >>> spring
> > > > > > > > > > > > > > > > >>>>>>> world)
> > > > > > > > > > > > > > > > >>>>>>>> which are more user friendly that
> > > > > @FirstResult
> > > > > > > and
> > > > > > > > > > > > > > @MaxResult).
> > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>> wdyt?
> > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > >>>>>>>> *Twitter: @rmannibucau <
> > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > >*
> > > > > > > > > > > > > > > > >>>>>>>> *Blog: **
> > > > http://rmannibucau.wordpress.com/*
> > > > > <
> > > > > > > > > > > > > > > > >>>>>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > > > >>>>>>>> *LinkedIn: **
> > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > >>>>>>>> *Github:
> > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>> 2013/2/20 Thomas Hug <
> > > > > > > > thomas.hug@ctp-consulting.com
> > > > > > > > > >
> > > > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>> CDI Query has now a completely
> > > > Solder-free
> > > > > > POM.
> > > > > > > > > Feel
> > > > > > > > > > > free
> > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > >>> drop
> > > > > > > > > > > > > > > > >>>>>>>> comments
> > > > > > > > > > > > > > > > >>>>>>>>> on the API - some parts might
> > actually
> > > be
> > > > > > fully
> > > > > > > > > > > excluded
> > > > > > > > > > > > > > (e.g.
> > > > > > > > > > > > > > > > >>>> home
> > > > > > > > > > > > > > > > >>>>>>> and
> > > > > > > > > > > > > > > > >>>>>>>>> critera APIs).
> > > > > > > > > > > > > > > > >>>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>> On Tue, Feb 12, 2013 at 10:00 PM,
> > Mark
> > > > > > > Struberg <
> > > > > > > > > > > > > > > > >>>> struberg@yahoo.de>
> > > > > > > > > > > > > > > > >>>>>>>> wrote:
> > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>>> Thanks Thomas, great news!
> > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>>> LieGrue,
> > > > > > > > > > > > > > > > >>>>>>>>>> strub
> > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>>>> ________________________________
> > > > > > > > > > > > > > > > >>>>>>>>>>> From: Thomas Hug <
> > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > > > >>>>>>>>>>> To: "
> > > > deltaspike-dev@incubator.apache.org
> > > > > "
> > > > > > <
> > > > > > > > > > > > > > > > >>>>>>>>>>
> deltaspike-dev@incubator.apache.org
> > >
> > > > > > > > > > > > > > > > >>>>>>>>>>> Sent: Tuesday, February 12, 2013
> > 4:10
> > > > PM
> > > > > > > > > > > > > > > > >>>>>>>>>>> Subject: Re: cdi-query, no news?
> > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>>>> FYI, I've started to
> "de-solderize"
> > > CDI
> > > > > > Query
> > > > > > > > and
> > > > > > > > > > > move
> > > > > > > > > > > > > > > > >> things
> > > > > > > > > > > > > > > > >>>> to
> > > > > > > > > > > > > > > > >>>>>>>> depend
> > > > > > > > > > > > > > > > >>>>>>>>> on
> > > > > > > > > > > > > > > > >>>>>>>>>>> DS Core [1]:
> > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > https://github.com/ctpconsulting/query/tree/deltaspike
> > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>>>> Todos:
> > > > > > > > > > > > > > > > >>>>>>>>>>> [x] Replace ServiceHandler
> > > > > > > > > > > > > > > > >>>>>>>>>>> [_] Include Property utils
> > > > > > > > > > > > > > > > >>>>>>>>>>> [_] Replace JBoss Logging
> > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>>>> Any feedback welcome.
> > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>>>> [1] including this modification
> > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > > > > > > > > > > > > > > >>>>>>>>>>> On Mon, Feb 11, 2013 at 6:01 PM,
> > > Romain
> > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > >>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>>>>> a review of the API i guess
> > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>>>>> what is missing today is
> probably
> > > the
> > > > > > > > pagination
> > > > > > > > > > > > helpers
> > > > > > > > > > > > > > > > >>>>>>>> (PageRequest
> > > > > > > > > > > > > > > > >>>>>>>>>> for
> > > > > > > > > > > > > > > > >>>>>>>>>>>> instance)
> > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>>>>> but technically all is fine IMO
> > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > > > >>>>>>>>>>>> *Twitter: @rmannibucau <
> > > > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > > > > >>> *
> > > > > > > > > > > > > > > > >>>>>>>>>>>> *Blog: **
> > > > > > http://rmannibucau.wordpress.com/*
> > > > > > > <
> > > > > > > > > > > > > > > > >>>>>>>>>>>>
> http://rmannibucau.wordpress.com/
> > >
> > > > > > > > > > > > > > > > >>>>>>>>>>>> *LinkedIn: **
> > > > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > > > >>>>>>>>>>>> *Github:
> > > > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>>>>> 2013/2/11 Jason Porter <
> > > > > > > > lightguard.jp@gmail.com
> > > > > > > > > >
> > > > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>>>>>> I know I'm playing the
> > necromancer,
> > > > but
> > > > > > > > please
> > > > > > > > > > > > forgive
> > > > > > > > > > > > > > > > >>> me.
> > > > > > > > > > > > > > > > >>>> We
> > > > > > > > > > > > > > > > >>>>>>> have
> > > > > > > > > > > > > > > > >>>>>>>>>>>>> InvocationHandler, which looks
> > like
> > > > it
> > > > > > > would
> > > > > > > > > work
> > > > > > > > > > > as
> > > > > > > > > > > > a
> > > > > > > > > > > > > > > > >>>>>>>>> ServiceHandler
> > > > > > > > > > > > > > > > >>>>>>>>>>>>> substitute. What else is needed
> > to
> > > > get
> > > > > > CDI
> > > > > > > > > Query
> > > > > > > > > > > into
> > > > > > > > > > > > > > > > >>>>>>> DeltaSpike?
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>>>>>> On Sun, Nov 18, 2012 at 12:35
> PM,
> > > > > Romain
> > > > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > > > >>>>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>> +1, it is a must have for cdi
> > > world
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>> Le 18 nov. 2012 20:04,
> > > > "john.d.ament"
> > > > > <
> > > > > > > > > > > > > > > > >>>>>>> john.d.ament@gmail.com>
> > > > > > > > > > > > > > > > >>>>>>>> a
> > > > > > > > > > > > > > > > >>>>>>>>>>>> écrit :
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> RE ServiceHandler - I was one
> > of
> > > > > those
> > > > > > > who
> > > > > > > > > > > > > > > > >> previously
> > > > > > > > > > > > > > > > >>>>>>>> suggested
> > > > > > > > > > > > > > > > >>>>>>>>>>>>> bringing
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> over to DeltaSpike, you can
> see
> > > > > > > > > DELTASPIKE-113
> > > > > > > > > > > and
> > > > > > > > > > > > > > > > >>> find
> > > > > > > > > > > > > > > > >>>>> the
> > > > > > > > > > > > > > > > >>>>>>>>> thread
> > > > > > > > > > > > > > > > >>>>>>>>>>>>> about
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> from April of this year.  At
> > the
> > > > > time,
> > > > > > I
> > > > > > > > was
> > > > > > > > > > in a
> > > > > > > > > > > > > > > > >>>>> position
> > > > > > > > > > > > > > > > >>>>>>>>> where I
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>> couldn't
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> spend much time on open
> source
> > > > > > > > contribution.
> > > > > > > > > > >  I've
> > > > > > > > > > > > > > > > >>>>> recently
> > > > > > > > > > > > > > > > >>>>>>>>>> changed
> > > > > > > > > > > > > > > > >>>>>>>>>>>>> jobs,
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> to
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> something that's going to
> help
> > me
> > > > > spend
> > > > > > > > some
> > > > > > > > > > more
> > > > > > > > > > > > > > > > >>> time
> > > > > > > > > > > > > > > > >>>>> with
> > > > > > > > > > > > > > > > >>>>>>>> the
> > > > > > > > > > > > > > > > >>>>>>>>>> open
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>> source
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> community, and believe I can
> > pick
> > > > it
> > > > > > back
> > > > > > > > up
> > > > > > > > > if
> > > > > > > > > > > > > > > > >> we're
> > > > > > > > > > > > > > > > >>>>>>> ready.
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> If everyone's ok with it I
> can
> > > > start
> > > > > a
> > > > > > > new
> > > > > > > > > > thread
> > > > > > > > > > > > > > > > >> for
> > > > > > > > > > > > > > > > >>>> 113
> > > > > > > > > > > > > > > > >>>>>>> or
> > > > > > > > > > > > > > > > >>>>>>>>>> revive
> > > > > > > > > > > > > > > > >>>>>>>>>>>> the
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>> old
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> thread (though it may come
> > > through
> > > > > > with a
> > > > > > > > > large
> > > > > > > > > > > > > > > > >> pile
> > > > > > > > > > > > > > > > >>> of
> > > > > > > > > > > > > > > > >>>>>>> dust).
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> Regards,
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> John
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> --
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> View this message in context:
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> Sent from the Apache
> DeltaSpike
> > > > > > Incubator
> > > > > > > > > > > > > > > > >> Discussions
> > > > > > > > > > > > > > > > >>>>>>> mailing
> > > > > > > > > > > > > > > > >>>>>>>>> list
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>> archive
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>>> at Nabble.com.
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>>>>>> --
> > > > > > > > > > > > > > > > >>>>>>>>>>>>> Jason Porter
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > http://en.gravatar.com/lightguardjp
> > > > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
ok great,

wonder if we couldn't start by a first version without such extensibility +
no scopes for queries?

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/3/14 Gerhard Petracek <ge...@gmail.com>

> hi romain,
>
> no - it's more about the style we introduced e.g. for type-safe messages.
>
> regards,
> gerhard
>
>
> 2013/3/14 Romain Manni-Bucau <rm...@gmail.com>
>
> > @Gerhard: hope you don't think of @RepoBinding at all...would be too much
> > IMO. Would be great to support aliases/stereotype maybe but not the
> default
> >
> > Wdyt?
> > Le 14 mars 2013 00:11, "Gerhard Petracek" <ge...@gmail.com> a
> > écrit :
> >
> > > hi thomas,
> > >
> > > imo it should follow the basic style/s we have in other parts already
> (if
> > > possible).
> > >
> > > i guess the simple implementations in the test-module are too simple to
> > see
> > > the real benefit.
> > > -> it would be nice if you add some drafts to a sub-page of [1].
> > > (the usage you would prefer and not as it is right now.)
> > >
> > > regards,
> > > gerhard
> > >
> > > [1] https://cwiki.apache.org/confluence/display/DeltaSpike/Drafts
> > >
> > >
> > >
> > > 2013/3/13 Romain Manni-Bucau <rm...@gmail.com>
> > >
> > > > i'd put it in to start since that's useful for JPA but it shouldn't
> use
> > > it
> > > > at all
> > > >
> > > > a question (for next iteration if that's ok for everybody) is should
> > > repos
> > > > handle transaction or at least define it.
> > > >
> > > > *Romain Manni-Bucau*
> > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > http://rmannibucau.wordpress.com/>
> > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > *Github: https://github.com/rmannibucau*
> > > >
> > > >
> > > >
> > > > 2013/3/13 John D. Ament <jo...@gmail.com>
> > > >
> > > > > Does this have any direct/indirect dependencies on JPA module?
> Should
> > > > this
> > > > > maybe become a part of the JPA module?
> > > > >
> > > > >
> > > > > On Wed, Mar 13, 2013 at 7:23 AM, Thomas Hug
> > > > > <th...@ctp-consulting.com>wrote:
> > > > >
> > > > > > Ok, I guess it's going to be Repository :) Updated the proposal
> > > branch
> > > > > and
> > > > > > also moved things into a data package/module.
> > > > > >
> > > > > > Some remarks for the parts below:
> > > > > >
> > > > > > 1) EntityManagerRepository wasn't present in the Solder
> > > implementation
> > > > -
> > > > > > there it was possible to simply implement/extend EntityManager.
> The
> > > > > problem
> > > > > > with the invocation handler is that it's not possible to restrict
> > the
> > > > > bean
> > > > > > type and exclude EntityManager (or I missed it). Otherwise I'd
> > rather
> > > > get
> > > > > > rid of this interface.
> > > > > >
> > > > > > 2) WithEntityManager is definitely discussable. Not the full
> > solution
> > > > and
> > > > > > not consistent. Could be solved with e.g. putting qualifiers on a
> > > > method
> > > > > > returning an EntityManager (less intuitive) or something like the
> > > > > > InvocationHandlerBinding.
> > > > > >
> > > > > > 3) AbstractEntityRepository is just a convenience class for
> > providing
> > > > > > concrete query implementations.
> > > > > >
> > > > > > On Tue, Mar 12, 2013 at 9:40 PM, Gerhard Petracek <
> > > > > > gerhard.petracek@gmail.com> wrote:
> > > > > >
> > > > > > > hi,
> > > > > > >
> > > > > > > currently we don't have one jira ticket per part/feature.
> > > > > > > that's what we used to have for everything we imported.
> > > > > > >
> > > > > > > the first parts to discuss are imo EntityManagerDao,
> > > > WithEntityManager
> > > > > > and
> > > > > > > AbstractEntityDao.
> > > > > > >
> > > > > > > regards,
> > > > > > > gerhard
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > 2013/3/12 Arne Limburg <ar...@openknowledge.de>
> > > > > > >
> > > > > > > > +1 for repository, from me too
> > > > > > > >
> > > > > > > > Gesendet mit meinem HTC
> > > > > > > >
> > > > > > > >
> > > > > > > > ----- Reply message -----
> > > > > > > > Von: "Thomas Andraschko" <an...@gmail.com>
> > > > > > > > An: "deltaspike-dev@incubator.apache.org" <
> > > > > > > > deltaspike-dev@incubator.apache.org>
> > > > > > > > Betreff: cdi-query, no news?
> > > > > > > > Datum: Di., Mär. 12, 2013 20:38
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > +1 repository! :) "Query" doesn't really match the
> functionaly.
> > > > > > > >
> > > > > > > > 2013/3/12 Romain Manni-Bucau <rm...@gmail.com>
> > > > > > > >
> > > > > > > > > +2 for repo
> > > > > > > > >
> > > > > > > > > btw did you fixed the scope issue?
> > > > > > > > >
> > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > *Github: https://github.com/rmannibucau*
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
> > > > > > > > >
> > > > > > > > > > The name is still freely choosable - data sounds fine to
> me
> > > if
> > > > > > nobody
> > > > > > > > > minds
> > > > > > > > > > the obvious mirroring on Spring Data ;) dao/@Dao is
> > > > discussable,
> > > > > > all
> > > > > > > > the
> > > > > > > > > > domain driven folks prefer probably something like
> > > > "Repository".
> > > > > > > > > >
> > > > > > > > > > On Tue, Mar 12, 2013 at 7:29 PM, Romain Manni-Bucau
> > > > > > > > > > <rm...@gmail.com>wrote:
> > > > > > > > > >
> > > > > > > > > > > Great :)
> > > > > > > > > > >
> > > > > > > > > > > any issue changing "query" to something closer to what
> it
> > > > > really
> > > > > > > > does ;
> > > > > > > > > > > "dao" (because of @Dao) or "data"?
> > > > > > > > > > >
> > > > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > > > *Twitter: @rmannibucau <
> https://twitter.com/rmannibucau
> > >*
> > > > > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > *Github: https://gihub.com/rmannibucau* <
> > > > > > > > > https://github.com/rmannibucau*
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
> > > > > > > > > > >
> > > > > > > > > > > > FYI, I've started something like an import proposal
> in
> > a
> > > > > > > dedicated
> > > > > > > > > > branch
> > > > > > > > > > > > [1]. There's currently only the JBoss Arquillian
> > profile
> > > > > > running,
> > > > > > > > > > haven't
> > > > > > > > > > > > looked at the others. Any support there and of course
> > > other
> > > > > > > input's
> > > > > > > > > > very
> > > > > > > > > > > > welcome :)
> > > > > > > > > > > >
> > > > > > > > > > > > [1]
> > https://github.com/ctpconsulting/query/tree/dsimport
> > > > > > > > > > > >
> > > > > > > > > > > > On Tue, Mar 5, 2013 at 7:45 AM, Romain Manni-Bucau <
> > > > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > > > >wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > Yes
> > > > > > > > > > > > >
> > > > > > > > > > > > > It works fine but you bring too much spring
> > > dependencies
> > > > > > > (totally
> > > > > > > > > > > useless
> > > > > > > > > > > > > when used this way) which clearly show it is
> rather a
> > > > > bridge
> > > > > > > > than a
> > > > > > > > > > > > > solution + there were some leaks in previous
> version
> > > > (didnt
> > > > > > > check
> > > > > > > > > fix
> > > > > > > > > > > was
> > > > > > > > > > > > > released to be honest) because if this usage which
> > was
> > > > not
> > > > > > the
> > > > > > > > > > default
> > > > > > > > > > > > one.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Since cdi query is here it worths importing it IMO
> > > > > > > > > > > > > Le 5 mars 2013 02:21, "hantsy" <
> hantsy@yahoo.com.cn>
> > a
> > > > > > écrit :
> > > > > > > > > > > > >
> > > > > > > > > > > > > > I remember the Spring Data has a CDI extension,
> > but I
> > > > > have
> > > > > > > not
> > > > > > > > > used
> > > > > > > > > > > it
> > > > > > > > > > > > > > in projects. Is there anyone used it in Java EE 6
> > > > > projects?
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Hantsy
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On 3/3/2013 20:40, Romain Manni-Bucau wrote:
> > > > > > > > > > > > > > > Basically if the query logic could be scope
> > > agnostic
> > > > it
> > > > > > > would
> > > > > > > > > be
> > > > > > > > > > > > > perfect
> > > > > > > > > > > > > > > for me. Parameters were fine and matched the
> > coomon
> > > > > need.
> > > > > > > I m
> > > > > > > > > not
> > > > > > > > > > > > sure
> > > > > > > > > > > > > i
> > > > > > > > > > > > > > > get what is blocking. Can you detail it a bit
> > > please?
> > > > > > > > > > > > > > > Le 3 mars 2013 13:09, "Thomas Hug" <
> > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > a
> > > > > > > > > > > > > > écrit :
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >> Aha got you. Yes QueryHandler can be moved to
> > > > > > application
> > > > > > > > > scope.
> > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > >> The other request scoped component ist the
> > > > > > > > > > > > CdiQueryInvocationContext.
> > > > > > > > > > > > > > Here
> > > > > > > > > > > > > > >> we store a bunch of data which is related to
> the
> > > > > current
> > > > > > > > query
> > > > > > > > > > > > > > (parameters,
> > > > > > > > > > > > > > >> query string etc). Originally this was passed
> as
> > > > > > > parameter,
> > > > > > > > > but
> > > > > > > > > > > got
> > > > > > > > > > > > > > >> injectable for the extension mechanism [1].
> > > > Currently
> > > > > on
> > > > > > > > > > holidays
> > > > > > > > > > > > > (sorry
> > > > > > > > > > > > > > >> the response delays) so not much time to look
> > into
> > > > it
> > > > > > but
> > > > > > > > > happy
> > > > > > > > > > to
> > > > > > > > > > > > > take
> > > > > > > > > > > > > > >> suggestions :)
> > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > >> [1]
> > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > >>
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > >> On Fri, Mar 1, 2013 at 8:18 PM, Romain
> > > Manni-Bucau <
> > > > > > > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > > > > > >>> wrote:
> > > > > > > > > > > > > > >>> Hmm,
> > > > > > > > > > > > > > >>>
> > > > > > > > > > > > > > >>> Wonder if the scope couldnt be application
> one.
> > > > > Request
> > > > > > > > > sounds
> > > > > > > > > > > too
> > > > > > > > > > > > > much
> > > > > > > > > > > > > > >> web
> > > > > > > > > > > > > > >>> to be usable/generic
> > > > > > > > > > > > > > >>> Le 1 mars 2013 19:02, "Thomas Hug" <
> > > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > a
> > > > > > > > > > > > > > >>> écrit :
> > > > > > > > > > > > > > >>>
> > > > > > > > > > > > > > >>>> Fine for me - planned to create a branch
> with
> > > all
> > > > > the
> > > > > > > > > > > experimental
> > > > > > > > > > > > > > APIs
> > > > > > > > > > > > > > >>>> cleared out as an import proposal.
> > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > >>>> RE scope, the InvocationHandlers are
> validated
> > > to
> > > > be
> > > > > > > > normal
> > > > > > > > > > > scoped
> > > > > > > > > > > > > > [1],
> > > > > > > > > > > > > > >>> so
> > > > > > > > > > > > > > >>>> that seemed to me the most appropriate
> choice
> > -
> > > > any
> > > > > > > other
> > > > > > > > > > > > > suggestions?
> > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > >>>> [1]
> > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > >>
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > >>>> On Wed, Feb 27, 2013 at 1:15 PM, Romain
> > > > Manni-Bucau
> > > > > > > > > > > > > > >>>> <rm...@gmail.com>wrote:
> > > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > > >>>>> Hi,
> > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > >>>>> some news of it?
> > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > >>>>> i think it is time to import at least a
> first
> > > > > > version,
> > > > > > > > > isn't
> > > > > > > > > > > it?
> > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > >>>>> Just a note on current code, i saw
> > QueryHandler
> > > > > (and
> > > > > > > some
> > > > > > > > > > other
> > > > > > > > > > > > > > >> beans)
> > > > > > > > > > > > > > >>>> has
> > > > > > > > > > > > > > >>>>> a request scope. Wonder if such a scope
> means
> > > > > > something
> > > > > > > > > for a
> > > > > > > > > > > > > generic
> > > > > > > > > > > > > > >>>> (not
> > > > > > > > > > > > > > >>>>> web) lib.
> > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > >>>>> wdyt?
> > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > >>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > >>>>> *Twitter: @rmannibucau <
> > > > > > > https://twitter.com/rmannibucau
> > > > > > > > >*
> > > > > > > > > > > > > > >>>>> *Blog: **
> http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > >>>>> *LinkedIn: **
> > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > >>>>> *Github: https://github.com/rmannibucau*
> > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > >>>>> 2013/2/20 Romain Manni-Bucau <
> > > > > rmannibucau@gmail.com>
> > > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > > >>>>>> guy you rocks!
> > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > >>>>>> effectively i missed it when i looked.
> > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > >>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > >>>>>> *Twitter: @rmannibucau <
> > > > > > > https://twitter.com/rmannibucau
> > > > > > > > >*
> > > > > > > > > > > > > > >>>>>> *Blog: **
> http://rmannibucau.wordpress.com/*
> > <
> > > > > > > > > > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > >>>>>> *LinkedIn: **
> > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > >>>>>> *Github: https://github.com/rmannibucau*
> > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > >>>>>> 2013/2/20 Thomas Hug <
> > > > > thomas.hug@ctp-consulting.com
> > > > > > >
> > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > > >>>>>>> Thnx Romain. If with proxy stuff you
> refer
> > to
> > > > the
> > > > > > DS
> > > > > > > > > > > > > > >>>>>>> InvocationHandlerBinding, that's already
> > > > > integrated
> > > > > > > :)
> > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > >>>>>>> RE pagination, it's maybe not that
> obvious,
> > > but
> > > > > > > there's
> > > > > > > > > > more
> > > > > > > > > > > > > > >>> advanced
> > > > > > > > > > > > > > >>>>>>> support in QueryResult [1][2], which is
> > more
> > > > of a
> > > > > > > > fluent
> > > > > > > > > > API
> > > > > > > > > > > > > > >>> approach,
> > > > > > > > > > > > > > >>>>> but
> > > > > > > > > > > > > > >>>>>>> should behave similar to a PageRequest
> (the
> > > > query
> > > > > > > > > execution
> > > > > > > > > > > is
> > > > > > > > > > > > > > >>> delayed
> > > > > > > > > > > > > > >>>>>>> until the getResult() methods on
> > QueryResult
> > > is
> > > > > > > > called).
> > > > > > > > > > Hope
> > > > > > > > > > > > > that
> > > > > > > > > > > > > > >>>> fits
> > > > > > > > > > > > > > >>>>> to
> > > > > > > > > > > > > > >>>>>>> what you had in mind.
> > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > >>>>>>> [1]
> > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > >>
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > > > > > > > > > > > > > >>>>>>> [2]
> > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > >>
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > > > > > > > > > > > > > >>>>>>> On Wed, Feb 20, 2013 at 10:04 PM, Romain
> > > > > > Manni-Bucau
> > > > > > > > > > > > > > >>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > > >>>>>>>> Hi Thomas,
> > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > >>>>>>>> importing proxy stuff would be the first
> > > great
> > > > > > > stuff.
> > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > >>>>>>>> i'd like to see some pagination API
> (like
> > > > > > > PageRequest
> > > > > > > > > etc
> > > > > > > > > > in
> > > > > > > > > > > > > > >>> spring
> > > > > > > > > > > > > > >>>>>>> world)
> > > > > > > > > > > > > > >>>>>>>> which are more user friendly that
> > > @FirstResult
> > > > > and
> > > > > > > > > > > > @MaxResult).
> > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > >>>>>>>> wdyt?
> > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > >>>>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > >>>>>>>> *Twitter: @rmannibucau <
> > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > >*
> > > > > > > > > > > > > > >>>>>>>> *Blog: **
> > http://rmannibucau.wordpress.com/*
> > > <
> > > > > > > > > > > > > > >>>>>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > >>>>>>>> *LinkedIn: **
> > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > >>>>>>>> *Github:
> https://github.com/rmannibucau*
> > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > >>>>>>>> 2013/2/20 Thomas Hug <
> > > > > > thomas.hug@ctp-consulting.com
> > > > > > > >
> > > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>> CDI Query has now a completely
> > Solder-free
> > > > POM.
> > > > > > > Feel
> > > > > > > > > free
> > > > > > > > > > > to
> > > > > > > > > > > > > > >>> drop
> > > > > > > > > > > > > > >>>>>>>> comments
> > > > > > > > > > > > > > >>>>>>>>> on the API - some parts might actually
> be
> > > > fully
> > > > > > > > > excluded
> > > > > > > > > > > > (e.g.
> > > > > > > > > > > > > > >>>> home
> > > > > > > > > > > > > > >>>>>>> and
> > > > > > > > > > > > > > >>>>>>>>> critera APIs).
> > > > > > > > > > > > > > >>>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>> On Tue, Feb 12, 2013 at 10:00 PM, Mark
> > > > > Struberg <
> > > > > > > > > > > > > > >>>> struberg@yahoo.de>
> > > > > > > > > > > > > > >>>>>>>> wrote:
> > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>>> Thanks Thomas, great news!
> > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>>> LieGrue,
> > > > > > > > > > > > > > >>>>>>>>>> strub
> > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>>>> ________________________________
> > > > > > > > > > > > > > >>>>>>>>>>> From: Thomas Hug <
> > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > > >>>>>>>>>>> To: "
> > deltaspike-dev@incubator.apache.org
> > > "
> > > > <
> > > > > > > > > > > > > > >>>>>>>>>> deltaspike-dev@incubator.apache.org>
> > > > > > > > > > > > > > >>>>>>>>>>> Sent: Tuesday, February 12, 2013 4:10
> > PM
> > > > > > > > > > > > > > >>>>>>>>>>> Subject: Re: cdi-query, no news?
> > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>>>> FYI, I've started to "de-solderize"
> CDI
> > > > Query
> > > > > > and
> > > > > > > > > move
> > > > > > > > > > > > > > >> things
> > > > > > > > > > > > > > >>>> to
> > > > > > > > > > > > > > >>>>>>>> depend
> > > > > > > > > > > > > > >>>>>>>>> on
> > > > > > > > > > > > > > >>>>>>>>>>> DS Core [1]:
> > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > https://github.com/ctpconsulting/query/tree/deltaspike
> > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>>>> Todos:
> > > > > > > > > > > > > > >>>>>>>>>>> [x] Replace ServiceHandler
> > > > > > > > > > > > > > >>>>>>>>>>> [_] Include Property utils
> > > > > > > > > > > > > > >>>>>>>>>>> [_] Replace JBoss Logging
> > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>>>> Any feedback welcome.
> > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>>>> [1] including this modification
> > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > >>
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > > > > > > > > > > > > >>>>>>>>>>> On Mon, Feb 11, 2013 at 6:01 PM,
> Romain
> > > > > > > Manni-Bucau
> > > > > > > > > > > > > > >>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>>>>> a review of the API i guess
> > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>>>>> what is missing today is probably
> the
> > > > > > pagination
> > > > > > > > > > helpers
> > > > > > > > > > > > > > >>>>>>>> (PageRequest
> > > > > > > > > > > > > > >>>>>>>>>> for
> > > > > > > > > > > > > > >>>>>>>>>>>> instance)
> > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>>>>> but technically all is fine IMO
> > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > > >>>>>>>>>>>> *Twitter: @rmannibucau <
> > > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > > >>> *
> > > > > > > > > > > > > > >>>>>>>>>>>> *Blog: **
> > > > http://rmannibucau.wordpress.com/*
> > > > > <
> > > > > > > > > > > > > > >>>>>>>>>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > > >>>>>>>>>>>> *LinkedIn: **
> > > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > > >>>>>>>>>>>> *Github:
> > > https://github.com/rmannibucau*
> > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>>>>> 2013/2/11 Jason Porter <
> > > > > > lightguard.jp@gmail.com
> > > > > > > >
> > > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>>>>>> I know I'm playing the necromancer,
> > but
> > > > > > please
> > > > > > > > > > forgive
> > > > > > > > > > > > > > >>> me.
> > > > > > > > > > > > > > >>>> We
> > > > > > > > > > > > > > >>>>>>> have
> > > > > > > > > > > > > > >>>>>>>>>>>>> InvocationHandler, which looks like
> > it
> > > > > would
> > > > > > > work
> > > > > > > > > as
> > > > > > > > > > a
> > > > > > > > > > > > > > >>>>>>>>> ServiceHandler
> > > > > > > > > > > > > > >>>>>>>>>>>>> substitute. What else is needed to
> > get
> > > > CDI
> > > > > > > Query
> > > > > > > > > into
> > > > > > > > > > > > > > >>>>>>> DeltaSpike?
> > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>>>>>> On Sun, Nov 18, 2012 at 12:35 PM,
> > > Romain
> > > > > > > > > Manni-Bucau
> > > > > > > > > > > > > > >>>>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>>>>>>> +1, it is a must have for cdi
> world
> > > > > > > > > > > > > > >>>>>>>>>>>>>> Le 18 nov. 2012 20:04,
> > "john.d.ament"
> > > <
> > > > > > > > > > > > > > >>>>>>> john.d.ament@gmail.com>
> > > > > > > > > > > > > > >>>>>>>> a
> > > > > > > > > > > > > > >>>>>>>>>>>> écrit :
> > > > > > > > > > > > > > >>>>>>>>>>>>>>> RE ServiceHandler - I was one of
> > > those
> > > > > who
> > > > > > > > > > > > > > >> previously
> > > > > > > > > > > > > > >>>>>>>> suggested
> > > > > > > > > > > > > > >>>>>>>>>>>>> bringing
> > > > > > > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > > > > > > >>>>>>>>>>>>>>> over to DeltaSpike, you can see
> > > > > > > DELTASPIKE-113
> > > > > > > > > and
> > > > > > > > > > > > > > >>> find
> > > > > > > > > > > > > > >>>>> the
> > > > > > > > > > > > > > >>>>>>>>> thread
> > > > > > > > > > > > > > >>>>>>>>>>>>> about
> > > > > > > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > > > > > > >>>>>>>>>>>>>>> from April of this year.  At the
> > > time,
> > > > I
> > > > > > was
> > > > > > > > in a
> > > > > > > > > > > > > > >>>>> position
> > > > > > > > > > > > > > >>>>>>>>> where I
> > > > > > > > > > > > > > >>>>>>>>>>>>>> couldn't
> > > > > > > > > > > > > > >>>>>>>>>>>>>>> spend much time on open source
> > > > > > contribution.
> > > > > > > > >  I've
> > > > > > > > > > > > > > >>>>> recently
> > > > > > > > > > > > > > >>>>>>>>>> changed
> > > > > > > > > > > > > > >>>>>>>>>>>>> jobs,
> > > > > > > > > > > > > > >>>>>>>>>>>>>>> to
> > > > > > > > > > > > > > >>>>>>>>>>>>>>> something that's going to help me
> > > spend
> > > > > > some
> > > > > > > > more
> > > > > > > > > > > > > > >>> time
> > > > > > > > > > > > > > >>>>> with
> > > > > > > > > > > > > > >>>>>>>> the
> > > > > > > > > > > > > > >>>>>>>>>> open
> > > > > > > > > > > > > > >>>>>>>>>>>>>> source
> > > > > > > > > > > > > > >>>>>>>>>>>>>>> community, and believe I can pick
> > it
> > > > back
> > > > > > up
> > > > > > > if
> > > > > > > > > > > > > > >> we're
> > > > > > > > > > > > > > >>>>>>> ready.
> > > > > > > > > > > > > > >>>>>>>>>>>>>>> If everyone's ok with it I can
> > start
> > > a
> > > > > new
> > > > > > > > thread
> > > > > > > > > > > > > > >> for
> > > > > > > > > > > > > > >>>> 113
> > > > > > > > > > > > > > >>>>>>> or
> > > > > > > > > > > > > > >>>>>>>>>> revive
> > > > > > > > > > > > > > >>>>>>>>>>>> the
> > > > > > > > > > > > > > >>>>>>>>>>>>>> old
> > > > > > > > > > > > > > >>>>>>>>>>>>>>> thread (though it may come
> through
> > > > with a
> > > > > > > large
> > > > > > > > > > > > > > >> pile
> > > > > > > > > > > > > > >>> of
> > > > > > > > > > > > > > >>>>>>> dust).
> > > > > > > > > > > > > > >>>>>>>>>>>>>>> Regards,
> > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>>>>>>>> John
> > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>>>>>>>> --
> > > > > > > > > > > > > > >>>>>>>>>>>>>>> View this message in context:
> > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > >>
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > > > > > > > > > > > >>>>>>>>>>>>>>> Sent from the Apache DeltaSpike
> > > > Incubator
> > > > > > > > > > > > > > >> Discussions
> > > > > > > > > > > > > > >>>>>>> mailing
> > > > > > > > > > > > > > >>>>>>>>> list
> > > > > > > > > > > > > > >>>>>>>>>>>>>> archive
> > > > > > > > > > > > > > >>>>>>>>>>>>>>> at Nabble.com.
> > > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>>>>>> --
> > > > > > > > > > > > > > >>>>>>>>>>>>> Jason Porter
> > > > > > > > > > > > > > >>>>>>>>>>>>>
> http://en.gravatar.com/lightguardjp
> > > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Gerhard Petracek <ge...@gmail.com>.
hi romain,

no - it's more about the style we introduced e.g. for type-safe messages.

regards,
gerhard


2013/3/14 Romain Manni-Bucau <rm...@gmail.com>

> @Gerhard: hope you don't think of @RepoBinding at all...would be too much
> IMO. Would be great to support aliases/stereotype maybe but not the default
>
> Wdyt?
> Le 14 mars 2013 00:11, "Gerhard Petracek" <ge...@gmail.com> a
> écrit :
>
> > hi thomas,
> >
> > imo it should follow the basic style/s we have in other parts already (if
> > possible).
> >
> > i guess the simple implementations in the test-module are too simple to
> see
> > the real benefit.
> > -> it would be nice if you add some drafts to a sub-page of [1].
> > (the usage you would prefer and not as it is right now.)
> >
> > regards,
> > gerhard
> >
> > [1] https://cwiki.apache.org/confluence/display/DeltaSpike/Drafts
> >
> >
> >
> > 2013/3/13 Romain Manni-Bucau <rm...@gmail.com>
> >
> > > i'd put it in to start since that's useful for JPA but it shouldn't use
> > it
> > > at all
> > >
> > > a question (for next iteration if that's ok for everybody) is should
> > repos
> > > handle transaction or at least define it.
> > >
> > > *Romain Manni-Bucau*
> > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > http://rmannibucau.wordpress.com/>
> > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > *Github: https://github.com/rmannibucau*
> > >
> > >
> > >
> > > 2013/3/13 John D. Ament <jo...@gmail.com>
> > >
> > > > Does this have any direct/indirect dependencies on JPA module? Should
> > > this
> > > > maybe become a part of the JPA module?
> > > >
> > > >
> > > > On Wed, Mar 13, 2013 at 7:23 AM, Thomas Hug
> > > > <th...@ctp-consulting.com>wrote:
> > > >
> > > > > Ok, I guess it's going to be Repository :) Updated the proposal
> > branch
> > > > and
> > > > > also moved things into a data package/module.
> > > > >
> > > > > Some remarks for the parts below:
> > > > >
> > > > > 1) EntityManagerRepository wasn't present in the Solder
> > implementation
> > > -
> > > > > there it was possible to simply implement/extend EntityManager. The
> > > > problem
> > > > > with the invocation handler is that it's not possible to restrict
> the
> > > > bean
> > > > > type and exclude EntityManager (or I missed it). Otherwise I'd
> rather
> > > get
> > > > > rid of this interface.
> > > > >
> > > > > 2) WithEntityManager is definitely discussable. Not the full
> solution
> > > and
> > > > > not consistent. Could be solved with e.g. putting qualifiers on a
> > > method
> > > > > returning an EntityManager (less intuitive) or something like the
> > > > > InvocationHandlerBinding.
> > > > >
> > > > > 3) AbstractEntityRepository is just a convenience class for
> providing
> > > > > concrete query implementations.
> > > > >
> > > > > On Tue, Mar 12, 2013 at 9:40 PM, Gerhard Petracek <
> > > > > gerhard.petracek@gmail.com> wrote:
> > > > >
> > > > > > hi,
> > > > > >
> > > > > > currently we don't have one jira ticket per part/feature.
> > > > > > that's what we used to have for everything we imported.
> > > > > >
> > > > > > the first parts to discuss are imo EntityManagerDao,
> > > WithEntityManager
> > > > > and
> > > > > > AbstractEntityDao.
> > > > > >
> > > > > > regards,
> > > > > > gerhard
> > > > > >
> > > > > >
> > > > > >
> > > > > > 2013/3/12 Arne Limburg <ar...@openknowledge.de>
> > > > > >
> > > > > > > +1 for repository, from me too
> > > > > > >
> > > > > > > Gesendet mit meinem HTC
> > > > > > >
> > > > > > >
> > > > > > > ----- Reply message -----
> > > > > > > Von: "Thomas Andraschko" <an...@gmail.com>
> > > > > > > An: "deltaspike-dev@incubator.apache.org" <
> > > > > > > deltaspike-dev@incubator.apache.org>
> > > > > > > Betreff: cdi-query, no news?
> > > > > > > Datum: Di., Mär. 12, 2013 20:38
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > +1 repository! :) "Query" doesn't really match the functionaly.
> > > > > > >
> > > > > > > 2013/3/12 Romain Manni-Bucau <rm...@gmail.com>
> > > > > > >
> > > > > > > > +2 for repo
> > > > > > > >
> > > > > > > > btw did you fixed the scope issue?
> > > > > > > >
> > > > > > > > *Romain Manni-Bucau*
> > > > > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > *Github: https://github.com/rmannibucau*
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
> > > > > > > >
> > > > > > > > > The name is still freely choosable - data sounds fine to me
> > if
> > > > > nobody
> > > > > > > > minds
> > > > > > > > > the obvious mirroring on Spring Data ;) dao/@Dao is
> > > discussable,
> > > > > all
> > > > > > > the
> > > > > > > > > domain driven folks prefer probably something like
> > > "Repository".
> > > > > > > > >
> > > > > > > > > On Tue, Mar 12, 2013 at 7:29 PM, Romain Manni-Bucau
> > > > > > > > > <rm...@gmail.com>wrote:
> > > > > > > > >
> > > > > > > > > > Great :)
> > > > > > > > > >
> > > > > > > > > > any issue changing "query" to something closer to what it
> > > > really
> > > > > > > does ;
> > > > > > > > > > "dao" (because of @Dao) or "data"?
> > > > > > > > > >
> > > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau
> >*
> > > > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > *Github: https://gihub.com/rmannibucau* <
> > > > > > > > https://github.com/rmannibucau*
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
> > > > > > > > > >
> > > > > > > > > > > FYI, I've started something like an import proposal in
> a
> > > > > > dedicated
> > > > > > > > > branch
> > > > > > > > > > > [1]. There's currently only the JBoss Arquillian
> profile
> > > > > running,
> > > > > > > > > haven't
> > > > > > > > > > > looked at the others. Any support there and of course
> > other
> > > > > > input's
> > > > > > > > > very
> > > > > > > > > > > welcome :)
> > > > > > > > > > >
> > > > > > > > > > > [1]
> https://github.com/ctpconsulting/query/tree/dsimport
> > > > > > > > > > >
> > > > > > > > > > > On Tue, Mar 5, 2013 at 7:45 AM, Romain Manni-Bucau <
> > > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > > >wrote:
> > > > > > > > > > >
> > > > > > > > > > > > Yes
> > > > > > > > > > > >
> > > > > > > > > > > > It works fine but you bring too much spring
> > dependencies
> > > > > > (totally
> > > > > > > > > > useless
> > > > > > > > > > > > when used this way) which clearly show it is rather a
> > > > bridge
> > > > > > > than a
> > > > > > > > > > > > solution + there were some leaks in previous version
> > > (didnt
> > > > > > check
> > > > > > > > fix
> > > > > > > > > > was
> > > > > > > > > > > > released to be honest) because if this usage which
> was
> > > not
> > > > > the
> > > > > > > > > default
> > > > > > > > > > > one.
> > > > > > > > > > > >
> > > > > > > > > > > > Since cdi query is here it worths importing it IMO
> > > > > > > > > > > > Le 5 mars 2013 02:21, "hantsy" <ha...@yahoo.com.cn>
> a
> > > > > écrit :
> > > > > > > > > > > >
> > > > > > > > > > > > > I remember the Spring Data has a CDI extension,
> but I
> > > > have
> > > > > > not
> > > > > > > > used
> > > > > > > > > > it
> > > > > > > > > > > > > in projects. Is there anyone used it in Java EE 6
> > > > projects?
> > > > > > > > > > > > >
> > > > > > > > > > > > > Hantsy
> > > > > > > > > > > > >
> > > > > > > > > > > > > On 3/3/2013 20:40, Romain Manni-Bucau wrote:
> > > > > > > > > > > > > > Basically if the query logic could be scope
> > agnostic
> > > it
> > > > > > would
> > > > > > > > be
> > > > > > > > > > > > perfect
> > > > > > > > > > > > > > for me. Parameters were fine and matched the
> coomon
> > > > need.
> > > > > > I m
> > > > > > > > not
> > > > > > > > > > > sure
> > > > > > > > > > > > i
> > > > > > > > > > > > > > get what is blocking. Can you detail it a bit
> > please?
> > > > > > > > > > > > > > Le 3 mars 2013 13:09, "Thomas Hug" <
> > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > a
> > > > > > > > > > > > > écrit :
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >> Aha got you. Yes QueryHandler can be moved to
> > > > > application
> > > > > > > > scope.
> > > > > > > > > > > > > >>
> > > > > > > > > > > > > >> The other request scoped component ist the
> > > > > > > > > > > CdiQueryInvocationContext.
> > > > > > > > > > > > > Here
> > > > > > > > > > > > > >> we store a bunch of data which is related to the
> > > > current
> > > > > > > query
> > > > > > > > > > > > > (parameters,
> > > > > > > > > > > > > >> query string etc). Originally this was passed as
> > > > > > parameter,
> > > > > > > > but
> > > > > > > > > > got
> > > > > > > > > > > > > >> injectable for the extension mechanism [1].
> > > Currently
> > > > on
> > > > > > > > > holidays
> > > > > > > > > > > > (sorry
> > > > > > > > > > > > > >> the response delays) so not much time to look
> into
> > > it
> > > > > but
> > > > > > > > happy
> > > > > > > > > to
> > > > > > > > > > > > take
> > > > > > > > > > > > > >> suggestions :)
> > > > > > > > > > > > > >>
> > > > > > > > > > > > > >> [1]
> > > > > > > > > > > > > >>
> > > > > > > > > > > > > >>
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> > > > > > > > > > > > > >>
> > > > > > > > > > > > > >> On Fri, Mar 1, 2013 at 8:18 PM, Romain
> > Manni-Bucau <
> > > > > > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > > > > >>> wrote:
> > > > > > > > > > > > > >>> Hmm,
> > > > > > > > > > > > > >>>
> > > > > > > > > > > > > >>> Wonder if the scope couldnt be application one.
> > > > Request
> > > > > > > > sounds
> > > > > > > > > > too
> > > > > > > > > > > > much
> > > > > > > > > > > > > >> web
> > > > > > > > > > > > > >>> to be usable/generic
> > > > > > > > > > > > > >>> Le 1 mars 2013 19:02, "Thomas Hug" <
> > > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > a
> > > > > > > > > > > > > >>> écrit :
> > > > > > > > > > > > > >>>
> > > > > > > > > > > > > >>>> Fine for me - planned to create a branch with
> > all
> > > > the
> > > > > > > > > > experimental
> > > > > > > > > > > > > APIs
> > > > > > > > > > > > > >>>> cleared out as an import proposal.
> > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > >>>> RE scope, the InvocationHandlers are validated
> > to
> > > be
> > > > > > > normal
> > > > > > > > > > scoped
> > > > > > > > > > > > > [1],
> > > > > > > > > > > > > >>> so
> > > > > > > > > > > > > >>>> that seemed to me the most appropriate choice
> -
> > > any
> > > > > > other
> > > > > > > > > > > > suggestions?
> > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > >>>> [1]
> > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > >>
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > >>>> On Wed, Feb 27, 2013 at 1:15 PM, Romain
> > > Manni-Bucau
> > > > > > > > > > > > > >>>> <rm...@gmail.com>wrote:
> > > > > > > > > > > > > >>>>
> > > > > > > > > > > > > >>>>> Hi,
> > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > >>>>> some news of it?
> > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > >>>>> i think it is time to import at least a first
> > > > > version,
> > > > > > > > isn't
> > > > > > > > > > it?
> > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > >>>>> Just a note on current code, i saw
> QueryHandler
> > > > (and
> > > > > > some
> > > > > > > > > other
> > > > > > > > > > > > > >> beans)
> > > > > > > > > > > > > >>>> has
> > > > > > > > > > > > > >>>>> a request scope. Wonder if such a scope means
> > > > > something
> > > > > > > > for a
> > > > > > > > > > > > generic
> > > > > > > > > > > > > >>>> (not
> > > > > > > > > > > > > >>>>> web) lib.
> > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > >>>>> wdyt?
> > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > >>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > >>>>> *Twitter: @rmannibucau <
> > > > > > https://twitter.com/rmannibucau
> > > > > > > >*
> > > > > > > > > > > > > >>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > >>>>> *LinkedIn: **
> > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > >>>>> *Github: https://github.com/rmannibucau*
> > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > >>>>> 2013/2/20 Romain Manni-Bucau <
> > > > rmannibucau@gmail.com>
> > > > > > > > > > > > > >>>>>
> > > > > > > > > > > > > >>>>>> guy you rocks!
> > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > >>>>>> effectively i missed it when i looked.
> > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > >>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > >>>>>> *Twitter: @rmannibucau <
> > > > > > https://twitter.com/rmannibucau
> > > > > > > >*
> > > > > > > > > > > > > >>>>>> *Blog: **http://rmannibucau.wordpress.com/*
> <
> > > > > > > > > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > >>>>>> *LinkedIn: **
> > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > >>>>>> *Github: https://github.com/rmannibucau*
> > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > >>>>>> 2013/2/20 Thomas Hug <
> > > > thomas.hug@ctp-consulting.com
> > > > > >
> > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > > >>>>>>> Thnx Romain. If with proxy stuff you refer
> to
> > > the
> > > > > DS
> > > > > > > > > > > > > >>>>>>> InvocationHandlerBinding, that's already
> > > > integrated
> > > > > > :)
> > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > >>>>>>> RE pagination, it's maybe not that obvious,
> > but
> > > > > > there's
> > > > > > > > > more
> > > > > > > > > > > > > >>> advanced
> > > > > > > > > > > > > >>>>>>> support in QueryResult [1][2], which is
> more
> > > of a
> > > > > > > fluent
> > > > > > > > > API
> > > > > > > > > > > > > >>> approach,
> > > > > > > > > > > > > >>>>> but
> > > > > > > > > > > > > >>>>>>> should behave similar to a PageRequest (the
> > > query
> > > > > > > > execution
> > > > > > > > > > is
> > > > > > > > > > > > > >>> delayed
> > > > > > > > > > > > > >>>>>>> until the getResult() methods on
> QueryResult
> > is
> > > > > > > called).
> > > > > > > > > Hope
> > > > > > > > > > > > that
> > > > > > > > > > > > > >>>> fits
> > > > > > > > > > > > > >>>>> to
> > > > > > > > > > > > > >>>>>>> what you had in mind.
> > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > >>>>>>> [1]
> > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > >>
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > > > > > > > > > > > > >>>>>>> [2]
> > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > >>
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > > > > > > > > > > > > >>>>>>> On Wed, Feb 20, 2013 at 10:04 PM, Romain
> > > > > Manni-Bucau
> > > > > > > > > > > > > >>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > > >>>>>>>> Hi Thomas,
> > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > >>>>>>>> importing proxy stuff would be the first
> > great
> > > > > > stuff.
> > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > >>>>>>>> i'd like to see some pagination API (like
> > > > > > PageRequest
> > > > > > > > etc
> > > > > > > > > in
> > > > > > > > > > > > > >>> spring
> > > > > > > > > > > > > >>>>>>> world)
> > > > > > > > > > > > > >>>>>>>> which are more user friendly that
> > @FirstResult
> > > > and
> > > > > > > > > > > @MaxResult).
> > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > >>>>>>>> wdyt?
> > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > >>>>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > >>>>>>>> *Twitter: @rmannibucau <
> > > > > > > https://twitter.com/rmannibucau
> > > > > > > > >*
> > > > > > > > > > > > > >>>>>>>> *Blog: **
> http://rmannibucau.wordpress.com/*
> > <
> > > > > > > > > > > > > >>>>>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > >>>>>>>> *LinkedIn: **
> > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > >>>>>>>> *Github: https://github.com/rmannibucau*
> > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > >>>>>>>> 2013/2/20 Thomas Hug <
> > > > > thomas.hug@ctp-consulting.com
> > > > > > >
> > > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > > >>>>>>>>> CDI Query has now a completely
> Solder-free
> > > POM.
> > > > > > Feel
> > > > > > > > free
> > > > > > > > > > to
> > > > > > > > > > > > > >>> drop
> > > > > > > > > > > > > >>>>>>>> comments
> > > > > > > > > > > > > >>>>>>>>> on the API - some parts might actually be
> > > fully
> > > > > > > > excluded
> > > > > > > > > > > (e.g.
> > > > > > > > > > > > > >>>> home
> > > > > > > > > > > > > >>>>>>> and
> > > > > > > > > > > > > >>>>>>>>> critera APIs).
> > > > > > > > > > > > > >>>>>>>>>
> > > > > > > > > > > > > >>>>>>>>> On Tue, Feb 12, 2013 at 10:00 PM, Mark
> > > > Struberg <
> > > > > > > > > > > > > >>>> struberg@yahoo.de>
> > > > > > > > > > > > > >>>>>>>> wrote:
> > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > >>>>>>>>>> Thanks Thomas, great news!
> > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > >>>>>>>>>> LieGrue,
> > > > > > > > > > > > > >>>>>>>>>> strub
> > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > > >>>>>>>>>>> ________________________________
> > > > > > > > > > > > > >>>>>>>>>>> From: Thomas Hug <
> > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > > >>>>>>>>>>> To: "
> deltaspike-dev@incubator.apache.org
> > "
> > > <
> > > > > > > > > > > > > >>>>>>>>>> deltaspike-dev@incubator.apache.org>
> > > > > > > > > > > > > >>>>>>>>>>> Sent: Tuesday, February 12, 2013 4:10
> PM
> > > > > > > > > > > > > >>>>>>>>>>> Subject: Re: cdi-query, no news?
> > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > >>>>>>>>>>> FYI, I've started to "de-solderize" CDI
> > > Query
> > > > > and
> > > > > > > > move
> > > > > > > > > > > > > >> things
> > > > > > > > > > > > > >>>> to
> > > > > > > > > > > > > >>>>>>>> depend
> > > > > > > > > > > > > >>>>>>>>> on
> > > > > > > > > > > > > >>>>>>>>>>> DS Core [1]:
> > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > https://github.com/ctpconsulting/query/tree/deltaspike
> > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > >>>>>>>>>>> Todos:
> > > > > > > > > > > > > >>>>>>>>>>> [x] Replace ServiceHandler
> > > > > > > > > > > > > >>>>>>>>>>> [_] Include Property utils
> > > > > > > > > > > > > >>>>>>>>>>> [_] Replace JBoss Logging
> > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > >>>>>>>>>>> Any feedback welcome.
> > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > >>>>>>>>>>> [1] including this modification
> > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > >>
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > > > > > > > > > > > >>>>>>>>>>> On Mon, Feb 11, 2013 at 6:01 PM, Romain
> > > > > > Manni-Bucau
> > > > > > > > > > > > > >>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > >>>>>>>>>>>> a review of the API i guess
> > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > >>>>>>>>>>>> what is missing today is probably the
> > > > > pagination
> > > > > > > > > helpers
> > > > > > > > > > > > > >>>>>>>> (PageRequest
> > > > > > > > > > > > > >>>>>>>>>> for
> > > > > > > > > > > > > >>>>>>>>>>>> instance)
> > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > >>>>>>>>>>>> but technically all is fine IMO
> > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > >>>>>>>>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > > >>>>>>>>>>>> *Twitter: @rmannibucau <
> > > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > > >>> *
> > > > > > > > > > > > > >>>>>>>>>>>> *Blog: **
> > > http://rmannibucau.wordpress.com/*
> > > > <
> > > > > > > > > > > > > >>>>>>>>>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > > >>>>>>>>>>>> *LinkedIn: **
> > > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > > >>>>>>>>>>>> *Github:
> > https://github.com/rmannibucau*
> > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > >>>>>>>>>>>> 2013/2/11 Jason Porter <
> > > > > lightguard.jp@gmail.com
> > > > > > >
> > > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > > >>>>>>>>>>>>> I know I'm playing the necromancer,
> but
> > > > > please
> > > > > > > > > forgive
> > > > > > > > > > > > > >>> me.
> > > > > > > > > > > > > >>>> We
> > > > > > > > > > > > > >>>>>>> have
> > > > > > > > > > > > > >>>>>>>>>>>>> InvocationHandler, which looks like
> it
> > > > would
> > > > > > work
> > > > > > > > as
> > > > > > > > > a
> > > > > > > > > > > > > >>>>>>>>> ServiceHandler
> > > > > > > > > > > > > >>>>>>>>>>>>> substitute. What else is needed to
> get
> > > CDI
> > > > > > Query
> > > > > > > > into
> > > > > > > > > > > > > >>>>>>> DeltaSpike?
> > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > >>>>>>>>>>>>> On Sun, Nov 18, 2012 at 12:35 PM,
> > Romain
> > > > > > > > Manni-Bucau
> > > > > > > > > > > > > >>>>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > >>>>>>>>>>>>>> +1, it is a must have for cdi world
> > > > > > > > > > > > > >>>>>>>>>>>>>> Le 18 nov. 2012 20:04,
> "john.d.ament"
> > <
> > > > > > > > > > > > > >>>>>>> john.d.ament@gmail.com>
> > > > > > > > > > > > > >>>>>>>> a
> > > > > > > > > > > > > >>>>>>>>>>>> écrit :
> > > > > > > > > > > > > >>>>>>>>>>>>>>> RE ServiceHandler - I was one of
> > those
> > > > who
> > > > > > > > > > > > > >> previously
> > > > > > > > > > > > > >>>>>>>> suggested
> > > > > > > > > > > > > >>>>>>>>>>>>> bringing
> > > > > > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > > > > > >>>>>>>>>>>>>>> over to DeltaSpike, you can see
> > > > > > DELTASPIKE-113
> > > > > > > > and
> > > > > > > > > > > > > >>> find
> > > > > > > > > > > > > >>>>> the
> > > > > > > > > > > > > >>>>>>>>> thread
> > > > > > > > > > > > > >>>>>>>>>>>>> about
> > > > > > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > > > > > >>>>>>>>>>>>>>> from April of this year.  At the
> > time,
> > > I
> > > > > was
> > > > > > > in a
> > > > > > > > > > > > > >>>>> position
> > > > > > > > > > > > > >>>>>>>>> where I
> > > > > > > > > > > > > >>>>>>>>>>>>>> couldn't
> > > > > > > > > > > > > >>>>>>>>>>>>>>> spend much time on open source
> > > > > contribution.
> > > > > > > >  I've
> > > > > > > > > > > > > >>>>> recently
> > > > > > > > > > > > > >>>>>>>>>> changed
> > > > > > > > > > > > > >>>>>>>>>>>>> jobs,
> > > > > > > > > > > > > >>>>>>>>>>>>>>> to
> > > > > > > > > > > > > >>>>>>>>>>>>>>> something that's going to help me
> > spend
> > > > > some
> > > > > > > more
> > > > > > > > > > > > > >>> time
> > > > > > > > > > > > > >>>>> with
> > > > > > > > > > > > > >>>>>>>> the
> > > > > > > > > > > > > >>>>>>>>>> open
> > > > > > > > > > > > > >>>>>>>>>>>>>> source
> > > > > > > > > > > > > >>>>>>>>>>>>>>> community, and believe I can pick
> it
> > > back
> > > > > up
> > > > > > if
> > > > > > > > > > > > > >> we're
> > > > > > > > > > > > > >>>>>>> ready.
> > > > > > > > > > > > > >>>>>>>>>>>>>>> If everyone's ok with it I can
> start
> > a
> > > > new
> > > > > > > thread
> > > > > > > > > > > > > >> for
> > > > > > > > > > > > > >>>> 113
> > > > > > > > > > > > > >>>>>>> or
> > > > > > > > > > > > > >>>>>>>>>> revive
> > > > > > > > > > > > > >>>>>>>>>>>> the
> > > > > > > > > > > > > >>>>>>>>>>>>>> old
> > > > > > > > > > > > > >>>>>>>>>>>>>>> thread (though it may come through
> > > with a
> > > > > > large
> > > > > > > > > > > > > >> pile
> > > > > > > > > > > > > >>> of
> > > > > > > > > > > > > >>>>>>> dust).
> > > > > > > > > > > > > >>>>>>>>>>>>>>> Regards,
> > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > >>>>>>>>>>>>>>> John
> > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > >>>>>>>>>>>>>>> --
> > > > > > > > > > > > > >>>>>>>>>>>>>>> View this message in context:
> > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > >>
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > > > > > > > > > > >>>>>>>>>>>>>>> Sent from the Apache DeltaSpike
> > > Incubator
> > > > > > > > > > > > > >> Discussions
> > > > > > > > > > > > > >>>>>>> mailing
> > > > > > > > > > > > > >>>>>>>>> list
> > > > > > > > > > > > > >>>>>>>>>>>>>> archive
> > > > > > > > > > > > > >>>>>>>>>>>>>>> at Nabble.com.
> > > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > >>>>>>>>>>>>> --
> > > > > > > > > > > > > >>>>>>>>>>>>> Jason Porter
> > > > > > > > > > > > > >>>>>>>>>>>>> http://en.gravatar.com/lightguardjp
> > > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
@Gerhard: hope you don't think of @RepoBinding at all...would be too much
IMO. Would be great to support aliases/stereotype maybe but not the default

Wdyt?
Le 14 mars 2013 00:11, "Gerhard Petracek" <ge...@gmail.com> a
écrit :

> hi thomas,
>
> imo it should follow the basic style/s we have in other parts already (if
> possible).
>
> i guess the simple implementations in the test-module are too simple to see
> the real benefit.
> -> it would be nice if you add some drafts to a sub-page of [1].
> (the usage you would prefer and not as it is right now.)
>
> regards,
> gerhard
>
> [1] https://cwiki.apache.org/confluence/display/DeltaSpike/Drafts
>
>
>
> 2013/3/13 Romain Manni-Bucau <rm...@gmail.com>
>
> > i'd put it in to start since that's useful for JPA but it shouldn't use
> it
> > at all
> >
> > a question (for next iteration if that's ok for everybody) is should
> repos
> > handle transaction or at least define it.
> >
> > *Romain Manni-Bucau*
> > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > *Blog: **http://rmannibucau.wordpress.com/*<
> > http://rmannibucau.wordpress.com/>
> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > *Github: https://github.com/rmannibucau*
> >
> >
> >
> > 2013/3/13 John D. Ament <jo...@gmail.com>
> >
> > > Does this have any direct/indirect dependencies on JPA module? Should
> > this
> > > maybe become a part of the JPA module?
> > >
> > >
> > > On Wed, Mar 13, 2013 at 7:23 AM, Thomas Hug
> > > <th...@ctp-consulting.com>wrote:
> > >
> > > > Ok, I guess it's going to be Repository :) Updated the proposal
> branch
> > > and
> > > > also moved things into a data package/module.
> > > >
> > > > Some remarks for the parts below:
> > > >
> > > > 1) EntityManagerRepository wasn't present in the Solder
> implementation
> > -
> > > > there it was possible to simply implement/extend EntityManager. The
> > > problem
> > > > with the invocation handler is that it's not possible to restrict the
> > > bean
> > > > type and exclude EntityManager (or I missed it). Otherwise I'd rather
> > get
> > > > rid of this interface.
> > > >
> > > > 2) WithEntityManager is definitely discussable. Not the full solution
> > and
> > > > not consistent. Could be solved with e.g. putting qualifiers on a
> > method
> > > > returning an EntityManager (less intuitive) or something like the
> > > > InvocationHandlerBinding.
> > > >
> > > > 3) AbstractEntityRepository is just a convenience class for providing
> > > > concrete query implementations.
> > > >
> > > > On Tue, Mar 12, 2013 at 9:40 PM, Gerhard Petracek <
> > > > gerhard.petracek@gmail.com> wrote:
> > > >
> > > > > hi,
> > > > >
> > > > > currently we don't have one jira ticket per part/feature.
> > > > > that's what we used to have for everything we imported.
> > > > >
> > > > > the first parts to discuss are imo EntityManagerDao,
> > WithEntityManager
> > > > and
> > > > > AbstractEntityDao.
> > > > >
> > > > > regards,
> > > > > gerhard
> > > > >
> > > > >
> > > > >
> > > > > 2013/3/12 Arne Limburg <ar...@openknowledge.de>
> > > > >
> > > > > > +1 for repository, from me too
> > > > > >
> > > > > > Gesendet mit meinem HTC
> > > > > >
> > > > > >
> > > > > > ----- Reply message -----
> > > > > > Von: "Thomas Andraschko" <an...@gmail.com>
> > > > > > An: "deltaspike-dev@incubator.apache.org" <
> > > > > > deltaspike-dev@incubator.apache.org>
> > > > > > Betreff: cdi-query, no news?
> > > > > > Datum: Di., Mär. 12, 2013 20:38
> > > > > >
> > > > > >
> > > > > >
> > > > > > +1 repository! :) "Query" doesn't really match the functionaly.
> > > > > >
> > > > > > 2013/3/12 Romain Manni-Bucau <rm...@gmail.com>
> > > > > >
> > > > > > > +2 for repo
> > > > > > >
> > > > > > > btw did you fixed the scope issue?
> > > > > > >
> > > > > > > *Romain Manni-Bucau*
> > > > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > *Github: https://github.com/rmannibucau*
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
> > > > > > >
> > > > > > > > The name is still freely choosable - data sounds fine to me
> if
> > > > nobody
> > > > > > > minds
> > > > > > > > the obvious mirroring on Spring Data ;) dao/@Dao is
> > discussable,
> > > > all
> > > > > > the
> > > > > > > > domain driven folks prefer probably something like
> > "Repository".
> > > > > > > >
> > > > > > > > On Tue, Mar 12, 2013 at 7:29 PM, Romain Manni-Bucau
> > > > > > > > <rm...@gmail.com>wrote:
> > > > > > > >
> > > > > > > > > Great :)
> > > > > > > > >
> > > > > > > > > any issue changing "query" to something closer to what it
> > > really
> > > > > > does ;
> > > > > > > > > "dao" (because of @Dao) or "data"?
> > > > > > > > >
> > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > *Github: https://gihub.com/rmannibucau* <
> > > > > > > https://github.com/rmannibucau*
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
> > > > > > > > >
> > > > > > > > > > FYI, I've started something like an import proposal in a
> > > > > dedicated
> > > > > > > > branch
> > > > > > > > > > [1]. There's currently only the JBoss Arquillian profile
> > > > running,
> > > > > > > > haven't
> > > > > > > > > > looked at the others. Any support there and of course
> other
> > > > > input's
> > > > > > > > very
> > > > > > > > > > welcome :)
> > > > > > > > > >
> > > > > > > > > > [1] https://github.com/ctpconsulting/query/tree/dsimport
> > > > > > > > > >
> > > > > > > > > > On Tue, Mar 5, 2013 at 7:45 AM, Romain Manni-Bucau <
> > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > >wrote:
> > > > > > > > > >
> > > > > > > > > > > Yes
> > > > > > > > > > >
> > > > > > > > > > > It works fine but you bring too much spring
> dependencies
> > > > > (totally
> > > > > > > > > useless
> > > > > > > > > > > when used this way) which clearly show it is rather a
> > > bridge
> > > > > > than a
> > > > > > > > > > > solution + there were some leaks in previous version
> > (didnt
> > > > > check
> > > > > > > fix
> > > > > > > > > was
> > > > > > > > > > > released to be honest) because if this usage which was
> > not
> > > > the
> > > > > > > > default
> > > > > > > > > > one.
> > > > > > > > > > >
> > > > > > > > > > > Since cdi query is here it worths importing it IMO
> > > > > > > > > > > Le 5 mars 2013 02:21, "hantsy" <ha...@yahoo.com.cn> a
> > > > écrit :
> > > > > > > > > > >
> > > > > > > > > > > > I remember the Spring Data has a CDI extension, but I
> > > have
> > > > > not
> > > > > > > used
> > > > > > > > > it
> > > > > > > > > > > > in projects. Is there anyone used it in Java EE 6
> > > projects?
> > > > > > > > > > > >
> > > > > > > > > > > > Hantsy
> > > > > > > > > > > >
> > > > > > > > > > > > On 3/3/2013 20:40, Romain Manni-Bucau wrote:
> > > > > > > > > > > > > Basically if the query logic could be scope
> agnostic
> > it
> > > > > would
> > > > > > > be
> > > > > > > > > > > perfect
> > > > > > > > > > > > > for me. Parameters were fine and matched the coomon
> > > need.
> > > > > I m
> > > > > > > not
> > > > > > > > > > sure
> > > > > > > > > > > i
> > > > > > > > > > > > > get what is blocking. Can you detail it a bit
> please?
> > > > > > > > > > > > > Le 3 mars 2013 13:09, "Thomas Hug" <
> > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > a
> > > > > > > > > > > > écrit :
> > > > > > > > > > > > >
> > > > > > > > > > > > >> Aha got you. Yes QueryHandler can be moved to
> > > > application
> > > > > > > scope.
> > > > > > > > > > > > >>
> > > > > > > > > > > > >> The other request scoped component ist the
> > > > > > > > > > CdiQueryInvocationContext.
> > > > > > > > > > > > Here
> > > > > > > > > > > > >> we store a bunch of data which is related to the
> > > current
> > > > > > query
> > > > > > > > > > > > (parameters,
> > > > > > > > > > > > >> query string etc). Originally this was passed as
> > > > > parameter,
> > > > > > > but
> > > > > > > > > got
> > > > > > > > > > > > >> injectable for the extension mechanism [1].
> > Currently
> > > on
> > > > > > > > holidays
> > > > > > > > > > > (sorry
> > > > > > > > > > > > >> the response delays) so not much time to look into
> > it
> > > > but
> > > > > > > happy
> > > > > > > > to
> > > > > > > > > > > take
> > > > > > > > > > > > >> suggestions :)
> > > > > > > > > > > > >>
> > > > > > > > > > > > >> [1]
> > > > > > > > > > > > >>
> > > > > > > > > > > > >>
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> > > > > > > > > > > > >>
> > > > > > > > > > > > >> On Fri, Mar 1, 2013 at 8:18 PM, Romain
> Manni-Bucau <
> > > > > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > > > >>> wrote:
> > > > > > > > > > > > >>> Hmm,
> > > > > > > > > > > > >>>
> > > > > > > > > > > > >>> Wonder if the scope couldnt be application one.
> > > Request
> > > > > > > sounds
> > > > > > > > > too
> > > > > > > > > > > much
> > > > > > > > > > > > >> web
> > > > > > > > > > > > >>> to be usable/generic
> > > > > > > > > > > > >>> Le 1 mars 2013 19:02, "Thomas Hug" <
> > > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > a
> > > > > > > > > > > > >>> écrit :
> > > > > > > > > > > > >>>
> > > > > > > > > > > > >>>> Fine for me - planned to create a branch with
> all
> > > the
> > > > > > > > > experimental
> > > > > > > > > > > > APIs
> > > > > > > > > > > > >>>> cleared out as an import proposal.
> > > > > > > > > > > > >>>>
> > > > > > > > > > > > >>>> RE scope, the InvocationHandlers are validated
> to
> > be
> > > > > > normal
> > > > > > > > > scoped
> > > > > > > > > > > > [1],
> > > > > > > > > > > > >>> so
> > > > > > > > > > > > >>>> that seemed to me the most appropriate choice -
> > any
> > > > > other
> > > > > > > > > > > suggestions?
> > > > > > > > > > > > >>>>
> > > > > > > > > > > > >>>> [1]
> > > > > > > > > > > > >>>>
> > > > > > > > > > > > >>>>
> > > > > > > > > > > > >>
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > > > > > > > > > > > >>>>
> > > > > > > > > > > > >>>> On Wed, Feb 27, 2013 at 1:15 PM, Romain
> > Manni-Bucau
> > > > > > > > > > > > >>>> <rm...@gmail.com>wrote:
> > > > > > > > > > > > >>>>
> > > > > > > > > > > > >>>>> Hi,
> > > > > > > > > > > > >>>>>
> > > > > > > > > > > > >>>>> some news of it?
> > > > > > > > > > > > >>>>>
> > > > > > > > > > > > >>>>> i think it is time to import at least a first
> > > > version,
> > > > > > > isn't
> > > > > > > > > it?
> > > > > > > > > > > > >>>>>
> > > > > > > > > > > > >>>>> Just a note on current code, i saw QueryHandler
> > > (and
> > > > > some
> > > > > > > > other
> > > > > > > > > > > > >> beans)
> > > > > > > > > > > > >>>> has
> > > > > > > > > > > > >>>>> a request scope. Wonder if such a scope means
> > > > something
> > > > > > > for a
> > > > > > > > > > > generic
> > > > > > > > > > > > >>>> (not
> > > > > > > > > > > > >>>>> web) lib.
> > > > > > > > > > > > >>>>>
> > > > > > > > > > > > >>>>> wdyt?
> > > > > > > > > > > > >>>>>
> > > > > > > > > > > > >>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > >>>>> *Twitter: @rmannibucau <
> > > > > https://twitter.com/rmannibucau
> > > > > > >*
> > > > > > > > > > > > >>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > >>>>> *LinkedIn: **
> > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > >>>>> *Github: https://github.com/rmannibucau*
> > > > > > > > > > > > >>>>>
> > > > > > > > > > > > >>>>>
> > > > > > > > > > > > >>>>>
> > > > > > > > > > > > >>>>> 2013/2/20 Romain Manni-Bucau <
> > > rmannibucau@gmail.com>
> > > > > > > > > > > > >>>>>
> > > > > > > > > > > > >>>>>> guy you rocks!
> > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > >>>>>> effectively i missed it when i looked.
> > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > >>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > >>>>>> *Twitter: @rmannibucau <
> > > > > https://twitter.com/rmannibucau
> > > > > > >*
> > > > > > > > > > > > >>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > >>>>>> *LinkedIn: **
> > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > >>>>>> *Github: https://github.com/rmannibucau*
> > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > >>>>>> 2013/2/20 Thomas Hug <
> > > thomas.hug@ctp-consulting.com
> > > > >
> > > > > > > > > > > > >>>>>>
> > > > > > > > > > > > >>>>>>> Thnx Romain. If with proxy stuff you refer to
> > the
> > > > DS
> > > > > > > > > > > > >>>>>>> InvocationHandlerBinding, that's already
> > > integrated
> > > > > :)
> > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > >>>>>>> RE pagination, it's maybe not that obvious,
> but
> > > > > there's
> > > > > > > > more
> > > > > > > > > > > > >>> advanced
> > > > > > > > > > > > >>>>>>> support in QueryResult [1][2], which is more
> > of a
> > > > > > fluent
> > > > > > > > API
> > > > > > > > > > > > >>> approach,
> > > > > > > > > > > > >>>>> but
> > > > > > > > > > > > >>>>>>> should behave similar to a PageRequest (the
> > query
> > > > > > > execution
> > > > > > > > > is
> > > > > > > > > > > > >>> delayed
> > > > > > > > > > > > >>>>>>> until the getResult() methods on QueryResult
> is
> > > > > > called).
> > > > > > > > Hope
> > > > > > > > > > > that
> > > > > > > > > > > > >>>> fits
> > > > > > > > > > > > >>>>> to
> > > > > > > > > > > > >>>>>>> what you had in mind.
> > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > >>>>>>> [1]
> > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > >>
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > > > > > > > > > > > >>>>>>> [2]
> > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > >>
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > > > > > > > > > > > >>>>>>> On Wed, Feb 20, 2013 at 10:04 PM, Romain
> > > > Manni-Bucau
> > > > > > > > > > > > >>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > > > > > >>>>>>>
> > > > > > > > > > > > >>>>>>>> Hi Thomas,
> > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > >>>>>>>> importing proxy stuff would be the first
> great
> > > > > stuff.
> > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > >>>>>>>> i'd like to see some pagination API (like
> > > > > PageRequest
> > > > > > > etc
> > > > > > > > in
> > > > > > > > > > > > >>> spring
> > > > > > > > > > > > >>>>>>> world)
> > > > > > > > > > > > >>>>>>>> which are more user friendly that
> @FirstResult
> > > and
> > > > > > > > > > @MaxResult).
> > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > >>>>>>>> wdyt?
> > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > >>>>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > >>>>>>>> *Twitter: @rmannibucau <
> > > > > > https://twitter.com/rmannibucau
> > > > > > > >*
> > > > > > > > > > > > >>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*
> <
> > > > > > > > > > > > >>>>>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > >>>>>>>> *LinkedIn: **
> > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > >>>>>>>> *Github: https://github.com/rmannibucau*
> > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > >>>>>>>> 2013/2/20 Thomas Hug <
> > > > thomas.hug@ctp-consulting.com
> > > > > >
> > > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > > >>>>>>>>> CDI Query has now a completely Solder-free
> > POM.
> > > > > Feel
> > > > > > > free
> > > > > > > > > to
> > > > > > > > > > > > >>> drop
> > > > > > > > > > > > >>>>>>>> comments
> > > > > > > > > > > > >>>>>>>>> on the API - some parts might actually be
> > fully
> > > > > > > excluded
> > > > > > > > > > (e.g.
> > > > > > > > > > > > >>>> home
> > > > > > > > > > > > >>>>>>> and
> > > > > > > > > > > > >>>>>>>>> critera APIs).
> > > > > > > > > > > > >>>>>>>>>
> > > > > > > > > > > > >>>>>>>>> On Tue, Feb 12, 2013 at 10:00 PM, Mark
> > > Struberg <
> > > > > > > > > > > > >>>> struberg@yahoo.de>
> > > > > > > > > > > > >>>>>>>> wrote:
> > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > >>>>>>>>>> Thanks Thomas, great news!
> > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > >>>>>>>>>> LieGrue,
> > > > > > > > > > > > >>>>>>>>>> strub
> > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > > >>>>>>>>>>> ________________________________
> > > > > > > > > > > > >>>>>>>>>>> From: Thomas Hug <
> > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > > >>>>>>>>>>> To: "deltaspike-dev@incubator.apache.org
> "
> > <
> > > > > > > > > > > > >>>>>>>>>> deltaspike-dev@incubator.apache.org>
> > > > > > > > > > > > >>>>>>>>>>> Sent: Tuesday, February 12, 2013 4:10 PM
> > > > > > > > > > > > >>>>>>>>>>> Subject: Re: cdi-query, no news?
> > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > >>>>>>>>>>> FYI, I've started to "de-solderize" CDI
> > Query
> > > > and
> > > > > > > move
> > > > > > > > > > > > >> things
> > > > > > > > > > > > >>>> to
> > > > > > > > > > > > >>>>>>>> depend
> > > > > > > > > > > > >>>>>>>>> on
> > > > > > > > > > > > >>>>>>>>>>> DS Core [1]:
> > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > https://github.com/ctpconsulting/query/tree/deltaspike
> > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > >>>>>>>>>>> Todos:
> > > > > > > > > > > > >>>>>>>>>>> [x] Replace ServiceHandler
> > > > > > > > > > > > >>>>>>>>>>> [_] Include Property utils
> > > > > > > > > > > > >>>>>>>>>>> [_] Replace JBoss Logging
> > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > >>>>>>>>>>> Any feedback welcome.
> > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > >>>>>>>>>>> [1] including this modification
> > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > >>
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > > > > > > > > > > >>>>>>>>>>> On Mon, Feb 11, 2013 at 6:01 PM, Romain
> > > > > Manni-Bucau
> > > > > > > > > > > > >>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > >>>>>>>>>>>> a review of the API i guess
> > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > >>>>>>>>>>>> what is missing today is probably the
> > > > pagination
> > > > > > > > helpers
> > > > > > > > > > > > >>>>>>>> (PageRequest
> > > > > > > > > > > > >>>>>>>>>> for
> > > > > > > > > > > > >>>>>>>>>>>> instance)
> > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > >>>>>>>>>>>> but technically all is fine IMO
> > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > >>>>>>>>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > > >>>>>>>>>>>> *Twitter: @rmannibucau <
> > > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > > >>> *
> > > > > > > > > > > > >>>>>>>>>>>> *Blog: **
> > http://rmannibucau.wordpress.com/*
> > > <
> > > > > > > > > > > > >>>>>>>>>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > > > > >>>>>>>>>>>> *LinkedIn: **
> > > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > > >>>>>>>>>>>> *Github:
> https://github.com/rmannibucau*
> > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > >>>>>>>>>>>> 2013/2/11 Jason Porter <
> > > > lightguard.jp@gmail.com
> > > > > >
> > > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > > >>>>>>>>>>>>> I know I'm playing the necromancer, but
> > > > please
> > > > > > > > forgive
> > > > > > > > > > > > >>> me.
> > > > > > > > > > > > >>>> We
> > > > > > > > > > > > >>>>>>> have
> > > > > > > > > > > > >>>>>>>>>>>>> InvocationHandler, which looks like it
> > > would
> > > > > work
> > > > > > > as
> > > > > > > > a
> > > > > > > > > > > > >>>>>>>>> ServiceHandler
> > > > > > > > > > > > >>>>>>>>>>>>> substitute. What else is needed to get
> > CDI
> > > > > Query
> > > > > > > into
> > > > > > > > > > > > >>>>>>> DeltaSpike?
> > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > >>>>>>>>>>>>> On Sun, Nov 18, 2012 at 12:35 PM,
> Romain
> > > > > > > Manni-Bucau
> > > > > > > > > > > > >>>>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > >>>>>>>>>>>>>> +1, it is a must have for cdi world
> > > > > > > > > > > > >>>>>>>>>>>>>> Le 18 nov. 2012 20:04, "john.d.ament"
> <
> > > > > > > > > > > > >>>>>>> john.d.ament@gmail.com>
> > > > > > > > > > > > >>>>>>>> a
> > > > > > > > > > > > >>>>>>>>>>>> écrit :
> > > > > > > > > > > > >>>>>>>>>>>>>>> RE ServiceHandler - I was one of
> those
> > > who
> > > > > > > > > > > > >> previously
> > > > > > > > > > > > >>>>>>>> suggested
> > > > > > > > > > > > >>>>>>>>>>>>> bringing
> > > > > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > > > > >>>>>>>>>>>>>>> over to DeltaSpike, you can see
> > > > > DELTASPIKE-113
> > > > > > > and
> > > > > > > > > > > > >>> find
> > > > > > > > > > > > >>>>> the
> > > > > > > > > > > > >>>>>>>>> thread
> > > > > > > > > > > > >>>>>>>>>>>>> about
> > > > > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > > > > >>>>>>>>>>>>>>> from April of this year.  At the
> time,
> > I
> > > > was
> > > > > > in a
> > > > > > > > > > > > >>>>> position
> > > > > > > > > > > > >>>>>>>>> where I
> > > > > > > > > > > > >>>>>>>>>>>>>> couldn't
> > > > > > > > > > > > >>>>>>>>>>>>>>> spend much time on open source
> > > > contribution.
> > > > > > >  I've
> > > > > > > > > > > > >>>>> recently
> > > > > > > > > > > > >>>>>>>>>> changed
> > > > > > > > > > > > >>>>>>>>>>>>> jobs,
> > > > > > > > > > > > >>>>>>>>>>>>>>> to
> > > > > > > > > > > > >>>>>>>>>>>>>>> something that's going to help me
> spend
> > > > some
> > > > > > more
> > > > > > > > > > > > >>> time
> > > > > > > > > > > > >>>>> with
> > > > > > > > > > > > >>>>>>>> the
> > > > > > > > > > > > >>>>>>>>>> open
> > > > > > > > > > > > >>>>>>>>>>>>>> source
> > > > > > > > > > > > >>>>>>>>>>>>>>> community, and believe I can pick it
> > back
> > > > up
> > > > > if
> > > > > > > > > > > > >> we're
> > > > > > > > > > > > >>>>>>> ready.
> > > > > > > > > > > > >>>>>>>>>>>>>>> If everyone's ok with it I can start
> a
> > > new
> > > > > > thread
> > > > > > > > > > > > >> for
> > > > > > > > > > > > >>>> 113
> > > > > > > > > > > > >>>>>>> or
> > > > > > > > > > > > >>>>>>>>>> revive
> > > > > > > > > > > > >>>>>>>>>>>> the
> > > > > > > > > > > > >>>>>>>>>>>>>> old
> > > > > > > > > > > > >>>>>>>>>>>>>>> thread (though it may come through
> > with a
> > > > > large
> > > > > > > > > > > > >> pile
> > > > > > > > > > > > >>> of
> > > > > > > > > > > > >>>>>>> dust).
> > > > > > > > > > > > >>>>>>>>>>>>>>> Regards,
> > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > >>>>>>>>>>>>>>> John
> > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > >>>>>>>>>>>>>>> --
> > > > > > > > > > > > >>>>>>>>>>>>>>> View this message in context:
> > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > >>
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > > > > > > > > > >>>>>>>>>>>>>>> Sent from the Apache DeltaSpike
> > Incubator
> > > > > > > > > > > > >> Discussions
> > > > > > > > > > > > >>>>>>> mailing
> > > > > > > > > > > > >>>>>>>>> list
> > > > > > > > > > > > >>>>>>>>>>>>>> archive
> > > > > > > > > > > > >>>>>>>>>>>>>>> at Nabble.com.
> > > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > >>>>>>>>>>>>> --
> > > > > > > > > > > > >>>>>>>>>>>>> Jason Porter
> > > > > > > > > > > > >>>>>>>>>>>>> http://en.gravatar.com/lightguardjp
> > > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > > >>>>>>
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Gerhard Petracek <ge...@gmail.com>.
hi thomas,

imo it should follow the basic style/s we have in other parts already (if
possible).

i guess the simple implementations in the test-module are too simple to see
the real benefit.
-> it would be nice if you add some drafts to a sub-page of [1].
(the usage you would prefer and not as it is right now.)

regards,
gerhard

[1] https://cwiki.apache.org/confluence/display/DeltaSpike/Drafts



2013/3/13 Romain Manni-Bucau <rm...@gmail.com>

> i'd put it in to start since that's useful for JPA but it shouldn't use it
> at all
>
> a question (for next iteration if that's ok for everybody) is should repos
> handle transaction or at least define it.
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog: **http://rmannibucau.wordpress.com/*<
> http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
> 2013/3/13 John D. Ament <jo...@gmail.com>
>
> > Does this have any direct/indirect dependencies on JPA module? Should
> this
> > maybe become a part of the JPA module?
> >
> >
> > On Wed, Mar 13, 2013 at 7:23 AM, Thomas Hug
> > <th...@ctp-consulting.com>wrote:
> >
> > > Ok, I guess it's going to be Repository :) Updated the proposal branch
> > and
> > > also moved things into a data package/module.
> > >
> > > Some remarks for the parts below:
> > >
> > > 1) EntityManagerRepository wasn't present in the Solder implementation
> -
> > > there it was possible to simply implement/extend EntityManager. The
> > problem
> > > with the invocation handler is that it's not possible to restrict the
> > bean
> > > type and exclude EntityManager (or I missed it). Otherwise I'd rather
> get
> > > rid of this interface.
> > >
> > > 2) WithEntityManager is definitely discussable. Not the full solution
> and
> > > not consistent. Could be solved with e.g. putting qualifiers on a
> method
> > > returning an EntityManager (less intuitive) or something like the
> > > InvocationHandlerBinding.
> > >
> > > 3) AbstractEntityRepository is just a convenience class for providing
> > > concrete query implementations.
> > >
> > > On Tue, Mar 12, 2013 at 9:40 PM, Gerhard Petracek <
> > > gerhard.petracek@gmail.com> wrote:
> > >
> > > > hi,
> > > >
> > > > currently we don't have one jira ticket per part/feature.
> > > > that's what we used to have for everything we imported.
> > > >
> > > > the first parts to discuss are imo EntityManagerDao,
> WithEntityManager
> > > and
> > > > AbstractEntityDao.
> > > >
> > > > regards,
> > > > gerhard
> > > >
> > > >
> > > >
> > > > 2013/3/12 Arne Limburg <ar...@openknowledge.de>
> > > >
> > > > > +1 for repository, from me too
> > > > >
> > > > > Gesendet mit meinem HTC
> > > > >
> > > > >
> > > > > ----- Reply message -----
> > > > > Von: "Thomas Andraschko" <an...@gmail.com>
> > > > > An: "deltaspike-dev@incubator.apache.org" <
> > > > > deltaspike-dev@incubator.apache.org>
> > > > > Betreff: cdi-query, no news?
> > > > > Datum: Di., Mär. 12, 2013 20:38
> > > > >
> > > > >
> > > > >
> > > > > +1 repository! :) "Query" doesn't really match the functionaly.
> > > > >
> > > > > 2013/3/12 Romain Manni-Bucau <rm...@gmail.com>
> > > > >
> > > > > > +2 for repo
> > > > > >
> > > > > > btw did you fixed the scope issue?
> > > > > >
> > > > > > *Romain Manni-Bucau*
> > > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > http://rmannibucau.wordpress.com/>
> > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > *Github: https://github.com/rmannibucau*
> > > > > >
> > > > > >
> > > > > >
> > > > > > 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
> > > > > >
> > > > > > > The name is still freely choosable - data sounds fine to me if
> > > nobody
> > > > > > minds
> > > > > > > the obvious mirroring on Spring Data ;) dao/@Dao is
> discussable,
> > > all
> > > > > the
> > > > > > > domain driven folks prefer probably something like
> "Repository".
> > > > > > >
> > > > > > > On Tue, Mar 12, 2013 at 7:29 PM, Romain Manni-Bucau
> > > > > > > <rm...@gmail.com>wrote:
> > > > > > >
> > > > > > > > Great :)
> > > > > > > >
> > > > > > > > any issue changing "query" to something closer to what it
> > really
> > > > > does ;
> > > > > > > > "dao" (because of @Dao) or "data"?
> > > > > > > >
> > > > > > > > *Romain Manni-Bucau*
> > > > > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > *Github: https://gihub.com/rmannibucau* <
> > > > > > https://github.com/rmannibucau*
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
> > > > > > > >
> > > > > > > > > FYI, I've started something like an import proposal in a
> > > > dedicated
> > > > > > > branch
> > > > > > > > > [1]. There's currently only the JBoss Arquillian profile
> > > running,
> > > > > > > haven't
> > > > > > > > > looked at the others. Any support there and of course other
> > > > input's
> > > > > > > very
> > > > > > > > > welcome :)
> > > > > > > > >
> > > > > > > > > [1] https://github.com/ctpconsulting/query/tree/dsimport
> > > > > > > > >
> > > > > > > > > On Tue, Mar 5, 2013 at 7:45 AM, Romain Manni-Bucau <
> > > > > > > > rmannibucau@gmail.com
> > > > > > > > > >wrote:
> > > > > > > > >
> > > > > > > > > > Yes
> > > > > > > > > >
> > > > > > > > > > It works fine but you bring too much spring dependencies
> > > > (totally
> > > > > > > > useless
> > > > > > > > > > when used this way) which clearly show it is rather a
> > bridge
> > > > > than a
> > > > > > > > > > solution + there were some leaks in previous version
> (didnt
> > > > check
> > > > > > fix
> > > > > > > > was
> > > > > > > > > > released to be honest) because if this usage which was
> not
> > > the
> > > > > > > default
> > > > > > > > > one.
> > > > > > > > > >
> > > > > > > > > > Since cdi query is here it worths importing it IMO
> > > > > > > > > > Le 5 mars 2013 02:21, "hantsy" <ha...@yahoo.com.cn> a
> > > écrit :
> > > > > > > > > >
> > > > > > > > > > > I remember the Spring Data has a CDI extension, but I
> > have
> > > > not
> > > > > > used
> > > > > > > > it
> > > > > > > > > > > in projects. Is there anyone used it in Java EE 6
> > projects?
> > > > > > > > > > >
> > > > > > > > > > > Hantsy
> > > > > > > > > > >
> > > > > > > > > > > On 3/3/2013 20:40, Romain Manni-Bucau wrote:
> > > > > > > > > > > > Basically if the query logic could be scope agnostic
> it
> > > > would
> > > > > > be
> > > > > > > > > > perfect
> > > > > > > > > > > > for me. Parameters were fine and matched the coomon
> > need.
> > > > I m
> > > > > > not
> > > > > > > > > sure
> > > > > > > > > > i
> > > > > > > > > > > > get what is blocking. Can you detail it a bit please?
> > > > > > > > > > > > Le 3 mars 2013 13:09, "Thomas Hug" <
> > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > a
> > > > > > > > > > > écrit :
> > > > > > > > > > > >
> > > > > > > > > > > >> Aha got you. Yes QueryHandler can be moved to
> > > application
> > > > > > scope.
> > > > > > > > > > > >>
> > > > > > > > > > > >> The other request scoped component ist the
> > > > > > > > > CdiQueryInvocationContext.
> > > > > > > > > > > Here
> > > > > > > > > > > >> we store a bunch of data which is related to the
> > current
> > > > > query
> > > > > > > > > > > (parameters,
> > > > > > > > > > > >> query string etc). Originally this was passed as
> > > > parameter,
> > > > > > but
> > > > > > > > got
> > > > > > > > > > > >> injectable for the extension mechanism [1].
> Currently
> > on
> > > > > > > holidays
> > > > > > > > > > (sorry
> > > > > > > > > > > >> the response delays) so not much time to look into
> it
> > > but
> > > > > > happy
> > > > > > > to
> > > > > > > > > > take
> > > > > > > > > > > >> suggestions :)
> > > > > > > > > > > >>
> > > > > > > > > > > >> [1]
> > > > > > > > > > > >>
> > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> > > > > > > > > > > >>
> > > > > > > > > > > >> On Fri, Mar 1, 2013 at 8:18 PM, Romain Manni-Bucau <
> > > > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > > >>> wrote:
> > > > > > > > > > > >>> Hmm,
> > > > > > > > > > > >>>
> > > > > > > > > > > >>> Wonder if the scope couldnt be application one.
> > Request
> > > > > > sounds
> > > > > > > > too
> > > > > > > > > > much
> > > > > > > > > > > >> web
> > > > > > > > > > > >>> to be usable/generic
> > > > > > > > > > > >>> Le 1 mars 2013 19:02, "Thomas Hug" <
> > > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > > a
> > > > > > > > > > > >>> écrit :
> > > > > > > > > > > >>>
> > > > > > > > > > > >>>> Fine for me - planned to create a branch with all
> > the
> > > > > > > > experimental
> > > > > > > > > > > APIs
> > > > > > > > > > > >>>> cleared out as an import proposal.
> > > > > > > > > > > >>>>
> > > > > > > > > > > >>>> RE scope, the InvocationHandlers are validated to
> be
> > > > > normal
> > > > > > > > scoped
> > > > > > > > > > > [1],
> > > > > > > > > > > >>> so
> > > > > > > > > > > >>>> that seemed to me the most appropriate choice -
> any
> > > > other
> > > > > > > > > > suggestions?
> > > > > > > > > > > >>>>
> > > > > > > > > > > >>>> [1]
> > > > > > > > > > > >>>>
> > > > > > > > > > > >>>>
> > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > > > > > > > > > > >>>>
> > > > > > > > > > > >>>> On Wed, Feb 27, 2013 at 1:15 PM, Romain
> Manni-Bucau
> > > > > > > > > > > >>>> <rm...@gmail.com>wrote:
> > > > > > > > > > > >>>>
> > > > > > > > > > > >>>>> Hi,
> > > > > > > > > > > >>>>>
> > > > > > > > > > > >>>>> some news of it?
> > > > > > > > > > > >>>>>
> > > > > > > > > > > >>>>> i think it is time to import at least a first
> > > version,
> > > > > > isn't
> > > > > > > > it?
> > > > > > > > > > > >>>>>
> > > > > > > > > > > >>>>> Just a note on current code, i saw QueryHandler
> > (and
> > > > some
> > > > > > > other
> > > > > > > > > > > >> beans)
> > > > > > > > > > > >>>> has
> > > > > > > > > > > >>>>> a request scope. Wonder if such a scope means
> > > something
> > > > > > for a
> > > > > > > > > > generic
> > > > > > > > > > > >>>> (not
> > > > > > > > > > > >>>>> web) lib.
> > > > > > > > > > > >>>>>
> > > > > > > > > > > >>>>> wdyt?
> > > > > > > > > > > >>>>>
> > > > > > > > > > > >>>>> *Romain Manni-Bucau*
> > > > > > > > > > > >>>>> *Twitter: @rmannibucau <
> > > > https://twitter.com/rmannibucau
> > > > > >*
> > > > > > > > > > > >>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > > > >>>>> *LinkedIn: **
> > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > >>>>> *Github: https://github.com/rmannibucau*
> > > > > > > > > > > >>>>>
> > > > > > > > > > > >>>>>
> > > > > > > > > > > >>>>>
> > > > > > > > > > > >>>>> 2013/2/20 Romain Manni-Bucau <
> > rmannibucau@gmail.com>
> > > > > > > > > > > >>>>>
> > > > > > > > > > > >>>>>> guy you rocks!
> > > > > > > > > > > >>>>>>
> > > > > > > > > > > >>>>>> effectively i missed it when i looked.
> > > > > > > > > > > >>>>>>
> > > > > > > > > > > >>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > >>>>>> *Twitter: @rmannibucau <
> > > > https://twitter.com/rmannibucau
> > > > > >*
> > > > > > > > > > > >>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > > > >>>>>> *LinkedIn: **
> > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > >>>>>> *Github: https://github.com/rmannibucau*
> > > > > > > > > > > >>>>>>
> > > > > > > > > > > >>>>>>
> > > > > > > > > > > >>>>>>
> > > > > > > > > > > >>>>>> 2013/2/20 Thomas Hug <
> > thomas.hug@ctp-consulting.com
> > > >
> > > > > > > > > > > >>>>>>
> > > > > > > > > > > >>>>>>> Thnx Romain. If with proxy stuff you refer to
> the
> > > DS
> > > > > > > > > > > >>>>>>> InvocationHandlerBinding, that's already
> > integrated
> > > > :)
> > > > > > > > > > > >>>>>>>
> > > > > > > > > > > >>>>>>> RE pagination, it's maybe not that obvious, but
> > > > there's
> > > > > > > more
> > > > > > > > > > > >>> advanced
> > > > > > > > > > > >>>>>>> support in QueryResult [1][2], which is more
> of a
> > > > > fluent
> > > > > > > API
> > > > > > > > > > > >>> approach,
> > > > > > > > > > > >>>>> but
> > > > > > > > > > > >>>>>>> should behave similar to a PageRequest (the
> query
> > > > > > execution
> > > > > > > > is
> > > > > > > > > > > >>> delayed
> > > > > > > > > > > >>>>>>> until the getResult() methods on QueryResult is
> > > > > called).
> > > > > > > Hope
> > > > > > > > > > that
> > > > > > > > > > > >>>> fits
> > > > > > > > > > > >>>>> to
> > > > > > > > > > > >>>>>>> what you had in mind.
> > > > > > > > > > > >>>>>>>
> > > > > > > > > > > >>>>>>> [1]
> > > > > > > > > > > >>>>>>>
> > > > > > > > > > > >>>>>>>
> > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > > > > > > > > > > >>>>>>> [2]
> > > > > > > > > > > >>>>>>>
> > > > > > > > > > > >>>>>>>
> > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > > > > > > > > > > >>>>>>> On Wed, Feb 20, 2013 at 10:04 PM, Romain
> > > Manni-Bucau
> > > > > > > > > > > >>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > > > > >>>>>>>
> > > > > > > > > > > >>>>>>>> Hi Thomas,
> > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > >>>>>>>> importing proxy stuff would be the first great
> > > > stuff.
> > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > >>>>>>>> i'd like to see some pagination API (like
> > > > PageRequest
> > > > > > etc
> > > > > > > in
> > > > > > > > > > > >>> spring
> > > > > > > > > > > >>>>>>> world)
> > > > > > > > > > > >>>>>>>> which are more user friendly that @FirstResult
> > and
> > > > > > > > > @MaxResult).
> > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > >>>>>>>> wdyt?
> > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > >>>>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > >>>>>>>> *Twitter: @rmannibucau <
> > > > > https://twitter.com/rmannibucau
> > > > > > >*
> > > > > > > > > > > >>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > > > >>>>>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > > > >>>>>>>> *LinkedIn: **
> > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > >>>>>>>> *Github: https://github.com/rmannibucau*
> > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > >>>>>>>> 2013/2/20 Thomas Hug <
> > > thomas.hug@ctp-consulting.com
> > > > >
> > > > > > > > > > > >>>>>>>>
> > > > > > > > > > > >>>>>>>>> CDI Query has now a completely Solder-free
> POM.
> > > > Feel
> > > > > > free
> > > > > > > > to
> > > > > > > > > > > >>> drop
> > > > > > > > > > > >>>>>>>> comments
> > > > > > > > > > > >>>>>>>>> on the API - some parts might actually be
> fully
> > > > > > excluded
> > > > > > > > > (e.g.
> > > > > > > > > > > >>>> home
> > > > > > > > > > > >>>>>>> and
> > > > > > > > > > > >>>>>>>>> critera APIs).
> > > > > > > > > > > >>>>>>>>>
> > > > > > > > > > > >>>>>>>>> On Tue, Feb 12, 2013 at 10:00 PM, Mark
> > Struberg <
> > > > > > > > > > > >>>> struberg@yahoo.de>
> > > > > > > > > > > >>>>>>>> wrote:
> > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > >>>>>>>>>> Thanks Thomas, great news!
> > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > >>>>>>>>>> LieGrue,
> > > > > > > > > > > >>>>>>>>>> strub
> > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > > >>>>>>>>>>> ________________________________
> > > > > > > > > > > >>>>>>>>>>> From: Thomas Hug <
> > > thomas.hug@ctp-consulting.com>
> > > > > > > > > > > >>>>>>>>>>> To: "deltaspike-dev@incubator.apache.org"
> <
> > > > > > > > > > > >>>>>>>>>> deltaspike-dev@incubator.apache.org>
> > > > > > > > > > > >>>>>>>>>>> Sent: Tuesday, February 12, 2013 4:10 PM
> > > > > > > > > > > >>>>>>>>>>> Subject: Re: cdi-query, no news?
> > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > >>>>>>>>>>> FYI, I've started to "de-solderize" CDI
> Query
> > > and
> > > > > > move
> > > > > > > > > > > >> things
> > > > > > > > > > > >>>> to
> > > > > > > > > > > >>>>>>>> depend
> > > > > > > > > > > >>>>>>>>> on
> > > > > > > > > > > >>>>>>>>>>> DS Core [1]:
> > > > > > > > > > > >>>>>>>>>>>
> > > > > > https://github.com/ctpconsulting/query/tree/deltaspike
> > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > >>>>>>>>>>> Todos:
> > > > > > > > > > > >>>>>>>>>>> [x] Replace ServiceHandler
> > > > > > > > > > > >>>>>>>>>>> [_] Include Property utils
> > > > > > > > > > > >>>>>>>>>>> [_] Replace JBoss Logging
> > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > >>>>>>>>>>> Any feedback welcome.
> > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > >>>>>>>>>>> [1] including this modification
> > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > > > > > > > > > >>>>>>>>>>> On Mon, Feb 11, 2013 at 6:01 PM, Romain
> > > > Manni-Bucau
> > > > > > > > > > > >>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > >>>>>>>>>>>> a review of the API i guess
> > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > >>>>>>>>>>>> what is missing today is probably the
> > > pagination
> > > > > > > helpers
> > > > > > > > > > > >>>>>>>> (PageRequest
> > > > > > > > > > > >>>>>>>>>> for
> > > > > > > > > > > >>>>>>>>>>>> instance)
> > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > >>>>>>>>>>>> but technically all is fine IMO
> > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > >>>>>>>>>>>> *Romain Manni-Bucau*
> > > > > > > > > > > >>>>>>>>>>>> *Twitter: @rmannibucau <
> > > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > > >>> *
> > > > > > > > > > > >>>>>>>>>>>> *Blog: **
> http://rmannibucau.wordpress.com/*
> > <
> > > > > > > > > > > >>>>>>>>>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > > > >>>>>>>>>>>> *LinkedIn: **
> > > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > > >>>>>>>>>>>> *Github: https://github.com/rmannibucau*
> > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > >>>>>>>>>>>> 2013/2/11 Jason Porter <
> > > lightguard.jp@gmail.com
> > > > >
> > > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > > >>>>>>>>>>>>> I know I'm playing the necromancer, but
> > > please
> > > > > > > forgive
> > > > > > > > > > > >>> me.
> > > > > > > > > > > >>>> We
> > > > > > > > > > > >>>>>>> have
> > > > > > > > > > > >>>>>>>>>>>>> InvocationHandler, which looks like it
> > would
> > > > work
> > > > > > as
> > > > > > > a
> > > > > > > > > > > >>>>>>>>> ServiceHandler
> > > > > > > > > > > >>>>>>>>>>>>> substitute. What else is needed to get
> CDI
> > > > Query
> > > > > > into
> > > > > > > > > > > >>>>>>> DeltaSpike?
> > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > >>>>>>>>>>>>> On Sun, Nov 18, 2012 at 12:35 PM, Romain
> > > > > > Manni-Bucau
> > > > > > > > > > > >>>>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > >>>>>>>>>>>>>> +1, it is a must have for cdi world
> > > > > > > > > > > >>>>>>>>>>>>>> Le 18 nov. 2012 20:04, "john.d.ament" <
> > > > > > > > > > > >>>>>>> john.d.ament@gmail.com>
> > > > > > > > > > > >>>>>>>> a
> > > > > > > > > > > >>>>>>>>>>>> écrit :
> > > > > > > > > > > >>>>>>>>>>>>>>> RE ServiceHandler - I was one of those
> > who
> > > > > > > > > > > >> previously
> > > > > > > > > > > >>>>>>>> suggested
> > > > > > > > > > > >>>>>>>>>>>>> bringing
> > > > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > > > >>>>>>>>>>>>>>> over to DeltaSpike, you can see
> > > > DELTASPIKE-113
> > > > > > and
> > > > > > > > > > > >>> find
> > > > > > > > > > > >>>>> the
> > > > > > > > > > > >>>>>>>>> thread
> > > > > > > > > > > >>>>>>>>>>>>> about
> > > > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > > > >>>>>>>>>>>>>>> from April of this year.  At the time,
> I
> > > was
> > > > > in a
> > > > > > > > > > > >>>>> position
> > > > > > > > > > > >>>>>>>>> where I
> > > > > > > > > > > >>>>>>>>>>>>>> couldn't
> > > > > > > > > > > >>>>>>>>>>>>>>> spend much time on open source
> > > contribution.
> > > > > >  I've
> > > > > > > > > > > >>>>> recently
> > > > > > > > > > > >>>>>>>>>> changed
> > > > > > > > > > > >>>>>>>>>>>>> jobs,
> > > > > > > > > > > >>>>>>>>>>>>>>> to
> > > > > > > > > > > >>>>>>>>>>>>>>> something that's going to help me spend
> > > some
> > > > > more
> > > > > > > > > > > >>> time
> > > > > > > > > > > >>>>> with
> > > > > > > > > > > >>>>>>>> the
> > > > > > > > > > > >>>>>>>>>> open
> > > > > > > > > > > >>>>>>>>>>>>>> source
> > > > > > > > > > > >>>>>>>>>>>>>>> community, and believe I can pick it
> back
> > > up
> > > > if
> > > > > > > > > > > >> we're
> > > > > > > > > > > >>>>>>> ready.
> > > > > > > > > > > >>>>>>>>>>>>>>> If everyone's ok with it I can start a
> > new
> > > > > thread
> > > > > > > > > > > >> for
> > > > > > > > > > > >>>> 113
> > > > > > > > > > > >>>>>>> or
> > > > > > > > > > > >>>>>>>>>> revive
> > > > > > > > > > > >>>>>>>>>>>> the
> > > > > > > > > > > >>>>>>>>>>>>>> old
> > > > > > > > > > > >>>>>>>>>>>>>>> thread (though it may come through
> with a
> > > > large
> > > > > > > > > > > >> pile
> > > > > > > > > > > >>> of
> > > > > > > > > > > >>>>>>> dust).
> > > > > > > > > > > >>>>>>>>>>>>>>> Regards,
> > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > >>>>>>>>>>>>>>> John
> > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > >>>>>>>>>>>>>>> --
> > > > > > > > > > > >>>>>>>>>>>>>>> View this message in context:
> > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > >>
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > > > > > > > > >>>>>>>>>>>>>>> Sent from the Apache DeltaSpike
> Incubator
> > > > > > > > > > > >> Discussions
> > > > > > > > > > > >>>>>>> mailing
> > > > > > > > > > > >>>>>>>>> list
> > > > > > > > > > > >>>>>>>>>>>>>> archive
> > > > > > > > > > > >>>>>>>>>>>>>>> at Nabble.com.
> > > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > >>>>>>>>>>>>> --
> > > > > > > > > > > >>>>>>>>>>>>> Jason Porter
> > > > > > > > > > > >>>>>>>>>>>>> http://en.gravatar.com/lightguardjp
> > > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > > >>>>>>
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
i'd put it in to start since that's useful for JPA but it shouldn't use it
at all

a question (for next iteration if that's ok for everybody) is should repos
handle transaction or at least define it.

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/3/13 John D. Ament <jo...@gmail.com>

> Does this have any direct/indirect dependencies on JPA module? Should this
> maybe become a part of the JPA module?
>
>
> On Wed, Mar 13, 2013 at 7:23 AM, Thomas Hug
> <th...@ctp-consulting.com>wrote:
>
> > Ok, I guess it's going to be Repository :) Updated the proposal branch
> and
> > also moved things into a data package/module.
> >
> > Some remarks for the parts below:
> >
> > 1) EntityManagerRepository wasn't present in the Solder implementation -
> > there it was possible to simply implement/extend EntityManager. The
> problem
> > with the invocation handler is that it's not possible to restrict the
> bean
> > type and exclude EntityManager (or I missed it). Otherwise I'd rather get
> > rid of this interface.
> >
> > 2) WithEntityManager is definitely discussable. Not the full solution and
> > not consistent. Could be solved with e.g. putting qualifiers on a method
> > returning an EntityManager (less intuitive) or something like the
> > InvocationHandlerBinding.
> >
> > 3) AbstractEntityRepository is just a convenience class for providing
> > concrete query implementations.
> >
> > On Tue, Mar 12, 2013 at 9:40 PM, Gerhard Petracek <
> > gerhard.petracek@gmail.com> wrote:
> >
> > > hi,
> > >
> > > currently we don't have one jira ticket per part/feature.
> > > that's what we used to have for everything we imported.
> > >
> > > the first parts to discuss are imo EntityManagerDao, WithEntityManager
> > and
> > > AbstractEntityDao.
> > >
> > > regards,
> > > gerhard
> > >
> > >
> > >
> > > 2013/3/12 Arne Limburg <ar...@openknowledge.de>
> > >
> > > > +1 for repository, from me too
> > > >
> > > > Gesendet mit meinem HTC
> > > >
> > > >
> > > > ----- Reply message -----
> > > > Von: "Thomas Andraschko" <an...@gmail.com>
> > > > An: "deltaspike-dev@incubator.apache.org" <
> > > > deltaspike-dev@incubator.apache.org>
> > > > Betreff: cdi-query, no news?
> > > > Datum: Di., Mär. 12, 2013 20:38
> > > >
> > > >
> > > >
> > > > +1 repository! :) "Query" doesn't really match the functionaly.
> > > >
> > > > 2013/3/12 Romain Manni-Bucau <rm...@gmail.com>
> > > >
> > > > > +2 for repo
> > > > >
> > > > > btw did you fixed the scope issue?
> > > > >
> > > > > *Romain Manni-Bucau*
> > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > http://rmannibucau.wordpress.com/>
> > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > *Github: https://github.com/rmannibucau*
> > > > >
> > > > >
> > > > >
> > > > > 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
> > > > >
> > > > > > The name is still freely choosable - data sounds fine to me if
> > nobody
> > > > > minds
> > > > > > the obvious mirroring on Spring Data ;) dao/@Dao is discussable,
> > all
> > > > the
> > > > > > domain driven folks prefer probably something like "Repository".
> > > > > >
> > > > > > On Tue, Mar 12, 2013 at 7:29 PM, Romain Manni-Bucau
> > > > > > <rm...@gmail.com>wrote:
> > > > > >
> > > > > > > Great :)
> > > > > > >
> > > > > > > any issue changing "query" to something closer to what it
> really
> > > > does ;
> > > > > > > "dao" (because of @Dao) or "data"?
> > > > > > >
> > > > > > > *Romain Manni-Bucau*
> > > > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > *Github: https://gihub.com/rmannibucau* <
> > > > > https://github.com/rmannibucau*
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
> > > > > > >
> > > > > > > > FYI, I've started something like an import proposal in a
> > > dedicated
> > > > > > branch
> > > > > > > > [1]. There's currently only the JBoss Arquillian profile
> > running,
> > > > > > haven't
> > > > > > > > looked at the others. Any support there and of course other
> > > input's
> > > > > > very
> > > > > > > > welcome :)
> > > > > > > >
> > > > > > > > [1] https://github.com/ctpconsulting/query/tree/dsimport
> > > > > > > >
> > > > > > > > On Tue, Mar 5, 2013 at 7:45 AM, Romain Manni-Bucau <
> > > > > > > rmannibucau@gmail.com
> > > > > > > > >wrote:
> > > > > > > >
> > > > > > > > > Yes
> > > > > > > > >
> > > > > > > > > It works fine but you bring too much spring dependencies
> > > (totally
> > > > > > > useless
> > > > > > > > > when used this way) which clearly show it is rather a
> bridge
> > > > than a
> > > > > > > > > solution + there were some leaks in previous version (didnt
> > > check
> > > > > fix
> > > > > > > was
> > > > > > > > > released to be honest) because if this usage which was not
> > the
> > > > > > default
> > > > > > > > one.
> > > > > > > > >
> > > > > > > > > Since cdi query is here it worths importing it IMO
> > > > > > > > > Le 5 mars 2013 02:21, "hantsy" <ha...@yahoo.com.cn> a
> > écrit :
> > > > > > > > >
> > > > > > > > > > I remember the Spring Data has a CDI extension, but I
> have
> > > not
> > > > > used
> > > > > > > it
> > > > > > > > > > in projects. Is there anyone used it in Java EE 6
> projects?
> > > > > > > > > >
> > > > > > > > > > Hantsy
> > > > > > > > > >
> > > > > > > > > > On 3/3/2013 20:40, Romain Manni-Bucau wrote:
> > > > > > > > > > > Basically if the query logic could be scope agnostic it
> > > would
> > > > > be
> > > > > > > > > perfect
> > > > > > > > > > > for me. Parameters were fine and matched the coomon
> need.
> > > I m
> > > > > not
> > > > > > > > sure
> > > > > > > > > i
> > > > > > > > > > > get what is blocking. Can you detail it a bit please?
> > > > > > > > > > > Le 3 mars 2013 13:09, "Thomas Hug" <
> > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > a
> > > > > > > > > > écrit :
> > > > > > > > > > >
> > > > > > > > > > >> Aha got you. Yes QueryHandler can be moved to
> > application
> > > > > scope.
> > > > > > > > > > >>
> > > > > > > > > > >> The other request scoped component ist the
> > > > > > > > CdiQueryInvocationContext.
> > > > > > > > > > Here
> > > > > > > > > > >> we store a bunch of data which is related to the
> current
> > > > query
> > > > > > > > > > (parameters,
> > > > > > > > > > >> query string etc). Originally this was passed as
> > > parameter,
> > > > > but
> > > > > > > got
> > > > > > > > > > >> injectable for the extension mechanism [1]. Currently
> on
> > > > > > holidays
> > > > > > > > > (sorry
> > > > > > > > > > >> the response delays) so not much time to look into it
> > but
> > > > > happy
> > > > > > to
> > > > > > > > > take
> > > > > > > > > > >> suggestions :)
> > > > > > > > > > >>
> > > > > > > > > > >> [1]
> > > > > > > > > > >>
> > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> > > > > > > > > > >>
> > > > > > > > > > >> On Fri, Mar 1, 2013 at 8:18 PM, Romain Manni-Bucau <
> > > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > > >>> wrote:
> > > > > > > > > > >>> Hmm,
> > > > > > > > > > >>>
> > > > > > > > > > >>> Wonder if the scope couldnt be application one.
> Request
> > > > > sounds
> > > > > > > too
> > > > > > > > > much
> > > > > > > > > > >> web
> > > > > > > > > > >>> to be usable/generic
> > > > > > > > > > >>> Le 1 mars 2013 19:02, "Thomas Hug" <
> > > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > > a
> > > > > > > > > > >>> écrit :
> > > > > > > > > > >>>
> > > > > > > > > > >>>> Fine for me - planned to create a branch with all
> the
> > > > > > > experimental
> > > > > > > > > > APIs
> > > > > > > > > > >>>> cleared out as an import proposal.
> > > > > > > > > > >>>>
> > > > > > > > > > >>>> RE scope, the InvocationHandlers are validated to be
> > > > normal
> > > > > > > scoped
> > > > > > > > > > [1],
> > > > > > > > > > >>> so
> > > > > > > > > > >>>> that seemed to me the most appropriate choice - any
> > > other
> > > > > > > > > suggestions?
> > > > > > > > > > >>>>
> > > > > > > > > > >>>> [1]
> > > > > > > > > > >>>>
> > > > > > > > > > >>>>
> > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > > > > > > > > > >>>>
> > > > > > > > > > >>>> On Wed, Feb 27, 2013 at 1:15 PM, Romain Manni-Bucau
> > > > > > > > > > >>>> <rm...@gmail.com>wrote:
> > > > > > > > > > >>>>
> > > > > > > > > > >>>>> Hi,
> > > > > > > > > > >>>>>
> > > > > > > > > > >>>>> some news of it?
> > > > > > > > > > >>>>>
> > > > > > > > > > >>>>> i think it is time to import at least a first
> > version,
> > > > > isn't
> > > > > > > it?
> > > > > > > > > > >>>>>
> > > > > > > > > > >>>>> Just a note on current code, i saw QueryHandler
> (and
> > > some
> > > > > > other
> > > > > > > > > > >> beans)
> > > > > > > > > > >>>> has
> > > > > > > > > > >>>>> a request scope. Wonder if such a scope means
> > something
> > > > > for a
> > > > > > > > > generic
> > > > > > > > > > >>>> (not
> > > > > > > > > > >>>>> web) lib.
> > > > > > > > > > >>>>>
> > > > > > > > > > >>>>> wdyt?
> > > > > > > > > > >>>>>
> > > > > > > > > > >>>>> *Romain Manni-Bucau*
> > > > > > > > > > >>>>> *Twitter: @rmannibucau <
> > > https://twitter.com/rmannibucau
> > > > >*
> > > > > > > > > > >>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > > >>>>> *LinkedIn: **
> http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > >>>>> *Github: https://github.com/rmannibucau*
> > > > > > > > > > >>>>>
> > > > > > > > > > >>>>>
> > > > > > > > > > >>>>>
> > > > > > > > > > >>>>> 2013/2/20 Romain Manni-Bucau <
> rmannibucau@gmail.com>
> > > > > > > > > > >>>>>
> > > > > > > > > > >>>>>> guy you rocks!
> > > > > > > > > > >>>>>>
> > > > > > > > > > >>>>>> effectively i missed it when i looked.
> > > > > > > > > > >>>>>>
> > > > > > > > > > >>>>>> *Romain Manni-Bucau*
> > > > > > > > > > >>>>>> *Twitter: @rmannibucau <
> > > https://twitter.com/rmannibucau
> > > > >*
> > > > > > > > > > >>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > > >>>>>> *LinkedIn: **
> http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > >>>>>> *Github: https://github.com/rmannibucau*
> > > > > > > > > > >>>>>>
> > > > > > > > > > >>>>>>
> > > > > > > > > > >>>>>>
> > > > > > > > > > >>>>>> 2013/2/20 Thomas Hug <
> thomas.hug@ctp-consulting.com
> > >
> > > > > > > > > > >>>>>>
> > > > > > > > > > >>>>>>> Thnx Romain. If with proxy stuff you refer to the
> > DS
> > > > > > > > > > >>>>>>> InvocationHandlerBinding, that's already
> integrated
> > > :)
> > > > > > > > > > >>>>>>>
> > > > > > > > > > >>>>>>> RE pagination, it's maybe not that obvious, but
> > > there's
> > > > > > more
> > > > > > > > > > >>> advanced
> > > > > > > > > > >>>>>>> support in QueryResult [1][2], which is more of a
> > > > fluent
> > > > > > API
> > > > > > > > > > >>> approach,
> > > > > > > > > > >>>>> but
> > > > > > > > > > >>>>>>> should behave similar to a PageRequest (the query
> > > > > execution
> > > > > > > is
> > > > > > > > > > >>> delayed
> > > > > > > > > > >>>>>>> until the getResult() methods on QueryResult is
> > > > called).
> > > > > > Hope
> > > > > > > > > that
> > > > > > > > > > >>>> fits
> > > > > > > > > > >>>>> to
> > > > > > > > > > >>>>>>> what you had in mind.
> > > > > > > > > > >>>>>>>
> > > > > > > > > > >>>>>>> [1]
> > > > > > > > > > >>>>>>>
> > > > > > > > > > >>>>>>>
> > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > > > > > > > > > >>>>>>> [2]
> > > > > > > > > > >>>>>>>
> > > > > > > > > > >>>>>>>
> > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > > > > > > > > > >>>>>>> On Wed, Feb 20, 2013 at 10:04 PM, Romain
> > Manni-Bucau
> > > > > > > > > > >>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > > > >>>>>>>
> > > > > > > > > > >>>>>>>> Hi Thomas,
> > > > > > > > > > >>>>>>>>
> > > > > > > > > > >>>>>>>> importing proxy stuff would be the first great
> > > stuff.
> > > > > > > > > > >>>>>>>>
> > > > > > > > > > >>>>>>>> i'd like to see some pagination API (like
> > > PageRequest
> > > > > etc
> > > > > > in
> > > > > > > > > > >>> spring
> > > > > > > > > > >>>>>>> world)
> > > > > > > > > > >>>>>>>> which are more user friendly that @FirstResult
> and
> > > > > > > > @MaxResult).
> > > > > > > > > > >>>>>>>>
> > > > > > > > > > >>>>>>>> wdyt?
> > > > > > > > > > >>>>>>>>
> > > > > > > > > > >>>>>>>> *Romain Manni-Bucau*
> > > > > > > > > > >>>>>>>> *Twitter: @rmannibucau <
> > > > https://twitter.com/rmannibucau
> > > > > >*
> > > > > > > > > > >>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > > >>>>>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > > >>>>>>>> *LinkedIn: **
> > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > >>>>>>>> *Github: https://github.com/rmannibucau*
> > > > > > > > > > >>>>>>>>
> > > > > > > > > > >>>>>>>>
> > > > > > > > > > >>>>>>>>
> > > > > > > > > > >>>>>>>> 2013/2/20 Thomas Hug <
> > thomas.hug@ctp-consulting.com
> > > >
> > > > > > > > > > >>>>>>>>
> > > > > > > > > > >>>>>>>>> CDI Query has now a completely Solder-free POM.
> > > Feel
> > > > > free
> > > > > > > to
> > > > > > > > > > >>> drop
> > > > > > > > > > >>>>>>>> comments
> > > > > > > > > > >>>>>>>>> on the API - some parts might actually be fully
> > > > > excluded
> > > > > > > > (e.g.
> > > > > > > > > > >>>> home
> > > > > > > > > > >>>>>>> and
> > > > > > > > > > >>>>>>>>> critera APIs).
> > > > > > > > > > >>>>>>>>>
> > > > > > > > > > >>>>>>>>> On Tue, Feb 12, 2013 at 10:00 PM, Mark
> Struberg <
> > > > > > > > > > >>>> struberg@yahoo.de>
> > > > > > > > > > >>>>>>>> wrote:
> > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > >>>>>>>>>> Thanks Thomas, great news!
> > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > >>>>>>>>>> LieGrue,
> > > > > > > > > > >>>>>>>>>> strub
> > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > >>>>>>>>>>
> > > > > > > > > > >>>>>>>>>>> ________________________________
> > > > > > > > > > >>>>>>>>>>> From: Thomas Hug <
> > thomas.hug@ctp-consulting.com>
> > > > > > > > > > >>>>>>>>>>> To: "deltaspike-dev@incubator.apache.org" <
> > > > > > > > > > >>>>>>>>>> deltaspike-dev@incubator.apache.org>
> > > > > > > > > > >>>>>>>>>>> Sent: Tuesday, February 12, 2013 4:10 PM
> > > > > > > > > > >>>>>>>>>>> Subject: Re: cdi-query, no news?
> > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > >>>>>>>>>>> FYI, I've started to "de-solderize" CDI Query
> > and
> > > > > move
> > > > > > > > > > >> things
> > > > > > > > > > >>>> to
> > > > > > > > > > >>>>>>>> depend
> > > > > > > > > > >>>>>>>>> on
> > > > > > > > > > >>>>>>>>>>> DS Core [1]:
> > > > > > > > > > >>>>>>>>>>>
> > > > > https://github.com/ctpconsulting/query/tree/deltaspike
> > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > >>>>>>>>>>> Todos:
> > > > > > > > > > >>>>>>>>>>> [x] Replace ServiceHandler
> > > > > > > > > > >>>>>>>>>>> [_] Include Property utils
> > > > > > > > > > >>>>>>>>>>> [_] Replace JBoss Logging
> > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > >>>>>>>>>>> Any feedback welcome.
> > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > >>>>>>>>>>> [1] including this modification
> > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > > > > > > > > >>>>>>>>>>> On Mon, Feb 11, 2013 at 6:01 PM, Romain
> > > Manni-Bucau
> > > > > > > > > > >>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > >>>>>>>>>>>> a review of the API i guess
> > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > >>>>>>>>>>>> what is missing today is probably the
> > pagination
> > > > > > helpers
> > > > > > > > > > >>>>>>>> (PageRequest
> > > > > > > > > > >>>>>>>>>> for
> > > > > > > > > > >>>>>>>>>>>> instance)
> > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > >>>>>>>>>>>> but technically all is fine IMO
> > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > >>>>>>>>>>>> *Romain Manni-Bucau*
> > > > > > > > > > >>>>>>>>>>>> *Twitter: @rmannibucau <
> > > > > > https://twitter.com/rmannibucau
> > > > > > > > > > >>> *
> > > > > > > > > > >>>>>>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*
> <
> > > > > > > > > > >>>>>>>>>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > > >>>>>>>>>>>> *LinkedIn: **
> > > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > > >>>>>>>>>>>> *Github: https://github.com/rmannibucau*
> > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > >>>>>>>>>>>> 2013/2/11 Jason Porter <
> > lightguard.jp@gmail.com
> > > >
> > > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > > >>>>>>>>>>>>> I know I'm playing the necromancer, but
> > please
> > > > > > forgive
> > > > > > > > > > >>> me.
> > > > > > > > > > >>>> We
> > > > > > > > > > >>>>>>> have
> > > > > > > > > > >>>>>>>>>>>>> InvocationHandler, which looks like it
> would
> > > work
> > > > > as
> > > > > > a
> > > > > > > > > > >>>>>>>>> ServiceHandler
> > > > > > > > > > >>>>>>>>>>>>> substitute. What else is needed to get CDI
> > > Query
> > > > > into
> > > > > > > > > > >>>>>>> DeltaSpike?
> > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > >>>>>>>>>>>>> On Sun, Nov 18, 2012 at 12:35 PM, Romain
> > > > > Manni-Bucau
> > > > > > > > > > >>>>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > >>>>>>>>>>>>>> +1, it is a must have for cdi world
> > > > > > > > > > >>>>>>>>>>>>>> Le 18 nov. 2012 20:04, "john.d.ament" <
> > > > > > > > > > >>>>>>> john.d.ament@gmail.com>
> > > > > > > > > > >>>>>>>> a
> > > > > > > > > > >>>>>>>>>>>> écrit :
> > > > > > > > > > >>>>>>>>>>>>>>> RE ServiceHandler - I was one of those
> who
> > > > > > > > > > >> previously
> > > > > > > > > > >>>>>>>> suggested
> > > > > > > > > > >>>>>>>>>>>>> bringing
> > > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > > >>>>>>>>>>>>>>> over to DeltaSpike, you can see
> > > DELTASPIKE-113
> > > > > and
> > > > > > > > > > >>> find
> > > > > > > > > > >>>>> the
> > > > > > > > > > >>>>>>>>> thread
> > > > > > > > > > >>>>>>>>>>>>> about
> > > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > > >>>>>>>>>>>>>>> from April of this year.  At the time, I
> > was
> > > > in a
> > > > > > > > > > >>>>> position
> > > > > > > > > > >>>>>>>>> where I
> > > > > > > > > > >>>>>>>>>>>>>> couldn't
> > > > > > > > > > >>>>>>>>>>>>>>> spend much time on open source
> > contribution.
> > > > >  I've
> > > > > > > > > > >>>>> recently
> > > > > > > > > > >>>>>>>>>> changed
> > > > > > > > > > >>>>>>>>>>>>> jobs,
> > > > > > > > > > >>>>>>>>>>>>>>> to
> > > > > > > > > > >>>>>>>>>>>>>>> something that's going to help me spend
> > some
> > > > more
> > > > > > > > > > >>> time
> > > > > > > > > > >>>>> with
> > > > > > > > > > >>>>>>>> the
> > > > > > > > > > >>>>>>>>>> open
> > > > > > > > > > >>>>>>>>>>>>>> source
> > > > > > > > > > >>>>>>>>>>>>>>> community, and believe I can pick it back
> > up
> > > if
> > > > > > > > > > >> we're
> > > > > > > > > > >>>>>>> ready.
> > > > > > > > > > >>>>>>>>>>>>>>> If everyone's ok with it I can start a
> new
> > > > thread
> > > > > > > > > > >> for
> > > > > > > > > > >>>> 113
> > > > > > > > > > >>>>>>> or
> > > > > > > > > > >>>>>>>>>> revive
> > > > > > > > > > >>>>>>>>>>>> the
> > > > > > > > > > >>>>>>>>>>>>>> old
> > > > > > > > > > >>>>>>>>>>>>>>> thread (though it may come through with a
> > > large
> > > > > > > > > > >> pile
> > > > > > > > > > >>> of
> > > > > > > > > > >>>>>>> dust).
> > > > > > > > > > >>>>>>>>>>>>>>> Regards,
> > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > >>>>>>>>>>>>>>> John
> > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > >>>>>>>>>>>>>>> --
> > > > > > > > > > >>>>>>>>>>>>>>> View this message in context:
> > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > > > > > > > >>>>>>>>>>>>>>> Sent from the Apache DeltaSpike Incubator
> > > > > > > > > > >> Discussions
> > > > > > > > > > >>>>>>> mailing
> > > > > > > > > > >>>>>>>>> list
> > > > > > > > > > >>>>>>>>>>>>>> archive
> > > > > > > > > > >>>>>>>>>>>>>>> at Nabble.com.
> > > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > >>>>>>>>>>>>> --
> > > > > > > > > > >>>>>>>>>>>>> Jason Porter
> > > > > > > > > > >>>>>>>>>>>>> http://en.gravatar.com/lightguardjp
> > > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > >>>>>>>>>>>
> > > > > > > > > > >>>>>>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: cdi-query, no news?

Posted by "John D. Ament" <jo...@gmail.com>.
Does this have any direct/indirect dependencies on JPA module? Should this
maybe become a part of the JPA module?


On Wed, Mar 13, 2013 at 7:23 AM, Thomas Hug
<th...@ctp-consulting.com>wrote:

> Ok, I guess it's going to be Repository :) Updated the proposal branch and
> also moved things into a data package/module.
>
> Some remarks for the parts below:
>
> 1) EntityManagerRepository wasn't present in the Solder implementation -
> there it was possible to simply implement/extend EntityManager. The problem
> with the invocation handler is that it's not possible to restrict the bean
> type and exclude EntityManager (or I missed it). Otherwise I'd rather get
> rid of this interface.
>
> 2) WithEntityManager is definitely discussable. Not the full solution and
> not consistent. Could be solved with e.g. putting qualifiers on a method
> returning an EntityManager (less intuitive) or something like the
> InvocationHandlerBinding.
>
> 3) AbstractEntityRepository is just a convenience class for providing
> concrete query implementations.
>
> On Tue, Mar 12, 2013 at 9:40 PM, Gerhard Petracek <
> gerhard.petracek@gmail.com> wrote:
>
> > hi,
> >
> > currently we don't have one jira ticket per part/feature.
> > that's what we used to have for everything we imported.
> >
> > the first parts to discuss are imo EntityManagerDao, WithEntityManager
> and
> > AbstractEntityDao.
> >
> > regards,
> > gerhard
> >
> >
> >
> > 2013/3/12 Arne Limburg <ar...@openknowledge.de>
> >
> > > +1 for repository, from me too
> > >
> > > Gesendet mit meinem HTC
> > >
> > >
> > > ----- Reply message -----
> > > Von: "Thomas Andraschko" <an...@gmail.com>
> > > An: "deltaspike-dev@incubator.apache.org" <
> > > deltaspike-dev@incubator.apache.org>
> > > Betreff: cdi-query, no news?
> > > Datum: Di., Mär. 12, 2013 20:38
> > >
> > >
> > >
> > > +1 repository! :) "Query" doesn't really match the functionaly.
> > >
> > > 2013/3/12 Romain Manni-Bucau <rm...@gmail.com>
> > >
> > > > +2 for repo
> > > >
> > > > btw did you fixed the scope issue?
> > > >
> > > > *Romain Manni-Bucau*
> > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > http://rmannibucau.wordpress.com/>
> > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > *Github: https://github.com/rmannibucau*
> > > >
> > > >
> > > >
> > > > 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
> > > >
> > > > > The name is still freely choosable - data sounds fine to me if
> nobody
> > > > minds
> > > > > the obvious mirroring on Spring Data ;) dao/@Dao is discussable,
> all
> > > the
> > > > > domain driven folks prefer probably something like "Repository".
> > > > >
> > > > > On Tue, Mar 12, 2013 at 7:29 PM, Romain Manni-Bucau
> > > > > <rm...@gmail.com>wrote:
> > > > >
> > > > > > Great :)
> > > > > >
> > > > > > any issue changing "query" to something closer to what it really
> > > does ;
> > > > > > "dao" (because of @Dao) or "data"?
> > > > > >
> > > > > > *Romain Manni-Bucau*
> > > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > http://rmannibucau.wordpress.com/>
> > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > *Github: https://gihub.com/rmannibucau* <
> > > > https://github.com/rmannibucau*
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
> > > > > >
> > > > > > > FYI, I've started something like an import proposal in a
> > dedicated
> > > > > branch
> > > > > > > [1]. There's currently only the JBoss Arquillian profile
> running,
> > > > > haven't
> > > > > > > looked at the others. Any support there and of course other
> > input's
> > > > > very
> > > > > > > welcome :)
> > > > > > >
> > > > > > > [1] https://github.com/ctpconsulting/query/tree/dsimport
> > > > > > >
> > > > > > > On Tue, Mar 5, 2013 at 7:45 AM, Romain Manni-Bucau <
> > > > > > rmannibucau@gmail.com
> > > > > > > >wrote:
> > > > > > >
> > > > > > > > Yes
> > > > > > > >
> > > > > > > > It works fine but you bring too much spring dependencies
> > (totally
> > > > > > useless
> > > > > > > > when used this way) which clearly show it is rather a bridge
> > > than a
> > > > > > > > solution + there were some leaks in previous version (didnt
> > check
> > > > fix
> > > > > > was
> > > > > > > > released to be honest) because if this usage which was not
> the
> > > > > default
> > > > > > > one.
> > > > > > > >
> > > > > > > > Since cdi query is here it worths importing it IMO
> > > > > > > > Le 5 mars 2013 02:21, "hantsy" <ha...@yahoo.com.cn> a
> écrit :
> > > > > > > >
> > > > > > > > > I remember the Spring Data has a CDI extension, but I have
> > not
> > > > used
> > > > > > it
> > > > > > > > > in projects. Is there anyone used it in Java EE 6 projects?
> > > > > > > > >
> > > > > > > > > Hantsy
> > > > > > > > >
> > > > > > > > > On 3/3/2013 20:40, Romain Manni-Bucau wrote:
> > > > > > > > > > Basically if the query logic could be scope agnostic it
> > would
> > > > be
> > > > > > > > perfect
> > > > > > > > > > for me. Parameters were fine and matched the coomon need.
> > I m
> > > > not
> > > > > > > sure
> > > > > > > > i
> > > > > > > > > > get what is blocking. Can you detail it a bit please?
> > > > > > > > > > Le 3 mars 2013 13:09, "Thomas Hug" <
> > > > > thomas.hug@ctp-consulting.com>
> > > > > > a
> > > > > > > > > écrit :
> > > > > > > > > >
> > > > > > > > > >> Aha got you. Yes QueryHandler can be moved to
> application
> > > > scope.
> > > > > > > > > >>
> > > > > > > > > >> The other request scoped component ist the
> > > > > > > CdiQueryInvocationContext.
> > > > > > > > > Here
> > > > > > > > > >> we store a bunch of data which is related to the current
> > > query
> > > > > > > > > (parameters,
> > > > > > > > > >> query string etc). Originally this was passed as
> > parameter,
> > > > but
> > > > > > got
> > > > > > > > > >> injectable for the extension mechanism [1]. Currently on
> > > > > holidays
> > > > > > > > (sorry
> > > > > > > > > >> the response delays) so not much time to look into it
> but
> > > > happy
> > > > > to
> > > > > > > > take
> > > > > > > > > >> suggestions :)
> > > > > > > > > >>
> > > > > > > > > >> [1]
> > > > > > > > > >>
> > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> > > > > > > > > >>
> > > > > > > > > >> On Fri, Mar 1, 2013 at 8:18 PM, Romain Manni-Bucau <
> > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > >>> wrote:
> > > > > > > > > >>> Hmm,
> > > > > > > > > >>>
> > > > > > > > > >>> Wonder if the scope couldnt be application one. Request
> > > > sounds
> > > > > > too
> > > > > > > > much
> > > > > > > > > >> web
> > > > > > > > > >>> to be usable/generic
> > > > > > > > > >>> Le 1 mars 2013 19:02, "Thomas Hug" <
> > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > a
> > > > > > > > > >>> écrit :
> > > > > > > > > >>>
> > > > > > > > > >>>> Fine for me - planned to create a branch with all the
> > > > > > experimental
> > > > > > > > > APIs
> > > > > > > > > >>>> cleared out as an import proposal.
> > > > > > > > > >>>>
> > > > > > > > > >>>> RE scope, the InvocationHandlers are validated to be
> > > normal
> > > > > > scoped
> > > > > > > > > [1],
> > > > > > > > > >>> so
> > > > > > > > > >>>> that seemed to me the most appropriate choice - any
> > other
> > > > > > > > suggestions?
> > > > > > > > > >>>>
> > > > > > > > > >>>> [1]
> > > > > > > > > >>>>
> > > > > > > > > >>>>
> > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > > > > > > > > >>>>
> > > > > > > > > >>>> On Wed, Feb 27, 2013 at 1:15 PM, Romain Manni-Bucau
> > > > > > > > > >>>> <rm...@gmail.com>wrote:
> > > > > > > > > >>>>
> > > > > > > > > >>>>> Hi,
> > > > > > > > > >>>>>
> > > > > > > > > >>>>> some news of it?
> > > > > > > > > >>>>>
> > > > > > > > > >>>>> i think it is time to import at least a first
> version,
> > > > isn't
> > > > > > it?
> > > > > > > > > >>>>>
> > > > > > > > > >>>>> Just a note on current code, i saw QueryHandler (and
> > some
> > > > > other
> > > > > > > > > >> beans)
> > > > > > > > > >>>> has
> > > > > > > > > >>>>> a request scope. Wonder if such a scope means
> something
> > > > for a
> > > > > > > > generic
> > > > > > > > > >>>> (not
> > > > > > > > > >>>>> web) lib.
> > > > > > > > > >>>>>
> > > > > > > > > >>>>> wdyt?
> > > > > > > > > >>>>>
> > > > > > > > > >>>>> *Romain Manni-Bucau*
> > > > > > > > > >>>>> *Twitter: @rmannibucau <
> > https://twitter.com/rmannibucau
> > > >*
> > > > > > > > > >>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > >>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > >>>>> *Github: https://github.com/rmannibucau*
> > > > > > > > > >>>>>
> > > > > > > > > >>>>>
> > > > > > > > > >>>>>
> > > > > > > > > >>>>> 2013/2/20 Romain Manni-Bucau <rm...@gmail.com>
> > > > > > > > > >>>>>
> > > > > > > > > >>>>>> guy you rocks!
> > > > > > > > > >>>>>>
> > > > > > > > > >>>>>> effectively i missed it when i looked.
> > > > > > > > > >>>>>>
> > > > > > > > > >>>>>> *Romain Manni-Bucau*
> > > > > > > > > >>>>>> *Twitter: @rmannibucau <
> > https://twitter.com/rmannibucau
> > > >*
> > > > > > > > > >>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > >>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > >>>>>> *Github: https://github.com/rmannibucau*
> > > > > > > > > >>>>>>
> > > > > > > > > >>>>>>
> > > > > > > > > >>>>>>
> > > > > > > > > >>>>>> 2013/2/20 Thomas Hug <thomas.hug@ctp-consulting.com
> >
> > > > > > > > > >>>>>>
> > > > > > > > > >>>>>>> Thnx Romain. If with proxy stuff you refer to the
> DS
> > > > > > > > > >>>>>>> InvocationHandlerBinding, that's already integrated
> > :)
> > > > > > > > > >>>>>>>
> > > > > > > > > >>>>>>> RE pagination, it's maybe not that obvious, but
> > there's
> > > > > more
> > > > > > > > > >>> advanced
> > > > > > > > > >>>>>>> support in QueryResult [1][2], which is more of a
> > > fluent
> > > > > API
> > > > > > > > > >>> approach,
> > > > > > > > > >>>>> but
> > > > > > > > > >>>>>>> should behave similar to a PageRequest (the query
> > > > execution
> > > > > > is
> > > > > > > > > >>> delayed
> > > > > > > > > >>>>>>> until the getResult() methods on QueryResult is
> > > called).
> > > > > Hope
> > > > > > > > that
> > > > > > > > > >>>> fits
> > > > > > > > > >>>>> to
> > > > > > > > > >>>>>>> what you had in mind.
> > > > > > > > > >>>>>>>
> > > > > > > > > >>>>>>> [1]
> > > > > > > > > >>>>>>>
> > > > > > > > > >>>>>>>
> > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > > > > > > > > >>>>>>> [2]
> > > > > > > > > >>>>>>>
> > > > > > > > > >>>>>>>
> > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > > > > > > > > >>>>>>> On Wed, Feb 20, 2013 at 10:04 PM, Romain
> Manni-Bucau
> > > > > > > > > >>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > > >>>>>>>
> > > > > > > > > >>>>>>>> Hi Thomas,
> > > > > > > > > >>>>>>>>
> > > > > > > > > >>>>>>>> importing proxy stuff would be the first great
> > stuff.
> > > > > > > > > >>>>>>>>
> > > > > > > > > >>>>>>>> i'd like to see some pagination API (like
> > PageRequest
> > > > etc
> > > > > in
> > > > > > > > > >>> spring
> > > > > > > > > >>>>>>> world)
> > > > > > > > > >>>>>>>> which are more user friendly that @FirstResult and
> > > > > > > @MaxResult).
> > > > > > > > > >>>>>>>>
> > > > > > > > > >>>>>>>> wdyt?
> > > > > > > > > >>>>>>>>
> > > > > > > > > >>>>>>>> *Romain Manni-Bucau*
> > > > > > > > > >>>>>>>> *Twitter: @rmannibucau <
> > > https://twitter.com/rmannibucau
> > > > >*
> > > > > > > > > >>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > >>>>>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > >>>>>>>> *LinkedIn: **
> http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > >>>>>>>> *Github: https://github.com/rmannibucau*
> > > > > > > > > >>>>>>>>
> > > > > > > > > >>>>>>>>
> > > > > > > > > >>>>>>>>
> > > > > > > > > >>>>>>>> 2013/2/20 Thomas Hug <
> thomas.hug@ctp-consulting.com
> > >
> > > > > > > > > >>>>>>>>
> > > > > > > > > >>>>>>>>> CDI Query has now a completely Solder-free POM.
> > Feel
> > > > free
> > > > > > to
> > > > > > > > > >>> drop
> > > > > > > > > >>>>>>>> comments
> > > > > > > > > >>>>>>>>> on the API - some parts might actually be fully
> > > > excluded
> > > > > > > (e.g.
> > > > > > > > > >>>> home
> > > > > > > > > >>>>>>> and
> > > > > > > > > >>>>>>>>> critera APIs).
> > > > > > > > > >>>>>>>>>
> > > > > > > > > >>>>>>>>> On Tue, Feb 12, 2013 at 10:00 PM, Mark Struberg <
> > > > > > > > > >>>> struberg@yahoo.de>
> > > > > > > > > >>>>>>>> wrote:
> > > > > > > > > >>>>>>>>>>
> > > > > > > > > >>>>>>>>>> Thanks Thomas, great news!
> > > > > > > > > >>>>>>>>>>
> > > > > > > > > >>>>>>>>>> LieGrue,
> > > > > > > > > >>>>>>>>>> strub
> > > > > > > > > >>>>>>>>>>
> > > > > > > > > >>>>>>>>>>
> > > > > > > > > >>>>>>>>>>
> > > > > > > > > >>>>>>>>>>
> > > > > > > > > >>>>>>>>>>
> > > > > > > > > >>>>>>>>>>> ________________________________
> > > > > > > > > >>>>>>>>>>> From: Thomas Hug <
> thomas.hug@ctp-consulting.com>
> > > > > > > > > >>>>>>>>>>> To: "deltaspike-dev@incubator.apache.org" <
> > > > > > > > > >>>>>>>>>> deltaspike-dev@incubator.apache.org>
> > > > > > > > > >>>>>>>>>>> Sent: Tuesday, February 12, 2013 4:10 PM
> > > > > > > > > >>>>>>>>>>> Subject: Re: cdi-query, no news?
> > > > > > > > > >>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>> FYI, I've started to "de-solderize" CDI Query
> and
> > > > move
> > > > > > > > > >> things
> > > > > > > > > >>>> to
> > > > > > > > > >>>>>>>> depend
> > > > > > > > > >>>>>>>>> on
> > > > > > > > > >>>>>>>>>>> DS Core [1]:
> > > > > > > > > >>>>>>>>>>>
> > > > https://github.com/ctpconsulting/query/tree/deltaspike
> > > > > > > > > >>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>> Todos:
> > > > > > > > > >>>>>>>>>>> [x] Replace ServiceHandler
> > > > > > > > > >>>>>>>>>>> [_] Include Property utils
> > > > > > > > > >>>>>>>>>>> [_] Replace JBoss Logging
> > > > > > > > > >>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>> Any feedback welcome.
> > > > > > > > > >>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>> [1] including this modification
> > > > > > > > > >>>>>>>>>>>
> > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > > > > > > > >>>>>>>>>>> On Mon, Feb 11, 2013 at 6:01 PM, Romain
> > Manni-Bucau
> > > > > > > > > >>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > > >>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>> a review of the API i guess
> > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>> what is missing today is probably the
> pagination
> > > > > helpers
> > > > > > > > > >>>>>>>> (PageRequest
> > > > > > > > > >>>>>>>>>> for
> > > > > > > > > >>>>>>>>>>>> instance)
> > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>> but technically all is fine IMO
> > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>> *Romain Manni-Bucau*
> > > > > > > > > >>>>>>>>>>>> *Twitter: @rmannibucau <
> > > > > https://twitter.com/rmannibucau
> > > > > > > > > >>> *
> > > > > > > > > >>>>>>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > >>>>>>>>>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > >>>>>>>>>>>> *LinkedIn: **
> > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > >>>>>>>>>>>> *Github: https://github.com/rmannibucau*
> > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>> 2013/2/11 Jason Porter <
> lightguard.jp@gmail.com
> > >
> > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>>> I know I'm playing the necromancer, but
> please
> > > > > forgive
> > > > > > > > > >>> me.
> > > > > > > > > >>>> We
> > > > > > > > > >>>>>>> have
> > > > > > > > > >>>>>>>>>>>>> InvocationHandler, which looks like it would
> > work
> > > > as
> > > > > a
> > > > > > > > > >>>>>>>>> ServiceHandler
> > > > > > > > > >>>>>>>>>>>>> substitute. What else is needed to get CDI
> > Query
> > > > into
> > > > > > > > > >>>>>>> DeltaSpike?
> > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>>> On Sun, Nov 18, 2012 at 12:35 PM, Romain
> > > > Manni-Bucau
> > > > > > > > > >>>>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>>>> +1, it is a must have for cdi world
> > > > > > > > > >>>>>>>>>>>>>> Le 18 nov. 2012 20:04, "john.d.ament" <
> > > > > > > > > >>>>>>> john.d.ament@gmail.com>
> > > > > > > > > >>>>>>>> a
> > > > > > > > > >>>>>>>>>>>> écrit :
> > > > > > > > > >>>>>>>>>>>>>>> RE ServiceHandler - I was one of those who
> > > > > > > > > >> previously
> > > > > > > > > >>>>>>>> suggested
> > > > > > > > > >>>>>>>>>>>>> bringing
> > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > >>>>>>>>>>>>>>> over to DeltaSpike, you can see
> > DELTASPIKE-113
> > > > and
> > > > > > > > > >>> find
> > > > > > > > > >>>>> the
> > > > > > > > > >>>>>>>>> thread
> > > > > > > > > >>>>>>>>>>>>> about
> > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > >>>>>>>>>>>>>>> from April of this year.  At the time, I
> was
> > > in a
> > > > > > > > > >>>>> position
> > > > > > > > > >>>>>>>>> where I
> > > > > > > > > >>>>>>>>>>>>>> couldn't
> > > > > > > > > >>>>>>>>>>>>>>> spend much time on open source
> contribution.
> > > >  I've
> > > > > > > > > >>>>> recently
> > > > > > > > > >>>>>>>>>> changed
> > > > > > > > > >>>>>>>>>>>>> jobs,
> > > > > > > > > >>>>>>>>>>>>>>> to
> > > > > > > > > >>>>>>>>>>>>>>> something that's going to help me spend
> some
> > > more
> > > > > > > > > >>> time
> > > > > > > > > >>>>> with
> > > > > > > > > >>>>>>>> the
> > > > > > > > > >>>>>>>>>> open
> > > > > > > > > >>>>>>>>>>>>>> source
> > > > > > > > > >>>>>>>>>>>>>>> community, and believe I can pick it back
> up
> > if
> > > > > > > > > >> we're
> > > > > > > > > >>>>>>> ready.
> > > > > > > > > >>>>>>>>>>>>>>> If everyone's ok with it I can start a new
> > > thread
> > > > > > > > > >> for
> > > > > > > > > >>>> 113
> > > > > > > > > >>>>>>> or
> > > > > > > > > >>>>>>>>>> revive
> > > > > > > > > >>>>>>>>>>>> the
> > > > > > > > > >>>>>>>>>>>>>> old
> > > > > > > > > >>>>>>>>>>>>>>> thread (though it may come through with a
> > large
> > > > > > > > > >> pile
> > > > > > > > > >>> of
> > > > > > > > > >>>>>>> dust).
> > > > > > > > > >>>>>>>>>>>>>>> Regards,
> > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>>>>> John
> > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>>>>> --
> > > > > > > > > >>>>>>>>>>>>>>> View this message in context:
> > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > > > > > > >>>>>>>>>>>>>>> Sent from the Apache DeltaSpike Incubator
> > > > > > > > > >> Discussions
> > > > > > > > > >>>>>>> mailing
> > > > > > > > > >>>>>>>>> list
> > > > > > > > > >>>>>>>>>>>>>> archive
> > > > > > > > > >>>>>>>>>>>>>>> at Nabble.com.
> > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>>> --
> > > > > > > > > >>>>>>>>>>>>> Jason Porter
> > > > > > > > > >>>>>>>>>>>>> http://en.gravatar.com/lightguardjp
> > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>
> > > > > > > > > >>>>>>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
why not simply providing the interface feature as a first step?

WithEm is fine for me even if i'd like a better name (but don't find a good
one ATM). What is to avoid is @Repository(EmQualifier.class) because @Repo
could be used with jpa in the future


exposed utilities can come later no?

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/3/13 Thomas Hug <th...@ctp-consulting.com>

> Ok, I guess it's going to be Repository :) Updated the proposal branch and
> also moved things into a data package/module.
>
> Some remarks for the parts below:
>
> 1) EntityManagerRepository wasn't present in the Solder implementation -
> there it was possible to simply implement/extend EntityManager. The problem
> with the invocation handler is that it's not possible to restrict the bean
> type and exclude EntityManager (or I missed it). Otherwise I'd rather get
> rid of this interface.
>
> 2) WithEntityManager is definitely discussable. Not the full solution and
> not consistent. Could be solved with e.g. putting qualifiers on a method
> returning an EntityManager (less intuitive) or something like the
> InvocationHandlerBinding.
>
> 3) AbstractEntityRepository is just a convenience class for providing
> concrete query implementations.
>
> On Tue, Mar 12, 2013 at 9:40 PM, Gerhard Petracek <
> gerhard.petracek@gmail.com> wrote:
>
> > hi,
> >
> > currently we don't have one jira ticket per part/feature.
> > that's what we used to have for everything we imported.
> >
> > the first parts to discuss are imo EntityManagerDao, WithEntityManager
> and
> > AbstractEntityDao.
> >
> > regards,
> > gerhard
> >
> >
> >
> > 2013/3/12 Arne Limburg <ar...@openknowledge.de>
> >
> > > +1 for repository, from me too
> > >
> > > Gesendet mit meinem HTC
> > >
> > >
> > > ----- Reply message -----
> > > Von: "Thomas Andraschko" <an...@gmail.com>
> > > An: "deltaspike-dev@incubator.apache.org" <
> > > deltaspike-dev@incubator.apache.org>
> > > Betreff: cdi-query, no news?
> > > Datum: Di., Mär. 12, 2013 20:38
> > >
> > >
> > >
> > > +1 repository! :) "Query" doesn't really match the functionaly.
> > >
> > > 2013/3/12 Romain Manni-Bucau <rm...@gmail.com>
> > >
> > > > +2 for repo
> > > >
> > > > btw did you fixed the scope issue?
> > > >
> > > > *Romain Manni-Bucau*
> > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > http://rmannibucau.wordpress.com/>
> > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > *Github: https://github.com/rmannibucau*
> > > >
> > > >
> > > >
> > > > 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
> > > >
> > > > > The name is still freely choosable - data sounds fine to me if
> nobody
> > > > minds
> > > > > the obvious mirroring on Spring Data ;) dao/@Dao is discussable,
> all
> > > the
> > > > > domain driven folks prefer probably something like "Repository".
> > > > >
> > > > > On Tue, Mar 12, 2013 at 7:29 PM, Romain Manni-Bucau
> > > > > <rm...@gmail.com>wrote:
> > > > >
> > > > > > Great :)
> > > > > >
> > > > > > any issue changing "query" to something closer to what it really
> > > does ;
> > > > > > "dao" (because of @Dao) or "data"?
> > > > > >
> > > > > > *Romain Manni-Bucau*
> > > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > http://rmannibucau.wordpress.com/>
> > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > *Github: https://gihub.com/rmannibucau* <
> > > > https://github.com/rmannibucau*
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
> > > > > >
> > > > > > > FYI, I've started something like an import proposal in a
> > dedicated
> > > > > branch
> > > > > > > [1]. There's currently only the JBoss Arquillian profile
> running,
> > > > > haven't
> > > > > > > looked at the others. Any support there and of course other
> > input's
> > > > > very
> > > > > > > welcome :)
> > > > > > >
> > > > > > > [1] https://github.com/ctpconsulting/query/tree/dsimport
> > > > > > >
> > > > > > > On Tue, Mar 5, 2013 at 7:45 AM, Romain Manni-Bucau <
> > > > > > rmannibucau@gmail.com
> > > > > > > >wrote:
> > > > > > >
> > > > > > > > Yes
> > > > > > > >
> > > > > > > > It works fine but you bring too much spring dependencies
> > (totally
> > > > > > useless
> > > > > > > > when used this way) which clearly show it is rather a bridge
> > > than a
> > > > > > > > solution + there were some leaks in previous version (didnt
> > check
> > > > fix
> > > > > > was
> > > > > > > > released to be honest) because if this usage which was not
> the
> > > > > default
> > > > > > > one.
> > > > > > > >
> > > > > > > > Since cdi query is here it worths importing it IMO
> > > > > > > > Le 5 mars 2013 02:21, "hantsy" <ha...@yahoo.com.cn> a
> écrit :
> > > > > > > >
> > > > > > > > > I remember the Spring Data has a CDI extension, but I have
> > not
> > > > used
> > > > > > it
> > > > > > > > > in projects. Is there anyone used it in Java EE 6 projects?
> > > > > > > > >
> > > > > > > > > Hantsy
> > > > > > > > >
> > > > > > > > > On 3/3/2013 20:40, Romain Manni-Bucau wrote:
> > > > > > > > > > Basically if the query logic could be scope agnostic it
> > would
> > > > be
> > > > > > > > perfect
> > > > > > > > > > for me. Parameters were fine and matched the coomon need.
> > I m
> > > > not
> > > > > > > sure
> > > > > > > > i
> > > > > > > > > > get what is blocking. Can you detail it a bit please?
> > > > > > > > > > Le 3 mars 2013 13:09, "Thomas Hug" <
> > > > > thomas.hug@ctp-consulting.com>
> > > > > > a
> > > > > > > > > écrit :
> > > > > > > > > >
> > > > > > > > > >> Aha got you. Yes QueryHandler can be moved to
> application
> > > > scope.
> > > > > > > > > >>
> > > > > > > > > >> The other request scoped component ist the
> > > > > > > CdiQueryInvocationContext.
> > > > > > > > > Here
> > > > > > > > > >> we store a bunch of data which is related to the current
> > > query
> > > > > > > > > (parameters,
> > > > > > > > > >> query string etc). Originally this was passed as
> > parameter,
> > > > but
> > > > > > got
> > > > > > > > > >> injectable for the extension mechanism [1]. Currently on
> > > > > holidays
> > > > > > > > (sorry
> > > > > > > > > >> the response delays) so not much time to look into it
> but
> > > > happy
> > > > > to
> > > > > > > > take
> > > > > > > > > >> suggestions :)
> > > > > > > > > >>
> > > > > > > > > >> [1]
> > > > > > > > > >>
> > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> > > > > > > > > >>
> > > > > > > > > >> On Fri, Mar 1, 2013 at 8:18 PM, Romain Manni-Bucau <
> > > > > > > > > rmannibucau@gmail.com
> > > > > > > > > >>> wrote:
> > > > > > > > > >>> Hmm,
> > > > > > > > > >>>
> > > > > > > > > >>> Wonder if the scope couldnt be application one. Request
> > > > sounds
> > > > > > too
> > > > > > > > much
> > > > > > > > > >> web
> > > > > > > > > >>> to be usable/generic
> > > > > > > > > >>> Le 1 mars 2013 19:02, "Thomas Hug" <
> > > > > > thomas.hug@ctp-consulting.com>
> > > > > > > a
> > > > > > > > > >>> écrit :
> > > > > > > > > >>>
> > > > > > > > > >>>> Fine for me - planned to create a branch with all the
> > > > > > experimental
> > > > > > > > > APIs
> > > > > > > > > >>>> cleared out as an import proposal.
> > > > > > > > > >>>>
> > > > > > > > > >>>> RE scope, the InvocationHandlers are validated to be
> > > normal
> > > > > > scoped
> > > > > > > > > [1],
> > > > > > > > > >>> so
> > > > > > > > > >>>> that seemed to me the most appropriate choice - any
> > other
> > > > > > > > suggestions?
> > > > > > > > > >>>>
> > > > > > > > > >>>> [1]
> > > > > > > > > >>>>
> > > > > > > > > >>>>
> > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > > > > > > > > >>>>
> > > > > > > > > >>>> On Wed, Feb 27, 2013 at 1:15 PM, Romain Manni-Bucau
> > > > > > > > > >>>> <rm...@gmail.com>wrote:
> > > > > > > > > >>>>
> > > > > > > > > >>>>> Hi,
> > > > > > > > > >>>>>
> > > > > > > > > >>>>> some news of it?
> > > > > > > > > >>>>>
> > > > > > > > > >>>>> i think it is time to import at least a first
> version,
> > > > isn't
> > > > > > it?
> > > > > > > > > >>>>>
> > > > > > > > > >>>>> Just a note on current code, i saw QueryHandler (and
> > some
> > > > > other
> > > > > > > > > >> beans)
> > > > > > > > > >>>> has
> > > > > > > > > >>>>> a request scope. Wonder if such a scope means
> something
> > > > for a
> > > > > > > > generic
> > > > > > > > > >>>> (not
> > > > > > > > > >>>>> web) lib.
> > > > > > > > > >>>>>
> > > > > > > > > >>>>> wdyt?
> > > > > > > > > >>>>>
> > > > > > > > > >>>>> *Romain Manni-Bucau*
> > > > > > > > > >>>>> *Twitter: @rmannibucau <
> > https://twitter.com/rmannibucau
> > > >*
> > > > > > > > > >>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > >>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > >>>>> *Github: https://github.com/rmannibucau*
> > > > > > > > > >>>>>
> > > > > > > > > >>>>>
> > > > > > > > > >>>>>
> > > > > > > > > >>>>> 2013/2/20 Romain Manni-Bucau <rm...@gmail.com>
> > > > > > > > > >>>>>
> > > > > > > > > >>>>>> guy you rocks!
> > > > > > > > > >>>>>>
> > > > > > > > > >>>>>> effectively i missed it when i looked.
> > > > > > > > > >>>>>>
> > > > > > > > > >>>>>> *Romain Manni-Bucau*
> > > > > > > > > >>>>>> *Twitter: @rmannibucau <
> > https://twitter.com/rmannibucau
> > > >*
> > > > > > > > > >>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > >>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > >>>>>> *Github: https://github.com/rmannibucau*
> > > > > > > > > >>>>>>
> > > > > > > > > >>>>>>
> > > > > > > > > >>>>>>
> > > > > > > > > >>>>>> 2013/2/20 Thomas Hug <thomas.hug@ctp-consulting.com
> >
> > > > > > > > > >>>>>>
> > > > > > > > > >>>>>>> Thnx Romain. If with proxy stuff you refer to the
> DS
> > > > > > > > > >>>>>>> InvocationHandlerBinding, that's already integrated
> > :)
> > > > > > > > > >>>>>>>
> > > > > > > > > >>>>>>> RE pagination, it's maybe not that obvious, but
> > there's
> > > > > more
> > > > > > > > > >>> advanced
> > > > > > > > > >>>>>>> support in QueryResult [1][2], which is more of a
> > > fluent
> > > > > API
> > > > > > > > > >>> approach,
> > > > > > > > > >>>>> but
> > > > > > > > > >>>>>>> should behave similar to a PageRequest (the query
> > > > execution
> > > > > > is
> > > > > > > > > >>> delayed
> > > > > > > > > >>>>>>> until the getResult() methods on QueryResult is
> > > called).
> > > > > Hope
> > > > > > > > that
> > > > > > > > > >>>> fits
> > > > > > > > > >>>>> to
> > > > > > > > > >>>>>>> what you had in mind.
> > > > > > > > > >>>>>>>
> > > > > > > > > >>>>>>> [1]
> > > > > > > > > >>>>>>>
> > > > > > > > > >>>>>>>
> > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > > > > > > > > >>>>>>> [2]
> > > > > > > > > >>>>>>>
> > > > > > > > > >>>>>>>
> > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > > > > > > > > >>>>>>> On Wed, Feb 20, 2013 at 10:04 PM, Romain
> Manni-Bucau
> > > > > > > > > >>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > > >>>>>>>
> > > > > > > > > >>>>>>>> Hi Thomas,
> > > > > > > > > >>>>>>>>
> > > > > > > > > >>>>>>>> importing proxy stuff would be the first great
> > stuff.
> > > > > > > > > >>>>>>>>
> > > > > > > > > >>>>>>>> i'd like to see some pagination API (like
> > PageRequest
> > > > etc
> > > > > in
> > > > > > > > > >>> spring
> > > > > > > > > >>>>>>> world)
> > > > > > > > > >>>>>>>> which are more user friendly that @FirstResult and
> > > > > > > @MaxResult).
> > > > > > > > > >>>>>>>>
> > > > > > > > > >>>>>>>> wdyt?
> > > > > > > > > >>>>>>>>
> > > > > > > > > >>>>>>>> *Romain Manni-Bucau*
> > > > > > > > > >>>>>>>> *Twitter: @rmannibucau <
> > > https://twitter.com/rmannibucau
> > > > >*
> > > > > > > > > >>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > >>>>>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > >>>>>>>> *LinkedIn: **
> http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > >>>>>>>> *Github: https://github.com/rmannibucau*
> > > > > > > > > >>>>>>>>
> > > > > > > > > >>>>>>>>
> > > > > > > > > >>>>>>>>
> > > > > > > > > >>>>>>>> 2013/2/20 Thomas Hug <
> thomas.hug@ctp-consulting.com
> > >
> > > > > > > > > >>>>>>>>
> > > > > > > > > >>>>>>>>> CDI Query has now a completely Solder-free POM.
> > Feel
> > > > free
> > > > > > to
> > > > > > > > > >>> drop
> > > > > > > > > >>>>>>>> comments
> > > > > > > > > >>>>>>>>> on the API - some parts might actually be fully
> > > > excluded
> > > > > > > (e.g.
> > > > > > > > > >>>> home
> > > > > > > > > >>>>>>> and
> > > > > > > > > >>>>>>>>> critera APIs).
> > > > > > > > > >>>>>>>>>
> > > > > > > > > >>>>>>>>> On Tue, Feb 12, 2013 at 10:00 PM, Mark Struberg <
> > > > > > > > > >>>> struberg@yahoo.de>
> > > > > > > > > >>>>>>>> wrote:
> > > > > > > > > >>>>>>>>>>
> > > > > > > > > >>>>>>>>>> Thanks Thomas, great news!
> > > > > > > > > >>>>>>>>>>
> > > > > > > > > >>>>>>>>>> LieGrue,
> > > > > > > > > >>>>>>>>>> strub
> > > > > > > > > >>>>>>>>>>
> > > > > > > > > >>>>>>>>>>
> > > > > > > > > >>>>>>>>>>
> > > > > > > > > >>>>>>>>>>
> > > > > > > > > >>>>>>>>>>
> > > > > > > > > >>>>>>>>>>> ________________________________
> > > > > > > > > >>>>>>>>>>> From: Thomas Hug <
> thomas.hug@ctp-consulting.com>
> > > > > > > > > >>>>>>>>>>> To: "deltaspike-dev@incubator.apache.org" <
> > > > > > > > > >>>>>>>>>> deltaspike-dev@incubator.apache.org>
> > > > > > > > > >>>>>>>>>>> Sent: Tuesday, February 12, 2013 4:10 PM
> > > > > > > > > >>>>>>>>>>> Subject: Re: cdi-query, no news?
> > > > > > > > > >>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>> FYI, I've started to "de-solderize" CDI Query
> and
> > > > move
> > > > > > > > > >> things
> > > > > > > > > >>>> to
> > > > > > > > > >>>>>>>> depend
> > > > > > > > > >>>>>>>>> on
> > > > > > > > > >>>>>>>>>>> DS Core [1]:
> > > > > > > > > >>>>>>>>>>>
> > > > https://github.com/ctpconsulting/query/tree/deltaspike
> > > > > > > > > >>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>> Todos:
> > > > > > > > > >>>>>>>>>>> [x] Replace ServiceHandler
> > > > > > > > > >>>>>>>>>>> [_] Include Property utils
> > > > > > > > > >>>>>>>>>>> [_] Replace JBoss Logging
> > > > > > > > > >>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>> Any feedback welcome.
> > > > > > > > > >>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>> [1] including this modification
> > > > > > > > > >>>>>>>>>>>
> > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > > > > > > > >>>>>>>>>>> On Mon, Feb 11, 2013 at 6:01 PM, Romain
> > Manni-Bucau
> > > > > > > > > >>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > > >>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>> a review of the API i guess
> > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>> what is missing today is probably the
> pagination
> > > > > helpers
> > > > > > > > > >>>>>>>> (PageRequest
> > > > > > > > > >>>>>>>>>> for
> > > > > > > > > >>>>>>>>>>>> instance)
> > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>> but technically all is fine IMO
> > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>> *Romain Manni-Bucau*
> > > > > > > > > >>>>>>>>>>>> *Twitter: @rmannibucau <
> > > > > https://twitter.com/rmannibucau
> > > > > > > > > >>> *
> > > > > > > > > >>>>>>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > > >>>>>>>>>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > > >>>>>>>>>>>> *LinkedIn: **
> > > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > >>>>>>>>>>>> *Github: https://github.com/rmannibucau*
> > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>> 2013/2/11 Jason Porter <
> lightguard.jp@gmail.com
> > >
> > > > > > > > > >>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>>> I know I'm playing the necromancer, but
> please
> > > > > forgive
> > > > > > > > > >>> me.
> > > > > > > > > >>>> We
> > > > > > > > > >>>>>>> have
> > > > > > > > > >>>>>>>>>>>>> InvocationHandler, which looks like it would
> > work
> > > > as
> > > > > a
> > > > > > > > > >>>>>>>>> ServiceHandler
> > > > > > > > > >>>>>>>>>>>>> substitute. What else is needed to get CDI
> > Query
> > > > into
> > > > > > > > > >>>>>>> DeltaSpike?
> > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>>> On Sun, Nov 18, 2012 at 12:35 PM, Romain
> > > > Manni-Bucau
> > > > > > > > > >>>>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>>>> +1, it is a must have for cdi world
> > > > > > > > > >>>>>>>>>>>>>> Le 18 nov. 2012 20:04, "john.d.ament" <
> > > > > > > > > >>>>>>> john.d.ament@gmail.com>
> > > > > > > > > >>>>>>>> a
> > > > > > > > > >>>>>>>>>>>> écrit :
> > > > > > > > > >>>>>>>>>>>>>>> RE ServiceHandler - I was one of those who
> > > > > > > > > >> previously
> > > > > > > > > >>>>>>>> suggested
> > > > > > > > > >>>>>>>>>>>>> bringing
> > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > >>>>>>>>>>>>>>> over to DeltaSpike, you can see
> > DELTASPIKE-113
> > > > and
> > > > > > > > > >>> find
> > > > > > > > > >>>>> the
> > > > > > > > > >>>>>>>>> thread
> > > > > > > > > >>>>>>>>>>>>> about
> > > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > > >>>>>>>>>>>>>>> from April of this year.  At the time, I
> was
> > > in a
> > > > > > > > > >>>>> position
> > > > > > > > > >>>>>>>>> where I
> > > > > > > > > >>>>>>>>>>>>>> couldn't
> > > > > > > > > >>>>>>>>>>>>>>> spend much time on open source
> contribution.
> > > >  I've
> > > > > > > > > >>>>> recently
> > > > > > > > > >>>>>>>>>> changed
> > > > > > > > > >>>>>>>>>>>>> jobs,
> > > > > > > > > >>>>>>>>>>>>>>> to
> > > > > > > > > >>>>>>>>>>>>>>> something that's going to help me spend
> some
> > > more
> > > > > > > > > >>> time
> > > > > > > > > >>>>> with
> > > > > > > > > >>>>>>>> the
> > > > > > > > > >>>>>>>>>> open
> > > > > > > > > >>>>>>>>>>>>>> source
> > > > > > > > > >>>>>>>>>>>>>>> community, and believe I can pick it back
> up
> > if
> > > > > > > > > >> we're
> > > > > > > > > >>>>>>> ready.
> > > > > > > > > >>>>>>>>>>>>>>> If everyone's ok with it I can start a new
> > > thread
> > > > > > > > > >> for
> > > > > > > > > >>>> 113
> > > > > > > > > >>>>>>> or
> > > > > > > > > >>>>>>>>>> revive
> > > > > > > > > >>>>>>>>>>>> the
> > > > > > > > > >>>>>>>>>>>>>> old
> > > > > > > > > >>>>>>>>>>>>>>> thread (though it may come through with a
> > large
> > > > > > > > > >> pile
> > > > > > > > > >>> of
> > > > > > > > > >>>>>>> dust).
> > > > > > > > > >>>>>>>>>>>>>>> Regards,
> > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>>>>> John
> > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>>>>> --
> > > > > > > > > >>>>>>>>>>>>>>> View this message in context:
> > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > > > > > > >>>>>>>>>>>>>>> Sent from the Apache DeltaSpike Incubator
> > > > > > > > > >> Discussions
> > > > > > > > > >>>>>>> mailing
> > > > > > > > > >>>>>>>>> list
> > > > > > > > > >>>>>>>>>>>>>> archive
> > > > > > > > > >>>>>>>>>>>>>>> at Nabble.com.
> > > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>>> --
> > > > > > > > > >>>>>>>>>>>>> Jason Porter
> > > > > > > > > >>>>>>>>>>>>> http://en.gravatar.com/lightguardjp
> > > > > > > > > >>>>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>
> > > > > > > > > >>>>>>>>>>>
> > > > > > > > > >>>>>>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Thomas Hug <th...@ctp-consulting.com>.
Ok, I guess it's going to be Repository :) Updated the proposal branch and
also moved things into a data package/module.

Some remarks for the parts below:

1) EntityManagerRepository wasn't present in the Solder implementation -
there it was possible to simply implement/extend EntityManager. The problem
with the invocation handler is that it's not possible to restrict the bean
type and exclude EntityManager (or I missed it). Otherwise I'd rather get
rid of this interface.

2) WithEntityManager is definitely discussable. Not the full solution and
not consistent. Could be solved with e.g. putting qualifiers on a method
returning an EntityManager (less intuitive) or something like the
InvocationHandlerBinding.

3) AbstractEntityRepository is just a convenience class for providing
concrete query implementations.

On Tue, Mar 12, 2013 at 9:40 PM, Gerhard Petracek <
gerhard.petracek@gmail.com> wrote:

> hi,
>
> currently we don't have one jira ticket per part/feature.
> that's what we used to have for everything we imported.
>
> the first parts to discuss are imo EntityManagerDao, WithEntityManager and
> AbstractEntityDao.
>
> regards,
> gerhard
>
>
>
> 2013/3/12 Arne Limburg <ar...@openknowledge.de>
>
> > +1 for repository, from me too
> >
> > Gesendet mit meinem HTC
> >
> >
> > ----- Reply message -----
> > Von: "Thomas Andraschko" <an...@gmail.com>
> > An: "deltaspike-dev@incubator.apache.org" <
> > deltaspike-dev@incubator.apache.org>
> > Betreff: cdi-query, no news?
> > Datum: Di., Mär. 12, 2013 20:38
> >
> >
> >
> > +1 repository! :) "Query" doesn't really match the functionaly.
> >
> > 2013/3/12 Romain Manni-Bucau <rm...@gmail.com>
> >
> > > +2 for repo
> > >
> > > btw did you fixed the scope issue?
> > >
> > > *Romain Manni-Bucau*
> > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > http://rmannibucau.wordpress.com/>
> > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > *Github: https://github.com/rmannibucau*
> > >
> > >
> > >
> > > 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
> > >
> > > > The name is still freely choosable - data sounds fine to me if nobody
> > > minds
> > > > the obvious mirroring on Spring Data ;) dao/@Dao is discussable, all
> > the
> > > > domain driven folks prefer probably something like "Repository".
> > > >
> > > > On Tue, Mar 12, 2013 at 7:29 PM, Romain Manni-Bucau
> > > > <rm...@gmail.com>wrote:
> > > >
> > > > > Great :)
> > > > >
> > > > > any issue changing "query" to something closer to what it really
> > does ;
> > > > > "dao" (because of @Dao) or "data"?
> > > > >
> > > > > *Romain Manni-Bucau*
> > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > http://rmannibucau.wordpress.com/>
> > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > *Github: https://gihub.com/rmannibucau* <
> > > https://github.com/rmannibucau*
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
> > > > >
> > > > > > FYI, I've started something like an import proposal in a
> dedicated
> > > > branch
> > > > > > [1]. There's currently only the JBoss Arquillian profile running,
> > > > haven't
> > > > > > looked at the others. Any support there and of course other
> input's
> > > > very
> > > > > > welcome :)
> > > > > >
> > > > > > [1] https://github.com/ctpconsulting/query/tree/dsimport
> > > > > >
> > > > > > On Tue, Mar 5, 2013 at 7:45 AM, Romain Manni-Bucau <
> > > > > rmannibucau@gmail.com
> > > > > > >wrote:
> > > > > >
> > > > > > > Yes
> > > > > > >
> > > > > > > It works fine but you bring too much spring dependencies
> (totally
> > > > > useless
> > > > > > > when used this way) which clearly show it is rather a bridge
> > than a
> > > > > > > solution + there were some leaks in previous version (didnt
> check
> > > fix
> > > > > was
> > > > > > > released to be honest) because if this usage which was not the
> > > > default
> > > > > > one.
> > > > > > >
> > > > > > > Since cdi query is here it worths importing it IMO
> > > > > > > Le 5 mars 2013 02:21, "hantsy" <ha...@yahoo.com.cn> a écrit :
> > > > > > >
> > > > > > > > I remember the Spring Data has a CDI extension, but I have
> not
> > > used
> > > > > it
> > > > > > > > in projects. Is there anyone used it in Java EE 6 projects?
> > > > > > > >
> > > > > > > > Hantsy
> > > > > > > >
> > > > > > > > On 3/3/2013 20:40, Romain Manni-Bucau wrote:
> > > > > > > > > Basically if the query logic could be scope agnostic it
> would
> > > be
> > > > > > > perfect
> > > > > > > > > for me. Parameters were fine and matched the coomon need.
> I m
> > > not
> > > > > > sure
> > > > > > > i
> > > > > > > > > get what is blocking. Can you detail it a bit please?
> > > > > > > > > Le 3 mars 2013 13:09, "Thomas Hug" <
> > > > thomas.hug@ctp-consulting.com>
> > > > > a
> > > > > > > > écrit :
> > > > > > > > >
> > > > > > > > >> Aha got you. Yes QueryHandler can be moved to application
> > > scope.
> > > > > > > > >>
> > > > > > > > >> The other request scoped component ist the
> > > > > > CdiQueryInvocationContext.
> > > > > > > > Here
> > > > > > > > >> we store a bunch of data which is related to the current
> > query
> > > > > > > > (parameters,
> > > > > > > > >> query string etc). Originally this was passed as
> parameter,
> > > but
> > > > > got
> > > > > > > > >> injectable for the extension mechanism [1]. Currently on
> > > > holidays
> > > > > > > (sorry
> > > > > > > > >> the response delays) so not much time to look into it but
> > > happy
> > > > to
> > > > > > > take
> > > > > > > > >> suggestions :)
> > > > > > > > >>
> > > > > > > > >> [1]
> > > > > > > > >>
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> > > > > > > > >>
> > > > > > > > >> On Fri, Mar 1, 2013 at 8:18 PM, Romain Manni-Bucau <
> > > > > > > > rmannibucau@gmail.com
> > > > > > > > >>> wrote:
> > > > > > > > >>> Hmm,
> > > > > > > > >>>
> > > > > > > > >>> Wonder if the scope couldnt be application one. Request
> > > sounds
> > > > > too
> > > > > > > much
> > > > > > > > >> web
> > > > > > > > >>> to be usable/generic
> > > > > > > > >>> Le 1 mars 2013 19:02, "Thomas Hug" <
> > > > > thomas.hug@ctp-consulting.com>
> > > > > > a
> > > > > > > > >>> écrit :
> > > > > > > > >>>
> > > > > > > > >>>> Fine for me - planned to create a branch with all the
> > > > > experimental
> > > > > > > > APIs
> > > > > > > > >>>> cleared out as an import proposal.
> > > > > > > > >>>>
> > > > > > > > >>>> RE scope, the InvocationHandlers are validated to be
> > normal
> > > > > scoped
> > > > > > > > [1],
> > > > > > > > >>> so
> > > > > > > > >>>> that seemed to me the most appropriate choice - any
> other
> > > > > > > suggestions?
> > > > > > > > >>>>
> > > > > > > > >>>> [1]
> > > > > > > > >>>>
> > > > > > > > >>>>
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > > > > > > > >>>>
> > > > > > > > >>>> On Wed, Feb 27, 2013 at 1:15 PM, Romain Manni-Bucau
> > > > > > > > >>>> <rm...@gmail.com>wrote:
> > > > > > > > >>>>
> > > > > > > > >>>>> Hi,
> > > > > > > > >>>>>
> > > > > > > > >>>>> some news of it?
> > > > > > > > >>>>>
> > > > > > > > >>>>> i think it is time to import at least a first version,
> > > isn't
> > > > > it?
> > > > > > > > >>>>>
> > > > > > > > >>>>> Just a note on current code, i saw QueryHandler (and
> some
> > > > other
> > > > > > > > >> beans)
> > > > > > > > >>>> has
> > > > > > > > >>>>> a request scope. Wonder if such a scope means something
> > > for a
> > > > > > > generic
> > > > > > > > >>>> (not
> > > > > > > > >>>>> web) lib.
> > > > > > > > >>>>>
> > > > > > > > >>>>> wdyt?
> > > > > > > > >>>>>
> > > > > > > > >>>>> *Romain Manni-Bucau*
> > > > > > > > >>>>> *Twitter: @rmannibucau <
> https://twitter.com/rmannibucau
> > >*
> > > > > > > > >>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > >>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > >>>>> *Github: https://github.com/rmannibucau*
> > > > > > > > >>>>>
> > > > > > > > >>>>>
> > > > > > > > >>>>>
> > > > > > > > >>>>> 2013/2/20 Romain Manni-Bucau <rm...@gmail.com>
> > > > > > > > >>>>>
> > > > > > > > >>>>>> guy you rocks!
> > > > > > > > >>>>>>
> > > > > > > > >>>>>> effectively i missed it when i looked.
> > > > > > > > >>>>>>
> > > > > > > > >>>>>> *Romain Manni-Bucau*
> > > > > > > > >>>>>> *Twitter: @rmannibucau <
> https://twitter.com/rmannibucau
> > >*
> > > > > > > > >>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > >>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > >>>>>> *Github: https://github.com/rmannibucau*
> > > > > > > > >>>>>>
> > > > > > > > >>>>>>
> > > > > > > > >>>>>>
> > > > > > > > >>>>>> 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> > > > > > > > >>>>>>
> > > > > > > > >>>>>>> Thnx Romain. If with proxy stuff you refer to the DS
> > > > > > > > >>>>>>> InvocationHandlerBinding, that's already integrated
> :)
> > > > > > > > >>>>>>>
> > > > > > > > >>>>>>> RE pagination, it's maybe not that obvious, but
> there's
> > > > more
> > > > > > > > >>> advanced
> > > > > > > > >>>>>>> support in QueryResult [1][2], which is more of a
> > fluent
> > > > API
> > > > > > > > >>> approach,
> > > > > > > > >>>>> but
> > > > > > > > >>>>>>> should behave similar to a PageRequest (the query
> > > execution
> > > > > is
> > > > > > > > >>> delayed
> > > > > > > > >>>>>>> until the getResult() methods on QueryResult is
> > called).
> > > > Hope
> > > > > > > that
> > > > > > > > >>>> fits
> > > > > > > > >>>>> to
> > > > > > > > >>>>>>> what you had in mind.
> > > > > > > > >>>>>>>
> > > > > > > > >>>>>>> [1]
> > > > > > > > >>>>>>>
> > > > > > > > >>>>>>>
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > > > > > > > >>>>>>> [2]
> > > > > > > > >>>>>>>
> > > > > > > > >>>>>>>
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > > > > > > > >>>>>>> On Wed, Feb 20, 2013 at 10:04 PM, Romain Manni-Bucau
> > > > > > > > >>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > >>>>>>>
> > > > > > > > >>>>>>>> Hi Thomas,
> > > > > > > > >>>>>>>>
> > > > > > > > >>>>>>>> importing proxy stuff would be the first great
> stuff.
> > > > > > > > >>>>>>>>
> > > > > > > > >>>>>>>> i'd like to see some pagination API (like
> PageRequest
> > > etc
> > > > in
> > > > > > > > >>> spring
> > > > > > > > >>>>>>> world)
> > > > > > > > >>>>>>>> which are more user friendly that @FirstResult and
> > > > > > @MaxResult).
> > > > > > > > >>>>>>>>
> > > > > > > > >>>>>>>> wdyt?
> > > > > > > > >>>>>>>>
> > > > > > > > >>>>>>>> *Romain Manni-Bucau*
> > > > > > > > >>>>>>>> *Twitter: @rmannibucau <
> > https://twitter.com/rmannibucau
> > > >*
> > > > > > > > >>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > >>>>>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > >>>>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > >>>>>>>> *Github: https://github.com/rmannibucau*
> > > > > > > > >>>>>>>>
> > > > > > > > >>>>>>>>
> > > > > > > > >>>>>>>>
> > > > > > > > >>>>>>>> 2013/2/20 Thomas Hug <thomas.hug@ctp-consulting.com
> >
> > > > > > > > >>>>>>>>
> > > > > > > > >>>>>>>>> CDI Query has now a completely Solder-free POM.
> Feel
> > > free
> > > > > to
> > > > > > > > >>> drop
> > > > > > > > >>>>>>>> comments
> > > > > > > > >>>>>>>>> on the API - some parts might actually be fully
> > > excluded
> > > > > > (e.g.
> > > > > > > > >>>> home
> > > > > > > > >>>>>>> and
> > > > > > > > >>>>>>>>> critera APIs).
> > > > > > > > >>>>>>>>>
> > > > > > > > >>>>>>>>> On Tue, Feb 12, 2013 at 10:00 PM, Mark Struberg <
> > > > > > > > >>>> struberg@yahoo.de>
> > > > > > > > >>>>>>>> wrote:
> > > > > > > > >>>>>>>>>>
> > > > > > > > >>>>>>>>>> Thanks Thomas, great news!
> > > > > > > > >>>>>>>>>>
> > > > > > > > >>>>>>>>>> LieGrue,
> > > > > > > > >>>>>>>>>> strub
> > > > > > > > >>>>>>>>>>
> > > > > > > > >>>>>>>>>>
> > > > > > > > >>>>>>>>>>
> > > > > > > > >>>>>>>>>>
> > > > > > > > >>>>>>>>>>
> > > > > > > > >>>>>>>>>>> ________________________________
> > > > > > > > >>>>>>>>>>> From: Thomas Hug <th...@ctp-consulting.com>
> > > > > > > > >>>>>>>>>>> To: "deltaspike-dev@incubator.apache.org" <
> > > > > > > > >>>>>>>>>> deltaspike-dev@incubator.apache.org>
> > > > > > > > >>>>>>>>>>> Sent: Tuesday, February 12, 2013 4:10 PM
> > > > > > > > >>>>>>>>>>> Subject: Re: cdi-query, no news?
> > > > > > > > >>>>>>>>>>>
> > > > > > > > >>>>>>>>>>> FYI, I've started to "de-solderize" CDI Query and
> > > move
> > > > > > > > >> things
> > > > > > > > >>>> to
> > > > > > > > >>>>>>>> depend
> > > > > > > > >>>>>>>>> on
> > > > > > > > >>>>>>>>>>> DS Core [1]:
> > > > > > > > >>>>>>>>>>>
> > > https://github.com/ctpconsulting/query/tree/deltaspike
> > > > > > > > >>>>>>>>>>>
> > > > > > > > >>>>>>>>>>> Todos:
> > > > > > > > >>>>>>>>>>> [x] Replace ServiceHandler
> > > > > > > > >>>>>>>>>>> [_] Include Property utils
> > > > > > > > >>>>>>>>>>> [_] Replace JBoss Logging
> > > > > > > > >>>>>>>>>>>
> > > > > > > > >>>>>>>>>>> Any feedback welcome.
> > > > > > > > >>>>>>>>>>>
> > > > > > > > >>>>>>>>>>> [1] including this modification
> > > > > > > > >>>>>>>>>>>
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > > > > > > >>>>>>>>>>> On Mon, Feb 11, 2013 at 6:01 PM, Romain
> Manni-Bucau
> > > > > > > > >>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > >>>>>>>>>>>
> > > > > > > > >>>>>>>>>>>> a review of the API i guess
> > > > > > > > >>>>>>>>>>>>
> > > > > > > > >>>>>>>>>>>> what is missing today is probably the pagination
> > > > helpers
> > > > > > > > >>>>>>>> (PageRequest
> > > > > > > > >>>>>>>>>> for
> > > > > > > > >>>>>>>>>>>> instance)
> > > > > > > > >>>>>>>>>>>>
> > > > > > > > >>>>>>>>>>>> but technically all is fine IMO
> > > > > > > > >>>>>>>>>>>>
> > > > > > > > >>>>>>>>>>>> *Romain Manni-Bucau*
> > > > > > > > >>>>>>>>>>>> *Twitter: @rmannibucau <
> > > > https://twitter.com/rmannibucau
> > > > > > > > >>> *
> > > > > > > > >>>>>>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > >>>>>>>>>>>> http://rmannibucau.wordpress.com/>
> > > > > > > > >>>>>>>>>>>> *LinkedIn: **
> > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > >>>>>>>>>>>> *Github: https://github.com/rmannibucau*
> > > > > > > > >>>>>>>>>>>>
> > > > > > > > >>>>>>>>>>>>
> > > > > > > > >>>>>>>>>>>>
> > > > > > > > >>>>>>>>>>>> 2013/2/11 Jason Porter <lightguard.jp@gmail.com
> >
> > > > > > > > >>>>>>>>>>>>
> > > > > > > > >>>>>>>>>>>>> I know I'm playing the necromancer, but please
> > > > forgive
> > > > > > > > >>> me.
> > > > > > > > >>>> We
> > > > > > > > >>>>>>> have
> > > > > > > > >>>>>>>>>>>>> InvocationHandler, which looks like it would
> work
> > > as
> > > > a
> > > > > > > > >>>>>>>>> ServiceHandler
> > > > > > > > >>>>>>>>>>>>> substitute. What else is needed to get CDI
> Query
> > > into
> > > > > > > > >>>>>>> DeltaSpike?
> > > > > > > > >>>>>>>>>>>>>
> > > > > > > > >>>>>>>>>>>>> On Sun, Nov 18, 2012 at 12:35 PM, Romain
> > > Manni-Bucau
> > > > > > > > >>>>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > > > > > >>>>>>>>>>>>>
> > > > > > > > >>>>>>>>>>>>>> +1, it is a must have for cdi world
> > > > > > > > >>>>>>>>>>>>>> Le 18 nov. 2012 20:04, "john.d.ament" <
> > > > > > > > >>>>>>> john.d.ament@gmail.com>
> > > > > > > > >>>>>>>> a
> > > > > > > > >>>>>>>>>>>> écrit :
> > > > > > > > >>>>>>>>>>>>>>> RE ServiceHandler - I was one of those who
> > > > > > > > >> previously
> > > > > > > > >>>>>>>> suggested
> > > > > > > > >>>>>>>>>>>>> bringing
> > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > >>>>>>>>>>>>>>> over to DeltaSpike, you can see
> DELTASPIKE-113
> > > and
> > > > > > > > >>> find
> > > > > > > > >>>>> the
> > > > > > > > >>>>>>>>> thread
> > > > > > > > >>>>>>>>>>>>> about
> > > > > > > > >>>>>>>>>>>>>> it
> > > > > > > > >>>>>>>>>>>>>>> from April of this year.  At the time, I was
> > in a
> > > > > > > > >>>>> position
> > > > > > > > >>>>>>>>> where I
> > > > > > > > >>>>>>>>>>>>>> couldn't
> > > > > > > > >>>>>>>>>>>>>>> spend much time on open source contribution.
> > >  I've
> > > > > > > > >>>>> recently
> > > > > > > > >>>>>>>>>> changed
> > > > > > > > >>>>>>>>>>>>> jobs,
> > > > > > > > >>>>>>>>>>>>>>> to
> > > > > > > > >>>>>>>>>>>>>>> something that's going to help me spend some
> > more
> > > > > > > > >>> time
> > > > > > > > >>>>> with
> > > > > > > > >>>>>>>> the
> > > > > > > > >>>>>>>>>> open
> > > > > > > > >>>>>>>>>>>>>> source
> > > > > > > > >>>>>>>>>>>>>>> community, and believe I can pick it back up
> if
> > > > > > > > >> we're
> > > > > > > > >>>>>>> ready.
> > > > > > > > >>>>>>>>>>>>>>> If everyone's ok with it I can start a new
> > thread
> > > > > > > > >> for
> > > > > > > > >>>> 113
> > > > > > > > >>>>>>> or
> > > > > > > > >>>>>>>>>> revive
> > > > > > > > >>>>>>>>>>>> the
> > > > > > > > >>>>>>>>>>>>>> old
> > > > > > > > >>>>>>>>>>>>>>> thread (though it may come through with a
> large
> > > > > > > > >> pile
> > > > > > > > >>> of
> > > > > > > > >>>>>>> dust).
> > > > > > > > >>>>>>>>>>>>>>> Regards,
> > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > >>>>>>>>>>>>>>> John
> > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > >>>>>>>>>>>>>>> --
> > > > > > > > >>>>>>>>>>>>>>> View this message in context:
> > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > > > > > >>>>>>>>>>>>>>> Sent from the Apache DeltaSpike Incubator
> > > > > > > > >> Discussions
> > > > > > > > >>>>>>> mailing
> > > > > > > > >>>>>>>>> list
> > > > > > > > >>>>>>>>>>>>>> archive
> > > > > > > > >>>>>>>>>>>>>>> at Nabble.com.
> > > > > > > > >>>>>>>>>>>>>>>
> > > > > > > > >>>>>>>>>>>>>
> > > > > > > > >>>>>>>>>>>>>
> > > > > > > > >>>>>>>>>>>>> --
> > > > > > > > >>>>>>>>>>>>> Jason Porter
> > > > > > > > >>>>>>>>>>>>> http://en.gravatar.com/lightguardjp
> > > > > > > > >>>>>>>>>>>>>
> > > > > > > > >>>>>>>>>>>
> > > > > > > > >>>>>>>>>>>
> > > > > > > > >>>>>>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

AW: cdi-query, no news?

Posted by Arne Limburg <ar...@openknowledge.de>.
+1 for repository, from me too

Gesendet mit meinem HTC


----- Reply message -----
Von: "Thomas Andraschko" <an...@gmail.com>
An: "deltaspike-dev@incubator.apache.org" <de...@incubator.apache.org>
Betreff: cdi-query, no news?
Datum: Di., Mär. 12, 2013 20:38



+1 repository! :) "Query" doesn't really match the functionaly.

2013/3/12 Romain Manni-Bucau <rm...@gmail.com>

> +2 for repo
>
> btw did you fixed the scope issue?
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog: **http://rmannibucau.wordpress.com/*<
> http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
> 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
>
> > The name is still freely choosable - data sounds fine to me if nobody
> minds
> > the obvious mirroring on Spring Data ;) dao/@Dao is discussable, all the
> > domain driven folks prefer probably something like "Repository".
> >
> > On Tue, Mar 12, 2013 at 7:29 PM, Romain Manni-Bucau
> > <rm...@gmail.com>wrote:
> >
> > > Great :)
> > >
> > > any issue changing "query" to something closer to what it really does ;
> > > "dao" (because of @Dao) or "data"?
> > >
> > > *Romain Manni-Bucau*
> > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > http://rmannibucau.wordpress.com/>
> > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > *Github: https://gihub.com/rmannibucau* <
> https://github.com/rmannibucau*
> > >
> > >
> > >
> > >
> > > 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
> > >
> > > > FYI, I've started something like an import proposal in a dedicated
> > branch
> > > > [1]. There's currently only the JBoss Arquillian profile running,
> > haven't
> > > > looked at the others. Any support there and of course other input's
> > very
> > > > welcome :)
> > > >
> > > > [1] https://github.com/ctpconsulting/query/tree/dsimport
> > > >
> > > > On Tue, Mar 5, 2013 at 7:45 AM, Romain Manni-Bucau <
> > > rmannibucau@gmail.com
> > > > >wrote:
> > > >
> > > > > Yes
> > > > >
> > > > > It works fine but you bring too much spring dependencies (totally
> > > useless
> > > > > when used this way) which clearly show it is rather a bridge than a
> > > > > solution + there were some leaks in previous version (didnt check
> fix
> > > was
> > > > > released to be honest) because if this usage which was not the
> > default
> > > > one.
> > > > >
> > > > > Since cdi query is here it worths importing it IMO
> > > > > Le 5 mars 2013 02:21, "hantsy" <ha...@yahoo.com.cn> a écrit :
> > > > >
> > > > > > I remember the Spring Data has a CDI extension, but I have not
> used
> > > it
> > > > > > in projects. Is there anyone used it in Java EE 6 projects?
> > > > > >
> > > > > > Hantsy
> > > > > >
> > > > > > On 3/3/2013 20:40, Romain Manni-Bucau wrote:
> > > > > > > Basically if the query logic could be scope agnostic it would
> be
> > > > > perfect
> > > > > > > for me. Parameters were fine and matched the coomon need. I m
> not
> > > > sure
> > > > > i
> > > > > > > get what is blocking. Can you detail it a bit please?
> > > > > > > Le 3 mars 2013 13:09, "Thomas Hug" <
> > thomas.hug@ctp-consulting.com>
> > > a
> > > > > > écrit :
> > > > > > >
> > > > > > >> Aha got you. Yes QueryHandler can be moved to application
> scope.
> > > > > > >>
> > > > > > >> The other request scoped component ist the
> > > > CdiQueryInvocationContext.
> > > > > > Here
> > > > > > >> we store a bunch of data which is related to the current query
> > > > > > (parameters,
> > > > > > >> query string etc). Originally this was passed as parameter,
> but
> > > got
> > > > > > >> injectable for the extension mechanism [1]. Currently on
> > holidays
> > > > > (sorry
> > > > > > >> the response delays) so not much time to look into it but
> happy
> > to
> > > > > take
> > > > > > >> suggestions :)
> > > > > > >>
> > > > > > >> [1]
> > > > > > >>
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> > > > > > >>
> > > > > > >> On Fri, Mar 1, 2013 at 8:18 PM, Romain Manni-Bucau <
> > > > > > rmannibucau@gmail.com
> > > > > > >>> wrote:
> > > > > > >>> Hmm,
> > > > > > >>>
> > > > > > >>> Wonder if the scope couldnt be application one. Request
> sounds
> > > too
> > > > > much
> > > > > > >> web
> > > > > > >>> to be usable/generic
> > > > > > >>> Le 1 mars 2013 19:02, "Thomas Hug" <
> > > thomas.hug@ctp-consulting.com>
> > > > a
> > > > > > >>> écrit :
> > > > > > >>>
> > > > > > >>>> Fine for me - planned to create a branch with all the
> > > experimental
> > > > > > APIs
> > > > > > >>>> cleared out as an import proposal.
> > > > > > >>>>
> > > > > > >>>> RE scope, the InvocationHandlers are validated to be normal
> > > scoped
> > > > > > [1],
> > > > > > >>> so
> > > > > > >>>> that seemed to me the most appropriate choice - any other
> > > > > suggestions?
> > > > > > >>>>
> > > > > > >>>> [1]
> > > > > > >>>>
> > > > > > >>>>
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > > > > > >>>>
> > > > > > >>>> On Wed, Feb 27, 2013 at 1:15 PM, Romain Manni-Bucau
> > > > > > >>>> <rm...@gmail.com>wrote:
> > > > > > >>>>
> > > > > > >>>>> Hi,
> > > > > > >>>>>
> > > > > > >>>>> some news of it?
> > > > > > >>>>>
> > > > > > >>>>> i think it is time to import at least a first version,
> isn't
> > > it?
> > > > > > >>>>>
> > > > > > >>>>> Just a note on current code, i saw QueryHandler (and some
> > other
> > > > > > >> beans)
> > > > > > >>>> has
> > > > > > >>>>> a request scope. Wonder if such a scope means something
> for a
> > > > > generic
> > > > > > >>>> (not
> > > > > > >>>>> web) lib.
> > > > > > >>>>>
> > > > > > >>>>> wdyt?
> > > > > > >>>>>
> > > > > > >>>>> *Romain Manni-Bucau*
> > > > > > >>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > > >>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > >>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > >>>>> *Github: https://github.com/rmannibucau*
> > > > > > >>>>>
> > > > > > >>>>>
> > > > > > >>>>>
> > > > > > >>>>> 2013/2/20 Romain Manni-Bucau <rm...@gmail.com>
> > > > > > >>>>>
> > > > > > >>>>>> guy you rocks!
> > > > > > >>>>>>
> > > > > > >>>>>> effectively i missed it when i looked.
> > > > > > >>>>>>
> > > > > > >>>>>> *Romain Manni-Bucau*
> > > > > > >>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > > >>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > >>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > >>>>>> *Github: https://github.com/rmannibucau*
> > > > > > >>>>>>
> > > > > > >>>>>>
> > > > > > >>>>>>
> > > > > > >>>>>> 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> > > > > > >>>>>>
> > > > > > >>>>>>> Thnx Romain. If with proxy stuff you refer to the DS
> > > > > > >>>>>>> InvocationHandlerBinding, that's already integrated :)
> > > > > > >>>>>>>
> > > > > > >>>>>>> RE pagination, it's maybe not that obvious, but there's
> > more
> > > > > > >>> advanced
> > > > > > >>>>>>> support in QueryResult [1][2], which is more of a fluent
> > API
> > > > > > >>> approach,
> > > > > > >>>>> but
> > > > > > >>>>>>> should behave similar to a PageRequest (the query
> execution
> > > is
> > > > > > >>> delayed
> > > > > > >>>>>>> until the getResult() methods on QueryResult is called).
> > Hope
> > > > > that
> > > > > > >>>> fits
> > > > > > >>>>> to
> > > > > > >>>>>>> what you had in mind.
> > > > > > >>>>>>>
> > > > > > >>>>>>> [1]
> > > > > > >>>>>>>
> > > > > > >>>>>>>
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > > > > > >>>>>>> [2]
> > > > > > >>>>>>>
> > > > > > >>>>>>>
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > > > > > >>>>>>> On Wed, Feb 20, 2013 at 10:04 PM, Romain Manni-Bucau
> > > > > > >>>>>>> <rm...@gmail.com>wrote:
> > > > > > >>>>>>>
> > > > > > >>>>>>>> Hi Thomas,
> > > > > > >>>>>>>>
> > > > > > >>>>>>>> importing proxy stuff would be the first great stuff.
> > > > > > >>>>>>>>
> > > > > > >>>>>>>> i'd like to see some pagination API (like PageRequest
> etc
> > in
> > > > > > >>> spring
> > > > > > >>>>>>> world)
> > > > > > >>>>>>>> which are more user friendly that @FirstResult and
> > > > @MaxResult).
> > > > > > >>>>>>>>
> > > > > > >>>>>>>> wdyt?
> > > > > > >>>>>>>>
> > > > > > >>>>>>>> *Romain Manni-Bucau*
> > > > > > >>>>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau
> >*
> > > > > > >>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > >>>>>>>> http://rmannibucau.wordpress.com/>
> > > > > > >>>>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > >>>>>>>> *Github: https://github.com/rmannibucau*
> > > > > > >>>>>>>>
> > > > > > >>>>>>>>
> > > > > > >>>>>>>>
> > > > > > >>>>>>>> 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> > > > > > >>>>>>>>
> > > > > > >>>>>>>>> CDI Query has now a completely Solder-free POM. Feel
> free
> > > to
> > > > > > >>> drop
> > > > > > >>>>>>>> comments
> > > > > > >>>>>>>>> on the API - some parts might actually be fully
> excluded
> > > > (e.g.
> > > > > > >>>> home
> > > > > > >>>>>>> and
> > > > > > >>>>>>>>> critera APIs).
> > > > > > >>>>>>>>>
> > > > > > >>>>>>>>> On Tue, Feb 12, 2013 at 10:00 PM, Mark Struberg <
> > > > > > >>>> struberg@yahoo.de>
> > > > > > >>>>>>>> wrote:
> > > > > > >>>>>>>>>>
> > > > > > >>>>>>>>>> Thanks Thomas, great news!
> > > > > > >>>>>>>>>>
> > > > > > >>>>>>>>>> LieGrue,
> > > > > > >>>>>>>>>> strub
> > > > > > >>>>>>>>>>
> > > > > > >>>>>>>>>>
> > > > > > >>>>>>>>>>
> > > > > > >>>>>>>>>>
> > > > > > >>>>>>>>>>
> > > > > > >>>>>>>>>>> ________________________________
> > > > > > >>>>>>>>>>> From: Thomas Hug <th...@ctp-consulting.com>
> > > > > > >>>>>>>>>>> To: "deltaspike-dev@incubator.apache.org" <
> > > > > > >>>>>>>>>> deltaspike-dev@incubator.apache.org>
> > > > > > >>>>>>>>>>> Sent: Tuesday, February 12, 2013 4:10 PM
> > > > > > >>>>>>>>>>> Subject: Re: cdi-query, no news?
> > > > > > >>>>>>>>>>>
> > > > > > >>>>>>>>>>> FYI, I've started to "de-solderize" CDI Query and
> move
> > > > > > >> things
> > > > > > >>>> to
> > > > > > >>>>>>>> depend
> > > > > > >>>>>>>>> on
> > > > > > >>>>>>>>>>> DS Core [1]:
> > > > > > >>>>>>>>>>>
> https://github.com/ctpconsulting/query/tree/deltaspike
> > > > > > >>>>>>>>>>>
> > > > > > >>>>>>>>>>> Todos:
> > > > > > >>>>>>>>>>> [x] Replace ServiceHandler
> > > > > > >>>>>>>>>>> [_] Include Property utils
> > > > > > >>>>>>>>>>> [_] Replace JBoss Logging
> > > > > > >>>>>>>>>>>
> > > > > > >>>>>>>>>>> Any feedback welcome.
> > > > > > >>>>>>>>>>>
> > > > > > >>>>>>>>>>> [1] including this modification
> > > > > > >>>>>>>>>>>
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > > > > >>>>>>>>>>> On Mon, Feb 11, 2013 at 6:01 PM, Romain Manni-Bucau
> > > > > > >>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > > > >>>>>>>>>>>
> > > > > > >>>>>>>>>>>> a review of the API i guess
> > > > > > >>>>>>>>>>>>
> > > > > > >>>>>>>>>>>> what is missing today is probably the pagination
> > helpers
> > > > > > >>>>>>>> (PageRequest
> > > > > > >>>>>>>>>> for
> > > > > > >>>>>>>>>>>> instance)
> > > > > > >>>>>>>>>>>>
> > > > > > >>>>>>>>>>>> but technically all is fine IMO
> > > > > > >>>>>>>>>>>>
> > > > > > >>>>>>>>>>>> *Romain Manni-Bucau*
> > > > > > >>>>>>>>>>>> *Twitter: @rmannibucau <
> > https://twitter.com/rmannibucau
> > > > > > >>> *
> > > > > > >>>>>>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > >>>>>>>>>>>> http://rmannibucau.wordpress.com/>
> > > > > > >>>>>>>>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > >>>>>>>>>>>> *Github: https://github.com/rmannibucau*
> > > > > > >>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>
> > > > > > >>>>>>>>>>>> 2013/2/11 Jason Porter <li...@gmail.com>
> > > > > > >>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>> I know I'm playing the necromancer, but please
> > forgive
> > > > > > >>> me.
> > > > > > >>>> We
> > > > > > >>>>>>> have
> > > > > > >>>>>>>>>>>>> InvocationHandler, which looks like it would work
> as
> > a
> > > > > > >>>>>>>>> ServiceHandler
> > > > > > >>>>>>>>>>>>> substitute. What else is needed to get CDI Query
> into
> > > > > > >>>>>>> DeltaSpike?
> > > > > > >>>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>> On Sun, Nov 18, 2012 at 12:35 PM, Romain
> Manni-Bucau
> > > > > > >>>>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > > > >>>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>>> +1, it is a must have for cdi world
> > > > > > >>>>>>>>>>>>>> Le 18 nov. 2012 20:04, "john.d.ament" <
> > > > > > >>>>>>> john.d.ament@gmail.com>
> > > > > > >>>>>>>> a
> > > > > > >>>>>>>>>>>> écrit :
> > > > > > >>>>>>>>>>>>>>> RE ServiceHandler - I was one of those who
> > > > > > >> previously
> > > > > > >>>>>>>> suggested
> > > > > > >>>>>>>>>>>>> bringing
> > > > > > >>>>>>>>>>>>>> it
> > > > > > >>>>>>>>>>>>>>> over to DeltaSpike, you can see DELTASPIKE-113
> and
> > > > > > >>> find
> > > > > > >>>>> the
> > > > > > >>>>>>>>> thread
> > > > > > >>>>>>>>>>>>> about
> > > > > > >>>>>>>>>>>>>> it
> > > > > > >>>>>>>>>>>>>>> from April of this year.  At the time, I was in a
> > > > > > >>>>> position
> > > > > > >>>>>>>>> where I
> > > > > > >>>>>>>>>>>>>> couldn't
> > > > > > >>>>>>>>>>>>>>> spend much time on open source contribution.
>  I've
> > > > > > >>>>> recently
> > > > > > >>>>>>>>>> changed
> > > > > > >>>>>>>>>>>>> jobs,
> > > > > > >>>>>>>>>>>>>>> to
> > > > > > >>>>>>>>>>>>>>> something that's going to help me spend some more
> > > > > > >>> time
> > > > > > >>>>> with
> > > > > > >>>>>>>> the
> > > > > > >>>>>>>>>> open
> > > > > > >>>>>>>>>>>>>> source
> > > > > > >>>>>>>>>>>>>>> community, and believe I can pick it back up if
> > > > > > >> we're
> > > > > > >>>>>>> ready.
> > > > > > >>>>>>>>>>>>>>> If everyone's ok with it I can start a new thread
> > > > > > >> for
> > > > > > >>>> 113
> > > > > > >>>>>>> or
> > > > > > >>>>>>>>>> revive
> > > > > > >>>>>>>>>>>> the
> > > > > > >>>>>>>>>>>>>> old
> > > > > > >>>>>>>>>>>>>>> thread (though it may come through with a large
> > > > > > >> pile
> > > > > > >>> of
> > > > > > >>>>>>> dust).
> > > > > > >>>>>>>>>>>>>>> Regards,
> > > > > > >>>>>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>>>> John
> > > > > > >>>>>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>>>> --
> > > > > > >>>>>>>>>>>>>>> View this message in context:
> > > > > > >>>>>>>>>>>>>>>
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > > > >>>>>>>>>>>>>>> Sent from the Apache DeltaSpike Incubator
> > > > > > >> Discussions
> > > > > > >>>>>>> mailing
> > > > > > >>>>>>>>> list
> > > > > > >>>>>>>>>>>>>> archive
> > > > > > >>>>>>>>>>>>>>> at Nabble.com.
> > > > > > >>>>>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>> --
> > > > > > >>>>>>>>>>>>> Jason Porter
> > > > > > >>>>>>>>>>>>> http://en.gravatar.com/lightguardjp
> > > > > > >>>>>>>>>>>>>
> > > > > > >>>>>>>>>>>
> > > > > > >>>>>>>>>>>
> > > > > > >>>>>>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Thomas Andraschko <an...@gmail.com>.
+1 repository! :) "Query" doesn't really match the functionaly.

2013/3/12 Romain Manni-Bucau <rm...@gmail.com>

> +2 for repo
>
> btw did you fixed the scope issue?
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog: **http://rmannibucau.wordpress.com/*<
> http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
> 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
>
> > The name is still freely choosable - data sounds fine to me if nobody
> minds
> > the obvious mirroring on Spring Data ;) dao/@Dao is discussable, all the
> > domain driven folks prefer probably something like "Repository".
> >
> > On Tue, Mar 12, 2013 at 7:29 PM, Romain Manni-Bucau
> > <rm...@gmail.com>wrote:
> >
> > > Great :)
> > >
> > > any issue changing "query" to something closer to what it really does ;
> > > "dao" (because of @Dao) or "data"?
> > >
> > > *Romain Manni-Bucau*
> > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > http://rmannibucau.wordpress.com/>
> > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > *Github: https://gihub.com/rmannibucau* <
> https://github.com/rmannibucau*
> > >
> > >
> > >
> > >
> > > 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
> > >
> > > > FYI, I've started something like an import proposal in a dedicated
> > branch
> > > > [1]. There's currently only the JBoss Arquillian profile running,
> > haven't
> > > > looked at the others. Any support there and of course other input's
> > very
> > > > welcome :)
> > > >
> > > > [1] https://github.com/ctpconsulting/query/tree/dsimport
> > > >
> > > > On Tue, Mar 5, 2013 at 7:45 AM, Romain Manni-Bucau <
> > > rmannibucau@gmail.com
> > > > >wrote:
> > > >
> > > > > Yes
> > > > >
> > > > > It works fine but you bring too much spring dependencies (totally
> > > useless
> > > > > when used this way) which clearly show it is rather a bridge than a
> > > > > solution + there were some leaks in previous version (didnt check
> fix
> > > was
> > > > > released to be honest) because if this usage which was not the
> > default
> > > > one.
> > > > >
> > > > > Since cdi query is here it worths importing it IMO
> > > > > Le 5 mars 2013 02:21, "hantsy" <ha...@yahoo.com.cn> a écrit :
> > > > >
> > > > > > I remember the Spring Data has a CDI extension, but I have not
> used
> > > it
> > > > > > in projects. Is there anyone used it in Java EE 6 projects?
> > > > > >
> > > > > > Hantsy
> > > > > >
> > > > > > On 3/3/2013 20:40, Romain Manni-Bucau wrote:
> > > > > > > Basically if the query logic could be scope agnostic it would
> be
> > > > > perfect
> > > > > > > for me. Parameters were fine and matched the coomon need. I m
> not
> > > > sure
> > > > > i
> > > > > > > get what is blocking. Can you detail it a bit please?
> > > > > > > Le 3 mars 2013 13:09, "Thomas Hug" <
> > thomas.hug@ctp-consulting.com>
> > > a
> > > > > > écrit :
> > > > > > >
> > > > > > >> Aha got you. Yes QueryHandler can be moved to application
> scope.
> > > > > > >>
> > > > > > >> The other request scoped component ist the
> > > > CdiQueryInvocationContext.
> > > > > > Here
> > > > > > >> we store a bunch of data which is related to the current query
> > > > > > (parameters,
> > > > > > >> query string etc). Originally this was passed as parameter,
> but
> > > got
> > > > > > >> injectable for the extension mechanism [1]. Currently on
> > holidays
> > > > > (sorry
> > > > > > >> the response delays) so not much time to look into it but
> happy
> > to
> > > > > take
> > > > > > >> suggestions :)
> > > > > > >>
> > > > > > >> [1]
> > > > > > >>
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> > > > > > >>
> > > > > > >> On Fri, Mar 1, 2013 at 8:18 PM, Romain Manni-Bucau <
> > > > > > rmannibucau@gmail.com
> > > > > > >>> wrote:
> > > > > > >>> Hmm,
> > > > > > >>>
> > > > > > >>> Wonder if the scope couldnt be application one. Request
> sounds
> > > too
> > > > > much
> > > > > > >> web
> > > > > > >>> to be usable/generic
> > > > > > >>> Le 1 mars 2013 19:02, "Thomas Hug" <
> > > thomas.hug@ctp-consulting.com>
> > > > a
> > > > > > >>> écrit :
> > > > > > >>>
> > > > > > >>>> Fine for me - planned to create a branch with all the
> > > experimental
> > > > > > APIs
> > > > > > >>>> cleared out as an import proposal.
> > > > > > >>>>
> > > > > > >>>> RE scope, the InvocationHandlers are validated to be normal
> > > scoped
> > > > > > [1],
> > > > > > >>> so
> > > > > > >>>> that seemed to me the most appropriate choice - any other
> > > > > suggestions?
> > > > > > >>>>
> > > > > > >>>> [1]
> > > > > > >>>>
> > > > > > >>>>
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > > > > > >>>>
> > > > > > >>>> On Wed, Feb 27, 2013 at 1:15 PM, Romain Manni-Bucau
> > > > > > >>>> <rm...@gmail.com>wrote:
> > > > > > >>>>
> > > > > > >>>>> Hi,
> > > > > > >>>>>
> > > > > > >>>>> some news of it?
> > > > > > >>>>>
> > > > > > >>>>> i think it is time to import at least a first version,
> isn't
> > > it?
> > > > > > >>>>>
> > > > > > >>>>> Just a note on current code, i saw QueryHandler (and some
> > other
> > > > > > >> beans)
> > > > > > >>>> has
> > > > > > >>>>> a request scope. Wonder if such a scope means something
> for a
> > > > > generic
> > > > > > >>>> (not
> > > > > > >>>>> web) lib.
> > > > > > >>>>>
> > > > > > >>>>> wdyt?
> > > > > > >>>>>
> > > > > > >>>>> *Romain Manni-Bucau*
> > > > > > >>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > > >>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > >>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > >>>>> *Github: https://github.com/rmannibucau*
> > > > > > >>>>>
> > > > > > >>>>>
> > > > > > >>>>>
> > > > > > >>>>> 2013/2/20 Romain Manni-Bucau <rm...@gmail.com>
> > > > > > >>>>>
> > > > > > >>>>>> guy you rocks!
> > > > > > >>>>>>
> > > > > > >>>>>> effectively i missed it when i looked.
> > > > > > >>>>>>
> > > > > > >>>>>> *Romain Manni-Bucau*
> > > > > > >>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > > >>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > >>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > >>>>>> *Github: https://github.com/rmannibucau*
> > > > > > >>>>>>
> > > > > > >>>>>>
> > > > > > >>>>>>
> > > > > > >>>>>> 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> > > > > > >>>>>>
> > > > > > >>>>>>> Thnx Romain. If with proxy stuff you refer to the DS
> > > > > > >>>>>>> InvocationHandlerBinding, that's already integrated :)
> > > > > > >>>>>>>
> > > > > > >>>>>>> RE pagination, it's maybe not that obvious, but there's
> > more
> > > > > > >>> advanced
> > > > > > >>>>>>> support in QueryResult [1][2], which is more of a fluent
> > API
> > > > > > >>> approach,
> > > > > > >>>>> but
> > > > > > >>>>>>> should behave similar to a PageRequest (the query
> execution
> > > is
> > > > > > >>> delayed
> > > > > > >>>>>>> until the getResult() methods on QueryResult is called).
> > Hope
> > > > > that
> > > > > > >>>> fits
> > > > > > >>>>> to
> > > > > > >>>>>>> what you had in mind.
> > > > > > >>>>>>>
> > > > > > >>>>>>> [1]
> > > > > > >>>>>>>
> > > > > > >>>>>>>
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > > > > > >>>>>>> [2]
> > > > > > >>>>>>>
> > > > > > >>>>>>>
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > > > > > >>>>>>> On Wed, Feb 20, 2013 at 10:04 PM, Romain Manni-Bucau
> > > > > > >>>>>>> <rm...@gmail.com>wrote:
> > > > > > >>>>>>>
> > > > > > >>>>>>>> Hi Thomas,
> > > > > > >>>>>>>>
> > > > > > >>>>>>>> importing proxy stuff would be the first great stuff.
> > > > > > >>>>>>>>
> > > > > > >>>>>>>> i'd like to see some pagination API (like PageRequest
> etc
> > in
> > > > > > >>> spring
> > > > > > >>>>>>> world)
> > > > > > >>>>>>>> which are more user friendly that @FirstResult and
> > > > @MaxResult).
> > > > > > >>>>>>>>
> > > > > > >>>>>>>> wdyt?
> > > > > > >>>>>>>>
> > > > > > >>>>>>>> *Romain Manni-Bucau*
> > > > > > >>>>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau
> >*
> > > > > > >>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > >>>>>>>> http://rmannibucau.wordpress.com/>
> > > > > > >>>>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > >>>>>>>> *Github: https://github.com/rmannibucau*
> > > > > > >>>>>>>>
> > > > > > >>>>>>>>
> > > > > > >>>>>>>>
> > > > > > >>>>>>>> 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> > > > > > >>>>>>>>
> > > > > > >>>>>>>>> CDI Query has now a completely Solder-free POM. Feel
> free
> > > to
> > > > > > >>> drop
> > > > > > >>>>>>>> comments
> > > > > > >>>>>>>>> on the API - some parts might actually be fully
> excluded
> > > > (e.g.
> > > > > > >>>> home
> > > > > > >>>>>>> and
> > > > > > >>>>>>>>> critera APIs).
> > > > > > >>>>>>>>>
> > > > > > >>>>>>>>> On Tue, Feb 12, 2013 at 10:00 PM, Mark Struberg <
> > > > > > >>>> struberg@yahoo.de>
> > > > > > >>>>>>>> wrote:
> > > > > > >>>>>>>>>>
> > > > > > >>>>>>>>>> Thanks Thomas, great news!
> > > > > > >>>>>>>>>>
> > > > > > >>>>>>>>>> LieGrue,
> > > > > > >>>>>>>>>> strub
> > > > > > >>>>>>>>>>
> > > > > > >>>>>>>>>>
> > > > > > >>>>>>>>>>
> > > > > > >>>>>>>>>>
> > > > > > >>>>>>>>>>
> > > > > > >>>>>>>>>>> ________________________________
> > > > > > >>>>>>>>>>> From: Thomas Hug <th...@ctp-consulting.com>
> > > > > > >>>>>>>>>>> To: "deltaspike-dev@incubator.apache.org" <
> > > > > > >>>>>>>>>> deltaspike-dev@incubator.apache.org>
> > > > > > >>>>>>>>>>> Sent: Tuesday, February 12, 2013 4:10 PM
> > > > > > >>>>>>>>>>> Subject: Re: cdi-query, no news?
> > > > > > >>>>>>>>>>>
> > > > > > >>>>>>>>>>> FYI, I've started to "de-solderize" CDI Query and
> move
> > > > > > >> things
> > > > > > >>>> to
> > > > > > >>>>>>>> depend
> > > > > > >>>>>>>>> on
> > > > > > >>>>>>>>>>> DS Core [1]:
> > > > > > >>>>>>>>>>>
> https://github.com/ctpconsulting/query/tree/deltaspike
> > > > > > >>>>>>>>>>>
> > > > > > >>>>>>>>>>> Todos:
> > > > > > >>>>>>>>>>> [x] Replace ServiceHandler
> > > > > > >>>>>>>>>>> [_] Include Property utils
> > > > > > >>>>>>>>>>> [_] Replace JBoss Logging
> > > > > > >>>>>>>>>>>
> > > > > > >>>>>>>>>>> Any feedback welcome.
> > > > > > >>>>>>>>>>>
> > > > > > >>>>>>>>>>> [1] including this modification
> > > > > > >>>>>>>>>>>
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > > > > >>>>>>>>>>> On Mon, Feb 11, 2013 at 6:01 PM, Romain Manni-Bucau
> > > > > > >>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > > > >>>>>>>>>>>
> > > > > > >>>>>>>>>>>> a review of the API i guess
> > > > > > >>>>>>>>>>>>
> > > > > > >>>>>>>>>>>> what is missing today is probably the pagination
> > helpers
> > > > > > >>>>>>>> (PageRequest
> > > > > > >>>>>>>>>> for
> > > > > > >>>>>>>>>>>> instance)
> > > > > > >>>>>>>>>>>>
> > > > > > >>>>>>>>>>>> but technically all is fine IMO
> > > > > > >>>>>>>>>>>>
> > > > > > >>>>>>>>>>>> *Romain Manni-Bucau*
> > > > > > >>>>>>>>>>>> *Twitter: @rmannibucau <
> > https://twitter.com/rmannibucau
> > > > > > >>> *
> > > > > > >>>>>>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > >>>>>>>>>>>> http://rmannibucau.wordpress.com/>
> > > > > > >>>>>>>>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > >>>>>>>>>>>> *Github: https://github.com/rmannibucau*
> > > > > > >>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>
> > > > > > >>>>>>>>>>>> 2013/2/11 Jason Porter <li...@gmail.com>
> > > > > > >>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>> I know I'm playing the necromancer, but please
> > forgive
> > > > > > >>> me.
> > > > > > >>>> We
> > > > > > >>>>>>> have
> > > > > > >>>>>>>>>>>>> InvocationHandler, which looks like it would work
> as
> > a
> > > > > > >>>>>>>>> ServiceHandler
> > > > > > >>>>>>>>>>>>> substitute. What else is needed to get CDI Query
> into
> > > > > > >>>>>>> DeltaSpike?
> > > > > > >>>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>> On Sun, Nov 18, 2012 at 12:35 PM, Romain
> Manni-Bucau
> > > > > > >>>>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > > > >>>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>>> +1, it is a must have for cdi world
> > > > > > >>>>>>>>>>>>>> Le 18 nov. 2012 20:04, "john.d.ament" <
> > > > > > >>>>>>> john.d.ament@gmail.com>
> > > > > > >>>>>>>> a
> > > > > > >>>>>>>>>>>> écrit :
> > > > > > >>>>>>>>>>>>>>> RE ServiceHandler - I was one of those who
> > > > > > >> previously
> > > > > > >>>>>>>> suggested
> > > > > > >>>>>>>>>>>>> bringing
> > > > > > >>>>>>>>>>>>>> it
> > > > > > >>>>>>>>>>>>>>> over to DeltaSpike, you can see DELTASPIKE-113
> and
> > > > > > >>> find
> > > > > > >>>>> the
> > > > > > >>>>>>>>> thread
> > > > > > >>>>>>>>>>>>> about
> > > > > > >>>>>>>>>>>>>> it
> > > > > > >>>>>>>>>>>>>>> from April of this year.  At the time, I was in a
> > > > > > >>>>> position
> > > > > > >>>>>>>>> where I
> > > > > > >>>>>>>>>>>>>> couldn't
> > > > > > >>>>>>>>>>>>>>> spend much time on open source contribution.
>  I've
> > > > > > >>>>> recently
> > > > > > >>>>>>>>>> changed
> > > > > > >>>>>>>>>>>>> jobs,
> > > > > > >>>>>>>>>>>>>>> to
> > > > > > >>>>>>>>>>>>>>> something that's going to help me spend some more
> > > > > > >>> time
> > > > > > >>>>> with
> > > > > > >>>>>>>> the
> > > > > > >>>>>>>>>> open
> > > > > > >>>>>>>>>>>>>> source
> > > > > > >>>>>>>>>>>>>>> community, and believe I can pick it back up if
> > > > > > >> we're
> > > > > > >>>>>>> ready.
> > > > > > >>>>>>>>>>>>>>> If everyone's ok with it I can start a new thread
> > > > > > >> for
> > > > > > >>>> 113
> > > > > > >>>>>>> or
> > > > > > >>>>>>>>>> revive
> > > > > > >>>>>>>>>>>> the
> > > > > > >>>>>>>>>>>>>> old
> > > > > > >>>>>>>>>>>>>>> thread (though it may come through with a large
> > > > > > >> pile
> > > > > > >>> of
> > > > > > >>>>>>> dust).
> > > > > > >>>>>>>>>>>>>>> Regards,
> > > > > > >>>>>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>>>> John
> > > > > > >>>>>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>>>> --
> > > > > > >>>>>>>>>>>>>>> View this message in context:
> > > > > > >>>>>>>>>>>>>>>
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > > > >>>>>>>>>>>>>>> Sent from the Apache DeltaSpike Incubator
> > > > > > >> Discussions
> > > > > > >>>>>>> mailing
> > > > > > >>>>>>>>> list
> > > > > > >>>>>>>>>>>>>> archive
> > > > > > >>>>>>>>>>>>>>> at Nabble.com.
> > > > > > >>>>>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>> --
> > > > > > >>>>>>>>>>>>> Jason Porter
> > > > > > >>>>>>>>>>>>> http://en.gravatar.com/lightguardjp
> > > > > > >>>>>>>>>>>>>
> > > > > > >>>>>>>>>>>
> > > > > > >>>>>>>>>>>
> > > > > > >>>>>>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
+2 for repo

btw did you fixed the scope issue?

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/3/12 Thomas Hug <th...@ctp-consulting.com>

> The name is still freely choosable - data sounds fine to me if nobody minds
> the obvious mirroring on Spring Data ;) dao/@Dao is discussable, all the
> domain driven folks prefer probably something like "Repository".
>
> On Tue, Mar 12, 2013 at 7:29 PM, Romain Manni-Bucau
> <rm...@gmail.com>wrote:
>
> > Great :)
> >
> > any issue changing "query" to something closer to what it really does ;
> > "dao" (because of @Dao) or "data"?
> >
> > *Romain Manni-Bucau*
> > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > *Blog: **http://rmannibucau.wordpress.com/*<
> > http://rmannibucau.wordpress.com/>
> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > *Github: https://gihub.com/rmannibucau* <https://github.com/rmannibucau*
> >
> >
> >
> >
> > 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
> >
> > > FYI, I've started something like an import proposal in a dedicated
> branch
> > > [1]. There's currently only the JBoss Arquillian profile running,
> haven't
> > > looked at the others. Any support there and of course other input's
> very
> > > welcome :)
> > >
> > > [1] https://github.com/ctpconsulting/query/tree/dsimport
> > >
> > > On Tue, Mar 5, 2013 at 7:45 AM, Romain Manni-Bucau <
> > rmannibucau@gmail.com
> > > >wrote:
> > >
> > > > Yes
> > > >
> > > > It works fine but you bring too much spring dependencies (totally
> > useless
> > > > when used this way) which clearly show it is rather a bridge than a
> > > > solution + there were some leaks in previous version (didnt check fix
> > was
> > > > released to be honest) because if this usage which was not the
> default
> > > one.
> > > >
> > > > Since cdi query is here it worths importing it IMO
> > > > Le 5 mars 2013 02:21, "hantsy" <ha...@yahoo.com.cn> a écrit :
> > > >
> > > > > I remember the Spring Data has a CDI extension, but I have not used
> > it
> > > > > in projects. Is there anyone used it in Java EE 6 projects?
> > > > >
> > > > > Hantsy
> > > > >
> > > > > On 3/3/2013 20:40, Romain Manni-Bucau wrote:
> > > > > > Basically if the query logic could be scope agnostic it would be
> > > > perfect
> > > > > > for me. Parameters were fine and matched the coomon need. I m not
> > > sure
> > > > i
> > > > > > get what is blocking. Can you detail it a bit please?
> > > > > > Le 3 mars 2013 13:09, "Thomas Hug" <
> thomas.hug@ctp-consulting.com>
> > a
> > > > > écrit :
> > > > > >
> > > > > >> Aha got you. Yes QueryHandler can be moved to application scope.
> > > > > >>
> > > > > >> The other request scoped component ist the
> > > CdiQueryInvocationContext.
> > > > > Here
> > > > > >> we store a bunch of data which is related to the current query
> > > > > (parameters,
> > > > > >> query string etc). Originally this was passed as parameter, but
> > got
> > > > > >> injectable for the extension mechanism [1]. Currently on
> holidays
> > > > (sorry
> > > > > >> the response delays) so not much time to look into it but happy
> to
> > > > take
> > > > > >> suggestions :)
> > > > > >>
> > > > > >> [1]
> > > > > >>
> > > > > >>
> > > > >
> > > >
> > >
> >
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> > > > > >>
> > > > > >> On Fri, Mar 1, 2013 at 8:18 PM, Romain Manni-Bucau <
> > > > > rmannibucau@gmail.com
> > > > > >>> wrote:
> > > > > >>> Hmm,
> > > > > >>>
> > > > > >>> Wonder if the scope couldnt be application one. Request sounds
> > too
> > > > much
> > > > > >> web
> > > > > >>> to be usable/generic
> > > > > >>> Le 1 mars 2013 19:02, "Thomas Hug" <
> > thomas.hug@ctp-consulting.com>
> > > a
> > > > > >>> écrit :
> > > > > >>>
> > > > > >>>> Fine for me - planned to create a branch with all the
> > experimental
> > > > > APIs
> > > > > >>>> cleared out as an import proposal.
> > > > > >>>>
> > > > > >>>> RE scope, the InvocationHandlers are validated to be normal
> > scoped
> > > > > [1],
> > > > > >>> so
> > > > > >>>> that seemed to me the most appropriate choice - any other
> > > > suggestions?
> > > > > >>>>
> > > > > >>>> [1]
> > > > > >>>>
> > > > > >>>>
> > > > > >>
> > > > >
> > > >
> > >
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > > > > >>>>
> > > > > >>>> On Wed, Feb 27, 2013 at 1:15 PM, Romain Manni-Bucau
> > > > > >>>> <rm...@gmail.com>wrote:
> > > > > >>>>
> > > > > >>>>> Hi,
> > > > > >>>>>
> > > > > >>>>> some news of it?
> > > > > >>>>>
> > > > > >>>>> i think it is time to import at least a first version, isn't
> > it?
> > > > > >>>>>
> > > > > >>>>> Just a note on current code, i saw QueryHandler (and some
> other
> > > > > >> beans)
> > > > > >>>> has
> > > > > >>>>> a request scope. Wonder if such a scope means something for a
> > > > generic
> > > > > >>>> (not
> > > > > >>>>> web) lib.
> > > > > >>>>>
> > > > > >>>>> wdyt?
> > > > > >>>>>
> > > > > >>>>> *Romain Manni-Bucau*
> > > > > >>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > >>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > >>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > >>>>> *Github: https://github.com/rmannibucau*
> > > > > >>>>>
> > > > > >>>>>
> > > > > >>>>>
> > > > > >>>>> 2013/2/20 Romain Manni-Bucau <rm...@gmail.com>
> > > > > >>>>>
> > > > > >>>>>> guy you rocks!
> > > > > >>>>>>
> > > > > >>>>>> effectively i missed it when i looked.
> > > > > >>>>>>
> > > > > >>>>>> *Romain Manni-Bucau*
> > > > > >>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > >>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > >>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > >>>>>> *Github: https://github.com/rmannibucau*
> > > > > >>>>>>
> > > > > >>>>>>
> > > > > >>>>>>
> > > > > >>>>>> 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> > > > > >>>>>>
> > > > > >>>>>>> Thnx Romain. If with proxy stuff you refer to the DS
> > > > > >>>>>>> InvocationHandlerBinding, that's already integrated :)
> > > > > >>>>>>>
> > > > > >>>>>>> RE pagination, it's maybe not that obvious, but there's
> more
> > > > > >>> advanced
> > > > > >>>>>>> support in QueryResult [1][2], which is more of a fluent
> API
> > > > > >>> approach,
> > > > > >>>>> but
> > > > > >>>>>>> should behave similar to a PageRequest (the query execution
> > is
> > > > > >>> delayed
> > > > > >>>>>>> until the getResult() methods on QueryResult is called).
> Hope
> > > > that
> > > > > >>>> fits
> > > > > >>>>> to
> > > > > >>>>>>> what you had in mind.
> > > > > >>>>>>>
> > > > > >>>>>>> [1]
> > > > > >>>>>>>
> > > > > >>>>>>>
> > > > > >>
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > > > > >>>>>>> [2]
> > > > > >>>>>>>
> > > > > >>>>>>>
> > > > > >>
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > > > > >>>>>>> On Wed, Feb 20, 2013 at 10:04 PM, Romain Manni-Bucau
> > > > > >>>>>>> <rm...@gmail.com>wrote:
> > > > > >>>>>>>
> > > > > >>>>>>>> Hi Thomas,
> > > > > >>>>>>>>
> > > > > >>>>>>>> importing proxy stuff would be the first great stuff.
> > > > > >>>>>>>>
> > > > > >>>>>>>> i'd like to see some pagination API (like PageRequest etc
> in
> > > > > >>> spring
> > > > > >>>>>>> world)
> > > > > >>>>>>>> which are more user friendly that @FirstResult and
> > > @MaxResult).
> > > > > >>>>>>>>
> > > > > >>>>>>>> wdyt?
> > > > > >>>>>>>>
> > > > > >>>>>>>> *Romain Manni-Bucau*
> > > > > >>>>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > >>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > >>>>>>>> http://rmannibucau.wordpress.com/>
> > > > > >>>>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > >>>>>>>> *Github: https://github.com/rmannibucau*
> > > > > >>>>>>>>
> > > > > >>>>>>>>
> > > > > >>>>>>>>
> > > > > >>>>>>>> 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> > > > > >>>>>>>>
> > > > > >>>>>>>>> CDI Query has now a completely Solder-free POM. Feel free
> > to
> > > > > >>> drop
> > > > > >>>>>>>> comments
> > > > > >>>>>>>>> on the API - some parts might actually be fully excluded
> > > (e.g.
> > > > > >>>> home
> > > > > >>>>>>> and
> > > > > >>>>>>>>> critera APIs).
> > > > > >>>>>>>>>
> > > > > >>>>>>>>> On Tue, Feb 12, 2013 at 10:00 PM, Mark Struberg <
> > > > > >>>> struberg@yahoo.de>
> > > > > >>>>>>>> wrote:
> > > > > >>>>>>>>>>
> > > > > >>>>>>>>>> Thanks Thomas, great news!
> > > > > >>>>>>>>>>
> > > > > >>>>>>>>>> LieGrue,
> > > > > >>>>>>>>>> strub
> > > > > >>>>>>>>>>
> > > > > >>>>>>>>>>
> > > > > >>>>>>>>>>
> > > > > >>>>>>>>>>
> > > > > >>>>>>>>>>
> > > > > >>>>>>>>>>> ________________________________
> > > > > >>>>>>>>>>> From: Thomas Hug <th...@ctp-consulting.com>
> > > > > >>>>>>>>>>> To: "deltaspike-dev@incubator.apache.org" <
> > > > > >>>>>>>>>> deltaspike-dev@incubator.apache.org>
> > > > > >>>>>>>>>>> Sent: Tuesday, February 12, 2013 4:10 PM
> > > > > >>>>>>>>>>> Subject: Re: cdi-query, no news?
> > > > > >>>>>>>>>>>
> > > > > >>>>>>>>>>> FYI, I've started to "de-solderize" CDI Query and move
> > > > > >> things
> > > > > >>>> to
> > > > > >>>>>>>> depend
> > > > > >>>>>>>>> on
> > > > > >>>>>>>>>>> DS Core [1]:
> > > > > >>>>>>>>>>> https://github.com/ctpconsulting/query/tree/deltaspike
> > > > > >>>>>>>>>>>
> > > > > >>>>>>>>>>> Todos:
> > > > > >>>>>>>>>>> [x] Replace ServiceHandler
> > > > > >>>>>>>>>>> [_] Include Property utils
> > > > > >>>>>>>>>>> [_] Replace JBoss Logging
> > > > > >>>>>>>>>>>
> > > > > >>>>>>>>>>> Any feedback welcome.
> > > > > >>>>>>>>>>>
> > > > > >>>>>>>>>>> [1] including this modification
> > > > > >>>>>>>>>>>
> > > > > >>
> > > > >
> > > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > > > >>>>>>>>>>> On Mon, Feb 11, 2013 at 6:01 PM, Romain Manni-Bucau
> > > > > >>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > > >>>>>>>>>>>
> > > > > >>>>>>>>>>>> a review of the API i guess
> > > > > >>>>>>>>>>>>
> > > > > >>>>>>>>>>>> what is missing today is probably the pagination
> helpers
> > > > > >>>>>>>> (PageRequest
> > > > > >>>>>>>>>> for
> > > > > >>>>>>>>>>>> instance)
> > > > > >>>>>>>>>>>>
> > > > > >>>>>>>>>>>> but technically all is fine IMO
> > > > > >>>>>>>>>>>>
> > > > > >>>>>>>>>>>> *Romain Manni-Bucau*
> > > > > >>>>>>>>>>>> *Twitter: @rmannibucau <
> https://twitter.com/rmannibucau
> > > > > >>> *
> > > > > >>>>>>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > >>>>>>>>>>>> http://rmannibucau.wordpress.com/>
> > > > > >>>>>>>>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > >>>>>>>>>>>> *Github: https://github.com/rmannibucau*
> > > > > >>>>>>>>>>>>
> > > > > >>>>>>>>>>>>
> > > > > >>>>>>>>>>>>
> > > > > >>>>>>>>>>>> 2013/2/11 Jason Porter <li...@gmail.com>
> > > > > >>>>>>>>>>>>
> > > > > >>>>>>>>>>>>> I know I'm playing the necromancer, but please
> forgive
> > > > > >>> me.
> > > > > >>>> We
> > > > > >>>>>>> have
> > > > > >>>>>>>>>>>>> InvocationHandler, which looks like it would work as
> a
> > > > > >>>>>>>>> ServiceHandler
> > > > > >>>>>>>>>>>>> substitute. What else is needed to get CDI Query into
> > > > > >>>>>>> DeltaSpike?
> > > > > >>>>>>>>>>>>>
> > > > > >>>>>>>>>>>>> On Sun, Nov 18, 2012 at 12:35 PM, Romain Manni-Bucau
> > > > > >>>>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > > >>>>>>>>>>>>>
> > > > > >>>>>>>>>>>>>> +1, it is a must have for cdi world
> > > > > >>>>>>>>>>>>>> Le 18 nov. 2012 20:04, "john.d.ament" <
> > > > > >>>>>>> john.d.ament@gmail.com>
> > > > > >>>>>>>> a
> > > > > >>>>>>>>>>>> écrit :
> > > > > >>>>>>>>>>>>>>> RE ServiceHandler - I was one of those who
> > > > > >> previously
> > > > > >>>>>>>> suggested
> > > > > >>>>>>>>>>>>> bringing
> > > > > >>>>>>>>>>>>>> it
> > > > > >>>>>>>>>>>>>>> over to DeltaSpike, you can see DELTASPIKE-113 and
> > > > > >>> find
> > > > > >>>>> the
> > > > > >>>>>>>>> thread
> > > > > >>>>>>>>>>>>> about
> > > > > >>>>>>>>>>>>>> it
> > > > > >>>>>>>>>>>>>>> from April of this year.  At the time, I was in a
> > > > > >>>>> position
> > > > > >>>>>>>>> where I
> > > > > >>>>>>>>>>>>>> couldn't
> > > > > >>>>>>>>>>>>>>> spend much time on open source contribution.  I've
> > > > > >>>>> recently
> > > > > >>>>>>>>>> changed
> > > > > >>>>>>>>>>>>> jobs,
> > > > > >>>>>>>>>>>>>>> to
> > > > > >>>>>>>>>>>>>>> something that's going to help me spend some more
> > > > > >>> time
> > > > > >>>>> with
> > > > > >>>>>>>> the
> > > > > >>>>>>>>>> open
> > > > > >>>>>>>>>>>>>> source
> > > > > >>>>>>>>>>>>>>> community, and believe I can pick it back up if
> > > > > >> we're
> > > > > >>>>>>> ready.
> > > > > >>>>>>>>>>>>>>> If everyone's ok with it I can start a new thread
> > > > > >> for
> > > > > >>>> 113
> > > > > >>>>>>> or
> > > > > >>>>>>>>>> revive
> > > > > >>>>>>>>>>>> the
> > > > > >>>>>>>>>>>>>> old
> > > > > >>>>>>>>>>>>>>> thread (though it may come through with a large
> > > > > >> pile
> > > > > >>> of
> > > > > >>>>>>> dust).
> > > > > >>>>>>>>>>>>>>> Regards,
> > > > > >>>>>>>>>>>>>>>
> > > > > >>>>>>>>>>>>>>> John
> > > > > >>>>>>>>>>>>>>>
> > > > > >>>>>>>>>>>>>>>
> > > > > >>>>>>>>>>>>>>>
> > > > > >>>>>>>>>>>>>>> --
> > > > > >>>>>>>>>>>>>>> View this message in context:
> > > > > >>>>>>>>>>>>>>>
> > > > > >>
> > > > >
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > > >>>>>>>>>>>>>>> Sent from the Apache DeltaSpike Incubator
> > > > > >> Discussions
> > > > > >>>>>>> mailing
> > > > > >>>>>>>>> list
> > > > > >>>>>>>>>>>>>> archive
> > > > > >>>>>>>>>>>>>>> at Nabble.com.
> > > > > >>>>>>>>>>>>>>>
> > > > > >>>>>>>>>>>>>
> > > > > >>>>>>>>>>>>>
> > > > > >>>>>>>>>>>>> --
> > > > > >>>>>>>>>>>>> Jason Porter
> > > > > >>>>>>>>>>>>> http://en.gravatar.com/lightguardjp
> > > > > >>>>>>>>>>>>>
> > > > > >>>>>>>>>>>
> > > > > >>>>>>>>>>>
> > > > > >>>>>>
> > > > >
> > > > >
> > > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
oki so sounds ready to import ;)

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/3/12 Thomas Hug <th...@gmail.com>

> I grew up with DAO's but repos are also absolutely fine for me ;)
>
> RequestScope is gone - although in a lazy fix the data went into a
> ThreadLocal (due to the lack of a better idea).
>
> On Tue, Mar 12, 2013 at 8:17 PM, Romain Manni-Bucau
> <rm...@gmail.com>wrote:
>
> > +2 for repo
> >
> > btw did you fixed the scope issue?
> >
> > *Romain Manni-Bucau*
> > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > *Blog: **http://rmannibucau.wordpress.com/*<
> > http://rmannibucau.wordpress.com/>
> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > *Github: https://github.com/rmannibucau*
> >
> >
> >
> > 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
> >
> > > The name is still freely choosable - data sounds fine to me if nobody
> > minds
> > > the obvious mirroring on Spring Data ;) dao/@Dao is discussable, all
> the
> > > domain driven folks prefer probably something like "Repository".
> > >
> > > On Tue, Mar 12, 2013 at 7:29 PM, Romain Manni-Bucau
> > > <rm...@gmail.com>wrote:
> > >
> > > > Great :)
> > > >
> > > > any issue changing "query" to something closer to what it really
> does ;
> > > > "dao" (because of @Dao) or "data"?
> > > >
> > > > *Romain Manni-Bucau*
> > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > http://rmannibucau.wordpress.com/>
> > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > *Github: https://gihub.com/rmannibucau* <
> > https://github.com/rmannibucau*
> > > >
> > > >
> > > >
> > > >
> > > > 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
> > > >
> > > > > FYI, I've started something like an import proposal in a dedicated
> > > branch
> > > > > [1]. There's currently only the JBoss Arquillian profile running,
> > > haven't
> > > > > looked at the others. Any support there and of course other input's
> > > very
> > > > > welcome :)
> > > > >
> > > > > [1] https://github.com/ctpconsulting/query/tree/dsimport
> > > > >
> > > > > On Tue, Mar 5, 2013 at 7:45 AM, Romain Manni-Bucau <
> > > > rmannibucau@gmail.com
> > > > > >wrote:
> > > > >
> > > > > > Yes
> > > > > >
> > > > > > It works fine but you bring too much spring dependencies (totally
> > > > useless
> > > > > > when used this way) which clearly show it is rather a bridge
> than a
> > > > > > solution + there were some leaks in previous version (didnt check
> > fix
> > > > was
> > > > > > released to be honest) because if this usage which was not the
> > > default
> > > > > one.
> > > > > >
> > > > > > Since cdi query is here it worths importing it IMO
> > > > > > Le 5 mars 2013 02:21, "hantsy" <ha...@yahoo.com.cn> a écrit :
> > > > > >
> > > > > > > I remember the Spring Data has a CDI extension, but I have not
> > used
> > > > it
> > > > > > > in projects. Is there anyone used it in Java EE 6 projects?
> > > > > > >
> > > > > > > Hantsy
> > > > > > >
> > > > > > > On 3/3/2013 20:40, Romain Manni-Bucau wrote:
> > > > > > > > Basically if the query logic could be scope agnostic it would
> > be
> > > > > > perfect
> > > > > > > > for me. Parameters were fine and matched the coomon need. I m
> > not
> > > > > sure
> > > > > > i
> > > > > > > > get what is blocking. Can you detail it a bit please?
> > > > > > > > Le 3 mars 2013 13:09, "Thomas Hug" <
> > > thomas.hug@ctp-consulting.com>
> > > > a
> > > > > > > écrit :
> > > > > > > >
> > > > > > > >> Aha got you. Yes QueryHandler can be moved to application
> > scope.
> > > > > > > >>
> > > > > > > >> The other request scoped component ist the
> > > > > CdiQueryInvocationContext.
> > > > > > > Here
> > > > > > > >> we store a bunch of data which is related to the current
> query
> > > > > > > (parameters,
> > > > > > > >> query string etc). Originally this was passed as parameter,
> > but
> > > > got
> > > > > > > >> injectable for the extension mechanism [1]. Currently on
> > > holidays
> > > > > > (sorry
> > > > > > > >> the response delays) so not much time to look into it but
> > happy
> > > to
> > > > > > take
> > > > > > > >> suggestions :)
> > > > > > > >>
> > > > > > > >> [1]
> > > > > > > >>
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> > > > > > > >>
> > > > > > > >> On Fri, Mar 1, 2013 at 8:18 PM, Romain Manni-Bucau <
> > > > > > > rmannibucau@gmail.com
> > > > > > > >>> wrote:
> > > > > > > >>> Hmm,
> > > > > > > >>>
> > > > > > > >>> Wonder if the scope couldnt be application one. Request
> > sounds
> > > > too
> > > > > > much
> > > > > > > >> web
> > > > > > > >>> to be usable/generic
> > > > > > > >>> Le 1 mars 2013 19:02, "Thomas Hug" <
> > > > thomas.hug@ctp-consulting.com>
> > > > > a
> > > > > > > >>> écrit :
> > > > > > > >>>
> > > > > > > >>>> Fine for me - planned to create a branch with all the
> > > > experimental
> > > > > > > APIs
> > > > > > > >>>> cleared out as an import proposal.
> > > > > > > >>>>
> > > > > > > >>>> RE scope, the InvocationHandlers are validated to be
> normal
> > > > scoped
> > > > > > > [1],
> > > > > > > >>> so
> > > > > > > >>>> that seemed to me the most appropriate choice - any other
> > > > > > suggestions?
> > > > > > > >>>>
> > > > > > > >>>> [1]
> > > > > > > >>>>
> > > > > > > >>>>
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > > > > > > >>>>
> > > > > > > >>>> On Wed, Feb 27, 2013 at 1:15 PM, Romain Manni-Bucau
> > > > > > > >>>> <rm...@gmail.com>wrote:
> > > > > > > >>>>
> > > > > > > >>>>> Hi,
> > > > > > > >>>>>
> > > > > > > >>>>> some news of it?
> > > > > > > >>>>>
> > > > > > > >>>>> i think it is time to import at least a first version,
> > isn't
> > > > it?
> > > > > > > >>>>>
> > > > > > > >>>>> Just a note on current code, i saw QueryHandler (and some
> > > other
> > > > > > > >> beans)
> > > > > > > >>>> has
> > > > > > > >>>>> a request scope. Wonder if such a scope means something
> > for a
> > > > > > generic
> > > > > > > >>>> (not
> > > > > > > >>>>> web) lib.
> > > > > > > >>>>>
> > > > > > > >>>>> wdyt?
> > > > > > > >>>>>
> > > > > > > >>>>> *Romain Manni-Bucau*
> > > > > > > >>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau
> >*
> > > > > > > >>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > > >>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > >>>>> *Github: https://github.com/rmannibucau*
> > > > > > > >>>>>
> > > > > > > >>>>>
> > > > > > > >>>>>
> > > > > > > >>>>> 2013/2/20 Romain Manni-Bucau <rm...@gmail.com>
> > > > > > > >>>>>
> > > > > > > >>>>>> guy you rocks!
> > > > > > > >>>>>>
> > > > > > > >>>>>> effectively i missed it when i looked.
> > > > > > > >>>>>>
> > > > > > > >>>>>> *Romain Manni-Bucau*
> > > > > > > >>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau
> >*
> > > > > > > >>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > > >>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > >>>>>> *Github: https://github.com/rmannibucau*
> > > > > > > >>>>>>
> > > > > > > >>>>>>
> > > > > > > >>>>>>
> > > > > > > >>>>>> 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> > > > > > > >>>>>>
> > > > > > > >>>>>>> Thnx Romain. If with proxy stuff you refer to the DS
> > > > > > > >>>>>>> InvocationHandlerBinding, that's already integrated :)
> > > > > > > >>>>>>>
> > > > > > > >>>>>>> RE pagination, it's maybe not that obvious, but there's
> > > more
> > > > > > > >>> advanced
> > > > > > > >>>>>>> support in QueryResult [1][2], which is more of a
> fluent
> > > API
> > > > > > > >>> approach,
> > > > > > > >>>>> but
> > > > > > > >>>>>>> should behave similar to a PageRequest (the query
> > execution
> > > > is
> > > > > > > >>> delayed
> > > > > > > >>>>>>> until the getResult() methods on QueryResult is
> called).
> > > Hope
> > > > > > that
> > > > > > > >>>> fits
> > > > > > > >>>>> to
> > > > > > > >>>>>>> what you had in mind.
> > > > > > > >>>>>>>
> > > > > > > >>>>>>> [1]
> > > > > > > >>>>>>>
> > > > > > > >>>>>>>
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > > > > > > >>>>>>> [2]
> > > > > > > >>>>>>>
> > > > > > > >>>>>>>
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > > > > > > >>>>>>> On Wed, Feb 20, 2013 at 10:04 PM, Romain Manni-Bucau
> > > > > > > >>>>>>> <rm...@gmail.com>wrote:
> > > > > > > >>>>>>>
> > > > > > > >>>>>>>> Hi Thomas,
> > > > > > > >>>>>>>>
> > > > > > > >>>>>>>> importing proxy stuff would be the first great stuff.
> > > > > > > >>>>>>>>
> > > > > > > >>>>>>>> i'd like to see some pagination API (like PageRequest
> > etc
> > > in
> > > > > > > >>> spring
> > > > > > > >>>>>>> world)
> > > > > > > >>>>>>>> which are more user friendly that @FirstResult and
> > > > > @MaxResult).
> > > > > > > >>>>>>>>
> > > > > > > >>>>>>>> wdyt?
> > > > > > > >>>>>>>>
> > > > > > > >>>>>>>> *Romain Manni-Bucau*
> > > > > > > >>>>>>>> *Twitter: @rmannibucau <
> https://twitter.com/rmannibucau
> > >*
> > > > > > > >>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > >>>>>>>> http://rmannibucau.wordpress.com/>
> > > > > > > >>>>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > >>>>>>>> *Github: https://github.com/rmannibucau*
> > > > > > > >>>>>>>>
> > > > > > > >>>>>>>>
> > > > > > > >>>>>>>>
> > > > > > > >>>>>>>> 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> > > > > > > >>>>>>>>
> > > > > > > >>>>>>>>> CDI Query has now a completely Solder-free POM. Feel
> > free
> > > > to
> > > > > > > >>> drop
> > > > > > > >>>>>>>> comments
> > > > > > > >>>>>>>>> on the API - some parts might actually be fully
> > excluded
> > > > > (e.g.
> > > > > > > >>>> home
> > > > > > > >>>>>>> and
> > > > > > > >>>>>>>>> critera APIs).
> > > > > > > >>>>>>>>>
> > > > > > > >>>>>>>>> On Tue, Feb 12, 2013 at 10:00 PM, Mark Struberg <
> > > > > > > >>>> struberg@yahoo.de>
> > > > > > > >>>>>>>> wrote:
> > > > > > > >>>>>>>>>>
> > > > > > > >>>>>>>>>> Thanks Thomas, great news!
> > > > > > > >>>>>>>>>>
> > > > > > > >>>>>>>>>> LieGrue,
> > > > > > > >>>>>>>>>> strub
> > > > > > > >>>>>>>>>>
> > > > > > > >>>>>>>>>>
> > > > > > > >>>>>>>>>>
> > > > > > > >>>>>>>>>>
> > > > > > > >>>>>>>>>>
> > > > > > > >>>>>>>>>>> ________________________________
> > > > > > > >>>>>>>>>>> From: Thomas Hug <th...@ctp-consulting.com>
> > > > > > > >>>>>>>>>>> To: "deltaspike-dev@incubator.apache.org" <
> > > > > > > >>>>>>>>>> deltaspike-dev@incubator.apache.org>
> > > > > > > >>>>>>>>>>> Sent: Tuesday, February 12, 2013 4:10 PM
> > > > > > > >>>>>>>>>>> Subject: Re: cdi-query, no news?
> > > > > > > >>>>>>>>>>>
> > > > > > > >>>>>>>>>>> FYI, I've started to "de-solderize" CDI Query and
> > move
> > > > > > > >> things
> > > > > > > >>>> to
> > > > > > > >>>>>>>> depend
> > > > > > > >>>>>>>>> on
> > > > > > > >>>>>>>>>>> DS Core [1]:
> > > > > > > >>>>>>>>>>>
> > https://github.com/ctpconsulting/query/tree/deltaspike
> > > > > > > >>>>>>>>>>>
> > > > > > > >>>>>>>>>>> Todos:
> > > > > > > >>>>>>>>>>> [x] Replace ServiceHandler
> > > > > > > >>>>>>>>>>> [_] Include Property utils
> > > > > > > >>>>>>>>>>> [_] Replace JBoss Logging
> > > > > > > >>>>>>>>>>>
> > > > > > > >>>>>>>>>>> Any feedback welcome.
> > > > > > > >>>>>>>>>>>
> > > > > > > >>>>>>>>>>> [1] including this modification
> > > > > > > >>>>>>>>>>>
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > > > > > >>>>>>>>>>> On Mon, Feb 11, 2013 at 6:01 PM, Romain Manni-Bucau
> > > > > > > >>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > > > > >>>>>>>>>>>
> > > > > > > >>>>>>>>>>>> a review of the API i guess
> > > > > > > >>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>> what is missing today is probably the pagination
> > > helpers
> > > > > > > >>>>>>>> (PageRequest
> > > > > > > >>>>>>>>>> for
> > > > > > > >>>>>>>>>>>> instance)
> > > > > > > >>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>> but technically all is fine IMO
> > > > > > > >>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>> *Romain Manni-Bucau*
> > > > > > > >>>>>>>>>>>> *Twitter: @rmannibucau <
> > > https://twitter.com/rmannibucau
> > > > > > > >>> *
> > > > > > > >>>>>>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > >>>>>>>>>>>> http://rmannibucau.wordpress.com/>
> > > > > > > >>>>>>>>>>>> *LinkedIn: **
> http://fr.linkedin.com/in/rmannibucau*
> > > > > > > >>>>>>>>>>>> *Github: https://github.com/rmannibucau*
> > > > > > > >>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>> 2013/2/11 Jason Porter <li...@gmail.com>
> > > > > > > >>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>>> I know I'm playing the necromancer, but please
> > > forgive
> > > > > > > >>> me.
> > > > > > > >>>> We
> > > > > > > >>>>>>> have
> > > > > > > >>>>>>>>>>>>> InvocationHandler, which looks like it would work
> > as
> > > a
> > > > > > > >>>>>>>>> ServiceHandler
> > > > > > > >>>>>>>>>>>>> substitute. What else is needed to get CDI Query
> > into
> > > > > > > >>>>>>> DeltaSpike?
> > > > > > > >>>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>>> On Sun, Nov 18, 2012 at 12:35 PM, Romain
> > Manni-Bucau
> > > > > > > >>>>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > > > > >>>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>>>> +1, it is a must have for cdi world
> > > > > > > >>>>>>>>>>>>>> Le 18 nov. 2012 20:04, "john.d.ament" <
> > > > > > > >>>>>>> john.d.ament@gmail.com>
> > > > > > > >>>>>>>> a
> > > > > > > >>>>>>>>>>>> écrit :
> > > > > > > >>>>>>>>>>>>>>> RE ServiceHandler - I was one of those who
> > > > > > > >> previously
> > > > > > > >>>>>>>> suggested
> > > > > > > >>>>>>>>>>>>> bringing
> > > > > > > >>>>>>>>>>>>>> it
> > > > > > > >>>>>>>>>>>>>>> over to DeltaSpike, you can see DELTASPIKE-113
> > and
> > > > > > > >>> find
> > > > > > > >>>>> the
> > > > > > > >>>>>>>>> thread
> > > > > > > >>>>>>>>>>>>> about
> > > > > > > >>>>>>>>>>>>>> it
> > > > > > > >>>>>>>>>>>>>>> from April of this year.  At the time, I was
> in a
> > > > > > > >>>>> position
> > > > > > > >>>>>>>>> where I
> > > > > > > >>>>>>>>>>>>>> couldn't
> > > > > > > >>>>>>>>>>>>>>> spend much time on open source contribution.
> >  I've
> > > > > > > >>>>> recently
> > > > > > > >>>>>>>>>> changed
> > > > > > > >>>>>>>>>>>>> jobs,
> > > > > > > >>>>>>>>>>>>>>> to
> > > > > > > >>>>>>>>>>>>>>> something that's going to help me spend some
> more
> > > > > > > >>> time
> > > > > > > >>>>> with
> > > > > > > >>>>>>>> the
> > > > > > > >>>>>>>>>> open
> > > > > > > >>>>>>>>>>>>>> source
> > > > > > > >>>>>>>>>>>>>>> community, and believe I can pick it back up if
> > > > > > > >> we're
> > > > > > > >>>>>>> ready.
> > > > > > > >>>>>>>>>>>>>>> If everyone's ok with it I can start a new
> thread
> > > > > > > >> for
> > > > > > > >>>> 113
> > > > > > > >>>>>>> or
> > > > > > > >>>>>>>>>> revive
> > > > > > > >>>>>>>>>>>> the
> > > > > > > >>>>>>>>>>>>>> old
> > > > > > > >>>>>>>>>>>>>>> thread (though it may come through with a large
> > > > > > > >> pile
> > > > > > > >>> of
> > > > > > > >>>>>>> dust).
> > > > > > > >>>>>>>>>>>>>>> Regards,
> > > > > > > >>>>>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>>>>> John
> > > > > > > >>>>>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>>>>> --
> > > > > > > >>>>>>>>>>>>>>> View this message in context:
> > > > > > > >>>>>>>>>>>>>>>
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > > > > >>>>>>>>>>>>>>> Sent from the Apache DeltaSpike Incubator
> > > > > > > >> Discussions
> > > > > > > >>>>>>> mailing
> > > > > > > >>>>>>>>> list
> > > > > > > >>>>>>>>>>>>>> archive
> > > > > > > >>>>>>>>>>>>>>> at Nabble.com.
> > > > > > > >>>>>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>>> --
> > > > > > > >>>>>>>>>>>>> Jason Porter
> > > > > > > >>>>>>>>>>>>> http://en.gravatar.com/lightguardjp
> > > > > > > >>>>>>>>>>>>>
> > > > > > > >>>>>>>>>>>
> > > > > > > >>>>>>>>>>>
> > > > > > > >>>>>>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Thomas Hug <th...@gmail.com>.
I grew up with DAO's but repos are also absolutely fine for me ;)

RequestScope is gone - although in a lazy fix the data went into a
ThreadLocal (due to the lack of a better idea).

On Tue, Mar 12, 2013 at 8:17 PM, Romain Manni-Bucau
<rm...@gmail.com>wrote:

> +2 for repo
>
> btw did you fixed the scope issue?
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog: **http://rmannibucau.wordpress.com/*<
> http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
> 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
>
> > The name is still freely choosable - data sounds fine to me if nobody
> minds
> > the obvious mirroring on Spring Data ;) dao/@Dao is discussable, all the
> > domain driven folks prefer probably something like "Repository".
> >
> > On Tue, Mar 12, 2013 at 7:29 PM, Romain Manni-Bucau
> > <rm...@gmail.com>wrote:
> >
> > > Great :)
> > >
> > > any issue changing "query" to something closer to what it really does ;
> > > "dao" (because of @Dao) or "data"?
> > >
> > > *Romain Manni-Bucau*
> > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > http://rmannibucau.wordpress.com/>
> > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > *Github: https://gihub.com/rmannibucau* <
> https://github.com/rmannibucau*
> > >
> > >
> > >
> > >
> > > 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
> > >
> > > > FYI, I've started something like an import proposal in a dedicated
> > branch
> > > > [1]. There's currently only the JBoss Arquillian profile running,
> > haven't
> > > > looked at the others. Any support there and of course other input's
> > very
> > > > welcome :)
> > > >
> > > > [1] https://github.com/ctpconsulting/query/tree/dsimport
> > > >
> > > > On Tue, Mar 5, 2013 at 7:45 AM, Romain Manni-Bucau <
> > > rmannibucau@gmail.com
> > > > >wrote:
> > > >
> > > > > Yes
> > > > >
> > > > > It works fine but you bring too much spring dependencies (totally
> > > useless
> > > > > when used this way) which clearly show it is rather a bridge than a
> > > > > solution + there were some leaks in previous version (didnt check
> fix
> > > was
> > > > > released to be honest) because if this usage which was not the
> > default
> > > > one.
> > > > >
> > > > > Since cdi query is here it worths importing it IMO
> > > > > Le 5 mars 2013 02:21, "hantsy" <ha...@yahoo.com.cn> a écrit :
> > > > >
> > > > > > I remember the Spring Data has a CDI extension, but I have not
> used
> > > it
> > > > > > in projects. Is there anyone used it in Java EE 6 projects?
> > > > > >
> > > > > > Hantsy
> > > > > >
> > > > > > On 3/3/2013 20:40, Romain Manni-Bucau wrote:
> > > > > > > Basically if the query logic could be scope agnostic it would
> be
> > > > > perfect
> > > > > > > for me. Parameters were fine and matched the coomon need. I m
> not
> > > > sure
> > > > > i
> > > > > > > get what is blocking. Can you detail it a bit please?
> > > > > > > Le 3 mars 2013 13:09, "Thomas Hug" <
> > thomas.hug@ctp-consulting.com>
> > > a
> > > > > > écrit :
> > > > > > >
> > > > > > >> Aha got you. Yes QueryHandler can be moved to application
> scope.
> > > > > > >>
> > > > > > >> The other request scoped component ist the
> > > > CdiQueryInvocationContext.
> > > > > > Here
> > > > > > >> we store a bunch of data which is related to the current query
> > > > > > (parameters,
> > > > > > >> query string etc). Originally this was passed as parameter,
> but
> > > got
> > > > > > >> injectable for the extension mechanism [1]. Currently on
> > holidays
> > > > > (sorry
> > > > > > >> the response delays) so not much time to look into it but
> happy
> > to
> > > > > take
> > > > > > >> suggestions :)
> > > > > > >>
> > > > > > >> [1]
> > > > > > >>
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> > > > > > >>
> > > > > > >> On Fri, Mar 1, 2013 at 8:18 PM, Romain Manni-Bucau <
> > > > > > rmannibucau@gmail.com
> > > > > > >>> wrote:
> > > > > > >>> Hmm,
> > > > > > >>>
> > > > > > >>> Wonder if the scope couldnt be application one. Request
> sounds
> > > too
> > > > > much
> > > > > > >> web
> > > > > > >>> to be usable/generic
> > > > > > >>> Le 1 mars 2013 19:02, "Thomas Hug" <
> > > thomas.hug@ctp-consulting.com>
> > > > a
> > > > > > >>> écrit :
> > > > > > >>>
> > > > > > >>>> Fine for me - planned to create a branch with all the
> > > experimental
> > > > > > APIs
> > > > > > >>>> cleared out as an import proposal.
> > > > > > >>>>
> > > > > > >>>> RE scope, the InvocationHandlers are validated to be normal
> > > scoped
> > > > > > [1],
> > > > > > >>> so
> > > > > > >>>> that seemed to me the most appropriate choice - any other
> > > > > suggestions?
> > > > > > >>>>
> > > > > > >>>> [1]
> > > > > > >>>>
> > > > > > >>>>
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > > > > > >>>>
> > > > > > >>>> On Wed, Feb 27, 2013 at 1:15 PM, Romain Manni-Bucau
> > > > > > >>>> <rm...@gmail.com>wrote:
> > > > > > >>>>
> > > > > > >>>>> Hi,
> > > > > > >>>>>
> > > > > > >>>>> some news of it?
> > > > > > >>>>>
> > > > > > >>>>> i think it is time to import at least a first version,
> isn't
> > > it?
> > > > > > >>>>>
> > > > > > >>>>> Just a note on current code, i saw QueryHandler (and some
> > other
> > > > > > >> beans)
> > > > > > >>>> has
> > > > > > >>>>> a request scope. Wonder if such a scope means something
> for a
> > > > > generic
> > > > > > >>>> (not
> > > > > > >>>>> web) lib.
> > > > > > >>>>>
> > > > > > >>>>> wdyt?
> > > > > > >>>>>
> > > > > > >>>>> *Romain Manni-Bucau*
> > > > > > >>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > > >>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > >>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > >>>>> *Github: https://github.com/rmannibucau*
> > > > > > >>>>>
> > > > > > >>>>>
> > > > > > >>>>>
> > > > > > >>>>> 2013/2/20 Romain Manni-Bucau <rm...@gmail.com>
> > > > > > >>>>>
> > > > > > >>>>>> guy you rocks!
> > > > > > >>>>>>
> > > > > > >>>>>> effectively i missed it when i looked.
> > > > > > >>>>>>
> > > > > > >>>>>> *Romain Manni-Bucau*
> > > > > > >>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > > >>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > > > >>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > >>>>>> *Github: https://github.com/rmannibucau*
> > > > > > >>>>>>
> > > > > > >>>>>>
> > > > > > >>>>>>
> > > > > > >>>>>> 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> > > > > > >>>>>>
> > > > > > >>>>>>> Thnx Romain. If with proxy stuff you refer to the DS
> > > > > > >>>>>>> InvocationHandlerBinding, that's already integrated :)
> > > > > > >>>>>>>
> > > > > > >>>>>>> RE pagination, it's maybe not that obvious, but there's
> > more
> > > > > > >>> advanced
> > > > > > >>>>>>> support in QueryResult [1][2], which is more of a fluent
> > API
> > > > > > >>> approach,
> > > > > > >>>>> but
> > > > > > >>>>>>> should behave similar to a PageRequest (the query
> execution
> > > is
> > > > > > >>> delayed
> > > > > > >>>>>>> until the getResult() methods on QueryResult is called).
> > Hope
> > > > > that
> > > > > > >>>> fits
> > > > > > >>>>> to
> > > > > > >>>>>>> what you had in mind.
> > > > > > >>>>>>>
> > > > > > >>>>>>> [1]
> > > > > > >>>>>>>
> > > > > > >>>>>>>
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > > > > > >>>>>>> [2]
> > > > > > >>>>>>>
> > > > > > >>>>>>>
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > > > > > >>>>>>> On Wed, Feb 20, 2013 at 10:04 PM, Romain Manni-Bucau
> > > > > > >>>>>>> <rm...@gmail.com>wrote:
> > > > > > >>>>>>>
> > > > > > >>>>>>>> Hi Thomas,
> > > > > > >>>>>>>>
> > > > > > >>>>>>>> importing proxy stuff would be the first great stuff.
> > > > > > >>>>>>>>
> > > > > > >>>>>>>> i'd like to see some pagination API (like PageRequest
> etc
> > in
> > > > > > >>> spring
> > > > > > >>>>>>> world)
> > > > > > >>>>>>>> which are more user friendly that @FirstResult and
> > > > @MaxResult).
> > > > > > >>>>>>>>
> > > > > > >>>>>>>> wdyt?
> > > > > > >>>>>>>>
> > > > > > >>>>>>>> *Romain Manni-Bucau*
> > > > > > >>>>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau
> >*
> > > > > > >>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > >>>>>>>> http://rmannibucau.wordpress.com/>
> > > > > > >>>>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > >>>>>>>> *Github: https://github.com/rmannibucau*
> > > > > > >>>>>>>>
> > > > > > >>>>>>>>
> > > > > > >>>>>>>>
> > > > > > >>>>>>>> 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> > > > > > >>>>>>>>
> > > > > > >>>>>>>>> CDI Query has now a completely Solder-free POM. Feel
> free
> > > to
> > > > > > >>> drop
> > > > > > >>>>>>>> comments
> > > > > > >>>>>>>>> on the API - some parts might actually be fully
> excluded
> > > > (e.g.
> > > > > > >>>> home
> > > > > > >>>>>>> and
> > > > > > >>>>>>>>> critera APIs).
> > > > > > >>>>>>>>>
> > > > > > >>>>>>>>> On Tue, Feb 12, 2013 at 10:00 PM, Mark Struberg <
> > > > > > >>>> struberg@yahoo.de>
> > > > > > >>>>>>>> wrote:
> > > > > > >>>>>>>>>>
> > > > > > >>>>>>>>>> Thanks Thomas, great news!
> > > > > > >>>>>>>>>>
> > > > > > >>>>>>>>>> LieGrue,
> > > > > > >>>>>>>>>> strub
> > > > > > >>>>>>>>>>
> > > > > > >>>>>>>>>>
> > > > > > >>>>>>>>>>
> > > > > > >>>>>>>>>>
> > > > > > >>>>>>>>>>
> > > > > > >>>>>>>>>>> ________________________________
> > > > > > >>>>>>>>>>> From: Thomas Hug <th...@ctp-consulting.com>
> > > > > > >>>>>>>>>>> To: "deltaspike-dev@incubator.apache.org" <
> > > > > > >>>>>>>>>> deltaspike-dev@incubator.apache.org>
> > > > > > >>>>>>>>>>> Sent: Tuesday, February 12, 2013 4:10 PM
> > > > > > >>>>>>>>>>> Subject: Re: cdi-query, no news?
> > > > > > >>>>>>>>>>>
> > > > > > >>>>>>>>>>> FYI, I've started to "de-solderize" CDI Query and
> move
> > > > > > >> things
> > > > > > >>>> to
> > > > > > >>>>>>>> depend
> > > > > > >>>>>>>>> on
> > > > > > >>>>>>>>>>> DS Core [1]:
> > > > > > >>>>>>>>>>>
> https://github.com/ctpconsulting/query/tree/deltaspike
> > > > > > >>>>>>>>>>>
> > > > > > >>>>>>>>>>> Todos:
> > > > > > >>>>>>>>>>> [x] Replace ServiceHandler
> > > > > > >>>>>>>>>>> [_] Include Property utils
> > > > > > >>>>>>>>>>> [_] Replace JBoss Logging
> > > > > > >>>>>>>>>>>
> > > > > > >>>>>>>>>>> Any feedback welcome.
> > > > > > >>>>>>>>>>>
> > > > > > >>>>>>>>>>> [1] including this modification
> > > > > > >>>>>>>>>>>
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > > > > >>>>>>>>>>> On Mon, Feb 11, 2013 at 6:01 PM, Romain Manni-Bucau
> > > > > > >>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > > > >>>>>>>>>>>
> > > > > > >>>>>>>>>>>> a review of the API i guess
> > > > > > >>>>>>>>>>>>
> > > > > > >>>>>>>>>>>> what is missing today is probably the pagination
> > helpers
> > > > > > >>>>>>>> (PageRequest
> > > > > > >>>>>>>>>> for
> > > > > > >>>>>>>>>>>> instance)
> > > > > > >>>>>>>>>>>>
> > > > > > >>>>>>>>>>>> but technically all is fine IMO
> > > > > > >>>>>>>>>>>>
> > > > > > >>>>>>>>>>>> *Romain Manni-Bucau*
> > > > > > >>>>>>>>>>>> *Twitter: @rmannibucau <
> > https://twitter.com/rmannibucau
> > > > > > >>> *
> > > > > > >>>>>>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > >>>>>>>>>>>> http://rmannibucau.wordpress.com/>
> > > > > > >>>>>>>>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > >>>>>>>>>>>> *Github: https://github.com/rmannibucau*
> > > > > > >>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>
> > > > > > >>>>>>>>>>>> 2013/2/11 Jason Porter <li...@gmail.com>
> > > > > > >>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>> I know I'm playing the necromancer, but please
> > forgive
> > > > > > >>> me.
> > > > > > >>>> We
> > > > > > >>>>>>> have
> > > > > > >>>>>>>>>>>>> InvocationHandler, which looks like it would work
> as
> > a
> > > > > > >>>>>>>>> ServiceHandler
> > > > > > >>>>>>>>>>>>> substitute. What else is needed to get CDI Query
> into
> > > > > > >>>>>>> DeltaSpike?
> > > > > > >>>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>> On Sun, Nov 18, 2012 at 12:35 PM, Romain
> Manni-Bucau
> > > > > > >>>>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > > > >>>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>>> +1, it is a must have for cdi world
> > > > > > >>>>>>>>>>>>>> Le 18 nov. 2012 20:04, "john.d.ament" <
> > > > > > >>>>>>> john.d.ament@gmail.com>
> > > > > > >>>>>>>> a
> > > > > > >>>>>>>>>>>> écrit :
> > > > > > >>>>>>>>>>>>>>> RE ServiceHandler - I was one of those who
> > > > > > >> previously
> > > > > > >>>>>>>> suggested
> > > > > > >>>>>>>>>>>>> bringing
> > > > > > >>>>>>>>>>>>>> it
> > > > > > >>>>>>>>>>>>>>> over to DeltaSpike, you can see DELTASPIKE-113
> and
> > > > > > >>> find
> > > > > > >>>>> the
> > > > > > >>>>>>>>> thread
> > > > > > >>>>>>>>>>>>> about
> > > > > > >>>>>>>>>>>>>> it
> > > > > > >>>>>>>>>>>>>>> from April of this year.  At the time, I was in a
> > > > > > >>>>> position
> > > > > > >>>>>>>>> where I
> > > > > > >>>>>>>>>>>>>> couldn't
> > > > > > >>>>>>>>>>>>>>> spend much time on open source contribution.
>  I've
> > > > > > >>>>> recently
> > > > > > >>>>>>>>>> changed
> > > > > > >>>>>>>>>>>>> jobs,
> > > > > > >>>>>>>>>>>>>>> to
> > > > > > >>>>>>>>>>>>>>> something that's going to help me spend some more
> > > > > > >>> time
> > > > > > >>>>> with
> > > > > > >>>>>>>> the
> > > > > > >>>>>>>>>> open
> > > > > > >>>>>>>>>>>>>> source
> > > > > > >>>>>>>>>>>>>>> community, and believe I can pick it back up if
> > > > > > >> we're
> > > > > > >>>>>>> ready.
> > > > > > >>>>>>>>>>>>>>> If everyone's ok with it I can start a new thread
> > > > > > >> for
> > > > > > >>>> 113
> > > > > > >>>>>>> or
> > > > > > >>>>>>>>>> revive
> > > > > > >>>>>>>>>>>> the
> > > > > > >>>>>>>>>>>>>> old
> > > > > > >>>>>>>>>>>>>>> thread (though it may come through with a large
> > > > > > >> pile
> > > > > > >>> of
> > > > > > >>>>>>> dust).
> > > > > > >>>>>>>>>>>>>>> Regards,
> > > > > > >>>>>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>>>> John
> > > > > > >>>>>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>>>> --
> > > > > > >>>>>>>>>>>>>>> View this message in context:
> > > > > > >>>>>>>>>>>>>>>
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > > > >>>>>>>>>>>>>>> Sent from the Apache DeltaSpike Incubator
> > > > > > >> Discussions
> > > > > > >>>>>>> mailing
> > > > > > >>>>>>>>> list
> > > > > > >>>>>>>>>>>>>> archive
> > > > > > >>>>>>>>>>>>>>> at Nabble.com.
> > > > > > >>>>>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>>
> > > > > > >>>>>>>>>>>>> --
> > > > > > >>>>>>>>>>>>> Jason Porter
> > > > > > >>>>>>>>>>>>> http://en.gravatar.com/lightguardjp
> > > > > > >>>>>>>>>>>>>
> > > > > > >>>>>>>>>>>
> > > > > > >>>>>>>>>>>
> > > > > > >>>>>>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Thomas Hug <th...@ctp-consulting.com>.
The name is still freely choosable - data sounds fine to me if nobody minds
the obvious mirroring on Spring Data ;) dao/@Dao is discussable, all the
domain driven folks prefer probably something like "Repository".

On Tue, Mar 12, 2013 at 7:29 PM, Romain Manni-Bucau
<rm...@gmail.com>wrote:

> Great :)
>
> any issue changing "query" to something closer to what it really does ;
> "dao" (because of @Dao) or "data"?
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog: **http://rmannibucau.wordpress.com/*<
> http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://gihub.com/rmannibucau* <https://github.com/rmannibucau*>
>
>
>
> 2013/3/12 Thomas Hug <th...@ctp-consulting.com>
>
> > FYI, I've started something like an import proposal in a dedicated branch
> > [1]. There's currently only the JBoss Arquillian profile running, haven't
> > looked at the others. Any support there and of course other input's very
> > welcome :)
> >
> > [1] https://github.com/ctpconsulting/query/tree/dsimport
> >
> > On Tue, Mar 5, 2013 at 7:45 AM, Romain Manni-Bucau <
> rmannibucau@gmail.com
> > >wrote:
> >
> > > Yes
> > >
> > > It works fine but you bring too much spring dependencies (totally
> useless
> > > when used this way) which clearly show it is rather a bridge than a
> > > solution + there were some leaks in previous version (didnt check fix
> was
> > > released to be honest) because if this usage which was not the default
> > one.
> > >
> > > Since cdi query is here it worths importing it IMO
> > > Le 5 mars 2013 02:21, "hantsy" <ha...@yahoo.com.cn> a écrit :
> > >
> > > > I remember the Spring Data has a CDI extension, but I have not used
> it
> > > > in projects. Is there anyone used it in Java EE 6 projects?
> > > >
> > > > Hantsy
> > > >
> > > > On 3/3/2013 20:40, Romain Manni-Bucau wrote:
> > > > > Basically if the query logic could be scope agnostic it would be
> > > perfect
> > > > > for me. Parameters were fine and matched the coomon need. I m not
> > sure
> > > i
> > > > > get what is blocking. Can you detail it a bit please?
> > > > > Le 3 mars 2013 13:09, "Thomas Hug" <th...@ctp-consulting.com>
> a
> > > > écrit :
> > > > >
> > > > >> Aha got you. Yes QueryHandler can be moved to application scope.
> > > > >>
> > > > >> The other request scoped component ist the
> > CdiQueryInvocationContext.
> > > > Here
> > > > >> we store a bunch of data which is related to the current query
> > > > (parameters,
> > > > >> query string etc). Originally this was passed as parameter, but
> got
> > > > >> injectable for the extension mechanism [1]. Currently on holidays
> > > (sorry
> > > > >> the response delays) so not much time to look into it but happy to
> > > take
> > > > >> suggestions :)
> > > > >>
> > > > >> [1]
> > > > >>
> > > > >>
> > > >
> > >
> >
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> > > > >>
> > > > >> On Fri, Mar 1, 2013 at 8:18 PM, Romain Manni-Bucau <
> > > > rmannibucau@gmail.com
> > > > >>> wrote:
> > > > >>> Hmm,
> > > > >>>
> > > > >>> Wonder if the scope couldnt be application one. Request sounds
> too
> > > much
> > > > >> web
> > > > >>> to be usable/generic
> > > > >>> Le 1 mars 2013 19:02, "Thomas Hug" <
> thomas.hug@ctp-consulting.com>
> > a
> > > > >>> écrit :
> > > > >>>
> > > > >>>> Fine for me - planned to create a branch with all the
> experimental
> > > > APIs
> > > > >>>> cleared out as an import proposal.
> > > > >>>>
> > > > >>>> RE scope, the InvocationHandlers are validated to be normal
> scoped
> > > > [1],
> > > > >>> so
> > > > >>>> that seemed to me the most appropriate choice - any other
> > > suggestions?
> > > > >>>>
> > > > >>>> [1]
> > > > >>>>
> > > > >>>>
> > > > >>
> > > >
> > >
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > > > >>>>
> > > > >>>> On Wed, Feb 27, 2013 at 1:15 PM, Romain Manni-Bucau
> > > > >>>> <rm...@gmail.com>wrote:
> > > > >>>>
> > > > >>>>> Hi,
> > > > >>>>>
> > > > >>>>> some news of it?
> > > > >>>>>
> > > > >>>>> i think it is time to import at least a first version, isn't
> it?
> > > > >>>>>
> > > > >>>>> Just a note on current code, i saw QueryHandler (and some other
> > > > >> beans)
> > > > >>>> has
> > > > >>>>> a request scope. Wonder if such a scope means something for a
> > > generic
> > > > >>>> (not
> > > > >>>>> web) lib.
> > > > >>>>>
> > > > >>>>> wdyt?
> > > > >>>>>
> > > > >>>>> *Romain Manni-Bucau*
> > > > >>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > >>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > >>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > >>>>> *Github: https://github.com/rmannibucau*
> > > > >>>>>
> > > > >>>>>
> > > > >>>>>
> > > > >>>>> 2013/2/20 Romain Manni-Bucau <rm...@gmail.com>
> > > > >>>>>
> > > > >>>>>> guy you rocks!
> > > > >>>>>>
> > > > >>>>>> effectively i missed it when i looked.
> > > > >>>>>>
> > > > >>>>>> *Romain Manni-Bucau*
> > > > >>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > >>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > >>>>> http://rmannibucau.wordpress.com/>
> > > > >>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > >>>>>> *Github: https://github.com/rmannibucau*
> > > > >>>>>>
> > > > >>>>>>
> > > > >>>>>>
> > > > >>>>>> 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> > > > >>>>>>
> > > > >>>>>>> Thnx Romain. If with proxy stuff you refer to the DS
> > > > >>>>>>> InvocationHandlerBinding, that's already integrated :)
> > > > >>>>>>>
> > > > >>>>>>> RE pagination, it's maybe not that obvious, but there's more
> > > > >>> advanced
> > > > >>>>>>> support in QueryResult [1][2], which is more of a fluent API
> > > > >>> approach,
> > > > >>>>> but
> > > > >>>>>>> should behave similar to a PageRequest (the query execution
> is
> > > > >>> delayed
> > > > >>>>>>> until the getResult() methods on QueryResult is called). Hope
> > > that
> > > > >>>> fits
> > > > >>>>> to
> > > > >>>>>>> what you had in mind.
> > > > >>>>>>>
> > > > >>>>>>> [1]
> > > > >>>>>>>
> > > > >>>>>>>
> > > > >>
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > > > >>>>>>> [2]
> > > > >>>>>>>
> > > > >>>>>>>
> > > > >>
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > > > >>>>>>> On Wed, Feb 20, 2013 at 10:04 PM, Romain Manni-Bucau
> > > > >>>>>>> <rm...@gmail.com>wrote:
> > > > >>>>>>>
> > > > >>>>>>>> Hi Thomas,
> > > > >>>>>>>>
> > > > >>>>>>>> importing proxy stuff would be the first great stuff.
> > > > >>>>>>>>
> > > > >>>>>>>> i'd like to see some pagination API (like PageRequest etc in
> > > > >>> spring
> > > > >>>>>>> world)
> > > > >>>>>>>> which are more user friendly that @FirstResult and
> > @MaxResult).
> > > > >>>>>>>>
> > > > >>>>>>>> wdyt?
> > > > >>>>>>>>
> > > > >>>>>>>> *Romain Manni-Bucau*
> > > > >>>>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > >>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > >>>>>>>> http://rmannibucau.wordpress.com/>
> > > > >>>>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > >>>>>>>> *Github: https://github.com/rmannibucau*
> > > > >>>>>>>>
> > > > >>>>>>>>
> > > > >>>>>>>>
> > > > >>>>>>>> 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> > > > >>>>>>>>
> > > > >>>>>>>>> CDI Query has now a completely Solder-free POM. Feel free
> to
> > > > >>> drop
> > > > >>>>>>>> comments
> > > > >>>>>>>>> on the API - some parts might actually be fully excluded
> > (e.g.
> > > > >>>> home
> > > > >>>>>>> and
> > > > >>>>>>>>> critera APIs).
> > > > >>>>>>>>>
> > > > >>>>>>>>> On Tue, Feb 12, 2013 at 10:00 PM, Mark Struberg <
> > > > >>>> struberg@yahoo.de>
> > > > >>>>>>>> wrote:
> > > > >>>>>>>>>>
> > > > >>>>>>>>>> Thanks Thomas, great news!
> > > > >>>>>>>>>>
> > > > >>>>>>>>>> LieGrue,
> > > > >>>>>>>>>> strub
> > > > >>>>>>>>>>
> > > > >>>>>>>>>>
> > > > >>>>>>>>>>
> > > > >>>>>>>>>>
> > > > >>>>>>>>>>
> > > > >>>>>>>>>>> ________________________________
> > > > >>>>>>>>>>> From: Thomas Hug <th...@ctp-consulting.com>
> > > > >>>>>>>>>>> To: "deltaspike-dev@incubator.apache.org" <
> > > > >>>>>>>>>> deltaspike-dev@incubator.apache.org>
> > > > >>>>>>>>>>> Sent: Tuesday, February 12, 2013 4:10 PM
> > > > >>>>>>>>>>> Subject: Re: cdi-query, no news?
> > > > >>>>>>>>>>>
> > > > >>>>>>>>>>> FYI, I've started to "de-solderize" CDI Query and move
> > > > >> things
> > > > >>>> to
> > > > >>>>>>>> depend
> > > > >>>>>>>>> on
> > > > >>>>>>>>>>> DS Core [1]:
> > > > >>>>>>>>>>> https://github.com/ctpconsulting/query/tree/deltaspike
> > > > >>>>>>>>>>>
> > > > >>>>>>>>>>> Todos:
> > > > >>>>>>>>>>> [x] Replace ServiceHandler
> > > > >>>>>>>>>>> [_] Include Property utils
> > > > >>>>>>>>>>> [_] Replace JBoss Logging
> > > > >>>>>>>>>>>
> > > > >>>>>>>>>>> Any feedback welcome.
> > > > >>>>>>>>>>>
> > > > >>>>>>>>>>> [1] including this modification
> > > > >>>>>>>>>>>
> > > > >>
> > > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > > >>>>>>>>>>> On Mon, Feb 11, 2013 at 6:01 PM, Romain Manni-Bucau
> > > > >>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > >>>>>>>>>>>
> > > > >>>>>>>>>>>> a review of the API i guess
> > > > >>>>>>>>>>>>
> > > > >>>>>>>>>>>> what is missing today is probably the pagination helpers
> > > > >>>>>>>> (PageRequest
> > > > >>>>>>>>>> for
> > > > >>>>>>>>>>>> instance)
> > > > >>>>>>>>>>>>
> > > > >>>>>>>>>>>> but technically all is fine IMO
> > > > >>>>>>>>>>>>
> > > > >>>>>>>>>>>> *Romain Manni-Bucau*
> > > > >>>>>>>>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau
> > > > >>> *
> > > > >>>>>>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > >>>>>>>>>>>> http://rmannibucau.wordpress.com/>
> > > > >>>>>>>>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > >>>>>>>>>>>> *Github: https://github.com/rmannibucau*
> > > > >>>>>>>>>>>>
> > > > >>>>>>>>>>>>
> > > > >>>>>>>>>>>>
> > > > >>>>>>>>>>>> 2013/2/11 Jason Porter <li...@gmail.com>
> > > > >>>>>>>>>>>>
> > > > >>>>>>>>>>>>> I know I'm playing the necromancer, but please forgive
> > > > >>> me.
> > > > >>>> We
> > > > >>>>>>> have
> > > > >>>>>>>>>>>>> InvocationHandler, which looks like it would work as a
> > > > >>>>>>>>> ServiceHandler
> > > > >>>>>>>>>>>>> substitute. What else is needed to get CDI Query into
> > > > >>>>>>> DeltaSpike?
> > > > >>>>>>>>>>>>>
> > > > >>>>>>>>>>>>> On Sun, Nov 18, 2012 at 12:35 PM, Romain Manni-Bucau
> > > > >>>>>>>>>>>>> <rm...@gmail.com>wrote:
> > > > >>>>>>>>>>>>>
> > > > >>>>>>>>>>>>>> +1, it is a must have for cdi world
> > > > >>>>>>>>>>>>>> Le 18 nov. 2012 20:04, "john.d.ament" <
> > > > >>>>>>> john.d.ament@gmail.com>
> > > > >>>>>>>> a
> > > > >>>>>>>>>>>> écrit :
> > > > >>>>>>>>>>>>>>> RE ServiceHandler - I was one of those who
> > > > >> previously
> > > > >>>>>>>> suggested
> > > > >>>>>>>>>>>>> bringing
> > > > >>>>>>>>>>>>>> it
> > > > >>>>>>>>>>>>>>> over to DeltaSpike, you can see DELTASPIKE-113 and
> > > > >>> find
> > > > >>>>> the
> > > > >>>>>>>>> thread
> > > > >>>>>>>>>>>>> about
> > > > >>>>>>>>>>>>>> it
> > > > >>>>>>>>>>>>>>> from April of this year.  At the time, I was in a
> > > > >>>>> position
> > > > >>>>>>>>> where I
> > > > >>>>>>>>>>>>>> couldn't
> > > > >>>>>>>>>>>>>>> spend much time on open source contribution.  I've
> > > > >>>>> recently
> > > > >>>>>>>>>> changed
> > > > >>>>>>>>>>>>> jobs,
> > > > >>>>>>>>>>>>>>> to
> > > > >>>>>>>>>>>>>>> something that's going to help me spend some more
> > > > >>> time
> > > > >>>>> with
> > > > >>>>>>>> the
> > > > >>>>>>>>>> open
> > > > >>>>>>>>>>>>>> source
> > > > >>>>>>>>>>>>>>> community, and believe I can pick it back up if
> > > > >> we're
> > > > >>>>>>> ready.
> > > > >>>>>>>>>>>>>>> If everyone's ok with it I can start a new thread
> > > > >> for
> > > > >>>> 113
> > > > >>>>>>> or
> > > > >>>>>>>>>> revive
> > > > >>>>>>>>>>>> the
> > > > >>>>>>>>>>>>>> old
> > > > >>>>>>>>>>>>>>> thread (though it may come through with a large
> > > > >> pile
> > > > >>> of
> > > > >>>>>>> dust).
> > > > >>>>>>>>>>>>>>> Regards,
> > > > >>>>>>>>>>>>>>>
> > > > >>>>>>>>>>>>>>> John
> > > > >>>>>>>>>>>>>>>
> > > > >>>>>>>>>>>>>>>
> > > > >>>>>>>>>>>>>>>
> > > > >>>>>>>>>>>>>>> --
> > > > >>>>>>>>>>>>>>> View this message in context:
> > > > >>>>>>>>>>>>>>>
> > > > >>
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > >>>>>>>>>>>>>>> Sent from the Apache DeltaSpike Incubator
> > > > >> Discussions
> > > > >>>>>>> mailing
> > > > >>>>>>>>> list
> > > > >>>>>>>>>>>>>> archive
> > > > >>>>>>>>>>>>>>> at Nabble.com.
> > > > >>>>>>>>>>>>>>>
> > > > >>>>>>>>>>>>>
> > > > >>>>>>>>>>>>>
> > > > >>>>>>>>>>>>> --
> > > > >>>>>>>>>>>>> Jason Porter
> > > > >>>>>>>>>>>>> http://en.gravatar.com/lightguardjp
> > > > >>>>>>>>>>>>>
> > > > >>>>>>>>>>>
> > > > >>>>>>>>>>>
> > > > >>>>>>
> > > >
> > > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Thomas Hug <th...@ctp-consulting.com>.
FYI, I've started something like an import proposal in a dedicated branch
[1]. There's currently only the JBoss Arquillian profile running, haven't
looked at the others. Any support there and of course other input's very
welcome :)

[1] https://github.com/ctpconsulting/query/tree/dsimport

On Tue, Mar 5, 2013 at 7:45 AM, Romain Manni-Bucau <rm...@gmail.com>wrote:

> Yes
>
> It works fine but you bring too much spring dependencies (totally useless
> when used this way) which clearly show it is rather a bridge than a
> solution + there were some leaks in previous version (didnt check fix was
> released to be honest) because if this usage which was not the default one.
>
> Since cdi query is here it worths importing it IMO
> Le 5 mars 2013 02:21, "hantsy" <ha...@yahoo.com.cn> a écrit :
>
> > I remember the Spring Data has a CDI extension, but I have not used it
> > in projects. Is there anyone used it in Java EE 6 projects?
> >
> > Hantsy
> >
> > On 3/3/2013 20:40, Romain Manni-Bucau wrote:
> > > Basically if the query logic could be scope agnostic it would be
> perfect
> > > for me. Parameters were fine and matched the coomon need. I m not sure
> i
> > > get what is blocking. Can you detail it a bit please?
> > > Le 3 mars 2013 13:09, "Thomas Hug" <th...@ctp-consulting.com> a
> > écrit :
> > >
> > >> Aha got you. Yes QueryHandler can be moved to application scope.
> > >>
> > >> The other request scoped component ist the CdiQueryInvocationContext.
> > Here
> > >> we store a bunch of data which is related to the current query
> > (parameters,
> > >> query string etc). Originally this was passed as parameter, but got
> > >> injectable for the extension mechanism [1]. Currently on holidays
> (sorry
> > >> the response delays) so not much time to look into it but happy to
> take
> > >> suggestions :)
> > >>
> > >> [1]
> > >>
> > >>
> >
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> > >>
> > >> On Fri, Mar 1, 2013 at 8:18 PM, Romain Manni-Bucau <
> > rmannibucau@gmail.com
> > >>> wrote:
> > >>> Hmm,
> > >>>
> > >>> Wonder if the scope couldnt be application one. Request sounds too
> much
> > >> web
> > >>> to be usable/generic
> > >>> Le 1 mars 2013 19:02, "Thomas Hug" <th...@ctp-consulting.com> a
> > >>> écrit :
> > >>>
> > >>>> Fine for me - planned to create a branch with all the experimental
> > APIs
> > >>>> cleared out as an import proposal.
> > >>>>
> > >>>> RE scope, the InvocationHandlers are validated to be normal scoped
> > [1],
> > >>> so
> > >>>> that seemed to me the most appropriate choice - any other
> suggestions?
> > >>>>
> > >>>> [1]
> > >>>>
> > >>>>
> > >>
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > >>>>
> > >>>> On Wed, Feb 27, 2013 at 1:15 PM, Romain Manni-Bucau
> > >>>> <rm...@gmail.com>wrote:
> > >>>>
> > >>>>> Hi,
> > >>>>>
> > >>>>> some news of it?
> > >>>>>
> > >>>>> i think it is time to import at least a first version, isn't it?
> > >>>>>
> > >>>>> Just a note on current code, i saw QueryHandler (and some other
> > >> beans)
> > >>>> has
> > >>>>> a request scope. Wonder if such a scope means something for a
> generic
> > >>>> (not
> > >>>>> web) lib.
> > >>>>>
> > >>>>> wdyt?
> > >>>>>
> > >>>>> *Romain Manni-Bucau*
> > >>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > >>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > >>>>> http://rmannibucau.wordpress.com/>
> > >>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > >>>>> *Github: https://github.com/rmannibucau*
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>> 2013/2/20 Romain Manni-Bucau <rm...@gmail.com>
> > >>>>>
> > >>>>>> guy you rocks!
> > >>>>>>
> > >>>>>> effectively i missed it when i looked.
> > >>>>>>
> > >>>>>> *Romain Manni-Bucau*
> > >>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > >>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > >>>>> http://rmannibucau.wordpress.com/>
> > >>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > >>>>>> *Github: https://github.com/rmannibucau*
> > >>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>> 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> > >>>>>>
> > >>>>>>> Thnx Romain. If with proxy stuff you refer to the DS
> > >>>>>>> InvocationHandlerBinding, that's already integrated :)
> > >>>>>>>
> > >>>>>>> RE pagination, it's maybe not that obvious, but there's more
> > >>> advanced
> > >>>>>>> support in QueryResult [1][2], which is more of a fluent API
> > >>> approach,
> > >>>>> but
> > >>>>>>> should behave similar to a PageRequest (the query execution is
> > >>> delayed
> > >>>>>>> until the getResult() methods on QueryResult is called). Hope
> that
> > >>>> fits
> > >>>>> to
> > >>>>>>> what you had in mind.
> > >>>>>>>
> > >>>>>>> [1]
> > >>>>>>>
> > >>>>>>>
> > >>
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > >>>>>>> [2]
> > >>>>>>>
> > >>>>>>>
> > >>
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > >>>>>>> On Wed, Feb 20, 2013 at 10:04 PM, Romain Manni-Bucau
> > >>>>>>> <rm...@gmail.com>wrote:
> > >>>>>>>
> > >>>>>>>> Hi Thomas,
> > >>>>>>>>
> > >>>>>>>> importing proxy stuff would be the first great stuff.
> > >>>>>>>>
> > >>>>>>>> i'd like to see some pagination API (like PageRequest etc in
> > >>> spring
> > >>>>>>> world)
> > >>>>>>>> which are more user friendly that @FirstResult and @MaxResult).
> > >>>>>>>>
> > >>>>>>>> wdyt?
> > >>>>>>>>
> > >>>>>>>> *Romain Manni-Bucau*
> > >>>>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > >>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > >>>>>>>> http://rmannibucau.wordpress.com/>
> > >>>>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > >>>>>>>> *Github: https://github.com/rmannibucau*
> > >>>>>>>>
> > >>>>>>>>
> > >>>>>>>>
> > >>>>>>>> 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> > >>>>>>>>
> > >>>>>>>>> CDI Query has now a completely Solder-free POM. Feel free to
> > >>> drop
> > >>>>>>>> comments
> > >>>>>>>>> on the API - some parts might actually be fully excluded (e.g.
> > >>>> home
> > >>>>>>> and
> > >>>>>>>>> critera APIs).
> > >>>>>>>>>
> > >>>>>>>>> On Tue, Feb 12, 2013 at 10:00 PM, Mark Struberg <
> > >>>> struberg@yahoo.de>
> > >>>>>>>> wrote:
> > >>>>>>>>>>
> > >>>>>>>>>> Thanks Thomas, great news!
> > >>>>>>>>>>
> > >>>>>>>>>> LieGrue,
> > >>>>>>>>>> strub
> > >>>>>>>>>>
> > >>>>>>>>>>
> > >>>>>>>>>>
> > >>>>>>>>>>
> > >>>>>>>>>>
> > >>>>>>>>>>> ________________________________
> > >>>>>>>>>>> From: Thomas Hug <th...@ctp-consulting.com>
> > >>>>>>>>>>> To: "deltaspike-dev@incubator.apache.org" <
> > >>>>>>>>>> deltaspike-dev@incubator.apache.org>
> > >>>>>>>>>>> Sent: Tuesday, February 12, 2013 4:10 PM
> > >>>>>>>>>>> Subject: Re: cdi-query, no news?
> > >>>>>>>>>>>
> > >>>>>>>>>>> FYI, I've started to "de-solderize" CDI Query and move
> > >> things
> > >>>> to
> > >>>>>>>> depend
> > >>>>>>>>> on
> > >>>>>>>>>>> DS Core [1]:
> > >>>>>>>>>>> https://github.com/ctpconsulting/query/tree/deltaspike
> > >>>>>>>>>>>
> > >>>>>>>>>>> Todos:
> > >>>>>>>>>>> [x] Replace ServiceHandler
> > >>>>>>>>>>> [_] Include Property utils
> > >>>>>>>>>>> [_] Replace JBoss Logging
> > >>>>>>>>>>>
> > >>>>>>>>>>> Any feedback welcome.
> > >>>>>>>>>>>
> > >>>>>>>>>>> [1] including this modification
> > >>>>>>>>>>>
> > >>
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > >>>>>>>>>>> On Mon, Feb 11, 2013 at 6:01 PM, Romain Manni-Bucau
> > >>>>>>>>>>> <rm...@gmail.com>wrote:
> > >>>>>>>>>>>
> > >>>>>>>>>>>> a review of the API i guess
> > >>>>>>>>>>>>
> > >>>>>>>>>>>> what is missing today is probably the pagination helpers
> > >>>>>>>> (PageRequest
> > >>>>>>>>>> for
> > >>>>>>>>>>>> instance)
> > >>>>>>>>>>>>
> > >>>>>>>>>>>> but technically all is fine IMO
> > >>>>>>>>>>>>
> > >>>>>>>>>>>> *Romain Manni-Bucau*
> > >>>>>>>>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau
> > >>> *
> > >>>>>>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
> > >>>>>>>>>>>> http://rmannibucau.wordpress.com/>
> > >>>>>>>>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > >>>>>>>>>>>> *Github: https://github.com/rmannibucau*
> > >>>>>>>>>>>>
> > >>>>>>>>>>>>
> > >>>>>>>>>>>>
> > >>>>>>>>>>>> 2013/2/11 Jason Porter <li...@gmail.com>
> > >>>>>>>>>>>>
> > >>>>>>>>>>>>> I know I'm playing the necromancer, but please forgive
> > >>> me.
> > >>>> We
> > >>>>>>> have
> > >>>>>>>>>>>>> InvocationHandler, which looks like it would work as a
> > >>>>>>>>> ServiceHandler
> > >>>>>>>>>>>>> substitute. What else is needed to get CDI Query into
> > >>>>>>> DeltaSpike?
> > >>>>>>>>>>>>>
> > >>>>>>>>>>>>> On Sun, Nov 18, 2012 at 12:35 PM, Romain Manni-Bucau
> > >>>>>>>>>>>>> <rm...@gmail.com>wrote:
> > >>>>>>>>>>>>>
> > >>>>>>>>>>>>>> +1, it is a must have for cdi world
> > >>>>>>>>>>>>>> Le 18 nov. 2012 20:04, "john.d.ament" <
> > >>>>>>> john.d.ament@gmail.com>
> > >>>>>>>> a
> > >>>>>>>>>>>> écrit :
> > >>>>>>>>>>>>>>> RE ServiceHandler - I was one of those who
> > >> previously
> > >>>>>>>> suggested
> > >>>>>>>>>>>>> bringing
> > >>>>>>>>>>>>>> it
> > >>>>>>>>>>>>>>> over to DeltaSpike, you can see DELTASPIKE-113 and
> > >>> find
> > >>>>> the
> > >>>>>>>>> thread
> > >>>>>>>>>>>>> about
> > >>>>>>>>>>>>>> it
> > >>>>>>>>>>>>>>> from April of this year.  At the time, I was in a
> > >>>>> position
> > >>>>>>>>> where I
> > >>>>>>>>>>>>>> couldn't
> > >>>>>>>>>>>>>>> spend much time on open source contribution.  I've
> > >>>>> recently
> > >>>>>>>>>> changed
> > >>>>>>>>>>>>> jobs,
> > >>>>>>>>>>>>>>> to
> > >>>>>>>>>>>>>>> something that's going to help me spend some more
> > >>> time
> > >>>>> with
> > >>>>>>>> the
> > >>>>>>>>>> open
> > >>>>>>>>>>>>>> source
> > >>>>>>>>>>>>>>> community, and believe I can pick it back up if
> > >> we're
> > >>>>>>> ready.
> > >>>>>>>>>>>>>>> If everyone's ok with it I can start a new thread
> > >> for
> > >>>> 113
> > >>>>>>> or
> > >>>>>>>>>> revive
> > >>>>>>>>>>>> the
> > >>>>>>>>>>>>>> old
> > >>>>>>>>>>>>>>> thread (though it may come through with a large
> > >> pile
> > >>> of
> > >>>>>>> dust).
> > >>>>>>>>>>>>>>> Regards,
> > >>>>>>>>>>>>>>>
> > >>>>>>>>>>>>>>> John
> > >>>>>>>>>>>>>>>
> > >>>>>>>>>>>>>>>
> > >>>>>>>>>>>>>>>
> > >>>>>>>>>>>>>>> --
> > >>>>>>>>>>>>>>> View this message in context:
> > >>>>>>>>>>>>>>>
> > >>
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > >>>>>>>>>>>>>>> Sent from the Apache DeltaSpike Incubator
> > >> Discussions
> > >>>>>>> mailing
> > >>>>>>>>> list
> > >>>>>>>>>>>>>> archive
> > >>>>>>>>>>>>>>> at Nabble.com.
> > >>>>>>>>>>>>>>>
> > >>>>>>>>>>>>>
> > >>>>>>>>>>>>>
> > >>>>>>>>>>>>> --
> > >>>>>>>>>>>>> Jason Porter
> > >>>>>>>>>>>>> http://en.gravatar.com/lightguardjp
> > >>>>>>>>>>>>>
> > >>>>>>>>>>>
> > >>>>>>>>>>>
> > >>>>>>
> >
> >
>

Re: cdi-query, no news?

Posted by hantsy <ha...@yahoo.com.cn>.
I remember the Spring Data has a CDI extension, but I have not used it
in projects. Is there anyone used it in Java EE 6 projects?

Hantsy

On 3/3/2013 20:40, Romain Manni-Bucau wrote:
> Basically if the query logic could be scope agnostic it would be perfect
> for me. Parameters were fine and matched the coomon need. I m not sure i
> get what is blocking. Can you detail it a bit please?
> Le 3 mars 2013 13:09, "Thomas Hug" <th...@ctp-consulting.com> a écrit :
>
>> Aha got you. Yes QueryHandler can be moved to application scope.
>>
>> The other request scoped component ist the CdiQueryInvocationContext. Here
>> we store a bunch of data which is related to the current query (parameters,
>> query string etc). Originally this was passed as parameter, but got
>> injectable for the extension mechanism [1]. Currently on holidays (sorry
>> the response delays) so not much time to look into it but happy to take
>> suggestions :)
>>
>> [1]
>>
>> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
>>
>> On Fri, Mar 1, 2013 at 8:18 PM, Romain Manni-Bucau <rmannibucau@gmail.com
>>> wrote:
>>> Hmm,
>>>
>>> Wonder if the scope couldnt be application one. Request sounds too much
>> web
>>> to be usable/generic
>>> Le 1 mars 2013 19:02, "Thomas Hug" <th...@ctp-consulting.com> a
>>> écrit :
>>>
>>>> Fine for me - planned to create a branch with all the experimental APIs
>>>> cleared out as an import proposal.
>>>>
>>>> RE scope, the InvocationHandlers are validated to be normal scoped [1],
>>> so
>>>> that seemed to me the most appropriate choice - any other suggestions?
>>>>
>>>> [1]
>>>>
>>>>
>> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
>>>>
>>>> On Wed, Feb 27, 2013 at 1:15 PM, Romain Manni-Bucau
>>>> <rm...@gmail.com>wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> some news of it?
>>>>>
>>>>> i think it is time to import at least a first version, isn't it?
>>>>>
>>>>> Just a note on current code, i saw QueryHandler (and some other
>> beans)
>>>> has
>>>>> a request scope. Wonder if such a scope means something for a generic
>>>> (not
>>>>> web) lib.
>>>>>
>>>>> wdyt?
>>>>>
>>>>> *Romain Manni-Bucau*
>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
>>>>> http://rmannibucau.wordpress.com/>
>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
>>>>> *Github: https://github.com/rmannibucau*
>>>>>
>>>>>
>>>>>
>>>>> 2013/2/20 Romain Manni-Bucau <rm...@gmail.com>
>>>>>
>>>>>> guy you rocks!
>>>>>>
>>>>>> effectively i missed it when i looked.
>>>>>>
>>>>>> *Romain Manni-Bucau*
>>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
>>>>> http://rmannibucau.wordpress.com/>
>>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
>>>>>> *Github: https://github.com/rmannibucau*
>>>>>>
>>>>>>
>>>>>>
>>>>>> 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
>>>>>>
>>>>>>> Thnx Romain. If with proxy stuff you refer to the DS
>>>>>>> InvocationHandlerBinding, that's already integrated :)
>>>>>>>
>>>>>>> RE pagination, it's maybe not that obvious, but there's more
>>> advanced
>>>>>>> support in QueryResult [1][2], which is more of a fluent API
>>> approach,
>>>>> but
>>>>>>> should behave similar to a PageRequest (the query execution is
>>> delayed
>>>>>>> until the getResult() methods on QueryResult is called). Hope that
>>>> fits
>>>>> to
>>>>>>> what you had in mind.
>>>>>>>
>>>>>>> [1]
>>>>>>>
>>>>>>>
>> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
>>>>>>> [2]
>>>>>>>
>>>>>>>
>> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
>>>>>>> On Wed, Feb 20, 2013 at 10:04 PM, Romain Manni-Bucau
>>>>>>> <rm...@gmail.com>wrote:
>>>>>>>
>>>>>>>> Hi Thomas,
>>>>>>>>
>>>>>>>> importing proxy stuff would be the first great stuff.
>>>>>>>>
>>>>>>>> i'd like to see some pagination API (like PageRequest etc in
>>> spring
>>>>>>> world)
>>>>>>>> which are more user friendly that @FirstResult and @MaxResult).
>>>>>>>>
>>>>>>>> wdyt?
>>>>>>>>
>>>>>>>> *Romain Manni-Bucau*
>>>>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
>>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
>>>>>>>> http://rmannibucau.wordpress.com/>
>>>>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
>>>>>>>> *Github: https://github.com/rmannibucau*
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
>>>>>>>>
>>>>>>>>> CDI Query has now a completely Solder-free POM. Feel free to
>>> drop
>>>>>>>> comments
>>>>>>>>> on the API - some parts might actually be fully excluded (e.g.
>>>> home
>>>>>>> and
>>>>>>>>> critera APIs).
>>>>>>>>>
>>>>>>>>> On Tue, Feb 12, 2013 at 10:00 PM, Mark Struberg <
>>>> struberg@yahoo.de>
>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>> Thanks Thomas, great news!
>>>>>>>>>>
>>>>>>>>>> LieGrue,
>>>>>>>>>> strub
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>> ________________________________
>>>>>>>>>>> From: Thomas Hug <th...@ctp-consulting.com>
>>>>>>>>>>> To: "deltaspike-dev@incubator.apache.org" <
>>>>>>>>>> deltaspike-dev@incubator.apache.org>
>>>>>>>>>>> Sent: Tuesday, February 12, 2013 4:10 PM
>>>>>>>>>>> Subject: Re: cdi-query, no news?
>>>>>>>>>>>
>>>>>>>>>>> FYI, I've started to "de-solderize" CDI Query and move
>> things
>>>> to
>>>>>>>> depend
>>>>>>>>> on
>>>>>>>>>>> DS Core [1]:
>>>>>>>>>>> https://github.com/ctpconsulting/query/tree/deltaspike
>>>>>>>>>>>
>>>>>>>>>>> Todos:
>>>>>>>>>>> [x] Replace ServiceHandler
>>>>>>>>>>> [_] Include Property utils
>>>>>>>>>>> [_] Replace JBoss Logging
>>>>>>>>>>>
>>>>>>>>>>> Any feedback welcome.
>>>>>>>>>>>
>>>>>>>>>>> [1] including this modification
>>>>>>>>>>>
>> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
>>>>>>>>>>> On Mon, Feb 11, 2013 at 6:01 PM, Romain Manni-Bucau
>>>>>>>>>>> <rm...@gmail.com>wrote:
>>>>>>>>>>>
>>>>>>>>>>>> a review of the API i guess
>>>>>>>>>>>>
>>>>>>>>>>>> what is missing today is probably the pagination helpers
>>>>>>>> (PageRequest
>>>>>>>>>> for
>>>>>>>>>>>> instance)
>>>>>>>>>>>>
>>>>>>>>>>>> but technically all is fine IMO
>>>>>>>>>>>>
>>>>>>>>>>>> *Romain Manni-Bucau*
>>>>>>>>>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau
>>> *
>>>>>>>>>>>> *Blog: **http://rmannibucau.wordpress.com/*<
>>>>>>>>>>>> http://rmannibucau.wordpress.com/>
>>>>>>>>>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
>>>>>>>>>>>> *Github: https://github.com/rmannibucau*
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> 2013/2/11 Jason Porter <li...@gmail.com>
>>>>>>>>>>>>
>>>>>>>>>>>>> I know I'm playing the necromancer, but please forgive
>>> me.
>>>> We
>>>>>>> have
>>>>>>>>>>>>> InvocationHandler, which looks like it would work as a
>>>>>>>>> ServiceHandler
>>>>>>>>>>>>> substitute. What else is needed to get CDI Query into
>>>>>>> DeltaSpike?
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Sun, Nov 18, 2012 at 12:35 PM, Romain Manni-Bucau
>>>>>>>>>>>>> <rm...@gmail.com>wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> +1, it is a must have for cdi world
>>>>>>>>>>>>>> Le 18 nov. 2012 20:04, "john.d.ament" <
>>>>>>> john.d.ament@gmail.com>
>>>>>>>> a
>>>>>>>>>>>> écrit :
>>>>>>>>>>>>>>> RE ServiceHandler - I was one of those who
>> previously
>>>>>>>> suggested
>>>>>>>>>>>>> bringing
>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>> over to DeltaSpike, you can see DELTASPIKE-113 and
>>> find
>>>>> the
>>>>>>>>> thread
>>>>>>>>>>>>> about
>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>> from April of this year.  At the time, I was in a
>>>>> position
>>>>>>>>> where I
>>>>>>>>>>>>>> couldn't
>>>>>>>>>>>>>>> spend much time on open source contribution.  I've
>>>>> recently
>>>>>>>>>> changed
>>>>>>>>>>>>> jobs,
>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>> something that's going to help me spend some more
>>> time
>>>>> with
>>>>>>>> the
>>>>>>>>>> open
>>>>>>>>>>>>>> source
>>>>>>>>>>>>>>> community, and believe I can pick it back up if
>> we're
>>>>>>> ready.
>>>>>>>>>>>>>>> If everyone's ok with it I can start a new thread
>> for
>>>> 113
>>>>>>> or
>>>>>>>>>> revive
>>>>>>>>>>>> the
>>>>>>>>>>>>>> old
>>>>>>>>>>>>>>> thread (though it may come through with a large
>> pile
>>> of
>>>>>>> dust).
>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> John
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> View this message in context:
>>>>>>>>>>>>>>>
>> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
>>>>>>>>>>>>>>> Sent from the Apache DeltaSpike Incubator
>> Discussions
>>>>>>> mailing
>>>>>>>>> list
>>>>>>>>>>>>>> archive
>>>>>>>>>>>>>>> at Nabble.com.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Jason Porter
>>>>>>>>>>>>> http://en.gravatar.com/lightguardjp
>>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>


Re: cdi-query, no news?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi Thomas,

importing proxy stuff would be the first great stuff.

i'd like to see some pagination API (like PageRequest etc in spring world)
which are more user friendly that @FirstResult and @MaxResult).

wdyt?

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/2/20 Thomas Hug <th...@ctp-consulting.com>

> CDI Query has now a completely Solder-free POM. Feel free to drop comments
> on the API - some parts might actually be fully excluded (e.g. home and
> critera APIs).
>
> On Tue, Feb 12, 2013 at 10:00 PM, Mark Struberg <st...@yahoo.de> wrote:
>
> >
> >
> > Thanks Thomas, great news!
> >
> > LieGrue,
> > strub
> >
> >
> >
> >
> >
> > >________________________________
> > > From: Thomas Hug <th...@ctp-consulting.com>
> > >To: "deltaspike-dev@incubator.apache.org" <
> > deltaspike-dev@incubator.apache.org>
> > >Sent: Tuesday, February 12, 2013 4:10 PM
> > >Subject: Re: cdi-query, no news?
> > >
> > >FYI, I've started to "de-solderize" CDI Query and move things to depend
> on
> > >DS Core [1]:
> > >https://github.com/ctpconsulting/query/tree/deltaspike
> > >
> > >Todos:
> > >[x] Replace ServiceHandler
> > >[_] Include Property utils
> > >[_] Replace JBoss Logging
> > >
> > >Any feedback welcome.
> > >
> > >[1] including this modification
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > >
> > >On Mon, Feb 11, 2013 at 6:01 PM, Romain Manni-Bucau
> > ><rm...@gmail.com>wrote:
> > >
> > >> a review of the API i guess
> > >>
> > >> what is missing today is probably the pagination helpers (PageRequest
> > for
> > >> instance)
> > >>
> > >> but technically all is fine IMO
> > >>
> > >> *Romain Manni-Bucau*
> > >> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > >> *Blog: **http://rmannibucau.wordpress.com/*<
> > >> http://rmannibucau.wordpress.com/>
> > >> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > >> *Github: https://github.com/rmannibucau*
> > >>
> > >>
> > >>
> > >> 2013/2/11 Jason Porter <li...@gmail.com>
> > >>
> > >> > I know I'm playing the necromancer, but please forgive me. We have
> > >> > InvocationHandler, which looks like it would work as a
> ServiceHandler
> > >> > substitute. What else is needed to get CDI Query into DeltaSpike?
> > >> >
> > >> >
> > >> > On Sun, Nov 18, 2012 at 12:35 PM, Romain Manni-Bucau
> > >> > <rm...@gmail.com>wrote:
> > >> >
> > >> > > +1, it is a must have for cdi world
> > >> > > Le 18 nov. 2012 20:04, "john.d.ament" <jo...@gmail.com> a
> > >> écrit :
> > >> > >
> > >> > > > RE ServiceHandler - I was one of those who previously suggested
> > >> > bringing
> > >> > > it
> > >> > > > over to DeltaSpike, you can see DELTASPIKE-113 and find the
> thread
> > >> > about
> > >> > > it
> > >> > > > from April of this year.  At the time, I was in a position
> where I
> > >> > > couldn't
> > >> > > > spend much time on open source contribution.  I've recently
> > changed
> > >> > jobs,
> > >> > > > to
> > >> > > > something that's going to help me spend some more time with the
> > open
> > >> > > source
> > >> > > > community, and believe I can pick it back up if we're ready.
> > >> > > >
> > >> > > > If everyone's ok with it I can start a new thread for 113 or
> > revive
> > >> the
> > >> > > old
> > >> > > > thread (though it may come through with a large pile of dust).
> > >> > > >
> > >> > > > Regards,
> > >> > > >
> > >> > > > John
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > --
> > >> > > > View this message in context:
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > >> > > > Sent from the Apache DeltaSpike Incubator Discussions mailing
> list
> > >> > > archive
> > >> > > > at Nabble.com.
> > >> > > >
> > >> > >
> > >> >
> > >> >
> > >> >
> > >> > --
> > >> > Jason Porter
> > >> > http://en.gravatar.com/lightguardjp
> > >> >
> > >>
> > >
> > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hmm,

Wonder if the scope couldnt be application one. Request sounds too much web
to be usable/generic
Le 1 mars 2013 19:02, "Thomas Hug" <th...@ctp-consulting.com> a écrit :

> Fine for me - planned to create a branch with all the experimental APIs
> cleared out as an import proposal.
>
> RE scope, the InvocationHandlers are validated to be normal scoped [1], so
> that seemed to me the most appropriate choice - any other suggestions?
>
> [1]
>
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
>
>
> On Wed, Feb 27, 2013 at 1:15 PM, Romain Manni-Bucau
> <rm...@gmail.com>wrote:
>
> > Hi,
> >
> > some news of it?
> >
> > i think it is time to import at least a first version, isn't it?
> >
> > Just a note on current code, i saw QueryHandler (and some other beans)
> has
> > a request scope. Wonder if such a scope means something for a generic
> (not
> > web) lib.
> >
> > wdyt?
> >
> > *Romain Manni-Bucau*
> > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > *Blog: **http://rmannibucau.wordpress.com/*<
> > http://rmannibucau.wordpress.com/>
> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > *Github: https://github.com/rmannibucau*
> >
> >
> >
> > 2013/2/20 Romain Manni-Bucau <rm...@gmail.com>
> >
> > > guy you rocks!
> > >
> > > effectively i missed it when i looked.
> > >
> > > *Romain Manni-Bucau*
> > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > *Blog: **http://rmannibucau.wordpress.com/*<
> > http://rmannibucau.wordpress.com/>
> > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > *Github: https://github.com/rmannibucau*
> > >
> > >
> > >
> > > 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> > >
> > >> Thnx Romain. If with proxy stuff you refer to the DS
> > >> InvocationHandlerBinding, that's already integrated :)
> > >>
> > >> RE pagination, it's maybe not that obvious, but there's more advanced
> > >> support in QueryResult [1][2], which is more of a fluent API approach,
> > but
> > >> should behave similar to a PageRequest (the query execution is delayed
> > >> until the getResult() methods on QueryResult is called). Hope that
> fits
> > to
> > >> what you had in mind.
> > >>
> > >> [1]
> > >>
> > >>
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > >> [2]
> > >>
> > >>
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > >>
> > >> On Wed, Feb 20, 2013 at 10:04 PM, Romain Manni-Bucau
> > >> <rm...@gmail.com>wrote:
> > >>
> > >> > Hi Thomas,
> > >> >
> > >> > importing proxy stuff would be the first great stuff.
> > >> >
> > >> > i'd like to see some pagination API (like PageRequest etc in spring
> > >> world)
> > >> > which are more user friendly that @FirstResult and @MaxResult).
> > >> >
> > >> > wdyt?
> > >> >
> > >> > *Romain Manni-Bucau*
> > >> > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > >> > *Blog: **http://rmannibucau.wordpress.com/*<
> > >> > http://rmannibucau.wordpress.com/>
> > >> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > >> > *Github: https://github.com/rmannibucau*
> > >> >
> > >> >
> > >> >
> > >> > 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> > >> >
> > >> > > CDI Query has now a completely Solder-free POM. Feel free to drop
> > >> > comments
> > >> > > on the API - some parts might actually be fully excluded (e.g.
> home
> > >> and
> > >> > > critera APIs).
> > >> > >
> > >> > > On Tue, Feb 12, 2013 at 10:00 PM, Mark Struberg <
> struberg@yahoo.de>
> > >> > wrote:
> > >> > >
> > >> > > >
> > >> > > >
> > >> > > > Thanks Thomas, great news!
> > >> > > >
> > >> > > > LieGrue,
> > >> > > > strub
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > >________________________________
> > >> > > > > From: Thomas Hug <th...@ctp-consulting.com>
> > >> > > > >To: "deltaspike-dev@incubator.apache.org" <
> > >> > > > deltaspike-dev@incubator.apache.org>
> > >> > > > >Sent: Tuesday, February 12, 2013 4:10 PM
> > >> > > > >Subject: Re: cdi-query, no news?
> > >> > > > >
> > >> > > > >FYI, I've started to "de-solderize" CDI Query and move things
> to
> > >> > depend
> > >> > > on
> > >> > > > >DS Core [1]:
> > >> > > > >https://github.com/ctpconsulting/query/tree/deltaspike
> > >> > > > >
> > >> > > > >Todos:
> > >> > > > >[x] Replace ServiceHandler
> > >> > > > >[_] Include Property utils
> > >> > > > >[_] Replace JBoss Logging
> > >> > > > >
> > >> > > > >Any feedback welcome.
> > >> > > > >
> > >> > > > >[1] including this modification
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > >> > > > >
> > >> > > > >On Mon, Feb 11, 2013 at 6:01 PM, Romain Manni-Bucau
> > >> > > > ><rm...@gmail.com>wrote:
> > >> > > > >
> > >> > > > >> a review of the API i guess
> > >> > > > >>
> > >> > > > >> what is missing today is probably the pagination helpers
> > >> > (PageRequest
> > >> > > > for
> > >> > > > >> instance)
> > >> > > > >>
> > >> > > > >> but technically all is fine IMO
> > >> > > > >>
> > >> > > > >> *Romain Manni-Bucau*
> > >> > > > >> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > >> > > > >> *Blog: **http://rmannibucau.wordpress.com/*<
> > >> > > > >> http://rmannibucau.wordpress.com/>
> > >> > > > >> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > >> > > > >> *Github: https://github.com/rmannibucau*
> > >> > > > >>
> > >> > > > >>
> > >> > > > >>
> > >> > > > >> 2013/2/11 Jason Porter <li...@gmail.com>
> > >> > > > >>
> > >> > > > >> > I know I'm playing the necromancer, but please forgive me.
> We
> > >> have
> > >> > > > >> > InvocationHandler, which looks like it would work as a
> > >> > > ServiceHandler
> > >> > > > >> > substitute. What else is needed to get CDI Query into
> > >> DeltaSpike?
> > >> > > > >> >
> > >> > > > >> >
> > >> > > > >> > On Sun, Nov 18, 2012 at 12:35 PM, Romain Manni-Bucau
> > >> > > > >> > <rm...@gmail.com>wrote:
> > >> > > > >> >
> > >> > > > >> > > +1, it is a must have for cdi world
> > >> > > > >> > > Le 18 nov. 2012 20:04, "john.d.ament" <
> > >> john.d.ament@gmail.com>
> > >> > a
> > >> > > > >> écrit :
> > >> > > > >> > >
> > >> > > > >> > > > RE ServiceHandler - I was one of those who previously
> > >> > suggested
> > >> > > > >> > bringing
> > >> > > > >> > > it
> > >> > > > >> > > > over to DeltaSpike, you can see DELTASPIKE-113 and find
> > the
> > >> > > thread
> > >> > > > >> > about
> > >> > > > >> > > it
> > >> > > > >> > > > from April of this year.  At the time, I was in a
> > position
> > >> > > where I
> > >> > > > >> > > couldn't
> > >> > > > >> > > > spend much time on open source contribution.  I've
> > recently
> > >> > > > changed
> > >> > > > >> > jobs,
> > >> > > > >> > > > to
> > >> > > > >> > > > something that's going to help me spend some more time
> > with
> > >> > the
> > >> > > > open
> > >> > > > >> > > source
> > >> > > > >> > > > community, and believe I can pick it back up if we're
> > >> ready.
> > >> > > > >> > > >
> > >> > > > >> > > > If everyone's ok with it I can start a new thread for
> 113
> > >> or
> > >> > > > revive
> > >> > > > >> the
> > >> > > > >> > > old
> > >> > > > >> > > > thread (though it may come through with a large pile of
> > >> dust).
> > >> > > > >> > > >
> > >> > > > >> > > > Regards,
> > >> > > > >> > > >
> > >> > > > >> > > > John
> > >> > > > >> > > >
> > >> > > > >> > > >
> > >> > > > >> > > >
> > >> > > > >> > > > --
> > >> > > > >> > > > View this message in context:
> > >> > > > >> > > >
> > >> > > > >> > >
> > >> > > > >> >
> > >> > > > >>
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > >> > > > >> > > > Sent from the Apache DeltaSpike Incubator Discussions
> > >> mailing
> > >> > > list
> > >> > > > >> > > archive
> > >> > > > >> > > > at Nabble.com.
> > >> > > > >> > > >
> > >> > > > >> > >
> > >> > > > >> >
> > >> > > > >> >
> > >> > > > >> >
> > >> > > > >> > --
> > >> > > > >> > Jason Porter
> > >> > > > >> > http://en.gravatar.com/lightguardjp
> > >> > > > >> >
> > >> > > > >>
> > >> > > > >
> > >> > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Basically if the query logic could be scope agnostic it would be perfect
for me. Parameters were fine and matched the coomon need. I m not sure i
get what is blocking. Can you detail it a bit please?
Le 3 mars 2013 13:09, "Thomas Hug" <th...@ctp-consulting.com> a écrit :

> Aha got you. Yes QueryHandler can be moved to application scope.
>
> The other request scoped component ist the CdiQueryInvocationContext. Here
> we store a bunch of data which is related to the current query (parameters,
> query string etc). Originally this was passed as parameter, but got
> injectable for the extension mechanism [1]. Currently on holidays (sorry
> the response delays) so not much time to look into it but happy to take
> suggestions :)
>
> [1]
>
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
>
> On Fri, Mar 1, 2013 at 8:18 PM, Romain Manni-Bucau <rmannibucau@gmail.com
> >wrote:
>
> > Hmm,
> >
> > Wonder if the scope couldnt be application one. Request sounds too much
> web
> > to be usable/generic
> > Le 1 mars 2013 19:02, "Thomas Hug" <th...@ctp-consulting.com> a
> > écrit :
> >
> > > Fine for me - planned to create a branch with all the experimental APIs
> > > cleared out as an import proposal.
> > >
> > > RE scope, the InvocationHandlers are validated to be normal scoped [1],
> > so
> > > that seemed to me the most appropriate choice - any other suggestions?
> > >
> > > [1]
> > >
> > >
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > >
> > >
> > > On Wed, Feb 27, 2013 at 1:15 PM, Romain Manni-Bucau
> > > <rm...@gmail.com>wrote:
> > >
> > > > Hi,
> > > >
> > > > some news of it?
> > > >
> > > > i think it is time to import at least a first version, isn't it?
> > > >
> > > > Just a note on current code, i saw QueryHandler (and some other
> beans)
> > > has
> > > > a request scope. Wonder if such a scope means something for a generic
> > > (not
> > > > web) lib.
> > > >
> > > > wdyt?
> > > >
> > > > *Romain Manni-Bucau*
> > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > http://rmannibucau.wordpress.com/>
> > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > *Github: https://github.com/rmannibucau*
> > > >
> > > >
> > > >
> > > > 2013/2/20 Romain Manni-Bucau <rm...@gmail.com>
> > > >
> > > > > guy you rocks!
> > > > >
> > > > > effectively i missed it when i looked.
> > > > >
> > > > > *Romain Manni-Bucau*
> > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > http://rmannibucau.wordpress.com/>
> > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > *Github: https://github.com/rmannibucau*
> > > > >
> > > > >
> > > > >
> > > > > 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> > > > >
> > > > >> Thnx Romain. If with proxy stuff you refer to the DS
> > > > >> InvocationHandlerBinding, that's already integrated :)
> > > > >>
> > > > >> RE pagination, it's maybe not that obvious, but there's more
> > advanced
> > > > >> support in QueryResult [1][2], which is more of a fluent API
> > approach,
> > > > but
> > > > >> should behave similar to a PageRequest (the query execution is
> > delayed
> > > > >> until the getResult() methods on QueryResult is called). Hope that
> > > fits
> > > > to
> > > > >> what you had in mind.
> > > > >>
> > > > >> [1]
> > > > >>
> > > > >>
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > > > >> [2]
> > > > >>
> > > > >>
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > > > >>
> > > > >> On Wed, Feb 20, 2013 at 10:04 PM, Romain Manni-Bucau
> > > > >> <rm...@gmail.com>wrote:
> > > > >>
> > > > >> > Hi Thomas,
> > > > >> >
> > > > >> > importing proxy stuff would be the first great stuff.
> > > > >> >
> > > > >> > i'd like to see some pagination API (like PageRequest etc in
> > spring
> > > > >> world)
> > > > >> > which are more user friendly that @FirstResult and @MaxResult).
> > > > >> >
> > > > >> > wdyt?
> > > > >> >
> > > > >> > *Romain Manni-Bucau*
> > > > >> > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > >> > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > >> > http://rmannibucau.wordpress.com/>
> > > > >> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > >> > *Github: https://github.com/rmannibucau*
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >> > 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> > > > >> >
> > > > >> > > CDI Query has now a completely Solder-free POM. Feel free to
> > drop
> > > > >> > comments
> > > > >> > > on the API - some parts might actually be fully excluded (e.g.
> > > home
> > > > >> and
> > > > >> > > critera APIs).
> > > > >> > >
> > > > >> > > On Tue, Feb 12, 2013 at 10:00 PM, Mark Struberg <
> > > struberg@yahoo.de>
> > > > >> > wrote:
> > > > >> > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > Thanks Thomas, great news!
> > > > >> > > >
> > > > >> > > > LieGrue,
> > > > >> > > > strub
> > > > >> > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > >________________________________
> > > > >> > > > > From: Thomas Hug <th...@ctp-consulting.com>
> > > > >> > > > >To: "deltaspike-dev@incubator.apache.org" <
> > > > >> > > > deltaspike-dev@incubator.apache.org>
> > > > >> > > > >Sent: Tuesday, February 12, 2013 4:10 PM
> > > > >> > > > >Subject: Re: cdi-query, no news?
> > > > >> > > > >
> > > > >> > > > >FYI, I've started to "de-solderize" CDI Query and move
> things
> > > to
> > > > >> > depend
> > > > >> > > on
> > > > >> > > > >DS Core [1]:
> > > > >> > > > >https://github.com/ctpconsulting/query/tree/deltaspike
> > > > >> > > > >
> > > > >> > > > >Todos:
> > > > >> > > > >[x] Replace ServiceHandler
> > > > >> > > > >[_] Include Property utils
> > > > >> > > > >[_] Replace JBoss Logging
> > > > >> > > > >
> > > > >> > > > >Any feedback welcome.
> > > > >> > > > >
> > > > >> > > > >[1] including this modification
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > > >> > > > >
> > > > >> > > > >On Mon, Feb 11, 2013 at 6:01 PM, Romain Manni-Bucau
> > > > >> > > > ><rm...@gmail.com>wrote:
> > > > >> > > > >
> > > > >> > > > >> a review of the API i guess
> > > > >> > > > >>
> > > > >> > > > >> what is missing today is probably the pagination helpers
> > > > >> > (PageRequest
> > > > >> > > > for
> > > > >> > > > >> instance)
> > > > >> > > > >>
> > > > >> > > > >> but technically all is fine IMO
> > > > >> > > > >>
> > > > >> > > > >> *Romain Manni-Bucau*
> > > > >> > > > >> *Twitter: @rmannibucau <https://twitter.com/rmannibucau
> >*
> > > > >> > > > >> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > >> > > > >> http://rmannibucau.wordpress.com/>
> > > > >> > > > >> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > >> > > > >> *Github: https://github.com/rmannibucau*
> > > > >> > > > >>
> > > > >> > > > >>
> > > > >> > > > >>
> > > > >> > > > >> 2013/2/11 Jason Porter <li...@gmail.com>
> > > > >> > > > >>
> > > > >> > > > >> > I know I'm playing the necromancer, but please forgive
> > me.
> > > We
> > > > >> have
> > > > >> > > > >> > InvocationHandler, which looks like it would work as a
> > > > >> > > ServiceHandler
> > > > >> > > > >> > substitute. What else is needed to get CDI Query into
> > > > >> DeltaSpike?
> > > > >> > > > >> >
> > > > >> > > > >> >
> > > > >> > > > >> > On Sun, Nov 18, 2012 at 12:35 PM, Romain Manni-Bucau
> > > > >> > > > >> > <rm...@gmail.com>wrote:
> > > > >> > > > >> >
> > > > >> > > > >> > > +1, it is a must have for cdi world
> > > > >> > > > >> > > Le 18 nov. 2012 20:04, "john.d.ament" <
> > > > >> john.d.ament@gmail.com>
> > > > >> > a
> > > > >> > > > >> écrit :
> > > > >> > > > >> > >
> > > > >> > > > >> > > > RE ServiceHandler - I was one of those who
> previously
> > > > >> > suggested
> > > > >> > > > >> > bringing
> > > > >> > > > >> > > it
> > > > >> > > > >> > > > over to DeltaSpike, you can see DELTASPIKE-113 and
> > find
> > > > the
> > > > >> > > thread
> > > > >> > > > >> > about
> > > > >> > > > >> > > it
> > > > >> > > > >> > > > from April of this year.  At the time, I was in a
> > > > position
> > > > >> > > where I
> > > > >> > > > >> > > couldn't
> > > > >> > > > >> > > > spend much time on open source contribution.  I've
> > > > recently
> > > > >> > > > changed
> > > > >> > > > >> > jobs,
> > > > >> > > > >> > > > to
> > > > >> > > > >> > > > something that's going to help me spend some more
> > time
> > > > with
> > > > >> > the
> > > > >> > > > open
> > > > >> > > > >> > > source
> > > > >> > > > >> > > > community, and believe I can pick it back up if
> we're
> > > > >> ready.
> > > > >> > > > >> > > >
> > > > >> > > > >> > > > If everyone's ok with it I can start a new thread
> for
> > > 113
> > > > >> or
> > > > >> > > > revive
> > > > >> > > > >> the
> > > > >> > > > >> > > old
> > > > >> > > > >> > > > thread (though it may come through with a large
> pile
> > of
> > > > >> dust).
> > > > >> > > > >> > > >
> > > > >> > > > >> > > > Regards,
> > > > >> > > > >> > > >
> > > > >> > > > >> > > > John
> > > > >> > > > >> > > >
> > > > >> > > > >> > > >
> > > > >> > > > >> > > >
> > > > >> > > > >> > > > --
> > > > >> > > > >> > > > View this message in context:
> > > > >> > > > >> > > >
> > > > >> > > > >> > >
> > > > >> > > > >> >
> > > > >> > > > >>
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > >> > > > >> > > > Sent from the Apache DeltaSpike Incubator
> Discussions
> > > > >> mailing
> > > > >> > > list
> > > > >> > > > >> > > archive
> > > > >> > > > >> > > > at Nabble.com.
> > > > >> > > > >> > > >
> > > > >> > > > >> > >
> > > > >> > > > >> >
> > > > >> > > > >> >
> > > > >> > > > >> >
> > > > >> > > > >> > --
> > > > >> > > > >> > Jason Porter
> > > > >> > > > >> > http://en.gravatar.com/lightguardjp
> > > > >> > > > >> >
> > > > >> > > > >>
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
since you already have an extension you could "spy" delegates at startup
too no?

PS: with Jean-Louis Monteiro we'll do a JUG this month on CDI/DS/TomEE (not
in detail but just an overview). This kind of extension would be great to
show

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/3/4 Thomas Hug <th...@ctp-consulting.com>

> Agree, having this working in SE envs would be nice.
>
> This is the data container which is related to the currently executed query
> [1]. The main reason for making this request scope injectable was the usage
> for base DAOs or if a client wants to add its own DAO code - here [2] the
> call gets delegated to a concrete implementation.
>
> Passing the query context data into CDI Query controlled code is not really
> a problem, for client code having something injectable seemed to me the
> most elegant solution. But there are certainly other variants in order to
> get rid of the request scope (e.g. having a contract on the
> DelegateQueryHandler interface - open for other suggestions).
>
> [1]
>
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/main/java/com/ctp/cdi/query/handler/CdiQueryInvocationContext.java
> [2]
>
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/main/java/com/ctp/cdi/query/builder/DelegateQueryBuilder.java
>
> On Sun, Mar 3, 2013 at 1:41 PM, Romain Manni-Bucau <rmannibucau@gmail.com
> >wrote:
>
> > Basically if the query logic could be scope agnostic it would be perfect
> > for me. Parameters were fine and matched the coomon need. I m not sure i
> > get what is blocking. Can you detail it a bit please?
> > Le 3 mars 2013 13:09, "Thomas Hug" <th...@ctp-consulting.com> a
> > écrit :
> >
> > > Aha got you. Yes QueryHandler can be moved to application scope.
> > >
> > > The other request scoped component ist the CdiQueryInvocationContext.
> > Here
> > > we store a bunch of data which is related to the current query
> > (parameters,
> > > query string etc). Originally this was passed as parameter, but got
> > > injectable for the extension mechanism [1]. Currently on holidays
> (sorry
> > > the response delays) so not much time to look into it but happy to take
> > > suggestions :)
> > >
> > > [1]
> > >
> > >
> >
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> > >
> > > On Fri, Mar 1, 2013 at 8:18 PM, Romain Manni-Bucau <
> > rmannibucau@gmail.com
> > > >wrote:
> > >
> > > > Hmm,
> > > >
> > > > Wonder if the scope couldnt be application one. Request sounds too
> much
> > > web
> > > > to be usable/generic
> > > > Le 1 mars 2013 19:02, "Thomas Hug" <th...@ctp-consulting.com> a
> > > > écrit :
> > > >
> > > > > Fine for me - planned to create a branch with all the experimental
> > APIs
> > > > > cleared out as an import proposal.
> > > > >
> > > > > RE scope, the InvocationHandlers are validated to be normal scoped
> > [1],
> > > > so
> > > > > that seemed to me the most appropriate choice - any other
> > suggestions?
> > > > >
> > > > > [1]
> > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > > > >
> > > > >
> > > > > On Wed, Feb 27, 2013 at 1:15 PM, Romain Manni-Bucau
> > > > > <rm...@gmail.com>wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > some news of it?
> > > > > >
> > > > > > i think it is time to import at least a first version, isn't it?
> > > > > >
> > > > > > Just a note on current code, i saw QueryHandler (and some other
> > > beans)
> > > > > has
> > > > > > a request scope. Wonder if such a scope means something for a
> > generic
> > > > > (not
> > > > > > web) lib.
> > > > > >
> > > > > > wdyt?
> > > > > >
> > > > > > *Romain Manni-Bucau*
> > > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > http://rmannibucau.wordpress.com/>
> > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > *Github: https://github.com/rmannibucau*
> > > > > >
> > > > > >
> > > > > >
> > > > > > 2013/2/20 Romain Manni-Bucau <rm...@gmail.com>
> > > > > >
> > > > > > > guy you rocks!
> > > > > > >
> > > > > > > effectively i missed it when i looked.
> > > > > > >
> > > > > > > *Romain Manni-Bucau*
> > > > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > *Github: https://github.com/rmannibucau*
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> > > > > > >
> > > > > > >> Thnx Romain. If with proxy stuff you refer to the DS
> > > > > > >> InvocationHandlerBinding, that's already integrated :)
> > > > > > >>
> > > > > > >> RE pagination, it's maybe not that obvious, but there's more
> > > > advanced
> > > > > > >> support in QueryResult [1][2], which is more of a fluent API
> > > > approach,
> > > > > > but
> > > > > > >> should behave similar to a PageRequest (the query execution is
> > > > delayed
> > > > > > >> until the getResult() methods on QueryResult is called). Hope
> > that
> > > > > fits
> > > > > > to
> > > > > > >> what you had in mind.
> > > > > > >>
> > > > > > >> [1]
> > > > > > >>
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > > > > > >> [2]
> > > > > > >>
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > > > > > >>
> > > > > > >> On Wed, Feb 20, 2013 at 10:04 PM, Romain Manni-Bucau
> > > > > > >> <rm...@gmail.com>wrote:
> > > > > > >>
> > > > > > >> > Hi Thomas,
> > > > > > >> >
> > > > > > >> > importing proxy stuff would be the first great stuff.
> > > > > > >> >
> > > > > > >> > i'd like to see some pagination API (like PageRequest etc in
> > > > spring
> > > > > > >> world)
> > > > > > >> > which are more user friendly that @FirstResult and
> > @MaxResult).
> > > > > > >> >
> > > > > > >> > wdyt?
> > > > > > >> >
> > > > > > >> > *Romain Manni-Bucau*
> > > > > > >> > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > > >> > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > >> > http://rmannibucau.wordpress.com/>
> > > > > > >> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > >> > *Github: https://github.com/rmannibucau*
> > > > > > >> >
> > > > > > >> >
> > > > > > >> >
> > > > > > >> > 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> > > > > > >> >
> > > > > > >> > > CDI Query has now a completely Solder-free POM. Feel free
> to
> > > > drop
> > > > > > >> > comments
> > > > > > >> > > on the API - some parts might actually be fully excluded
> > (e.g.
> > > > > home
> > > > > > >> and
> > > > > > >> > > critera APIs).
> > > > > > >> > >
> > > > > > >> > > On Tue, Feb 12, 2013 at 10:00 PM, Mark Struberg <
> > > > > struberg@yahoo.de>
> > > > > > >> > wrote:
> > > > > > >> > >
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > Thanks Thomas, great news!
> > > > > > >> > > >
> > > > > > >> > > > LieGrue,
> > > > > > >> > > > strub
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > >________________________________
> > > > > > >> > > > > From: Thomas Hug <th...@ctp-consulting.com>
> > > > > > >> > > > >To: "deltaspike-dev@incubator.apache.org" <
> > > > > > >> > > > deltaspike-dev@incubator.apache.org>
> > > > > > >> > > > >Sent: Tuesday, February 12, 2013 4:10 PM
> > > > > > >> > > > >Subject: Re: cdi-query, no news?
> > > > > > >> > > > >
> > > > > > >> > > > >FYI, I've started to "de-solderize" CDI Query and move
> > > things
> > > > > to
> > > > > > >> > depend
> > > > > > >> > > on
> > > > > > >> > > > >DS Core [1]:
> > > > > > >> > > > >https://github.com/ctpconsulting/query/tree/deltaspike
> > > > > > >> > > > >
> > > > > > >> > > > >Todos:
> > > > > > >> > > > >[x] Replace ServiceHandler
> > > > > > >> > > > >[_] Include Property utils
> > > > > > >> > > > >[_] Replace JBoss Logging
> > > > > > >> > > > >
> > > > > > >> > > > >Any feedback welcome.
> > > > > > >> > > > >
> > > > > > >> > > > >[1] including this modification
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > > > > >> > > > >
> > > > > > >> > > > >On Mon, Feb 11, 2013 at 6:01 PM, Romain Manni-Bucau
> > > > > > >> > > > ><rm...@gmail.com>wrote:
> > > > > > >> > > > >
> > > > > > >> > > > >> a review of the API i guess
> > > > > > >> > > > >>
> > > > > > >> > > > >> what is missing today is probably the pagination
> > helpers
> > > > > > >> > (PageRequest
> > > > > > >> > > > for
> > > > > > >> > > > >> instance)
> > > > > > >> > > > >>
> > > > > > >> > > > >> but technically all is fine IMO
> > > > > > >> > > > >>
> > > > > > >> > > > >> *Romain Manni-Bucau*
> > > > > > >> > > > >> *Twitter: @rmannibucau <
> > https://twitter.com/rmannibucau
> > > >*
> > > > > > >> > > > >> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > >> > > > >> http://rmannibucau.wordpress.com/>
> > > > > > >> > > > >> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > >> > > > >> *Github: https://github.com/rmannibucau*
> > > > > > >> > > > >>
> > > > > > >> > > > >>
> > > > > > >> > > > >>
> > > > > > >> > > > >> 2013/2/11 Jason Porter <li...@gmail.com>
> > > > > > >> > > > >>
> > > > > > >> > > > >> > I know I'm playing the necromancer, but please
> > forgive
> > > > me.
> > > > > We
> > > > > > >> have
> > > > > > >> > > > >> > InvocationHandler, which looks like it would work
> as
> > a
> > > > > > >> > > ServiceHandler
> > > > > > >> > > > >> > substitute. What else is needed to get CDI Query
> into
> > > > > > >> DeltaSpike?
> > > > > > >> > > > >> >
> > > > > > >> > > > >> >
> > > > > > >> > > > >> > On Sun, Nov 18, 2012 at 12:35 PM, Romain
> Manni-Bucau
> > > > > > >> > > > >> > <rm...@gmail.com>wrote:
> > > > > > >> > > > >> >
> > > > > > >> > > > >> > > +1, it is a must have for cdi world
> > > > > > >> > > > >> > > Le 18 nov. 2012 20:04, "john.d.ament" <
> > > > > > >> john.d.ament@gmail.com>
> > > > > > >> > a
> > > > > > >> > > > >> écrit :
> > > > > > >> > > > >> > >
> > > > > > >> > > > >> > > > RE ServiceHandler - I was one of those who
> > > previously
> > > > > > >> > suggested
> > > > > > >> > > > >> > bringing
> > > > > > >> > > > >> > > it
> > > > > > >> > > > >> > > > over to DeltaSpike, you can see DELTASPIKE-113
> > and
> > > > find
> > > > > > the
> > > > > > >> > > thread
> > > > > > >> > > > >> > about
> > > > > > >> > > > >> > > it
> > > > > > >> > > > >> > > > from April of this year.  At the time, I was
> in a
> > > > > > position
> > > > > > >> > > where I
> > > > > > >> > > > >> > > couldn't
> > > > > > >> > > > >> > > > spend much time on open source contribution.
> >  I've
> > > > > > recently
> > > > > > >> > > > changed
> > > > > > >> > > > >> > jobs,
> > > > > > >> > > > >> > > > to
> > > > > > >> > > > >> > > > something that's going to help me spend some
> more
> > > > time
> > > > > > with
> > > > > > >> > the
> > > > > > >> > > > open
> > > > > > >> > > > >> > > source
> > > > > > >> > > > >> > > > community, and believe I can pick it back up if
> > > we're
> > > > > > >> ready.
> > > > > > >> > > > >> > > >
> > > > > > >> > > > >> > > > If everyone's ok with it I can start a new
> thread
> > > for
> > > > > 113
> > > > > > >> or
> > > > > > >> > > > revive
> > > > > > >> > > > >> the
> > > > > > >> > > > >> > > old
> > > > > > >> > > > >> > > > thread (though it may come through with a large
> > > pile
> > > > of
> > > > > > >> dust).
> > > > > > >> > > > >> > > >
> > > > > > >> > > > >> > > > Regards,
> > > > > > >> > > > >> > > >
> > > > > > >> > > > >> > > > John
> > > > > > >> > > > >> > > >
> > > > > > >> > > > >> > > >
> > > > > > >> > > > >> > > >
> > > > > > >> > > > >> > > > --
> > > > > > >> > > > >> > > > View this message in context:
> > > > > > >> > > > >> > > >
> > > > > > >> > > > >> > >
> > > > > > >> > > > >> >
> > > > > > >> > > > >>
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > > > >> > > > >> > > > Sent from the Apache DeltaSpike Incubator
> > > Discussions
> > > > > > >> mailing
> > > > > > >> > > list
> > > > > > >> > > > >> > > archive
> > > > > > >> > > > >> > > > at Nabble.com.
> > > > > > >> > > > >> > > >
> > > > > > >> > > > >> > >
> > > > > > >> > > > >> >
> > > > > > >> > > > >> >
> > > > > > >> > > > >> >
> > > > > > >> > > > >> > --
> > > > > > >> > > > >> > Jason Porter
> > > > > > >> > > > >> > http://en.gravatar.com/lightguardjp
> > > > > > >> > > > >> >
> > > > > > >> > > > >>
> > > > > > >> > > > >
> > > > > > >> > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
i understand, no worries ;)


*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/3/4 Thomas Hug <th...@ctp-consulting.com>

> Good point, thnx - working with the injection points might do the trick.
> RE demo, not sure how far I'll get the next few days (new little family
> member who's currently the boss of my schedule ;) but will try to spend
> some time on it.
>
> On Mon, Mar 4, 2013 at 10:59 AM, Romain Manni-Bucau
> <rm...@gmail.com>wrote:
>
> > since you already have an extension you could "spy" delegates at startup
> > too no?
> >
> > PS: with Jean-Louis Monteiro we'll do a JUG this month on CDI/DS/TomEE
> (not
> > in detail but just an overview). This kind of extension would be great to
> > show
> >
> > *Romain Manni-Bucau*
> > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > *Blog: **http://rmannibucau.wordpress.com/*<
> > http://rmannibucau.wordpress.com/>
> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > *Github: https://github.com/rmannibucau*
> >
> >
> >
> > 2013/3/4 Thomas Hug <th...@ctp-consulting.com>
> >
> > > Agree, having this working in SE envs would be nice.
> > >
> > > This is the data container which is related to the currently executed
> > query
> > > [1]. The main reason for making this request scope injectable was the
> > usage
> > > for base DAOs or if a client wants to add its own DAO code - here [2]
> the
> > > call gets delegated to a concrete implementation.
> > >
> > > Passing the query context data into CDI Query controlled code is not
> > really
> > > a problem, for client code having something injectable seemed to me the
> > > most elegant solution. But there are certainly other variants in order
> to
> > > get rid of the request scope (e.g. having a contract on the
> > > DelegateQueryHandler interface - open for other suggestions).
> > >
> > > [1]
> > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/main/java/com/ctp/cdi/query/handler/CdiQueryInvocationContext.java
> > > [2]
> > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/main/java/com/ctp/cdi/query/builder/DelegateQueryBuilder.java
> > >
> > > On Sun, Mar 3, 2013 at 1:41 PM, Romain Manni-Bucau <
> > rmannibucau@gmail.com
> > > >wrote:
> > >
> > > > Basically if the query logic could be scope agnostic it would be
> > perfect
> > > > for me. Parameters were fine and matched the coomon need. I m not
> sure
> > i
> > > > get what is blocking. Can you detail it a bit please?
> > > > Le 3 mars 2013 13:09, "Thomas Hug" <th...@ctp-consulting.com> a
> > > > écrit :
> > > >
> > > > > Aha got you. Yes QueryHandler can be moved to application scope.
> > > > >
> > > > > The other request scoped component ist the
> CdiQueryInvocationContext.
> > > > Here
> > > > > we store a bunch of data which is related to the current query
> > > > (parameters,
> > > > > query string etc). Originally this was passed as parameter, but got
> > > > > injectable for the extension mechanism [1]. Currently on holidays
> > > (sorry
> > > > > the response delays) so not much time to look into it but happy to
> > take
> > > > > suggestions :)
> > > > >
> > > > > [1]
> > > > >
> > > > >
> > > >
> > >
> >
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> > > > >
> > > > > On Fri, Mar 1, 2013 at 8:18 PM, Romain Manni-Bucau <
> > > > rmannibucau@gmail.com
> > > > > >wrote:
> > > > >
> > > > > > Hmm,
> > > > > >
> > > > > > Wonder if the scope couldnt be application one. Request sounds
> too
> > > much
> > > > > web
> > > > > > to be usable/generic
> > > > > > Le 1 mars 2013 19:02, "Thomas Hug" <
> thomas.hug@ctp-consulting.com>
> > a
> > > > > > écrit :
> > > > > >
> > > > > > > Fine for me - planned to create a branch with all the
> > experimental
> > > > APIs
> > > > > > > cleared out as an import proposal.
> > > > > > >
> > > > > > > RE scope, the InvocationHandlers are validated to be normal
> > scoped
> > > > [1],
> > > > > > so
> > > > > > > that seemed to me the most appropriate choice - any other
> > > > suggestions?
> > > > > > >
> > > > > > > [1]
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > > > > > >
> > > > > > >
> > > > > > > On Wed, Feb 27, 2013 at 1:15 PM, Romain Manni-Bucau
> > > > > > > <rm...@gmail.com>wrote:
> > > > > > >
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > > some news of it?
> > > > > > > >
> > > > > > > > i think it is time to import at least a first version, isn't
> > it?
> > > > > > > >
> > > > > > > > Just a note on current code, i saw QueryHandler (and some
> other
> > > > > beans)
> > > > > > > has
> > > > > > > > a request scope. Wonder if such a scope means something for a
> > > > generic
> > > > > > > (not
> > > > > > > > web) lib.
> > > > > > > >
> > > > > > > > wdyt?
> > > > > > > >
> > > > > > > > *Romain Manni-Bucau*
> > > > > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > *Github: https://github.com/rmannibucau*
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > 2013/2/20 Romain Manni-Bucau <rm...@gmail.com>
> > > > > > > >
> > > > > > > > > guy you rocks!
> > > > > > > > >
> > > > > > > > > effectively i missed it when i looked.
> > > > > > > > >
> > > > > > > > > *Romain Manni-Bucau*
> > > > > > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > > *Github: https://github.com/rmannibucau*
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> > > > > > > > >
> > > > > > > > >> Thnx Romain. If with proxy stuff you refer to the DS
> > > > > > > > >> InvocationHandlerBinding, that's already integrated :)
> > > > > > > > >>
> > > > > > > > >> RE pagination, it's maybe not that obvious, but there's
> more
> > > > > > advanced
> > > > > > > > >> support in QueryResult [1][2], which is more of a fluent
> API
> > > > > > approach,
> > > > > > > > but
> > > > > > > > >> should behave similar to a PageRequest (the query
> execution
> > is
> > > > > > delayed
> > > > > > > > >> until the getResult() methods on QueryResult is called).
> > Hope
> > > > that
> > > > > > > fits
> > > > > > > > to
> > > > > > > > >> what you had in mind.
> > > > > > > > >>
> > > > > > > > >> [1]
> > > > > > > > >>
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > > > > > > > >> [2]
> > > > > > > > >>
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > > > > > > > >>
> > > > > > > > >> On Wed, Feb 20, 2013 at 10:04 PM, Romain Manni-Bucau
> > > > > > > > >> <rm...@gmail.com>wrote:
> > > > > > > > >>
> > > > > > > > >> > Hi Thomas,
> > > > > > > > >> >
> > > > > > > > >> > importing proxy stuff would be the first great stuff.
> > > > > > > > >> >
> > > > > > > > >> > i'd like to see some pagination API (like PageRequest
> etc
> > in
> > > > > > spring
> > > > > > > > >> world)
> > > > > > > > >> > which are more user friendly that @FirstResult and
> > > > @MaxResult).
> > > > > > > > >> >
> > > > > > > > >> > wdyt?
> > > > > > > > >> >
> > > > > > > > >> > *Romain Manni-Bucau*
> > > > > > > > >> > *Twitter: @rmannibucau <https://twitter.com/rmannibucau
> >*
> > > > > > > > >> > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > >> > http://rmannibucau.wordpress.com/>
> > > > > > > > >> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > >> > *Github: https://github.com/rmannibucau*
> > > > > > > > >> >
> > > > > > > > >> >
> > > > > > > > >> >
> > > > > > > > >> > 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> > > > > > > > >> >
> > > > > > > > >> > > CDI Query has now a completely Solder-free POM. Feel
> > free
> > > to
> > > > > > drop
> > > > > > > > >> > comments
> > > > > > > > >> > > on the API - some parts might actually be fully
> excluded
> > > > (e.g.
> > > > > > > home
> > > > > > > > >> and
> > > > > > > > >> > > critera APIs).
> > > > > > > > >> > >
> > > > > > > > >> > > On Tue, Feb 12, 2013 at 10:00 PM, Mark Struberg <
> > > > > > > struberg@yahoo.de>
> > > > > > > > >> > wrote:
> > > > > > > > >> > >
> > > > > > > > >> > > >
> > > > > > > > >> > > >
> > > > > > > > >> > > > Thanks Thomas, great news!
> > > > > > > > >> > > >
> > > > > > > > >> > > > LieGrue,
> > > > > > > > >> > > > strub
> > > > > > > > >> > > >
> > > > > > > > >> > > >
> > > > > > > > >> > > >
> > > > > > > > >> > > >
> > > > > > > > >> > > >
> > > > > > > > >> > > > >________________________________
> > > > > > > > >> > > > > From: Thomas Hug <th...@ctp-consulting.com>
> > > > > > > > >> > > > >To: "deltaspike-dev@incubator.apache.org" <
> > > > > > > > >> > > > deltaspike-dev@incubator.apache.org>
> > > > > > > > >> > > > >Sent: Tuesday, February 12, 2013 4:10 PM
> > > > > > > > >> > > > >Subject: Re: cdi-query, no news?
> > > > > > > > >> > > > >
> > > > > > > > >> > > > >FYI, I've started to "de-solderize" CDI Query and
> > move
> > > > > things
> > > > > > > to
> > > > > > > > >> > depend
> > > > > > > > >> > > on
> > > > > > > > >> > > > >DS Core [1]:
> > > > > > > > >> > > > >
> > https://github.com/ctpconsulting/query/tree/deltaspike
> > > > > > > > >> > > > >
> > > > > > > > >> > > > >Todos:
> > > > > > > > >> > > > >[x] Replace ServiceHandler
> > > > > > > > >> > > > >[_] Include Property utils
> > > > > > > > >> > > > >[_] Replace JBoss Logging
> > > > > > > > >> > > > >
> > > > > > > > >> > > > >Any feedback welcome.
> > > > > > > > >> > > > >
> > > > > > > > >> > > > >[1] including this modification
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > > > > > > >> > > > >
> > > > > > > > >> > > > >On Mon, Feb 11, 2013 at 6:01 PM, Romain Manni-Bucau
> > > > > > > > >> > > > ><rm...@gmail.com>wrote:
> > > > > > > > >> > > > >
> > > > > > > > >> > > > >> a review of the API i guess
> > > > > > > > >> > > > >>
> > > > > > > > >> > > > >> what is missing today is probably the pagination
> > > > helpers
> > > > > > > > >> > (PageRequest
> > > > > > > > >> > > > for
> > > > > > > > >> > > > >> instance)
> > > > > > > > >> > > > >>
> > > > > > > > >> > > > >> but technically all is fine IMO
> > > > > > > > >> > > > >>
> > > > > > > > >> > > > >> *Romain Manni-Bucau*
> > > > > > > > >> > > > >> *Twitter: @rmannibucau <
> > > > https://twitter.com/rmannibucau
> > > > > >*
> > > > > > > > >> > > > >> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > > >> > > > >> http://rmannibucau.wordpress.com/>
> > > > > > > > >> > > > >> *LinkedIn: **
> > http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > >> > > > >> *Github: https://github.com/rmannibucau*
> > > > > > > > >> > > > >>
> > > > > > > > >> > > > >>
> > > > > > > > >> > > > >>
> > > > > > > > >> > > > >> 2013/2/11 Jason Porter <li...@gmail.com>
> > > > > > > > >> > > > >>
> > > > > > > > >> > > > >> > I know I'm playing the necromancer, but please
> > > > forgive
> > > > > > me.
> > > > > > > We
> > > > > > > > >> have
> > > > > > > > >> > > > >> > InvocationHandler, which looks like it would
> work
> > > as
> > > > a
> > > > > > > > >> > > ServiceHandler
> > > > > > > > >> > > > >> > substitute. What else is needed to get CDI
> Query
> > > into
> > > > > > > > >> DeltaSpike?
> > > > > > > > >> > > > >> >
> > > > > > > > >> > > > >> >
> > > > > > > > >> > > > >> > On Sun, Nov 18, 2012 at 12:35 PM, Romain
> > > Manni-Bucau
> > > > > > > > >> > > > >> > <rm...@gmail.com>wrote:
> > > > > > > > >> > > > >> >
> > > > > > > > >> > > > >> > > +1, it is a must have for cdi world
> > > > > > > > >> > > > >> > > Le 18 nov. 2012 20:04, "john.d.ament" <
> > > > > > > > >> john.d.ament@gmail.com>
> > > > > > > > >> > a
> > > > > > > > >> > > > >> écrit :
> > > > > > > > >> > > > >> > >
> > > > > > > > >> > > > >> > > > RE ServiceHandler - I was one of those who
> > > > > previously
> > > > > > > > >> > suggested
> > > > > > > > >> > > > >> > bringing
> > > > > > > > >> > > > >> > > it
> > > > > > > > >> > > > >> > > > over to DeltaSpike, you can see
> > DELTASPIKE-113
> > > > and
> > > > > > find
> > > > > > > > the
> > > > > > > > >> > > thread
> > > > > > > > >> > > > >> > about
> > > > > > > > >> > > > >> > > it
> > > > > > > > >> > > > >> > > > from April of this year.  At the time, I
> was
> > > in a
> > > > > > > > position
> > > > > > > > >> > > where I
> > > > > > > > >> > > > >> > > couldn't
> > > > > > > > >> > > > >> > > > spend much time on open source
> contribution.
> > > >  I've
> > > > > > > > recently
> > > > > > > > >> > > > changed
> > > > > > > > >> > > > >> > jobs,
> > > > > > > > >> > > > >> > > > to
> > > > > > > > >> > > > >> > > > something that's going to help me spend
> some
> > > more
> > > > > > time
> > > > > > > > with
> > > > > > > > >> > the
> > > > > > > > >> > > > open
> > > > > > > > >> > > > >> > > source
> > > > > > > > >> > > > >> > > > community, and believe I can pick it back
> up
> > if
> > > > > we're
> > > > > > > > >> ready.
> > > > > > > > >> > > > >> > > >
> > > > > > > > >> > > > >> > > > If everyone's ok with it I can start a new
> > > thread
> > > > > for
> > > > > > > 113
> > > > > > > > >> or
> > > > > > > > >> > > > revive
> > > > > > > > >> > > > >> the
> > > > > > > > >> > > > >> > > old
> > > > > > > > >> > > > >> > > > thread (though it may come through with a
> > large
> > > > > pile
> > > > > > of
> > > > > > > > >> dust).
> > > > > > > > >> > > > >> > > >
> > > > > > > > >> > > > >> > > > Regards,
> > > > > > > > >> > > > >> > > >
> > > > > > > > >> > > > >> > > > John
> > > > > > > > >> > > > >> > > >
> > > > > > > > >> > > > >> > > >
> > > > > > > > >> > > > >> > > >
> > > > > > > > >> > > > >> > > > --
> > > > > > > > >> > > > >> > > > View this message in context:
> > > > > > > > >> > > > >> > > >
> > > > > > > > >> > > > >> > >
> > > > > > > > >> > > > >> >
> > > > > > > > >> > > > >>
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > > > > > >> > > > >> > > > Sent from the Apache DeltaSpike Incubator
> > > > > Discussions
> > > > > > > > >> mailing
> > > > > > > > >> > > list
> > > > > > > > >> > > > >> > > archive
> > > > > > > > >> > > > >> > > > at Nabble.com.
> > > > > > > > >> > > > >> > > >
> > > > > > > > >> > > > >> > >
> > > > > > > > >> > > > >> >
> > > > > > > > >> > > > >> >
> > > > > > > > >> > > > >> >
> > > > > > > > >> > > > >> > --
> > > > > > > > >> > > > >> > Jason Porter
> > > > > > > > >> > > > >> > http://en.gravatar.com/lightguardjp
> > > > > > > > >> > > > >> >
> > > > > > > > >> > > > >>
> > > > > > > > >> > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > > >
> > > > > > > > >> > > >
> > > > > > > > >> > >
> > > > > > > > >> >
> > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Thomas Hug <th...@ctp-consulting.com>.
Good point, thnx - working with the injection points might do the trick.
RE demo, not sure how far I'll get the next few days (new little family
member who's currently the boss of my schedule ;) but will try to spend
some time on it.

On Mon, Mar 4, 2013 at 10:59 AM, Romain Manni-Bucau
<rm...@gmail.com>wrote:

> since you already have an extension you could "spy" delegates at startup
> too no?
>
> PS: with Jean-Louis Monteiro we'll do a JUG this month on CDI/DS/TomEE (not
> in detail but just an overview). This kind of extension would be great to
> show
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog: **http://rmannibucau.wordpress.com/*<
> http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
> 2013/3/4 Thomas Hug <th...@ctp-consulting.com>
>
> > Agree, having this working in SE envs would be nice.
> >
> > This is the data container which is related to the currently executed
> query
> > [1]. The main reason for making this request scope injectable was the
> usage
> > for base DAOs or if a client wants to add its own DAO code - here [2] the
> > call gets delegated to a concrete implementation.
> >
> > Passing the query context data into CDI Query controlled code is not
> really
> > a problem, for client code having something injectable seemed to me the
> > most elegant solution. But there are certainly other variants in order to
> > get rid of the request scope (e.g. having a contract on the
> > DelegateQueryHandler interface - open for other suggestions).
> >
> > [1]
> >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/main/java/com/ctp/cdi/query/handler/CdiQueryInvocationContext.java
> > [2]
> >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/main/java/com/ctp/cdi/query/builder/DelegateQueryBuilder.java
> >
> > On Sun, Mar 3, 2013 at 1:41 PM, Romain Manni-Bucau <
> rmannibucau@gmail.com
> > >wrote:
> >
> > > Basically if the query logic could be scope agnostic it would be
> perfect
> > > for me. Parameters were fine and matched the coomon need. I m not sure
> i
> > > get what is blocking. Can you detail it a bit please?
> > > Le 3 mars 2013 13:09, "Thomas Hug" <th...@ctp-consulting.com> a
> > > écrit :
> > >
> > > > Aha got you. Yes QueryHandler can be moved to application scope.
> > > >
> > > > The other request scoped component ist the CdiQueryInvocationContext.
> > > Here
> > > > we store a bunch of data which is related to the current query
> > > (parameters,
> > > > query string etc). Originally this was passed as parameter, but got
> > > > injectable for the extension mechanism [1]. Currently on holidays
> > (sorry
> > > > the response delays) so not much time to look into it but happy to
> take
> > > > suggestions :)
> > > >
> > > > [1]
> > > >
> > > >
> > >
> >
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> > > >
> > > > On Fri, Mar 1, 2013 at 8:18 PM, Romain Manni-Bucau <
> > > rmannibucau@gmail.com
> > > > >wrote:
> > > >
> > > > > Hmm,
> > > > >
> > > > > Wonder if the scope couldnt be application one. Request sounds too
> > much
> > > > web
> > > > > to be usable/generic
> > > > > Le 1 mars 2013 19:02, "Thomas Hug" <th...@ctp-consulting.com>
> a
> > > > > écrit :
> > > > >
> > > > > > Fine for me - planned to create a branch with all the
> experimental
> > > APIs
> > > > > > cleared out as an import proposal.
> > > > > >
> > > > > > RE scope, the InvocationHandlers are validated to be normal
> scoped
> > > [1],
> > > > > so
> > > > > > that seemed to me the most appropriate choice - any other
> > > suggestions?
> > > > > >
> > > > > > [1]
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > > > > >
> > > > > >
> > > > > > On Wed, Feb 27, 2013 at 1:15 PM, Romain Manni-Bucau
> > > > > > <rm...@gmail.com>wrote:
> > > > > >
> > > > > > > Hi,
> > > > > > >
> > > > > > > some news of it?
> > > > > > >
> > > > > > > i think it is time to import at least a first version, isn't
> it?
> > > > > > >
> > > > > > > Just a note on current code, i saw QueryHandler (and some other
> > > > beans)
> > > > > > has
> > > > > > > a request scope. Wonder if such a scope means something for a
> > > generic
> > > > > > (not
> > > > > > > web) lib.
> > > > > > >
> > > > > > > wdyt?
> > > > > > >
> > > > > > > *Romain Manni-Bucau*
> > > > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > *Github: https://github.com/rmannibucau*
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > 2013/2/20 Romain Manni-Bucau <rm...@gmail.com>
> > > > > > >
> > > > > > > > guy you rocks!
> > > > > > > >
> > > > > > > > effectively i missed it when i looked.
> > > > > > > >
> > > > > > > > *Romain Manni-Bucau*
> > > > > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > http://rmannibucau.wordpress.com/>
> > > > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > > *Github: https://github.com/rmannibucau*
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> > > > > > > >
> > > > > > > >> Thnx Romain. If with proxy stuff you refer to the DS
> > > > > > > >> InvocationHandlerBinding, that's already integrated :)
> > > > > > > >>
> > > > > > > >> RE pagination, it's maybe not that obvious, but there's more
> > > > > advanced
> > > > > > > >> support in QueryResult [1][2], which is more of a fluent API
> > > > > approach,
> > > > > > > but
> > > > > > > >> should behave similar to a PageRequest (the query execution
> is
> > > > > delayed
> > > > > > > >> until the getResult() methods on QueryResult is called).
> Hope
> > > that
> > > > > > fits
> > > > > > > to
> > > > > > > >> what you had in mind.
> > > > > > > >>
> > > > > > > >> [1]
> > > > > > > >>
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > > > > > > >> [2]
> > > > > > > >>
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > > > > > > >>
> > > > > > > >> On Wed, Feb 20, 2013 at 10:04 PM, Romain Manni-Bucau
> > > > > > > >> <rm...@gmail.com>wrote:
> > > > > > > >>
> > > > > > > >> > Hi Thomas,
> > > > > > > >> >
> > > > > > > >> > importing proxy stuff would be the first great stuff.
> > > > > > > >> >
> > > > > > > >> > i'd like to see some pagination API (like PageRequest etc
> in
> > > > > spring
> > > > > > > >> world)
> > > > > > > >> > which are more user friendly that @FirstResult and
> > > @MaxResult).
> > > > > > > >> >
> > > > > > > >> > wdyt?
> > > > > > > >> >
> > > > > > > >> > *Romain Manni-Bucau*
> > > > > > > >> > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > > > >> > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > >> > http://rmannibucau.wordpress.com/>
> > > > > > > >> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > > >> > *Github: https://github.com/rmannibucau*
> > > > > > > >> >
> > > > > > > >> >
> > > > > > > >> >
> > > > > > > >> > 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> > > > > > > >> >
> > > > > > > >> > > CDI Query has now a completely Solder-free POM. Feel
> free
> > to
> > > > > drop
> > > > > > > >> > comments
> > > > > > > >> > > on the API - some parts might actually be fully excluded
> > > (e.g.
> > > > > > home
> > > > > > > >> and
> > > > > > > >> > > critera APIs).
> > > > > > > >> > >
> > > > > > > >> > > On Tue, Feb 12, 2013 at 10:00 PM, Mark Struberg <
> > > > > > struberg@yahoo.de>
> > > > > > > >> > wrote:
> > > > > > > >> > >
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > > Thanks Thomas, great news!
> > > > > > > >> > > >
> > > > > > > >> > > > LieGrue,
> > > > > > > >> > > > strub
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > > >________________________________
> > > > > > > >> > > > > From: Thomas Hug <th...@ctp-consulting.com>
> > > > > > > >> > > > >To: "deltaspike-dev@incubator.apache.org" <
> > > > > > > >> > > > deltaspike-dev@incubator.apache.org>
> > > > > > > >> > > > >Sent: Tuesday, February 12, 2013 4:10 PM
> > > > > > > >> > > > >Subject: Re: cdi-query, no news?
> > > > > > > >> > > > >
> > > > > > > >> > > > >FYI, I've started to "de-solderize" CDI Query and
> move
> > > > things
> > > > > > to
> > > > > > > >> > depend
> > > > > > > >> > > on
> > > > > > > >> > > > >DS Core [1]:
> > > > > > > >> > > > >
> https://github.com/ctpconsulting/query/tree/deltaspike
> > > > > > > >> > > > >
> > > > > > > >> > > > >Todos:
> > > > > > > >> > > > >[x] Replace ServiceHandler
> > > > > > > >> > > > >[_] Include Property utils
> > > > > > > >> > > > >[_] Replace JBoss Logging
> > > > > > > >> > > > >
> > > > > > > >> > > > >Any feedback welcome.
> > > > > > > >> > > > >
> > > > > > > >> > > > >[1] including this modification
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > > > > > >> > > > >
> > > > > > > >> > > > >On Mon, Feb 11, 2013 at 6:01 PM, Romain Manni-Bucau
> > > > > > > >> > > > ><rm...@gmail.com>wrote:
> > > > > > > >> > > > >
> > > > > > > >> > > > >> a review of the API i guess
> > > > > > > >> > > > >>
> > > > > > > >> > > > >> what is missing today is probably the pagination
> > > helpers
> > > > > > > >> > (PageRequest
> > > > > > > >> > > > for
> > > > > > > >> > > > >> instance)
> > > > > > > >> > > > >>
> > > > > > > >> > > > >> but technically all is fine IMO
> > > > > > > >> > > > >>
> > > > > > > >> > > > >> *Romain Manni-Bucau*
> > > > > > > >> > > > >> *Twitter: @rmannibucau <
> > > https://twitter.com/rmannibucau
> > > > >*
> > > > > > > >> > > > >> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > > > >> > > > >> http://rmannibucau.wordpress.com/>
> > > > > > > >> > > > >> *LinkedIn: **
> http://fr.linkedin.com/in/rmannibucau*
> > > > > > > >> > > > >> *Github: https://github.com/rmannibucau*
> > > > > > > >> > > > >>
> > > > > > > >> > > > >>
> > > > > > > >> > > > >>
> > > > > > > >> > > > >> 2013/2/11 Jason Porter <li...@gmail.com>
> > > > > > > >> > > > >>
> > > > > > > >> > > > >> > I know I'm playing the necromancer, but please
> > > forgive
> > > > > me.
> > > > > > We
> > > > > > > >> have
> > > > > > > >> > > > >> > InvocationHandler, which looks like it would work
> > as
> > > a
> > > > > > > >> > > ServiceHandler
> > > > > > > >> > > > >> > substitute. What else is needed to get CDI Query
> > into
> > > > > > > >> DeltaSpike?
> > > > > > > >> > > > >> >
> > > > > > > >> > > > >> >
> > > > > > > >> > > > >> > On Sun, Nov 18, 2012 at 12:35 PM, Romain
> > Manni-Bucau
> > > > > > > >> > > > >> > <rm...@gmail.com>wrote:
> > > > > > > >> > > > >> >
> > > > > > > >> > > > >> > > +1, it is a must have for cdi world
> > > > > > > >> > > > >> > > Le 18 nov. 2012 20:04, "john.d.ament" <
> > > > > > > >> john.d.ament@gmail.com>
> > > > > > > >> > a
> > > > > > > >> > > > >> écrit :
> > > > > > > >> > > > >> > >
> > > > > > > >> > > > >> > > > RE ServiceHandler - I was one of those who
> > > > previously
> > > > > > > >> > suggested
> > > > > > > >> > > > >> > bringing
> > > > > > > >> > > > >> > > it
> > > > > > > >> > > > >> > > > over to DeltaSpike, you can see
> DELTASPIKE-113
> > > and
> > > > > find
> > > > > > > the
> > > > > > > >> > > thread
> > > > > > > >> > > > >> > about
> > > > > > > >> > > > >> > > it
> > > > > > > >> > > > >> > > > from April of this year.  At the time, I was
> > in a
> > > > > > > position
> > > > > > > >> > > where I
> > > > > > > >> > > > >> > > couldn't
> > > > > > > >> > > > >> > > > spend much time on open source contribution.
> > >  I've
> > > > > > > recently
> > > > > > > >> > > > changed
> > > > > > > >> > > > >> > jobs,
> > > > > > > >> > > > >> > > > to
> > > > > > > >> > > > >> > > > something that's going to help me spend some
> > more
> > > > > time
> > > > > > > with
> > > > > > > >> > the
> > > > > > > >> > > > open
> > > > > > > >> > > > >> > > source
> > > > > > > >> > > > >> > > > community, and believe I can pick it back up
> if
> > > > we're
> > > > > > > >> ready.
> > > > > > > >> > > > >> > > >
> > > > > > > >> > > > >> > > > If everyone's ok with it I can start a new
> > thread
> > > > for
> > > > > > 113
> > > > > > > >> or
> > > > > > > >> > > > revive
> > > > > > > >> > > > >> the
> > > > > > > >> > > > >> > > old
> > > > > > > >> > > > >> > > > thread (though it may come through with a
> large
> > > > pile
> > > > > of
> > > > > > > >> dust).
> > > > > > > >> > > > >> > > >
> > > > > > > >> > > > >> > > > Regards,
> > > > > > > >> > > > >> > > >
> > > > > > > >> > > > >> > > > John
> > > > > > > >> > > > >> > > >
> > > > > > > >> > > > >> > > >
> > > > > > > >> > > > >> > > >
> > > > > > > >> > > > >> > > > --
> > > > > > > >> > > > >> > > > View this message in context:
> > > > > > > >> > > > >> > > >
> > > > > > > >> > > > >> > >
> > > > > > > >> > > > >> >
> > > > > > > >> > > > >>
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > > > > >> > > > >> > > > Sent from the Apache DeltaSpike Incubator
> > > > Discussions
> > > > > > > >> mailing
> > > > > > > >> > > list
> > > > > > > >> > > > >> > > archive
> > > > > > > >> > > > >> > > > at Nabble.com.
> > > > > > > >> > > > >> > > >
> > > > > > > >> > > > >> > >
> > > > > > > >> > > > >> >
> > > > > > > >> > > > >> >
> > > > > > > >> > > > >> >
> > > > > > > >> > > > >> > --
> > > > > > > >> > > > >> > Jason Porter
> > > > > > > >> > > > >> > http://en.gravatar.com/lightguardjp
> > > > > > > >> > > > >> >
> > > > > > > >> > > > >>
> > > > > > > >> > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Thomas Hug <th...@ctp-consulting.com>.
Agree, having this working in SE envs would be nice.

This is the data container which is related to the currently executed query
[1]. The main reason for making this request scope injectable was the usage
for base DAOs or if a client wants to add its own DAO code - here [2] the
call gets delegated to a concrete implementation.

Passing the query context data into CDI Query controlled code is not really
a problem, for client code having something injectable seemed to me the
most elegant solution. But there are certainly other variants in order to
get rid of the request scope (e.g. having a contract on the
DelegateQueryHandler interface - open for other suggestions).

[1]
https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/main/java/com/ctp/cdi/query/handler/CdiQueryInvocationContext.java
[2]
https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/main/java/com/ctp/cdi/query/builder/DelegateQueryBuilder.java

On Sun, Mar 3, 2013 at 1:41 PM, Romain Manni-Bucau <rm...@gmail.com>wrote:

> Basically if the query logic could be scope agnostic it would be perfect
> for me. Parameters were fine and matched the coomon need. I m not sure i
> get what is blocking. Can you detail it a bit please?
> Le 3 mars 2013 13:09, "Thomas Hug" <th...@ctp-consulting.com> a
> écrit :
>
> > Aha got you. Yes QueryHandler can be moved to application scope.
> >
> > The other request scoped component ist the CdiQueryInvocationContext.
> Here
> > we store a bunch of data which is related to the current query
> (parameters,
> > query string etc). Originally this was passed as parameter, but got
> > injectable for the extension mechanism [1]. Currently on holidays (sorry
> > the response delays) so not much time to look into it but happy to take
> > suggestions :)
> >
> > [1]
> >
> >
> http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates
> >
> > On Fri, Mar 1, 2013 at 8:18 PM, Romain Manni-Bucau <
> rmannibucau@gmail.com
> > >wrote:
> >
> > > Hmm,
> > >
> > > Wonder if the scope couldnt be application one. Request sounds too much
> > web
> > > to be usable/generic
> > > Le 1 mars 2013 19:02, "Thomas Hug" <th...@ctp-consulting.com> a
> > > écrit :
> > >
> > > > Fine for me - planned to create a branch with all the experimental
> APIs
> > > > cleared out as an import proposal.
> > > >
> > > > RE scope, the InvocationHandlers are validated to be normal scoped
> [1],
> > > so
> > > > that seemed to me the most appropriate choice - any other
> suggestions?
> > > >
> > > > [1]
> > > >
> > > >
> > >
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> > > >
> > > >
> > > > On Wed, Feb 27, 2013 at 1:15 PM, Romain Manni-Bucau
> > > > <rm...@gmail.com>wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > some news of it?
> > > > >
> > > > > i think it is time to import at least a first version, isn't it?
> > > > >
> > > > > Just a note on current code, i saw QueryHandler (and some other
> > beans)
> > > > has
> > > > > a request scope. Wonder if such a scope means something for a
> generic
> > > > (not
> > > > > web) lib.
> > > > >
> > > > > wdyt?
> > > > >
> > > > > *Romain Manni-Bucau*
> > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > http://rmannibucau.wordpress.com/>
> > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > *Github: https://github.com/rmannibucau*
> > > > >
> > > > >
> > > > >
> > > > > 2013/2/20 Romain Manni-Bucau <rm...@gmail.com>
> > > > >
> > > > > > guy you rocks!
> > > > > >
> > > > > > effectively i missed it when i looked.
> > > > > >
> > > > > > *Romain Manni-Bucau*
> > > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > http://rmannibucau.wordpress.com/>
> > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > > *Github: https://github.com/rmannibucau*
> > > > > >
> > > > > >
> > > > > >
> > > > > > 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> > > > > >
> > > > > >> Thnx Romain. If with proxy stuff you refer to the DS
> > > > > >> InvocationHandlerBinding, that's already integrated :)
> > > > > >>
> > > > > >> RE pagination, it's maybe not that obvious, but there's more
> > > advanced
> > > > > >> support in QueryResult [1][2], which is more of a fluent API
> > > approach,
> > > > > but
> > > > > >> should behave similar to a PageRequest (the query execution is
> > > delayed
> > > > > >> until the getResult() methods on QueryResult is called). Hope
> that
> > > > fits
> > > > > to
> > > > > >> what you had in mind.
> > > > > >>
> > > > > >> [1]
> > > > > >>
> > > > > >>
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > > > > >> [2]
> > > > > >>
> > > > > >>
> > > > >
> > > >
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > > > > >>
> > > > > >> On Wed, Feb 20, 2013 at 10:04 PM, Romain Manni-Bucau
> > > > > >> <rm...@gmail.com>wrote:
> > > > > >>
> > > > > >> > Hi Thomas,
> > > > > >> >
> > > > > >> > importing proxy stuff would be the first great stuff.
> > > > > >> >
> > > > > >> > i'd like to see some pagination API (like PageRequest etc in
> > > spring
> > > > > >> world)
> > > > > >> > which are more user friendly that @FirstResult and
> @MaxResult).
> > > > > >> >
> > > > > >> > wdyt?
> > > > > >> >
> > > > > >> > *Romain Manni-Bucau*
> > > > > >> > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > > >> > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > >> > http://rmannibucau.wordpress.com/>
> > > > > >> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > >> > *Github: https://github.com/rmannibucau*
> > > > > >> >
> > > > > >> >
> > > > > >> >
> > > > > >> > 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> > > > > >> >
> > > > > >> > > CDI Query has now a completely Solder-free POM. Feel free to
> > > drop
> > > > > >> > comments
> > > > > >> > > on the API - some parts might actually be fully excluded
> (e.g.
> > > > home
> > > > > >> and
> > > > > >> > > critera APIs).
> > > > > >> > >
> > > > > >> > > On Tue, Feb 12, 2013 at 10:00 PM, Mark Struberg <
> > > > struberg@yahoo.de>
> > > > > >> > wrote:
> > > > > >> > >
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > Thanks Thomas, great news!
> > > > > >> > > >
> > > > > >> > > > LieGrue,
> > > > > >> > > > strub
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > >________________________________
> > > > > >> > > > > From: Thomas Hug <th...@ctp-consulting.com>
> > > > > >> > > > >To: "deltaspike-dev@incubator.apache.org" <
> > > > > >> > > > deltaspike-dev@incubator.apache.org>
> > > > > >> > > > >Sent: Tuesday, February 12, 2013 4:10 PM
> > > > > >> > > > >Subject: Re: cdi-query, no news?
> > > > > >> > > > >
> > > > > >> > > > >FYI, I've started to "de-solderize" CDI Query and move
> > things
> > > > to
> > > > > >> > depend
> > > > > >> > > on
> > > > > >> > > > >DS Core [1]:
> > > > > >> > > > >https://github.com/ctpconsulting/query/tree/deltaspike
> > > > > >> > > > >
> > > > > >> > > > >Todos:
> > > > > >> > > > >[x] Replace ServiceHandler
> > > > > >> > > > >[_] Include Property utils
> > > > > >> > > > >[_] Replace JBoss Logging
> > > > > >> > > > >
> > > > > >> > > > >Any feedback welcome.
> > > > > >> > > > >
> > > > > >> > > > >[1] including this modification
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > > >
> > > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > > > >> > > > >
> > > > > >> > > > >On Mon, Feb 11, 2013 at 6:01 PM, Romain Manni-Bucau
> > > > > >> > > > ><rm...@gmail.com>wrote:
> > > > > >> > > > >
> > > > > >> > > > >> a review of the API i guess
> > > > > >> > > > >>
> > > > > >> > > > >> what is missing today is probably the pagination
> helpers
> > > > > >> > (PageRequest
> > > > > >> > > > for
> > > > > >> > > > >> instance)
> > > > > >> > > > >>
> > > > > >> > > > >> but technically all is fine IMO
> > > > > >> > > > >>
> > > > > >> > > > >> *Romain Manni-Bucau*
> > > > > >> > > > >> *Twitter: @rmannibucau <
> https://twitter.com/rmannibucau
> > >*
> > > > > >> > > > >> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > > >> > > > >> http://rmannibucau.wordpress.com/>
> > > > > >> > > > >> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > > >> > > > >> *Github: https://github.com/rmannibucau*
> > > > > >> > > > >>
> > > > > >> > > > >>
> > > > > >> > > > >>
> > > > > >> > > > >> 2013/2/11 Jason Porter <li...@gmail.com>
> > > > > >> > > > >>
> > > > > >> > > > >> > I know I'm playing the necromancer, but please
> forgive
> > > me.
> > > > We
> > > > > >> have
> > > > > >> > > > >> > InvocationHandler, which looks like it would work as
> a
> > > > > >> > > ServiceHandler
> > > > > >> > > > >> > substitute. What else is needed to get CDI Query into
> > > > > >> DeltaSpike?
> > > > > >> > > > >> >
> > > > > >> > > > >> >
> > > > > >> > > > >> > On Sun, Nov 18, 2012 at 12:35 PM, Romain Manni-Bucau
> > > > > >> > > > >> > <rm...@gmail.com>wrote:
> > > > > >> > > > >> >
> > > > > >> > > > >> > > +1, it is a must have for cdi world
> > > > > >> > > > >> > > Le 18 nov. 2012 20:04, "john.d.ament" <
> > > > > >> john.d.ament@gmail.com>
> > > > > >> > a
> > > > > >> > > > >> écrit :
> > > > > >> > > > >> > >
> > > > > >> > > > >> > > > RE ServiceHandler - I was one of those who
> > previously
> > > > > >> > suggested
> > > > > >> > > > >> > bringing
> > > > > >> > > > >> > > it
> > > > > >> > > > >> > > > over to DeltaSpike, you can see DELTASPIKE-113
> and
> > > find
> > > > > the
> > > > > >> > > thread
> > > > > >> > > > >> > about
> > > > > >> > > > >> > > it
> > > > > >> > > > >> > > > from April of this year.  At the time, I was in a
> > > > > position
> > > > > >> > > where I
> > > > > >> > > > >> > > couldn't
> > > > > >> > > > >> > > > spend much time on open source contribution.
>  I've
> > > > > recently
> > > > > >> > > > changed
> > > > > >> > > > >> > jobs,
> > > > > >> > > > >> > > > to
> > > > > >> > > > >> > > > something that's going to help me spend some more
> > > time
> > > > > with
> > > > > >> > the
> > > > > >> > > > open
> > > > > >> > > > >> > > source
> > > > > >> > > > >> > > > community, and believe I can pick it back up if
> > we're
> > > > > >> ready.
> > > > > >> > > > >> > > >
> > > > > >> > > > >> > > > If everyone's ok with it I can start a new thread
> > for
> > > > 113
> > > > > >> or
> > > > > >> > > > revive
> > > > > >> > > > >> the
> > > > > >> > > > >> > > old
> > > > > >> > > > >> > > > thread (though it may come through with a large
> > pile
> > > of
> > > > > >> dust).
> > > > > >> > > > >> > > >
> > > > > >> > > > >> > > > Regards,
> > > > > >> > > > >> > > >
> > > > > >> > > > >> > > > John
> > > > > >> > > > >> > > >
> > > > > >> > > > >> > > >
> > > > > >> > > > >> > > >
> > > > > >> > > > >> > > > --
> > > > > >> > > > >> > > > View this message in context:
> > > > > >> > > > >> > > >
> > > > > >> > > > >> > >
> > > > > >> > > > >> >
> > > > > >> > > > >>
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > > >
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > > >> > > > >> > > > Sent from the Apache DeltaSpike Incubator
> > Discussions
> > > > > >> mailing
> > > > > >> > > list
> > > > > >> > > > >> > > archive
> > > > > >> > > > >> > > > at Nabble.com.
> > > > > >> > > > >> > > >
> > > > > >> > > > >> > >
> > > > > >> > > > >> >
> > > > > >> > > > >> >
> > > > > >> > > > >> >
> > > > > >> > > > >> > --
> > > > > >> > > > >> > Jason Porter
> > > > > >> > > > >> > http://en.gravatar.com/lightguardjp
> > > > > >> > > > >> >
> > > > > >> > > > >>
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Thomas Hug <th...@ctp-consulting.com>.
Aha got you. Yes QueryHandler can be moved to application scope.

The other request scoped component ist the CdiQueryInvocationContext. Here
we store a bunch of data which is related to the current query (parameters,
query string etc). Originally this was passed as parameter, but got
injectable for the extension mechanism [1]. Currently on holidays (sorry
the response delays) so not much time to look into it but happy to take
suggestions :)

[1]
http://ctpconsulting.github.com/query/1.0.0.Alpha5/extensions.html#extension-delegates

On Fri, Mar 1, 2013 at 8:18 PM, Romain Manni-Bucau <rm...@gmail.com>wrote:

> Hmm,
>
> Wonder if the scope couldnt be application one. Request sounds too much web
> to be usable/generic
> Le 1 mars 2013 19:02, "Thomas Hug" <th...@ctp-consulting.com> a
> écrit :
>
> > Fine for me - planned to create a branch with all the experimental APIs
> > cleared out as an import proposal.
> >
> > RE scope, the InvocationHandlers are validated to be normal scoped [1],
> so
> > that seemed to me the most appropriate choice - any other suggestions?
> >
> > [1]
> >
> >
> https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198
> >
> >
> > On Wed, Feb 27, 2013 at 1:15 PM, Romain Manni-Bucau
> > <rm...@gmail.com>wrote:
> >
> > > Hi,
> > >
> > > some news of it?
> > >
> > > i think it is time to import at least a first version, isn't it?
> > >
> > > Just a note on current code, i saw QueryHandler (and some other beans)
> > has
> > > a request scope. Wonder if such a scope means something for a generic
> > (not
> > > web) lib.
> > >
> > > wdyt?
> > >
> > > *Romain Manni-Bucau*
> > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > http://rmannibucau.wordpress.com/>
> > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > *Github: https://github.com/rmannibucau*
> > >
> > >
> > >
> > > 2013/2/20 Romain Manni-Bucau <rm...@gmail.com>
> > >
> > > > guy you rocks!
> > > >
> > > > effectively i missed it when i looked.
> > > >
> > > > *Romain Manni-Bucau*
> > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > http://rmannibucau.wordpress.com/>
> > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > *Github: https://github.com/rmannibucau*
> > > >
> > > >
> > > >
> > > > 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> > > >
> > > >> Thnx Romain. If with proxy stuff you refer to the DS
> > > >> InvocationHandlerBinding, that's already integrated :)
> > > >>
> > > >> RE pagination, it's maybe not that obvious, but there's more
> advanced
> > > >> support in QueryResult [1][2], which is more of a fluent API
> approach,
> > > but
> > > >> should behave similar to a PageRequest (the query execution is
> delayed
> > > >> until the getResult() methods on QueryResult is called). Hope that
> > fits
> > > to
> > > >> what you had in mind.
> > > >>
> > > >> [1]
> > > >>
> > > >>
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> > > >> [2]
> > > >>
> > > >>
> > >
> >
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> > > >>
> > > >> On Wed, Feb 20, 2013 at 10:04 PM, Romain Manni-Bucau
> > > >> <rm...@gmail.com>wrote:
> > > >>
> > > >> > Hi Thomas,
> > > >> >
> > > >> > importing proxy stuff would be the first great stuff.
> > > >> >
> > > >> > i'd like to see some pagination API (like PageRequest etc in
> spring
> > > >> world)
> > > >> > which are more user friendly that @FirstResult and @MaxResult).
> > > >> >
> > > >> > wdyt?
> > > >> >
> > > >> > *Romain Manni-Bucau*
> > > >> > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > >> > *Blog: **http://rmannibucau.wordpress.com/*<
> > > >> > http://rmannibucau.wordpress.com/>
> > > >> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > >> > *Github: https://github.com/rmannibucau*
> > > >> >
> > > >> >
> > > >> >
> > > >> > 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> > > >> >
> > > >> > > CDI Query has now a completely Solder-free POM. Feel free to
> drop
> > > >> > comments
> > > >> > > on the API - some parts might actually be fully excluded (e.g.
> > home
> > > >> and
> > > >> > > critera APIs).
> > > >> > >
> > > >> > > On Tue, Feb 12, 2013 at 10:00 PM, Mark Struberg <
> > struberg@yahoo.de>
> > > >> > wrote:
> > > >> > >
> > > >> > > >
> > > >> > > >
> > > >> > > > Thanks Thomas, great news!
> > > >> > > >
> > > >> > > > LieGrue,
> > > >> > > > strub
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > > > >________________________________
> > > >> > > > > From: Thomas Hug <th...@ctp-consulting.com>
> > > >> > > > >To: "deltaspike-dev@incubator.apache.org" <
> > > >> > > > deltaspike-dev@incubator.apache.org>
> > > >> > > > >Sent: Tuesday, February 12, 2013 4:10 PM
> > > >> > > > >Subject: Re: cdi-query, no news?
> > > >> > > > >
> > > >> > > > >FYI, I've started to "de-solderize" CDI Query and move things
> > to
> > > >> > depend
> > > >> > > on
> > > >> > > > >DS Core [1]:
> > > >> > > > >https://github.com/ctpconsulting/query/tree/deltaspike
> > > >> > > > >
> > > >> > > > >Todos:
> > > >> > > > >[x] Replace ServiceHandler
> > > >> > > > >[_] Include Property utils
> > > >> > > > >[_] Replace JBoss Logging
> > > >> > > > >
> > > >> > > > >Any feedback welcome.
> > > >> > > > >
> > > >> > > > >[1] including this modification
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > >> > > > >
> > > >> > > > >On Mon, Feb 11, 2013 at 6:01 PM, Romain Manni-Bucau
> > > >> > > > ><rm...@gmail.com>wrote:
> > > >> > > > >
> > > >> > > > >> a review of the API i guess
> > > >> > > > >>
> > > >> > > > >> what is missing today is probably the pagination helpers
> > > >> > (PageRequest
> > > >> > > > for
> > > >> > > > >> instance)
> > > >> > > > >>
> > > >> > > > >> but technically all is fine IMO
> > > >> > > > >>
> > > >> > > > >> *Romain Manni-Bucau*
> > > >> > > > >> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > >> > > > >> *Blog: **http://rmannibucau.wordpress.com/*<
> > > >> > > > >> http://rmannibucau.wordpress.com/>
> > > >> > > > >> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > >> > > > >> *Github: https://github.com/rmannibucau*
> > > >> > > > >>
> > > >> > > > >>
> > > >> > > > >>
> > > >> > > > >> 2013/2/11 Jason Porter <li...@gmail.com>
> > > >> > > > >>
> > > >> > > > >> > I know I'm playing the necromancer, but please forgive
> me.
> > We
> > > >> have
> > > >> > > > >> > InvocationHandler, which looks like it would work as a
> > > >> > > ServiceHandler
> > > >> > > > >> > substitute. What else is needed to get CDI Query into
> > > >> DeltaSpike?
> > > >> > > > >> >
> > > >> > > > >> >
> > > >> > > > >> > On Sun, Nov 18, 2012 at 12:35 PM, Romain Manni-Bucau
> > > >> > > > >> > <rm...@gmail.com>wrote:
> > > >> > > > >> >
> > > >> > > > >> > > +1, it is a must have for cdi world
> > > >> > > > >> > > Le 18 nov. 2012 20:04, "john.d.ament" <
> > > >> john.d.ament@gmail.com>
> > > >> > a
> > > >> > > > >> écrit :
> > > >> > > > >> > >
> > > >> > > > >> > > > RE ServiceHandler - I was one of those who previously
> > > >> > suggested
> > > >> > > > >> > bringing
> > > >> > > > >> > > it
> > > >> > > > >> > > > over to DeltaSpike, you can see DELTASPIKE-113 and
> find
> > > the
> > > >> > > thread
> > > >> > > > >> > about
> > > >> > > > >> > > it
> > > >> > > > >> > > > from April of this year.  At the time, I was in a
> > > position
> > > >> > > where I
> > > >> > > > >> > > couldn't
> > > >> > > > >> > > > spend much time on open source contribution.  I've
> > > recently
> > > >> > > > changed
> > > >> > > > >> > jobs,
> > > >> > > > >> > > > to
> > > >> > > > >> > > > something that's going to help me spend some more
> time
> > > with
> > > >> > the
> > > >> > > > open
> > > >> > > > >> > > source
> > > >> > > > >> > > > community, and believe I can pick it back up if we're
> > > >> ready.
> > > >> > > > >> > > >
> > > >> > > > >> > > > If everyone's ok with it I can start a new thread for
> > 113
> > > >> or
> > > >> > > > revive
> > > >> > > > >> the
> > > >> > > > >> > > old
> > > >> > > > >> > > > thread (though it may come through with a large pile
> of
> > > >> dust).
> > > >> > > > >> > > >
> > > >> > > > >> > > > Regards,
> > > >> > > > >> > > >
> > > >> > > > >> > > > John
> > > >> > > > >> > > >
> > > >> > > > >> > > >
> > > >> > > > >> > > >
> > > >> > > > >> > > > --
> > > >> > > > >> > > > View this message in context:
> > > >> > > > >> > > >
> > > >> > > > >> > >
> > > >> > > > >> >
> > > >> > > > >>
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > >> > > > >> > > > Sent from the Apache DeltaSpike Incubator Discussions
> > > >> mailing
> > > >> > > list
> > > >> > > > >> > > archive
> > > >> > > > >> > > > at Nabble.com.
> > > >> > > > >> > > >
> > > >> > > > >> > >
> > > >> > > > >> >
> > > >> > > > >> >
> > > >> > > > >> >
> > > >> > > > >> > --
> > > >> > > > >> > Jason Porter
> > > >> > > > >> > http://en.gravatar.com/lightguardjp
> > > >> > > > >> >
> > > >> > > > >>
> > > >> > > > >
> > > >> > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> > > >
> > > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Thomas Hug <th...@ctp-consulting.com>.
Fine for me - planned to create a branch with all the experimental APIs
cleared out as an import proposal.

RE scope, the InvocationHandlers are validated to be normal scoped [1], so
that seemed to me the most appropriate choice - any other suggestions?

[1]
https://github.com/DeltaSpike/Mirror/blob/master/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/invocationhandler/InvocationHandlerBindingExtension.java#L198


On Wed, Feb 27, 2013 at 1:15 PM, Romain Manni-Bucau
<rm...@gmail.com>wrote:

> Hi,
>
> some news of it?
>
> i think it is time to import at least a first version, isn't it?
>
> Just a note on current code, i saw QueryHandler (and some other beans) has
> a request scope. Wonder if such a scope means something for a generic (not
> web) lib.
>
> wdyt?
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog: **http://rmannibucau.wordpress.com/*<
> http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
> 2013/2/20 Romain Manni-Bucau <rm...@gmail.com>
>
> > guy you rocks!
> >
> > effectively i missed it when i looked.
> >
> > *Romain Manni-Bucau*
> > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > *Blog: **http://rmannibucau.wordpress.com/*<
> http://rmannibucau.wordpress.com/>
> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > *Github: https://github.com/rmannibucau*
> >
> >
> >
> > 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> >
> >> Thnx Romain. If with proxy stuff you refer to the DS
> >> InvocationHandlerBinding, that's already integrated :)
> >>
> >> RE pagination, it's maybe not that obvious, but there's more advanced
> >> support in QueryResult [1][2], which is more of a fluent API approach,
> but
> >> should behave similar to a PageRequest (the query execution is delayed
> >> until the getResult() methods on QueryResult is called). Hope that fits
> to
> >> what you had in mind.
> >>
> >> [1]
> >>
> >>
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> >> [2]
> >>
> >>
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
> >>
> >> On Wed, Feb 20, 2013 at 10:04 PM, Romain Manni-Bucau
> >> <rm...@gmail.com>wrote:
> >>
> >> > Hi Thomas,
> >> >
> >> > importing proxy stuff would be the first great stuff.
> >> >
> >> > i'd like to see some pagination API (like PageRequest etc in spring
> >> world)
> >> > which are more user friendly that @FirstResult and @MaxResult).
> >> >
> >> > wdyt?
> >> >
> >> > *Romain Manni-Bucau*
> >> > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> >> > *Blog: **http://rmannibucau.wordpress.com/*<
> >> > http://rmannibucau.wordpress.com/>
> >> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> >> > *Github: https://github.com/rmannibucau*
> >> >
> >> >
> >> >
> >> > 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> >> >
> >> > > CDI Query has now a completely Solder-free POM. Feel free to drop
> >> > comments
> >> > > on the API - some parts might actually be fully excluded (e.g. home
> >> and
> >> > > critera APIs).
> >> > >
> >> > > On Tue, Feb 12, 2013 at 10:00 PM, Mark Struberg <st...@yahoo.de>
> >> > wrote:
> >> > >
> >> > > >
> >> > > >
> >> > > > Thanks Thomas, great news!
> >> > > >
> >> > > > LieGrue,
> >> > > > strub
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > > >________________________________
> >> > > > > From: Thomas Hug <th...@ctp-consulting.com>
> >> > > > >To: "deltaspike-dev@incubator.apache.org" <
> >> > > > deltaspike-dev@incubator.apache.org>
> >> > > > >Sent: Tuesday, February 12, 2013 4:10 PM
> >> > > > >Subject: Re: cdi-query, no news?
> >> > > > >
> >> > > > >FYI, I've started to "de-solderize" CDI Query and move things to
> >> > depend
> >> > > on
> >> > > > >DS Core [1]:
> >> > > > >https://github.com/ctpconsulting/query/tree/deltaspike
> >> > > > >
> >> > > > >Todos:
> >> > > > >[x] Replace ServiceHandler
> >> > > > >[_] Include Property utils
> >> > > > >[_] Replace JBoss Logging
> >> > > > >
> >> > > > >Any feedback welcome.
> >> > > > >
> >> > > > >[1] including this modification
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> >> > > > >
> >> > > > >On Mon, Feb 11, 2013 at 6:01 PM, Romain Manni-Bucau
> >> > > > ><rm...@gmail.com>wrote:
> >> > > > >
> >> > > > >> a review of the API i guess
> >> > > > >>
> >> > > > >> what is missing today is probably the pagination helpers
> >> > (PageRequest
> >> > > > for
> >> > > > >> instance)
> >> > > > >>
> >> > > > >> but technically all is fine IMO
> >> > > > >>
> >> > > > >> *Romain Manni-Bucau*
> >> > > > >> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> >> > > > >> *Blog: **http://rmannibucau.wordpress.com/*<
> >> > > > >> http://rmannibucau.wordpress.com/>
> >> > > > >> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> >> > > > >> *Github: https://github.com/rmannibucau*
> >> > > > >>
> >> > > > >>
> >> > > > >>
> >> > > > >> 2013/2/11 Jason Porter <li...@gmail.com>
> >> > > > >>
> >> > > > >> > I know I'm playing the necromancer, but please forgive me. We
> >> have
> >> > > > >> > InvocationHandler, which looks like it would work as a
> >> > > ServiceHandler
> >> > > > >> > substitute. What else is needed to get CDI Query into
> >> DeltaSpike?
> >> > > > >> >
> >> > > > >> >
> >> > > > >> > On Sun, Nov 18, 2012 at 12:35 PM, Romain Manni-Bucau
> >> > > > >> > <rm...@gmail.com>wrote:
> >> > > > >> >
> >> > > > >> > > +1, it is a must have for cdi world
> >> > > > >> > > Le 18 nov. 2012 20:04, "john.d.ament" <
> >> john.d.ament@gmail.com>
> >> > a
> >> > > > >> écrit :
> >> > > > >> > >
> >> > > > >> > > > RE ServiceHandler - I was one of those who previously
> >> > suggested
> >> > > > >> > bringing
> >> > > > >> > > it
> >> > > > >> > > > over to DeltaSpike, you can see DELTASPIKE-113 and find
> the
> >> > > thread
> >> > > > >> > about
> >> > > > >> > > it
> >> > > > >> > > > from April of this year.  At the time, I was in a
> position
> >> > > where I
> >> > > > >> > > couldn't
> >> > > > >> > > > spend much time on open source contribution.  I've
> recently
> >> > > > changed
> >> > > > >> > jobs,
> >> > > > >> > > > to
> >> > > > >> > > > something that's going to help me spend some more time
> with
> >> > the
> >> > > > open
> >> > > > >> > > source
> >> > > > >> > > > community, and believe I can pick it back up if we're
> >> ready.
> >> > > > >> > > >
> >> > > > >> > > > If everyone's ok with it I can start a new thread for 113
> >> or
> >> > > > revive
> >> > > > >> the
> >> > > > >> > > old
> >> > > > >> > > > thread (though it may come through with a large pile of
> >> dust).
> >> > > > >> > > >
> >> > > > >> > > > Regards,
> >> > > > >> > > >
> >> > > > >> > > > John
> >> > > > >> > > >
> >> > > > >> > > >
> >> > > > >> > > >
> >> > > > >> > > > --
> >> > > > >> > > > View this message in context:
> >> > > > >> > > >
> >> > > > >> > >
> >> > > > >> >
> >> > > > >>
> >> > > >
> >> > >
> >> >
> >>
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> >> > > > >> > > > Sent from the Apache DeltaSpike Incubator Discussions
> >> mailing
> >> > > list
> >> > > > >> > > archive
> >> > > > >> > > > at Nabble.com.
> >> > > > >> > > >
> >> > > > >> > >
> >> > > > >> >
> >> > > > >> >
> >> > > > >> >
> >> > > > >> > --
> >> > > > >> > Jason Porter
> >> > > > >> > http://en.gravatar.com/lightguardjp
> >> > > > >> >
> >> > > > >>
> >> > > > >
> >> > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
> >
> >
>

Re: cdi-query, no news?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi,

some news of it?

i think it is time to import at least a first version, isn't it?

Just a note on current code, i saw QueryHandler (and some other beans) has
a request scope. Wonder if such a scope means something for a generic (not
web) lib.

wdyt?

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/2/20 Romain Manni-Bucau <rm...@gmail.com>

> guy you rocks!
>
> effectively i missed it when i looked.
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
> 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
>
>> Thnx Romain. If with proxy stuff you refer to the DS
>> InvocationHandlerBinding, that's already integrated :)
>>
>> RE pagination, it's maybe not that obvious, but there's more advanced
>> support in QueryResult [1][2], which is more of a fluent API approach, but
>> should behave similar to a PageRequest (the query execution is delayed
>> until the getResult() methods on QueryResult is called). Hope that fits to
>> what you had in mind.
>>
>> [1]
>>
>> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
>> [2]
>>
>> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
>>
>> On Wed, Feb 20, 2013 at 10:04 PM, Romain Manni-Bucau
>> <rm...@gmail.com>wrote:
>>
>> > Hi Thomas,
>> >
>> > importing proxy stuff would be the first great stuff.
>> >
>> > i'd like to see some pagination API (like PageRequest etc in spring
>> world)
>> > which are more user friendly that @FirstResult and @MaxResult).
>> >
>> > wdyt?
>> >
>> > *Romain Manni-Bucau*
>> > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
>> > *Blog: **http://rmannibucau.wordpress.com/*<
>> > http://rmannibucau.wordpress.com/>
>> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
>> > *Github: https://github.com/rmannibucau*
>> >
>> >
>> >
>> > 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
>> >
>> > > CDI Query has now a completely Solder-free POM. Feel free to drop
>> > comments
>> > > on the API - some parts might actually be fully excluded (e.g. home
>> and
>> > > critera APIs).
>> > >
>> > > On Tue, Feb 12, 2013 at 10:00 PM, Mark Struberg <st...@yahoo.de>
>> > wrote:
>> > >
>> > > >
>> > > >
>> > > > Thanks Thomas, great news!
>> > > >
>> > > > LieGrue,
>> > > > strub
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > > >________________________________
>> > > > > From: Thomas Hug <th...@ctp-consulting.com>
>> > > > >To: "deltaspike-dev@incubator.apache.org" <
>> > > > deltaspike-dev@incubator.apache.org>
>> > > > >Sent: Tuesday, February 12, 2013 4:10 PM
>> > > > >Subject: Re: cdi-query, no news?
>> > > > >
>> > > > >FYI, I've started to "de-solderize" CDI Query and move things to
>> > depend
>> > > on
>> > > > >DS Core [1]:
>> > > > >https://github.com/ctpconsulting/query/tree/deltaspike
>> > > > >
>> > > > >Todos:
>> > > > >[x] Replace ServiceHandler
>> > > > >[_] Include Property utils
>> > > > >[_] Replace JBoss Logging
>> > > > >
>> > > > >Any feedback welcome.
>> > > > >
>> > > > >[1] including this modification
>> > > > >
>> > > >
>> > >
>> >
>> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
>> > > > >
>> > > > >On Mon, Feb 11, 2013 at 6:01 PM, Romain Manni-Bucau
>> > > > ><rm...@gmail.com>wrote:
>> > > > >
>> > > > >> a review of the API i guess
>> > > > >>
>> > > > >> what is missing today is probably the pagination helpers
>> > (PageRequest
>> > > > for
>> > > > >> instance)
>> > > > >>
>> > > > >> but technically all is fine IMO
>> > > > >>
>> > > > >> *Romain Manni-Bucau*
>> > > > >> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
>> > > > >> *Blog: **http://rmannibucau.wordpress.com/*<
>> > > > >> http://rmannibucau.wordpress.com/>
>> > > > >> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
>> > > > >> *Github: https://github.com/rmannibucau*
>> > > > >>
>> > > > >>
>> > > > >>
>> > > > >> 2013/2/11 Jason Porter <li...@gmail.com>
>> > > > >>
>> > > > >> > I know I'm playing the necromancer, but please forgive me. We
>> have
>> > > > >> > InvocationHandler, which looks like it would work as a
>> > > ServiceHandler
>> > > > >> > substitute. What else is needed to get CDI Query into
>> DeltaSpike?
>> > > > >> >
>> > > > >> >
>> > > > >> > On Sun, Nov 18, 2012 at 12:35 PM, Romain Manni-Bucau
>> > > > >> > <rm...@gmail.com>wrote:
>> > > > >> >
>> > > > >> > > +1, it is a must have for cdi world
>> > > > >> > > Le 18 nov. 2012 20:04, "john.d.ament" <
>> john.d.ament@gmail.com>
>> > a
>> > > > >> écrit :
>> > > > >> > >
>> > > > >> > > > RE ServiceHandler - I was one of those who previously
>> > suggested
>> > > > >> > bringing
>> > > > >> > > it
>> > > > >> > > > over to DeltaSpike, you can see DELTASPIKE-113 and find the
>> > > thread
>> > > > >> > about
>> > > > >> > > it
>> > > > >> > > > from April of this year.  At the time, I was in a position
>> > > where I
>> > > > >> > > couldn't
>> > > > >> > > > spend much time on open source contribution.  I've recently
>> > > > changed
>> > > > >> > jobs,
>> > > > >> > > > to
>> > > > >> > > > something that's going to help me spend some more time with
>> > the
>> > > > open
>> > > > >> > > source
>> > > > >> > > > community, and believe I can pick it back up if we're
>> ready.
>> > > > >> > > >
>> > > > >> > > > If everyone's ok with it I can start a new thread for 113
>> or
>> > > > revive
>> > > > >> the
>> > > > >> > > old
>> > > > >> > > > thread (though it may come through with a large pile of
>> dust).
>> > > > >> > > >
>> > > > >> > > > Regards,
>> > > > >> > > >
>> > > > >> > > > John
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > >
>> > > > >> > > > --
>> > > > >> > > > View this message in context:
>> > > > >> > > >
>> > > > >> > >
>> > > > >> >
>> > > > >>
>> > > >
>> > >
>> >
>> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
>> > > > >> > > > Sent from the Apache DeltaSpike Incubator Discussions
>> mailing
>> > > list
>> > > > >> > > archive
>> > > > >> > > > at Nabble.com.
>> > > > >> > > >
>> > > > >> > >
>> > > > >> >
>> > > > >> >
>> > > > >> >
>> > > > >> > --
>> > > > >> > Jason Porter
>> > > > >> > http://en.gravatar.com/lightguardjp
>> > > > >> >
>> > > > >>
>> > > > >
>> > > > >
>> > > > >
>> > > >
>> > >
>> >
>>
>
>

Re: cdi-query, no news?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
guy you rocks!

effectively i missed it when i looked.

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/2/20 Thomas Hug <th...@ctp-consulting.com>

> Thnx Romain. If with proxy stuff you refer to the DS
> InvocationHandlerBinding, that's already integrated :)
>
> RE pagination, it's maybe not that obvious, but there's more advanced
> support in QueryResult [1][2], which is more of a fluent API approach, but
> should behave similar to a PageRequest (the query execution is delayed
> until the getResult() methods on QueryResult is called). Hope that fits to
> what you had in mind.
>
> [1]
>
> https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
> [2]
>
> https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java
>
> On Wed, Feb 20, 2013 at 10:04 PM, Romain Manni-Bucau
> <rm...@gmail.com>wrote:
>
> > Hi Thomas,
> >
> > importing proxy stuff would be the first great stuff.
> >
> > i'd like to see some pagination API (like PageRequest etc in spring
> world)
> > which are more user friendly that @FirstResult and @MaxResult).
> >
> > wdyt?
> >
> > *Romain Manni-Bucau*
> > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > *Blog: **http://rmannibucau.wordpress.com/*<
> > http://rmannibucau.wordpress.com/>
> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > *Github: https://github.com/rmannibucau*
> >
> >
> >
> > 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
> >
> > > CDI Query has now a completely Solder-free POM. Feel free to drop
> > comments
> > > on the API - some parts might actually be fully excluded (e.g. home and
> > > critera APIs).
> > >
> > > On Tue, Feb 12, 2013 at 10:00 PM, Mark Struberg <st...@yahoo.de>
> > wrote:
> > >
> > > >
> > > >
> > > > Thanks Thomas, great news!
> > > >
> > > > LieGrue,
> > > > strub
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > >________________________________
> > > > > From: Thomas Hug <th...@ctp-consulting.com>
> > > > >To: "deltaspike-dev@incubator.apache.org" <
> > > > deltaspike-dev@incubator.apache.org>
> > > > >Sent: Tuesday, February 12, 2013 4:10 PM
> > > > >Subject: Re: cdi-query, no news?
> > > > >
> > > > >FYI, I've started to "de-solderize" CDI Query and move things to
> > depend
> > > on
> > > > >DS Core [1]:
> > > > >https://github.com/ctpconsulting/query/tree/deltaspike
> > > > >
> > > > >Todos:
> > > > >[x] Replace ServiceHandler
> > > > >[_] Include Property utils
> > > > >[_] Replace JBoss Logging
> > > > >
> > > > >Any feedback welcome.
> > > > >
> > > > >[1] including this modification
> > > > >
> > > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > > >
> > > > >On Mon, Feb 11, 2013 at 6:01 PM, Romain Manni-Bucau
> > > > ><rm...@gmail.com>wrote:
> > > > >
> > > > >> a review of the API i guess
> > > > >>
> > > > >> what is missing today is probably the pagination helpers
> > (PageRequest
> > > > for
> > > > >> instance)
> > > > >>
> > > > >> but technically all is fine IMO
> > > > >>
> > > > >> *Romain Manni-Bucau*
> > > > >> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > >> *Blog: **http://rmannibucau.wordpress.com/*<
> > > > >> http://rmannibucau.wordpress.com/>
> > > > >> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > >> *Github: https://github.com/rmannibucau*
> > > > >>
> > > > >>
> > > > >>
> > > > >> 2013/2/11 Jason Porter <li...@gmail.com>
> > > > >>
> > > > >> > I know I'm playing the necromancer, but please forgive me. We
> have
> > > > >> > InvocationHandler, which looks like it would work as a
> > > ServiceHandler
> > > > >> > substitute. What else is needed to get CDI Query into
> DeltaSpike?
> > > > >> >
> > > > >> >
> > > > >> > On Sun, Nov 18, 2012 at 12:35 PM, Romain Manni-Bucau
> > > > >> > <rm...@gmail.com>wrote:
> > > > >> >
> > > > >> > > +1, it is a must have for cdi world
> > > > >> > > Le 18 nov. 2012 20:04, "john.d.ament" <john.d.ament@gmail.com
> >
> > a
> > > > >> écrit :
> > > > >> > >
> > > > >> > > > RE ServiceHandler - I was one of those who previously
> > suggested
> > > > >> > bringing
> > > > >> > > it
> > > > >> > > > over to DeltaSpike, you can see DELTASPIKE-113 and find the
> > > thread
> > > > >> > about
> > > > >> > > it
> > > > >> > > > from April of this year.  At the time, I was in a position
> > > where I
> > > > >> > > couldn't
> > > > >> > > > spend much time on open source contribution.  I've recently
> > > > changed
> > > > >> > jobs,
> > > > >> > > > to
> > > > >> > > > something that's going to help me spend some more time with
> > the
> > > > open
> > > > >> > > source
> > > > >> > > > community, and believe I can pick it back up if we're ready.
> > > > >> > > >
> > > > >> > > > If everyone's ok with it I can start a new thread for 113 or
> > > > revive
> > > > >> the
> > > > >> > > old
> > > > >> > > > thread (though it may come through with a large pile of
> dust).
> > > > >> > > >
> > > > >> > > > Regards,
> > > > >> > > >
> > > > >> > > > John
> > > > >> > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > --
> > > > >> > > > View this message in context:
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > >> > > > Sent from the Apache DeltaSpike Incubator Discussions
> mailing
> > > list
> > > > >> > > archive
> > > > >> > > > at Nabble.com.
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >> > --
> > > > >> > Jason Porter
> > > > >> > http://en.gravatar.com/lightguardjp
> > > > >> >
> > > > >>
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Thomas Hug <th...@ctp-consulting.com>.
Thnx Romain. If with proxy stuff you refer to the DS
InvocationHandlerBinding, that's already integrated :)

RE pagination, it's maybe not that obvious, but there's more advanced
support in QueryResult [1][2], which is more of a fluent API approach, but
should behave similar to a PageRequest (the query execution is delayed
until the getResult() methods on QueryResult is called). Hope that fits to
what you had in mind.

[1]
https://github.com/ctpconsulting/query/blob/deltaspike/api/src/main/java/com/ctp/cdi/query/QueryResult.java
[2]
https://github.com/ctpconsulting/query/blob/deltaspike/impl/src/test/java/com/ctp/cdi/query/QueryResultTest.java

On Wed, Feb 20, 2013 at 10:04 PM, Romain Manni-Bucau
<rm...@gmail.com>wrote:

> Hi Thomas,
>
> importing proxy stuff would be the first great stuff.
>
> i'd like to see some pagination API (like PageRequest etc in spring world)
> which are more user friendly that @FirstResult and @MaxResult).
>
> wdyt?
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog: **http://rmannibucau.wordpress.com/*<
> http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
> 2013/2/20 Thomas Hug <th...@ctp-consulting.com>
>
> > CDI Query has now a completely Solder-free POM. Feel free to drop
> comments
> > on the API - some parts might actually be fully excluded (e.g. home and
> > critera APIs).
> >
> > On Tue, Feb 12, 2013 at 10:00 PM, Mark Struberg <st...@yahoo.de>
> wrote:
> >
> > >
> > >
> > > Thanks Thomas, great news!
> > >
> > > LieGrue,
> > > strub
> > >
> > >
> > >
> > >
> > >
> > > >________________________________
> > > > From: Thomas Hug <th...@ctp-consulting.com>
> > > >To: "deltaspike-dev@incubator.apache.org" <
> > > deltaspike-dev@incubator.apache.org>
> > > >Sent: Tuesday, February 12, 2013 4:10 PM
> > > >Subject: Re: cdi-query, no news?
> > > >
> > > >FYI, I've started to "de-solderize" CDI Query and move things to
> depend
> > on
> > > >DS Core [1]:
> > > >https://github.com/ctpconsulting/query/tree/deltaspike
> > > >
> > > >Todos:
> > > >[x] Replace ServiceHandler
> > > >[_] Include Property utils
> > > >[_] Replace JBoss Logging
> > > >
> > > >Any feedback welcome.
> > > >
> > > >[1] including this modification
> > > >
> > >
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> > > >
> > > >On Mon, Feb 11, 2013 at 6:01 PM, Romain Manni-Bucau
> > > ><rm...@gmail.com>wrote:
> > > >
> > > >> a review of the API i guess
> > > >>
> > > >> what is missing today is probably the pagination helpers
> (PageRequest
> > > for
> > > >> instance)
> > > >>
> > > >> but technically all is fine IMO
> > > >>
> > > >> *Romain Manni-Bucau*
> > > >> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > >> *Blog: **http://rmannibucau.wordpress.com/*<
> > > >> http://rmannibucau.wordpress.com/>
> > > >> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > >> *Github: https://github.com/rmannibucau*
> > > >>
> > > >>
> > > >>
> > > >> 2013/2/11 Jason Porter <li...@gmail.com>
> > > >>
> > > >> > I know I'm playing the necromancer, but please forgive me. We have
> > > >> > InvocationHandler, which looks like it would work as a
> > ServiceHandler
> > > >> > substitute. What else is needed to get CDI Query into DeltaSpike?
> > > >> >
> > > >> >
> > > >> > On Sun, Nov 18, 2012 at 12:35 PM, Romain Manni-Bucau
> > > >> > <rm...@gmail.com>wrote:
> > > >> >
> > > >> > > +1, it is a must have for cdi world
> > > >> > > Le 18 nov. 2012 20:04, "john.d.ament" <jo...@gmail.com>
> a
> > > >> écrit :
> > > >> > >
> > > >> > > > RE ServiceHandler - I was one of those who previously
> suggested
> > > >> > bringing
> > > >> > > it
> > > >> > > > over to DeltaSpike, you can see DELTASPIKE-113 and find the
> > thread
> > > >> > about
> > > >> > > it
> > > >> > > > from April of this year.  At the time, I was in a position
> > where I
> > > >> > > couldn't
> > > >> > > > spend much time on open source contribution.  I've recently
> > > changed
> > > >> > jobs,
> > > >> > > > to
> > > >> > > > something that's going to help me spend some more time with
> the
> > > open
> > > >> > > source
> > > >> > > > community, and believe I can pick it back up if we're ready.
> > > >> > > >
> > > >> > > > If everyone's ok with it I can start a new thread for 113 or
> > > revive
> > > >> the
> > > >> > > old
> > > >> > > > thread (though it may come through with a large pile of dust).
> > > >> > > >
> > > >> > > > Regards,
> > > >> > > >
> > > >> > > > John
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > > > --
> > > >> > > > View this message in context:
> > > >> > > >
> > > >> > >
> > > >> >
> > > >>
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > >> > > > Sent from the Apache DeltaSpike Incubator Discussions mailing
> > list
> > > >> > > archive
> > > >> > > > at Nabble.com.
> > > >> > > >
> > > >> > >
> > > >> >
> > > >> >
> > > >> >
> > > >> > --
> > > >> > Jason Porter
> > > >> > http://en.gravatar.com/lightguardjp
> > > >> >
> > > >>
> > > >
> > > >
> > > >
> > >
> >
>

Re: cdi-query, no news?

Posted by Thomas Hug <th...@ctp-consulting.com>.
CDI Query has now a completely Solder-free POM. Feel free to drop comments
on the API - some parts might actually be fully excluded (e.g. home and
critera APIs).

On Tue, Feb 12, 2013 at 10:00 PM, Mark Struberg <st...@yahoo.de> wrote:

>
>
> Thanks Thomas, great news!
>
> LieGrue,
> strub
>
>
>
>
>
> >________________________________
> > From: Thomas Hug <th...@ctp-consulting.com>
> >To: "deltaspike-dev@incubator.apache.org" <
> deltaspike-dev@incubator.apache.org>
> >Sent: Tuesday, February 12, 2013 4:10 PM
> >Subject: Re: cdi-query, no news?
> >
> >FYI, I've started to "de-solderize" CDI Query and move things to depend on
> >DS Core [1]:
> >https://github.com/ctpconsulting/query/tree/deltaspike
> >
> >Todos:
> >[x] Replace ServiceHandler
> >[_] Include Property utils
> >[_] Replace JBoss Logging
> >
> >Any feedback welcome.
> >
> >[1] including this modification
> >
> https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531
> >
> >On Mon, Feb 11, 2013 at 6:01 PM, Romain Manni-Bucau
> ><rm...@gmail.com>wrote:
> >
> >> a review of the API i guess
> >>
> >> what is missing today is probably the pagination helpers (PageRequest
> for
> >> instance)
> >>
> >> but technically all is fine IMO
> >>
> >> *Romain Manni-Bucau*
> >> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> >> *Blog: **http://rmannibucau.wordpress.com/*<
> >> http://rmannibucau.wordpress.com/>
> >> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> >> *Github: https://github.com/rmannibucau*
> >>
> >>
> >>
> >> 2013/2/11 Jason Porter <li...@gmail.com>
> >>
> >> > I know I'm playing the necromancer, but please forgive me. We have
> >> > InvocationHandler, which looks like it would work as a ServiceHandler
> >> > substitute. What else is needed to get CDI Query into DeltaSpike?
> >> >
> >> >
> >> > On Sun, Nov 18, 2012 at 12:35 PM, Romain Manni-Bucau
> >> > <rm...@gmail.com>wrote:
> >> >
> >> > > +1, it is a must have for cdi world
> >> > > Le 18 nov. 2012 20:04, "john.d.ament" <jo...@gmail.com> a
> >> écrit :
> >> > >
> >> > > > RE ServiceHandler - I was one of those who previously suggested
> >> > bringing
> >> > > it
> >> > > > over to DeltaSpike, you can see DELTASPIKE-113 and find the thread
> >> > about
> >> > > it
> >> > > > from April of this year.  At the time, I was in a position where I
> >> > > couldn't
> >> > > > spend much time on open source contribution.  I've recently
> changed
> >> > jobs,
> >> > > > to
> >> > > > something that's going to help me spend some more time with the
> open
> >> > > source
> >> > > > community, and believe I can pick it back up if we're ready.
> >> > > >
> >> > > > If everyone's ok with it I can start a new thread for 113 or
> revive
> >> the
> >> > > old
> >> > > > thread (though it may come through with a large pile of dust).
> >> > > >
> >> > > > Regards,
> >> > > >
> >> > > > John
> >> > > >
> >> > > >
> >> > > >
> >> > > > --
> >> > > > View this message in context:
> >> > > >
> >> > >
> >> >
> >>
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> >> > > > Sent from the Apache DeltaSpike Incubator Discussions mailing list
> >> > > archive
> >> > > > at Nabble.com.
> >> > > >
> >> > >
> >> >
> >> >
> >> >
> >> > --
> >> > Jason Porter
> >> > http://en.gravatar.com/lightguardjp
> >> >
> >>
> >
> >
> >
>

Re: cdi-query, no news?

Posted by Thomas Hug <th...@ctp-consulting.com>.
FYI, I've started to "de-solderize" CDI Query and move things to depend on
DS Core [1]:
https://github.com/ctpconsulting/query/tree/deltaspike

Todos:
[x] Replace ServiceHandler
[_] Include Property utils
[_] Replace JBoss Logging

Any feedback welcome.

[1] including this modification
https://issues.apache.org/jira/browse/DELTASPIKE-113?focusedCommentId=13576531&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13576531

On Mon, Feb 11, 2013 at 6:01 PM, Romain Manni-Bucau
<rm...@gmail.com>wrote:

> a review of the API i guess
>
> what is missing today is probably the pagination helpers (PageRequest for
> instance)
>
> but technically all is fine IMO
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog: **http://rmannibucau.wordpress.com/*<
> http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
> 2013/2/11 Jason Porter <li...@gmail.com>
>
> > I know I'm playing the necromancer, but please forgive me. We have
> > InvocationHandler, which looks like it would work as a ServiceHandler
> > substitute. What else is needed to get CDI Query into DeltaSpike?
> >
> >
> > On Sun, Nov 18, 2012 at 12:35 PM, Romain Manni-Bucau
> > <rm...@gmail.com>wrote:
> >
> > > +1, it is a must have for cdi world
> > > Le 18 nov. 2012 20:04, "john.d.ament" <jo...@gmail.com> a
> écrit :
> > >
> > > > RE ServiceHandler - I was one of those who previously suggested
> > bringing
> > > it
> > > > over to DeltaSpike, you can see DELTASPIKE-113 and find the thread
> > about
> > > it
> > > > from April of this year.  At the time, I was in a position where I
> > > couldn't
> > > > spend much time on open source contribution.  I've recently changed
> > jobs,
> > > > to
> > > > something that's going to help me spend some more time with the open
> > > source
> > > > community, and believe I can pick it back up if we're ready.
> > > >
> > > > If everyone's ok with it I can start a new thread for 113 or revive
> the
> > > old
> > > > thread (though it may come through with a large pile of dust).
> > > >
> > > > Regards,
> > > >
> > > > John
> > > >
> > > >
> > > >
> > > > --
> > > > View this message in context:
> > > >
> > >
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > > > Sent from the Apache DeltaSpike Incubator Discussions mailing list
> > > archive
> > > > at Nabble.com.
> > > >
> > >
> >
> >
> >
> > --
> > Jason Porter
> > http://en.gravatar.com/lightguardjp
> >
>

Re: cdi-query, no news?

Posted by Jason Porter <li...@gmail.com>.
I know I'm playing the necromancer, but please forgive me. We have
InvocationHandler, which looks like it would work as a ServiceHandler
substitute. What else is needed to get CDI Query into DeltaSpike?


On Sun, Nov 18, 2012 at 12:35 PM, Romain Manni-Bucau
<rm...@gmail.com>wrote:

> +1, it is a must have for cdi world
> Le 18 nov. 2012 20:04, "john.d.ament" <jo...@gmail.com> a écrit :
>
> > RE ServiceHandler - I was one of those who previously suggested bringing
> it
> > over to DeltaSpike, you can see DELTASPIKE-113 and find the thread about
> it
> > from April of this year.  At the time, I was in a position where I
> couldn't
> > spend much time on open source contribution.  I've recently changed jobs,
> > to
> > something that's going to help me spend some more time with the open
> source
> > community, and believe I can pick it back up if we're ready.
> >
> > If everyone's ok with it I can start a new thread for 113 or revive the
> old
> > thread (though it may come through with a large pile of dust).
> >
> > Regards,
> >
> > John
> >
> >
> >
> > --
> > View this message in context:
> >
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> > Sent from the Apache DeltaSpike Incubator Discussions mailing list
> archive
> > at Nabble.com.
> >
>



-- 
Jason Porter
http://en.gravatar.com/lightguardjp

RE: cdi-query, no news?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
+1, it is a must have for cdi world
Le 18 nov. 2012 20:04, "john.d.ament" <jo...@gmail.com> a écrit :

> RE ServiceHandler - I was one of those who previously suggested bringing it
> over to DeltaSpike, you can see DELTASPIKE-113 and find the thread about it
> from April of this year.  At the time, I was in a position where I couldn't
> spend much time on open source contribution.  I've recently changed jobs,
> to
> something that's going to help me spend some more time with the open source
> community, and believe I can pick it back up if we're ready.
>
> If everyone's ok with it I can start a new thread for 113 or revive the old
> thread (though it may come through with a large pile of dust).
>
> Regards,
>
> John
>
>
>
> --
> View this message in context:
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
> Sent from the Apache DeltaSpike Incubator Discussions mailing list archive
> at Nabble.com.
>

RE: cdi-query, no news?

Posted by "john.d.ament" <jo...@gmail.com>.
RE ServiceHandler - I was one of those who previously suggested bringing it
over to DeltaSpike, you can see DELTASPIKE-113 and find the thread about it
from April of this year.  At the time, I was in a position where I couldn't
spend much time on open source contribution.  I've recently changed jobs, to
something that's going to help me spend some more time with the open source
community, and believe I can pick it back up if we're ready.

If everyone's ok with it I can start a new thread for 113 or revive the old
thread (though it may come through with a large pile of dust).

Regards,

John



--
View this message in context: http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/cdi-query-no-news-tp4654029p4654036.html
Sent from the Apache DeltaSpike Incubator Discussions mailing list archive at Nabble.com.

RE: cdi-query, no news?

Posted by Thomas Hug <Th...@ctp-consulting.com>.
Agree, I wasn't recently able to spend as much time on CDI-Query as I would have liked to... Just to be more precise, the current version has dependencies to:
- Solder ServiceHandler
- Solder property utils

Given those dependencies can be resolved, following features should be straight forward to port (referring to the documentation at http://ctpconsulting.github.com/query):
- Method expressions
- Query annotations
- Auditing
- A simple extension mechanism (not yet documented)

ServiceHandler is something very convenient to use here, but probably not impossible to get rid of. Will give this variant a try and keep you informed on the progress.

-----Original Message-----
From: Romain Manni-Bucau [mailto:rmannibucau@gmail.com] 
Sent: Donnerstag, 15. November 2012 12:03
To: deltaspike-dev@incubator.apache.org; Mark Struberg
Subject: Re: cdi-query, no news?

servicehandler from solder + https://github.com/ctpconsulting/query

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*




2012/11/15 Mark Struberg <st...@yahoo.de>

> where can this get imported from? Is this part of the servicehandler 
> from solder?
>
> LieGrue,
> strub
>
>
>
>
> ----- Original Message -----
> > From: Jason Porter <li...@gmail.com>
> > To: "deltaspike-dev@incubator.apache.org" <
> deltaspike-dev@incubator.apache.org>
> > Cc:
> > Sent: Thursday, November 15, 2012 8:59 AM
> > Subject: Re: cdi-query, no news?
> >
> > We've had a few people speak up for it but no one has done it yet. 
> > If you'd like to have it / them. Put one together and we'll review.
> >
> >
> > On Thu, Nov 15, 2012 at 12:48 AM, Romain Manni-Bucau
> > <rm...@gmail.com>wrote:
> >
> >>  Hi guys,
> >>
> >>  no news of cdi-query (and solder servicehandler)?
> >>
> >>  i'd love to get it in next release, that's one of the most 
> >> expected
> > feature
> >>  for me.
> >>
> >>  *Romain Manni-Bucau*
> >>  *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> >>  *Blog: **http://rmannibucau.wordpress.com/*<
> >>  http://rmannibucau.wordpress.com/>
> >>  *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> >>  *Github: https://github.com/rmannibucau*
> >>
> >
> >
> >
> > --
> > Jason Porter
> > http://lightguard-jp.blogspot.com
> > http://twitter.com/lightguardjp
> >
> > Software Engineer
> > Open Source Advocate
> >
> > PGP key id: 926CCFF5
> > PGP key available at: keyserver.net, pgp.mit.edu
> >
>

Re: cdi-query, no news?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
servicehandler from solder + https://github.com/ctpconsulting/query

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*




2012/11/15 Mark Struberg <st...@yahoo.de>

> where can this get imported from? Is this part of the servicehandler from
> solder?
>
> LieGrue,
> strub
>
>
>
>
> ----- Original Message -----
> > From: Jason Porter <li...@gmail.com>
> > To: "deltaspike-dev@incubator.apache.org" <
> deltaspike-dev@incubator.apache.org>
> > Cc:
> > Sent: Thursday, November 15, 2012 8:59 AM
> > Subject: Re: cdi-query, no news?
> >
> > We've had a few people speak up for it but no one has done it yet. If
> > you'd
> > like to have it / them. Put one together and we'll review.
> >
> >
> > On Thu, Nov 15, 2012 at 12:48 AM, Romain Manni-Bucau
> > <rm...@gmail.com>wrote:
> >
> >>  Hi guys,
> >>
> >>  no news of cdi-query (and solder servicehandler)?
> >>
> >>  i'd love to get it in next release, that's one of the most expected
> > feature
> >>  for me.
> >>
> >>  *Romain Manni-Bucau*
> >>  *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> >>  *Blog: **http://rmannibucau.wordpress.com/*<
> >>  http://rmannibucau.wordpress.com/>
> >>  *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> >>  *Github: https://github.com/rmannibucau*
> >>
> >
> >
> >
> > --
> > Jason Porter
> > http://lightguard-jp.blogspot.com
> > http://twitter.com/lightguardjp
> >
> > Software Engineer
> > Open Source Advocate
> >
> > PGP key id: 926CCFF5
> > PGP key available at: keyserver.net, pgp.mit.edu
> >
>

Re: cdi-query, no news?

Posted by Mark Struberg <st...@yahoo.de>.
where can this get imported from? Is this part of the servicehandler from solder?

LieGrue,
strub




----- Original Message -----
> From: Jason Porter <li...@gmail.com>
> To: "deltaspike-dev@incubator.apache.org" <de...@incubator.apache.org>
> Cc: 
> Sent: Thursday, November 15, 2012 8:59 AM
> Subject: Re: cdi-query, no news?
> 
> We've had a few people speak up for it but no one has done it yet. If 
> you'd
> like to have it / them. Put one together and we'll review.
> 
> 
> On Thu, Nov 15, 2012 at 12:48 AM, Romain Manni-Bucau
> <rm...@gmail.com>wrote:
> 
>>  Hi guys,
>> 
>>  no news of cdi-query (and solder servicehandler)?
>> 
>>  i'd love to get it in next release, that's one of the most expected 
> feature
>>  for me.
>> 
>>  *Romain Manni-Bucau*
>>  *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
>>  *Blog: **http://rmannibucau.wordpress.com/*<
>>  http://rmannibucau.wordpress.com/>
>>  *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
>>  *Github: https://github.com/rmannibucau*
>> 
> 
> 
> 
> -- 
> Jason Porter
> http://lightguard-jp.blogspot.com
> http://twitter.com/lightguardjp
> 
> Software Engineer
> Open Source Advocate
> 
> PGP key id: 926CCFF5
> PGP key available at: keyserver.net, pgp.mit.edu
> 

Re: cdi-query, no news?

Posted by Jason Porter <li...@gmail.com>.
We've had a few people speak up for it but no one has done it yet. If you'd
like to have it / them. Put one together and we'll review.


On Thu, Nov 15, 2012 at 12:48 AM, Romain Manni-Bucau
<rm...@gmail.com>wrote:

> Hi guys,
>
> no news of cdi-query (and solder servicehandler)?
>
> i'd love to get it in next release, that's one of the most expected feature
> for me.
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog: **http://rmannibucau.wordpress.com/*<
> http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>



-- 
Jason Porter
http://lightguard-jp.blogspot.com
http://twitter.com/lightguardjp

Software Engineer
Open Source Advocate

PGP key id: 926CCFF5
PGP key available at: keyserver.net, pgp.mit.edu