On 9. mars. 2009, at 11.34, Tore Halset wrote:

On Mar 9, 2009, at 10:27 , Andrus Adamchik wrote:

On Mar 6, 2009, at 11:27 PM, Øyvind Harboe (JIRA) wrote:

Øyvind Harboe commented on CAY-1037:

I no longer use DbGenerator. Should DbGenerator be deprecated?

The new MergerContext stuff is a million times better for my
purposes: to add new tables/columns to the database if the model
changed and the database didn't.
I am very much in favor of doing that. In practical terms it means
switching Modeler / Ant / Maven to the MergerContext, and add
support for some missing databases. Wonder if we still need to
preserve "generate all" mode.

I think the merger stuff (nice name) has some limitations related to
the order the different tokens are performed preventing us from
deprecating DbGenerator.

Within a single entity, different tokens are ordered correctly, but
there may be some problems with several dependent entities and
relationships between them. Before this is fixed/improved, I still
think we need DbGenerator. Sorry.
I think I found an easy solution to this now by adding all the
AddRelationshipToDb tokens at the end. It seem to work for my model..

- Tore.

Search Discussions

Discussion Posts


Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 4 of 4 | next ›
Discussion Overview
groupdev @
postedMar 9, '09 at 9:28a
activeApr 11, '09 at 9:00p

2 users in discussion

Andrus Adamchik: 2 posts Tore Halset: 2 posts



site design / logo © 2022 Grokbase