* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */
+ */
package org.wamblee.test.persistence.eclipselink;
import java.io.File;
@Override
public void customize(PersistenceUnitDescription aPersistenceUnit,
Map<String, String> aJpaProperties) {
-
+
// DDL generation
- aJpaProperties.put("eclipselink.ddl-generation", "drop-and-create-tables");
-
+ aJpaProperties.put("eclipselink.ddl-generation",
+ "drop-and-create-tables");
+
// DDL generation
FileSystemUtils.createDir(new File("target/sql"));
aJpaProperties.put("eclipselink.application-location", "target/sql");
- aJpaProperties.put("eclipselink.create-ddl-jdbc-file-name", "create-schema.sql");
- aJpaProperties.put("eclipselink.drop-ddl-jdbc-file-name", "drop-schema.sql");
+ aJpaProperties.put("eclipselink.create-ddl-jdbc-file-name",
+ "create-schema.sql");
+ aJpaProperties.put("eclipselink.drop-ddl-jdbc-file-name",
+ "drop-schema.sql");
aJpaProperties.put("eclipselink.ddl-generation.output-mode", "both");
}
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */
+ */
package org.wamblee.test.persistence.eclipselink;
import org.dbunit.dataset.DataSetException;