Good, I have noticed that before but never fixed it. Thanks. I will review
later.
/Patrik
PaloT wrote:
>
> Hi Patrik,
> we allow to make associations part of key like:
> Entity AccAccount {
> String name key;
> ClientAccount clientAccount key;
> ...
> }
>
> However unique constrain was not generated (at least for Oracle and
> PostgreSQL). I updated dbhelper.ext (please review) and now following
> is generated to DDL script:
> ALTER TABLE ACCACCOUNT
> ADD CONSTRAINT UQ_ACCACCOUNT UNIQUE (NAME, ACCOUNT)
> ;
>
> Is it OK?
>
> Pavel
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Fornax-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fornax-developer
>
>
--
View this message in context:
http://old.nabble.com/Generating-unique-key-tp28523926s17564p28524611.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.
------------------------------------------------------------------------------
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer