cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Armstrong <siber...@gmail.com>
Subject Re: Reengineering Overwrites
Date Thu, 09 Apr 2009 05:56:11 GMT
Under to Tools menu in the modeler you can select the 'Migrate
Database Schema' command.

This will diff the db against your current current map. You can then,
per change, decide if you want to take the DB version, the Cayenne
version or ignore.

Its the best feature ever, I use it daily.

This may not be what your looking for..
John-

On Wed, Apr 8, 2009 at 8:50 PM, Aristedes Maniatis <ari@ish.com.au> wrote:
>
> On 09/04/2009, at 1:18 PM, Weddle, Anthony wrote:
>
>> We occasionally make database schema changes. We also modify some of the
>> attributes of ObjEntity entries. It looks like a reverse engineering run
>> would ignore any changes to ObjEntity entries. Is there any way to have
>> changes merged?
>
> You should make all the additions you need to the subclass. So you'll have
>
> _Artist.java
>
> and then you modify
>
> Artist.java
>
> with your overrides.
>
>
> However, you are able to specify ID generation strategy, superclasses,
> relationships and extended types in the modeler. Is there something specific
> you are wanting to do which you find missing in the modeler?
>
>
> Regards
> Ari
>
>
>
> -------------------------->
> ish
> http://www.ish.com.au
> Level 1, 30 Wilson Street Newtown 2042 Australia
> phone +61 2 9550 5001   fax +61 2 9550 4001
> GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A
>
>
>

Mime
View raw message