Foreign Key Constraints [message #434032] |
Thu, 28 September 2006 15:02  |
Eclipse User |
|
|
|
Hi!
Does Dali generate foreign key constraints when generating the DDL from
entities? I enabled the check box but there are not foreign key
constraints. I expected some for the ManyToOne and OneToMany relations.
Or is that feature not implemented yet?
Cu, Gunnar
--
Gunnar Wagenknecht
gunnar@wagenknecht.org
http://wagenknecht.org/
|
|
|
Re: Foreign Key Constraints [message #434034 is a reply to message #434032] |
Thu, 28 September 2006 17:46  |
Eclipse User |
|
|
|
Hi Gunnar,
Dali does not generate foreign key constraints as this feature is indeed
not yet implemented.
I'm not sure if you had seen any of the recent discussions on DDL gen, but
we have decided to leverage the DDL generation of JPA runtime
implementations in the future. This means that we will transition our
in-house DDL generation code into an integration with a user specified JPA
complaint runtime. This won't look very different on the outside (in the
wizard), but we will use your selected JPA implementation under the covers
to generate the DDL.
With our finite resources, it seems to make a lot of sense to avoid
duplicating and maintaining this functionality if we can avoid it, while
still maintaining a similar level of functionality.
Neil
Gunnar Wagenknecht wrote:
> Hi!
> Does Dali generate foreign key constraints when generating the DDL from
> entities? I enabled the check box but there are not foreign key
> constraints. I expected some for the ManyToOne and OneToMany relations.
> Or is that feature not implemented yet?
> Cu, Gunnar
|
|
|
Re: Foreign Key Constraints [message #589252 is a reply to message #434032] |
Thu, 28 September 2006 17:46  |
Eclipse User |
|
|
|
Hi Gunnar,
Dali does not generate foreign key constraints as this feature is indeed
not yet implemented.
I'm not sure if you had seen any of the recent discussions on DDL gen, but
we have decided to leverage the DDL generation of JPA runtime
implementations in the future. This means that we will transition our
in-house DDL generation code into an integration with a user specified JPA
complaint runtime. This won't look very different on the outside (in the
wizard), but we will use your selected JPA implementation under the covers
to generate the DDL.
With our finite resources, it seems to make a lot of sense to avoid
duplicating and maintaining this functionality if we can avoid it, while
still maintaining a similar level of functionality.
Neil
Gunnar Wagenknecht wrote:
> Hi!
> Does Dali generate foreign key constraints when generating the DDL from
> entities? I enabled the check box but there are not foreign key
> constraints. I expected some for the ManyToOne and OneToMany relations.
> Or is that feature not implemented yet?
> Cu, Gunnar
|
|
|
Powered by
FUDForum. Page generated in 1.04198 seconds