cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hugi Thordarson <h...@karlmenn.is>
Subject ColumnSelect and java.time (Java 8)
Date Wed, 24 May 2017 14:20:15 GMT
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( Jambalaya.newContext() );

User.creationDate() is a LocalDateTime—but the fetch will fail since the returned value
is a byte array.

Bug?

Cheers,
- hugi
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message