Hibernate Books

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Support for PostgreSQL data domains
PostPosted: Wed Apr 11, 2012 4:01 am 
Newbie

Joined: Thu Jun 16, 2011 2:47 am
Posts: 1
Hi.

Does the Hibernate Tools support PostgreSQL data domains for reverse engineering?
http://www.postgresql.org/docs/8.1/static/sql-createdomain.html

Cheers


Top
 Profile  
 
 Post subject: Re: Support for PostgreSQL data domains
PostPosted: Mon Apr 16, 2012 11:09 am 
Senior
Senior

Joined: Fri May 08, 2009 12:27 pm
Posts: 168
I'm almost sure it doesn't.

Mostly because extending the set of available types on the DB side is utterly unsupported by JDBC; you'd need proprietary extensions for JDBC to even load such fields, and I am not aware of any support from the Hibernate run-time libary for this kind of extensibility (Hibernate's "user-defined types" allow extending the set of transferrable types on the Java side, not on the DB side).
Hibernate Tools, then, would not have anything to work with even if it tried.

It is not entirely impossible that the Postgres dialect does have support for that anyway. I'd expect it to be severely limited though.


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.