[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[eclipselink-users] Customize schema generation
|
- From: Julien Lamandé <jlamande@xxxxxxxxx>
- Date: Fri, 14 Dec 2012 07:43:59 +0100
- Delivered-to: eclipselink-users@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=sopcKpxZqITNCYqIo9sRiLBhOjpmUuiPdDw1dVpyWR8=; b=FJJy+ZpRLBoU4qvopi6TJ71dp40V5BXzhOvjo17JthEzb6GYmknMpQrUjuAGd3b1oW AP4P+xmlqNmPHeOCJ3FXIpipKWYsmi6WMOw6YxGdCYu3xv0ZTtbO+0pdnOqnBo9EbY9W VUXBUHiELalK6QLVZ3aM/HVM8ZST3Ub54pzoWxTpRBnfRtG0GJsQeRvxfyUS3ONo/M1s GKo+bY+B6ro14sbPGcHZruAkYgiZK2MLOBTVMtOVe5WXaXxWyd8GpQOUGaL++N2qhqKN EAwa6X7iYfR0ES+6hbGFfLLDxnLzqGZov2ww3aDNB9CfSVlNIkxypv1ofpHNAWw7aP84 h3Qw==
Hi,
how could I customize the generated ddl by Eclipselink when used to create tables,... ?
My target DB is Oracle.
For example:
- the generated lines are a suite of create tables with no ending ";". I'd like to add those automatically.
- when enumerations or discriminator columns are used, I'd like to add "check constraints" as the schema can be preinitialized by sql scripts.
- another useful feature could be to add comments on the columns (maybe extracted from javadoc). This one is just for comfort. :-)
........
How, where can I plug some customization in the generation API ?
Thx