Check constraint metadata

Поиск
Список
Период
Сортировка
Искать
От
Roy Smith
Тема
Check constraint metadata
Дата
Msg-id
477F38F1.2090303@primetext.com
Список
Дерево обсуждения
Check constraint metadata Roy Smith <roy.smith@primetext.com>
Re: Check constraint metadata Kris Jurka <books@ejurka.com>
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




В списке pgsql-jdbc по дате отправления
От: Oliver Jowett
Дата:
Сообщение: Re: Timestamp problem
От: Kris Jurka
Дата:
FAQ