Talk About Network

Google





Data Bases > Pgsql Interfaces Jdbc > Check constrain...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 1843 of 2101
Post > Topic >>

Check constraint metadata

by roy.smith@[EMAIL PROTECTED] (Roy Smith) Jan 5, 2008 at 07:59 AM

Hi all

I've written an ant task which reverse engineers a postgresql database 
into JPA Annotated Entity cl***** 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 cl***** 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
 




 2 Posts in Topic:
Check constraint metadata
roy.smith@[EMAIL PROTECTE  2008-01-05 07:59:45 
Re: Check constraint metadata
books@[EMAIL PROTECTED]   2008-01-06 22:03:58 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 20:31:34 PST 2009.