Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

[JDBC] Check constraint metadata

From: Roy Smith <roy.smith(at)primetext.com>
Date: Sat Jan 05 2008 - 02:59:45 EST


Hi all

I've written an ant task which reverse engineers a postgresql database into JPA Annotated Entity classes for Hibernate/TopLink etc. So far so good.

For my next trick I want to reverse engineer null/not null and check constraints into Spring Validator classes so I can do validation in the web tier (and potentially as downloaded JavaScript in the browser). The reason I want to have validation based on check constraints is that the database will potentially be updated from other legacy applications.

I can't see any custom extensions to extract check constraints - are there any?

If I'm barking up the wrong tree, or if there is a better approach please feel free.

many thankis
Roy

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster Received on Sat Jan 5 21:40:56 2008

This archive was generated by hypermail 2.1.8 : Wed Jun 18 2008 - 23:42:04 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library