LWN.net Logo

Awesome!

Awesome!

Posted May 15, 2012 13:48 UTC (Tue) by Cyberax (✭ supporter ✭, #52523)
In reply to: Awesome! by ringerc
Parent article: Highlights from the PostgreSQL 9.2 beta

Adding custom types to JPA is not hard. It's just implementation-specific so you have to do it for Hibernate (EclipseLink, whatever) separately.

Basically, for the application programmer it'd look like:
>@Column(type='json')
>public JSON getColumn() {...}


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds