You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cayenne.apache.org by Nikita Timofeev <nt...@objectstyle.com> on 2017/10/02 09:15:03 UTC

Re: Apache Cayenne 4

Hi!

These classes where moved to org.apache.cayenne.access.translator.batch package.
They have some changes inside, but overall logic is the same.
And I'm afraid there is no documentation about this.

On Mon, Oct 2, 2017 at 11:16 AM, ab@dataloy.com <ab...@dataloy.com> wrote:
>
>
> On 2017-09-21 13:46, Andrus Adamchik <an...@objectstyle.org> wrote:
>> 4.0.B2 vote started yesterday [1]. My guess would be that after B2, there will be one more release candidate (October/November?), and then the final release (December?). Depending on the number of bugs found in B2, maybe we can even skip the RC.
>>
>> Having said that, 4.0 API is frozen, the code has been in bug-fixing mode since June and is pretty stable. So now is a good time to upgrade. (And give us feedback, so we can fix any yet unknown issues before the final).
>>
>> Andrus
>>
>> [1] https://lists.apache.org/thread.html/cdbd82bcd7936caec813cad68fa2782328016b7cd484427daacaaf99@%3Cdev.cayenne.apache.org%3E
>>
>> > On Sep 21, 2017, at 12:43 PM, ab@dataloy.com wrote:
>> >
>> > Hi!
>> >
>> > When Cayenne 4.0 will be officially released?
>> >
>> > Andrea
>
> Hi!
>
> We started to switch to 4.0, but we have problem with  the following classes that do not exist any more:
>
> - org.apache.cayenne.access.jdbc.DefaultBatchQueryBuilderFactory
> - org.apache.cayenne.access.trans.BatchQueryBuilder
> - org.apache.cayenne.access.trans.InsertBatchQueryBuilder
> - org.apache.cayenne.access.trans.UpdateBatchQueryBuilder
>
> with what they have been replaced? There is some documentation regarding such refator?
>
> Many regards,
> Andrea Biasillo
>
>>



-- 
Best regards,
Nikita Timofeev

Re: Apache Cayenne 4

Posted by "ab@dataloy.com" <ab...@dataloy.com>.

On 2017-10-02 13:27, "ab@dataloy.com"<ab...@dataloy.com> wrote: 
> 
> 
> On 2017-10-02 12:13, Andrus Adamchik <an...@objectstyle.org> wrote: 
> > Yeah, these classes are intended for internal Cayenne use. Normally an app would handle updates and inserts via objects, not via direct batch queries.
> > 
> > Andrus
> > 
> > > On Oct 2, 2017, at 12:15 PM, Nikita Timofeev <nt...@objectstyle.com> wrote:
> > > 
> > > Hi!
> > > 
> > > These classes where moved to org.apache.cayenne.access.translator.batch package.
> > > They have some changes inside, but overall logic is the same.
> > > And I'm afraid there is no documentation about this.
> > > 
> > > On Mon, Oct 2, 2017 at 11:16 AM, ab@dataloy.com <ab...@dataloy.com> wrote:
> > >> 
> > >> 
> > >> On 2017-09-21 13:46, Andrus Adamchik <an...@objectstyle.org> wrote:
> > >>> 4.0.B2 vote started yesterday [1]. My guess would be that after B2, there will be one more release candidate (October/November?), and then the final release (December?). Depending on the number of bugs found in B2, maybe we can even skip the RC.
> > >>> 
> > >>> Having said that, 4.0 API is frozen, the code has been in bug-fixing mode since June and is pretty stable. So now is a good time to upgrade. (And give us feedback, so we can fix any yet unknown issues before the final).
> > >>> 
> > >>> Andrus
> > >>> 
> > >>> [1] https://lists.apache.org/thread.html/cdbd82bcd7936caec813cad68fa2782328016b7cd484427daacaaf99@%3Cdev.cayenne.apache.org%3E
> > >>> 
> > >>>> On Sep 21, 2017, at 12:43 PM, ab@dataloy.com wrote:
> > >>>> 
> > >>>> Hi!
> > >>>> 
> > >>>> When Cayenne 4.0 will be officially released?
> > >>>> 
> > >>>> Andrea
> > >> 
> > >> Hi!
> > >> 
> > >> We started to switch to 4.0, but we have problem with  the following classes that do not exist any more:
> > >> 
> > >> - org.apache.cayenne.access.jdbc.DefaultBatchQueryBuilderFactory
> > >> - org.apache.cayenne.access.trans.BatchQueryBuilder
> > >> - org.apache.cayenne.access.trans.InsertBatchQueryBuilder
> > >> - org.apache.cayenne.access.trans.UpdateBatchQueryBuilder
> > >> 
> > >> with what they have been replaced? There is some documentation regarding such refator?
> > >> 
> > >> Many regards,
> > >> Andrea Biasillo
> > >> 
> > >>> 
> > > 
> > > 
> > > 
> > > -- 
> > > Best regards,
> > > Nikita Timofeev
> > 
> > Thank you for the answer, We will see if we can avoid them. I'll let you know
Thank you for the answer, We will see if we can avoid them. I'll let you know

Re: Apache Cayenne 4

Posted by "ab@dataloy.com" <ab...@dataloy.com>.

On 2017-10-02 12:13, Andrus Adamchik <an...@objectstyle.org> wrote: 
> Yeah, these classes are intended for internal Cayenne use. Normally an app would handle updates and inserts via objects, not via direct batch queries.
> 
> Andrus
> 
> > On Oct 2, 2017, at 12:15 PM, Nikita Timofeev <nt...@objectstyle.com> wrote:
> > 
> > Hi!
> > 
> > These classes where moved to org.apache.cayenne.access.translator.batch package.
> > They have some changes inside, but overall logic is the same.
> > And I'm afraid there is no documentation about this.
> > 
> > On Mon, Oct 2, 2017 at 11:16 AM, ab@dataloy.com <ab...@dataloy.com> wrote:
> >> 
> >> 
> >> On 2017-09-21 13:46, Andrus Adamchik <an...@objectstyle.org> wrote:
> >>> 4.0.B2 vote started yesterday [1]. My guess would be that after B2, there will be one more release candidate (October/November?), and then the final release (December?). Depending on the number of bugs found in B2, maybe we can even skip the RC.
> >>> 
> >>> Having said that, 4.0 API is frozen, the code has been in bug-fixing mode since June and is pretty stable. So now is a good time to upgrade. (And give us feedback, so we can fix any yet unknown issues before the final).
> >>> 
> >>> Andrus
> >>> 
> >>> [1] https://lists.apache.org/thread.html/cdbd82bcd7936caec813cad68fa2782328016b7cd484427daacaaf99@%3Cdev.cayenne.apache.org%3E
> >>> 
> >>>> On Sep 21, 2017, at 12:43 PM, ab@dataloy.com wrote:
> >>>> 
> >>>> Hi!
> >>>> 
> >>>> When Cayenne 4.0 will be officially released?
> >>>> 
> >>>> Andrea
> >> 
> >> Hi!
> >> 
> >> We started to switch to 4.0, but we have problem with  the following classes that do not exist any more:
> >> 
> >> - org.apache.cayenne.access.jdbc.DefaultBatchQueryBuilderFactory
> >> - org.apache.cayenne.access.trans.BatchQueryBuilder
> >> - org.apache.cayenne.access.trans.InsertBatchQueryBuilder
> >> - org.apache.cayenne.access.trans.UpdateBatchQueryBuilder
> >> 
> >> with what they have been replaced? There is some documentation regarding such refator?
> >> 
> >> Many regards,
> >> Andrea Biasillo
> >> 
> >>> 
> > 
> > 
> > 
> > -- 
> > Best regards,
> > Nikita Timofeev
> 
> Thank you for the answer, We will see if we can avoid them. I'll let you know

Re: Apache Cayenne 4

Posted by Andrus Adamchik <an...@objectstyle.org>.
Yeah, these classes are intended for internal Cayenne use. Normally an app would handle updates and inserts via objects, not via direct batch queries.

Andrus

> On Oct 2, 2017, at 12:15 PM, Nikita Timofeev <nt...@objectstyle.com> wrote:
> 
> Hi!
> 
> These classes where moved to org.apache.cayenne.access.translator.batch package.
> They have some changes inside, but overall logic is the same.
> And I'm afraid there is no documentation about this.
> 
> On Mon, Oct 2, 2017 at 11:16 AM, ab@dataloy.com <ab...@dataloy.com> wrote:
>> 
>> 
>> On 2017-09-21 13:46, Andrus Adamchik <an...@objectstyle.org> wrote:
>>> 4.0.B2 vote started yesterday [1]. My guess would be that after B2, there will be one more release candidate (October/November?), and then the final release (December?). Depending on the number of bugs found in B2, maybe we can even skip the RC.
>>> 
>>> Having said that, 4.0 API is frozen, the code has been in bug-fixing mode since June and is pretty stable. So now is a good time to upgrade. (And give us feedback, so we can fix any yet unknown issues before the final).
>>> 
>>> Andrus
>>> 
>>> [1] https://lists.apache.org/thread.html/cdbd82bcd7936caec813cad68fa2782328016b7cd484427daacaaf99@%3Cdev.cayenne.apache.org%3E
>>> 
>>>> On Sep 21, 2017, at 12:43 PM, ab@dataloy.com wrote:
>>>> 
>>>> Hi!
>>>> 
>>>> When Cayenne 4.0 will be officially released?
>>>> 
>>>> Andrea
>> 
>> Hi!
>> 
>> We started to switch to 4.0, but we have problem with  the following classes that do not exist any more:
>> 
>> - org.apache.cayenne.access.jdbc.DefaultBatchQueryBuilderFactory
>> - org.apache.cayenne.access.trans.BatchQueryBuilder
>> - org.apache.cayenne.access.trans.InsertBatchQueryBuilder
>> - org.apache.cayenne.access.trans.UpdateBatchQueryBuilder
>> 
>> with what they have been replaced? There is some documentation regarding such refator?
>> 
>> Many regards,
>> Andrea Biasillo
>> 
>>> 
> 
> 
> 
> -- 
> Best regards,
> Nikita Timofeev