Hibernate Books

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Is there any way to make OGM support LocalDateTime?
PostPosted: Sat Feb 04, 2017 6:11 am 
Newbie

Joined: Sat Feb 04, 2017 5:42 am
Posts: 1
test OGM with mongodb, and import hibernate-java8, but missing LocalDateTime gridtype, and seems there is no way to add gridtype.


Top
 Profile  
 
 Post subject: Re: Is there any way to make OGM support LocalDateTime?
PostPosted: Wed Feb 15, 2017 10:00 am 
Hibernate Team
Hibernate Team

Joined: Fri Sep 09, 2011 3:18 am
Posts: 288
Hi,
You are right, they are not supported at the moment.

The only solution I can think of right now is to extend the dialect and override the method
Code:
GridDialectType#overrideType(Type type);

so that it returns the proper Gridtype.

Sorry for the late reply.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.