java - Execute sql script after jpa/EclipseLink created tables? -
is there possibility execute sql script, after eclipselink generated ddl?
in other words, possible eclipselink property "eclipselink.ddl-generation" "drop-and-create-tables" used , eclipselink executes sql-file (to insert data tables created) after creating table definition?
i'm using eclipselink 2.x , jpa 2.0 glassfish v3.
or can init tables within java method called on project (war ejb3) deployment?
it called before ddl-execution. , there seems no nice way adapt it, there no suitable event 1 use.
Comments
Post a Comment