Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dali » Foreign Key Constraints
Foreign Key Constraints [message #434032] Thu, 28 September 2006 19:02 Go to next message
Gunnar Wagenknecht is currently offline Gunnar Wagenknecht
Messages: 452
Registered: July 2009
Location: Germany ✈ Vancouver
Senior Member

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 21:46 Go to previous message
Neil Hauge is currently offline Neil Hauge
Messages: 469
Registered: July 2009
Senior Member
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 21:46 Go to previous message
Neil Hauge is currently offline Neil Hauge
Messages: 469
Registered: July 2009
Senior Member
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
Previous Topic:Foreign Key Constraints
Next Topic:dali getting started page using Dali 0.5
Goto Forum:
  


Current Time: Sat Oct 25 14:34:29 GMT 2014

Powered by FUDForum. Page generated in 0.02272 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software