[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [eclipselink-users] [EclipseLink-7155] ValidationException
- From: Eric Le Goff <elegoff@xxxxxxxxx>
- Date: Fri, 27 Apr 2012 17:48:40 +0200
- Delivered-to: firstname.lastname@example.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=l2fYgTIL/jTBaupo7wnSJJXx+NECDzte82Qcbend5Nk=; b=eU/fFfc0WZR194uZW4BYBKpl1L614qc0VkoW2AP/4CCqP29IsUHvhyPGdbbdemt2wD 8rzHulUpmjlLq9qxV3SkndoLp8I0EC5fsmwjeUy6EKKMMMXZk7A422gK9cvciJq4sRol OuwU+S2bGPHqHshtWbCJ8RLl1t8MbPdlm6eX/Mt6SHgWfQMfXUYduG/cav38zGCRaMbA +zKNVuM26PgVhRMzrWjCTYselh/Y2EiAvtfvmr9/EOlgGxKrrsG4c53wHllyLAjnf9a2 ooNh8+JKVpR2nIT01RI6dkZwYjXH0rrwXv3MhmYoPzvFaFPY7+ravXiAZjpi/iJj9ktM pc/g==
Sorry if I was not clear : only the Oracle schema can not change (legacy database).But I certainly could change the generated class and replace Âeach java.lang.Object Âfields with a java.math.BigDecimal.
But in that case, Âmy changes would then be lost each time I would regenerate my entities, wouldn't they ?Â
The reason I have several regenerations (from db tables to entities) is because the database model is large, and I'd like to use the JPA Tools wizard to gradually implement some (not all) Âentitiy relationships.
Would there be a way to not lose the field type change (from Object to BigDecimal) while still let the JPA Tools wizard help me implement the entites relationships ?
Or is this mandatory to generate all entities with their entire relationships with a single use of the JPA Tools wizard ?
ÂThanks again .
Eric Le Goff