[hibernate-dev] Hibernate support for JSR-354?
steve at hibernate.org
Wed Mar 18 13:48:57 EDT 2015
Both Date/Time (JDK8) and Money/Currency (JDK9) support are covered as
required development items for 5.0.
On Wed, Mar 18, 2015 at 8:47 AM, Sanne Grinovero <sanne at hibernate.org>
> Hi Elliot,
> I'm not the best person to answer your more technical questions, but
> since those who are are currently on holidays I'd just like to answer
> you already and confirm it's an interesting topic.
> We had a similar discussion around Date/Time types in Java8: they also
> aren't supported yet out of the box, but we'd really like to add
> those, as JSR-354 when it will be included.
> The main problem is to split support for these into JDK8, and JDK9
> specific modules, and get the build scripts patched to deal with
> different requirements of language levels. I hope we'll do that soon,
> at that point it would be awesome to include your custom types,
> assuming you want to contribute.
> This project seems to have types for both Time and Money types:
> I have no experience with it, I just found it by following a link from
> the Joda Time project, which is known to have created good extensions
> in the past - although I think it was best known for Time types only.
> Could be nice to join forces with Jadira or at least study their
> On 16 March 2015 at 22:59, Elliot Huntington
> <elliot.huntington at gmail.com> wrote:
> > Hi,
> > It looks like JSR-354 is progressing nicely and might be included in Java
> > 9. It also looks like the SpringFramework is actively working on
> > binding and formatting support for this JSR (
> > https://jira.spring.io/browse/SPR-12209). Has there been any discussion
> > Hibernate to support an out of the box UserType to support persisting a
> > MonetaryAmount?
> > I am in the process of writing my own solution but this is the first
> > UserType I've created and I hope someone here can help me with it. I
> > a question on StackOverflow (
> > about how to customize the sql query that is generated by hibernate for a
> > custom multi-column UserType. I'm hoping someone reading this mailing
> > will be able to provide a helpful answer.
> > Thank you,
> > Elliot Huntington
> > _______________________________________________
> > hibernate-dev mailing list
> > hibernate-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/hibernate-dev
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
More information about the hibernate-dev