Re: Java 8

2017-08-17 Thread Nikita Timofeev
Hi all, Transition to Java 8 is part of this pull request: https://github.com/apache/cayenne/pull/239 Once it's merged Java 7 will be in the past. On Sun, Jul 30, 2017 at 12:24 PM, Malcolm Edgar wrote: > +1 > > regards Malcolm Edgar > > On Fri, Jul 28, 2017 at 6:36 PM, Savv

Re: Java 8

2017-07-30 Thread Malcolm Edgar
+1 regards Malcolm Edgar On Fri, Jul 28, 2017 at 6:36 PM, Savva Kolbachev wrote: > Here is my +1 as well. > > On Thu, Jul 27, 2017 at 11:16 PM, Musall, Maik > wrote: > > > +1 > > > > > Am 27.07.2017 um 14:35 schrieb Nikita Timofeev < > > ntimof...@objectstyle.com>: > > > > > > Hi all, > > > >

Re: Java 8

2017-07-28 Thread Savva Kolbachev
Here is my +1 as well. On Thu, Jul 27, 2017 at 11:16 PM, Musall, Maik wrote: > +1 > > > Am 27.07.2017 um 14:35 schrieb Nikita Timofeev < > ntimof...@objectstyle.com>: > > > > Hi all, > > > > There is discussion on dev@list [1], and I want to mention it here too. > > The question is simple is it

Re: Java 8

2017-07-27 Thread Musall, Maik
+1 > Am 27.07.2017 um 14:35 schrieb Nikita Timofeev : > > Hi all, > > There is discussion on dev@list [1], and I want to mention it here too. > The question is simple is it time to drop support for Java 7 out of > Cayenne starting from 4.1 version that is in early development now. > Thus making

Re: Java 8

2017-07-27 Thread Lon Varscsak
I support it. On Thu, Jul 27, 2017 at 5:35 AM, Nikita Timofeev wrote: > Hi all, > > There is discussion on dev@list [1], and I want to mention it here too. > The question is simple is it time to drop support for Java 7 out of > Cayenne starting from 4.1 version that is in early development now.

Java 8

2017-07-27 Thread Nikita Timofeev
Hi all, There is discussion on dev@list [1], and I want to mention it here too. The question is simple is it time to drop support for Java 7 out of Cayenne starting from 4.1 version that is in early development now. Thus making 4.0 (that is in BETA) last version with support for Java 7. Main reas

Re: ColumnSelect and java.time (Java 8)

2017-05-26 Thread Hugi Thordarson
tps://github.com/apache/cayenne/commit/eac1f31073045fec6eafef3f3fd6cb05f0201994 >>>>>> >>>>>> On Wed, May 24, 2017 at 7:03 PM, Hugi Thordarson >>>>>> wrote: >>>>>>> Thanks Nikita, at least I know I'm not d

Re: ColumnSelect and java.time (Java 8)

2017-05-26 Thread Nikita Timofeev
Thanks Nikita, at least I know I'm not doing anything wrong then :) >>>>>> >>>>>> - hugi >>>>>> >>>>>> >>>>>>> On 24 May 2017, at 14:52, Nikita Timofeev >>>>>>> wrote: >

Re: ColumnSelect and java.time (Java 8)

2017-05-26 Thread Nikita Timofeev
>>>>> wrote: >>>>>> >>>>>> Hi Hugi, >>>>>> >>>>>> Seems like custom types are broken in ColumnSelect, I see this bug in >>>>>> my test too. >>>>>> >>>>>> On Wed, May 24, 2017 at

Re: ColumnSelect and java.time (Java 8)

2017-05-26 Thread Hugi Thordarson
of 4.0.M6-SNAPSHOT. Always living on the edge >>>>>> :) >>>>>> >>>>>> - hugi >>>>>> >>>>>> >>>>>>> On 24 May 2017, at 14:31, Andrus Adamchik >>>>>>

Re: ColumnSelect and java.time (Java 8)

2017-05-26 Thread Nikita Timofeev
va8 in your app, and the problem is >>>>>> specific to just the column select query, you may also need to switch to >>>>>> M6. IIRC there were some issues in M5 with the behavior that you >>>>>> describe. >>>>>> >>

Re: ColumnSelect and java.time (Java 8)

2017-05-26 Thread Hugi Thordarson
M5 with the behavior that you describe. >>>>> >>>>> Andrus >>>>> >>>>>> On May 24, 2017, at 5:28 PM, Andrus Adamchik >>>>>> wrote: >>>>>> >>>>>> You need to add cayenne-java8 d

Re: ColumnSelect and java.time (Java 8)

2017-05-26 Thread Hugi Thordarson
gt;>>>>> >>>>>> You need to add cayenne-java8 dependency. >>>>>> >>>>>> Unfortunately the fallback behavior (treat unknown class as >>>>>> Serializable) is extremely confusing. Though I think we log some

Re: ColumnSelect and java.time (Java 8)

2017-05-26 Thread Nikita Timofeev
chik >>>>> wrote: >>>>> >>>>> You need to add cayenne-java8 dependency. >>>>> >>>>> Unfortunately the fallback behavior (treat unknown class as Serializable) >>>>> is extremely con

Re: ColumnSelect and java.time (Java 8)

2017-05-24 Thread Hugi Thordarson
Andrus Adamchik >>>> wrote: >>>> >>>> You need to add cayenne-java8 dependency. >>>> >>>> Unfortunately the fallback behavior (treat unknown class as Serializable) >>>> is extremely confusing. Though I think we log so

Re: ColumnSelect and java.time (Java 8)

2017-05-24 Thread Nikita Timofeev
h I think we log some warnings before doing >>> that. >>> >>> ANdrus >>> >>> >>>> On May 24, 2017, at 5:20 PM, Hugi Thordarson wrote: >>>> >>>> Hi all, >>>> if I try to fetch Java 8 date obj

Re: ColumnSelect and java.time (Java 8)

2017-05-24 Thread Hugi Thordarson
(treat unknown class as Serializable) is >> extremely confusing. Though I think we log some warnings before doing that. >> >> ANdrus >> >> >>> On May 24, 2017, at 5:20 PM, Hugi Thordarson wrote: >>> >>> Hi all, >>> if I t

Re: ColumnSelect and java.time (Java 8)

2017-05-24 Thread Andrus Adamchik
wrote: >> >> Hi all, >> if I try to fetch Java 8 date objects using ColumnSelect, the values get >> returned as byte arrays instead of actual objects. Example: >> >> LocalDateTime creationDate = ObjectSelect >> .query( User.clas

Re: ColumnSelect and java.time (Java 8)

2017-05-24 Thread Hugi Thordarson
that. > > ANdrus > > >> On May 24, 2017, at 5:20 PM, Hugi Thordarson wrote: >> >> Hi all, >> if I try to fetch Java 8 date objects using ColumnSelect, the values get >> returned as byte arrays instead of actual objects. Example: >> >> Loca

Re: ColumnSelect and java.time (Java 8)

2017-05-24 Thread Andrus Adamchik
try to fetch Java 8 date objects using ColumnSelect, the values get > returned as byte arrays instead of actual objects. Example: > > LocalDateTime creationDate = ObjectSelect > .query( User.class ) > .column( User.CREATION_DATE ) > .sel

ColumnSelect and java.time (Java 8)

2017-05-24 Thread Hugi Thordarson
Hi all, if I try to fetch Java 8 date objects using ColumnSelect, the values get returned as byte arrays instead of actual objects. Example: LocalDateTime creationDate = ObjectSelect .query( User.class ) .column( User.CREATION_DATE ) .selectFirst

Re: Java 8 Date/Time API and Cayenne

2015-08-07 Thread Hugi Thordarson
type (java.time.LocalDateTime) in the >> model doesn’t seem to work. >> >> Cheers, >> - hugi >> >> // Hugi Thordarson >> // http://www.loftfar.is/ <http://www.loftfar.is/> >> // s. 895-6688 >> >> >> >>> On 6. ágú. 201

Re: Java 8 Date/Time API and Cayenne

2015-08-07 Thread Savva Kolbachev
rs, > - hugi > > // Hugi Thordarson > // http://www.loftfar.is/ <http://www.loftfar.is/> > // s. 895-6688 > > > > > On 6. ágú. 2015, at 08:58, Savva Kolbachev > wrote: > > > > Hi Hugi, > > > > Cayenne already has a Java 8 module, which includ

Re: Java 8 Date/Time API and Cayenne

2015-08-06 Thread Hugi Thordarson
ágú. 2015, at 08:58, Savva Kolbachev wrote: > > Hi Hugi, > > Cayenne already has a Java 8 module, which includes all necessary extended > types for the new Java 8 Date/Time API. > So feel free to use it. > > 2015-08-06 11:17 GMT+03:00 Hugi Thordarson : > >> Hi al

Re: Java 8 Date/Time API and Cayenne

2015-08-06 Thread Savva Kolbachev
Hi Hugi, Cayenne already has a Java 8 module, which includes all necessary extended types for the new Java 8 Date/Time API. So feel free to use it. 2015-08-06 11:17 GMT+03:00 Hugi Thordarson : > Hi all. > > I’m starting new project and I’m pondering using the new Java 8 Date/Time >

Java 8 Date/Time API and Cayenne

2015-08-06 Thread Hugi Thordarson
Hi all. I’m starting new project and I’m pondering using the new Java 8 Date/Time API’s in the data model. Is anyone using them already with Cayenne, and if so, any words of warning (or words of encouragement :)? Cheers, - hugi // Hugi Thordarson // http://www.loftfar.is/ <h