This repository was archived by the owner on Jan 30, 2019. It is now read-only.
File tree Expand file tree Collapse file tree
lab/solution/movieplex7/src/main/resources/META-INF Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ DROP TABLE SALES
2+ DROP TABLE POINTS
3+ DROP TABLE SHOW_TIMING
4+ DROP TABLE MOVIE
5+ DROP TABLE TIMESLOT
6+ DROP TABLE THEATER
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<persistence version =" 2.0" xmlns =" http://java.sun.com/xml/ns/persistence" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd" >
33 <persistence-unit name =" movieplex7PU" transaction-type =" JTA" >
4- <jta-data-source >java:comp/DefaultDataSource</jta-data-source >
4+ <!-- < jta-data-source>java:comp/DefaultDataSource</jta-data-source> -- >
55 <properties >
66 <property name =" javax.persistence.schema-generation.database.action" value =" drop-and-create" />
77 <property name =" javax.persistence.schema-generation.create-source" value =" script" />
8+ <property name =" javax.persistence.schema-generation.drop-source" value =" script" />
89 <property name =" javax.persistence.schema-generation.create-script-source" value =" META-INF/create.sql" />
10+ <property name =" javax.persistence.schema-generation.drop-script-source" value =" META-INF/drop.sql" />
911 <property name =" javax.persistence.sql-load-script-source" value =" META-INF/load.sql" />
10- <property name =" eclipselink.deploy-on-startup" value =" true" />
1112 <property name =" eclipselink.logging.exceptions" value =" false" />
1213 <!-- <property name="eclipselink.logging.level" value="FINE"/>-->
1314 </properties >
You can’t perform that action at this time.
0 commit comments