Skip to content
Browse files

removed files that aren't necessary

  • Loading branch information...
1 parent f724d2c commit a0a81ca57223fb49fe22457e51183b7296a9b548 @krimple committed May 8, 2012
View
17 chapter-05-web-mvc/coursemanager/coursemanager-chapter-05.properties
@@ -1,17 +0,0 @@
-#HSQL Database Engine 1.8.0.10
-#Sat Apr 14 10:23:06 EDT 2012
-hsqldb.script_format=0
-runtime.gc_interval=0
-sql.enforce_strict_size=false
-hsqldb.cache_size_scale=8
-readonly=false
-hsqldb.nio_data_file=true
-hsqldb.cache_scale=14
-version=1.8.0
-hsqldb.default_table_type=memory
-hsqldb.cache_file_scale=1
-hsqldb.log_size=200
-modified=no
-hsqldb.cache_version=1.7.0
-hsqldb.original_version=1.8.0
-hsqldb.compatible_version=1.8.0
View
20 chapter-05-web-mvc/coursemanager/coursemanager-chapter-05.script
@@ -1,20 +0,0 @@
-CREATE SCHEMA PUBLIC AUTHORIZATION DBA
-CREATE MEMORY TABLE COURSE(ID BIGINT GENERATED BY DEFAULT AS IDENTITY(START WITH 1) NOT NULL PRIMARY KEY,COURSE_TYPE VARCHAR(255) NOT NULL,DESCRIPTION VARCHAR(1000) NOT NULL,LIST_PRICE NUMERIC NOT NULL,MAX_CAPACITY INTEGER NOT NULL,NAME VARCHAR(60) NOT NULL,VERSION INTEGER,TRAINING_PROGRAM BIGINT)
-CREATE MEMORY TABLE INSTRUCTOR(ID BIGINT NOT NULL PRIMARY KEY,ADDRESS_LINE1 VARCHAR(60) NOT NULL,ADDRESS_LINE2 VARCHAR(60),CITY VARCHAR(40) NOT NULL,EMAIL_ADDRESS VARCHAR(80) NOT NULL,FIRST_NAME VARCHAR(30),LAST_NAME VARCHAR(30) NOT NULL,MIDDLE_NAME_OR_INITIAL VARCHAR(30),POSTAL_CODE VARCHAR(10) NOT NULL,STATE_CODE VARCHAR(2) NOT NULL,VERSION INTEGER,ACTIVE BOOLEAN NOT NULL,TAX_NUMBER VARCHAR(9) NOT NULL)
-CREATE MEMORY TABLE OFFERING(ID BIGINT GENERATED BY DEFAULT AS IDENTITY(START WITH 1) NOT NULL PRIMARY KEY,RUN_DATE TIMESTAMP,VERSION INTEGER,COURSE BIGINT,INSTRUCTOR BIGINT,CONSTRAINT FKD2311006A8423C66 FOREIGN KEY(INSTRUCTOR) REFERENCES INSTRUCTOR(ID),CONSTRAINT FKD23110069CBA5162 FOREIGN KEY(COURSE) REFERENCES COURSE(ID))
-CREATE MEMORY TABLE REGISTRATION(ID BIGINT GENERATED BY DEFAULT AS IDENTITY(START WITH 1) NOT NULL PRIMARY KEY,ATTENDED BOOLEAN NOT NULL,PAYMENT_MADE BOOLEAN,VERSION INTEGER,OFFERING BIGINT,STUDENT BIGINT,CONSTRAINT FKAF83E8B927B71638 FOREIGN KEY(OFFERING) REFERENCES OFFERING(ID))
-CREATE MEMORY TABLE STUDENT(ID BIGINT NOT NULL PRIMARY KEY,ADDRESS_LINE1 VARCHAR(60) NOT NULL,ADDRESS_LINE2 VARCHAR(60),CITY VARCHAR(40) NOT NULL,EMAIL_ADDRESS VARCHAR(80) NOT NULL,FIRST_NAME VARCHAR(30),LAST_NAME VARCHAR(30) NOT NULL,MIDDLE_NAME_OR_INITIAL VARCHAR(30),POSTAL_CODE VARCHAR(10) NOT NULL,STATE_CODE VARCHAR(2) NOT NULL,VERSION INTEGER,DIETARY_RESTRICTIONS VARCHAR(30),EMERGENCY_CONTACT_INFO VARCHAR(80) NOT NULL,EMERGENCY_CONTACT_NAME VARCHAR(30) NOT NULL)
-CREATE MEMORY TABLE TAG(ID BIGINT GENERATED BY DEFAULT AS IDENTITY(START WITH 1) NOT NULL PRIMARY KEY,DESCRIPTION VARCHAR(250) NOT NULL,TAG VARCHAR(25) NOT NULL,VERSION INTEGER)
-CREATE MEMORY TABLE TAG_ASSOCIATIONS(TAG_ID BIGINT NOT NULL,COURSE_ID BIGINT NOT NULL,PRIMARY KEY(TAG_ID,COURSE_ID),CONSTRAINT FK36A089744D64906 FOREIGN KEY(COURSE_ID) REFERENCES COURSE(ID),CONSTRAINT FK36A089724D7F1CE FOREIGN KEY(TAG_ID) REFERENCES TAG(ID))
-CREATE MEMORY TABLE TRAINING_PROGRAM(ID BIGINT GENERATED BY DEFAULT AS IDENTITY(START WITH 1) NOT NULL PRIMARY KEY,NAME VARCHAR(255),VERSION INTEGER)
-CREATE MEMORY TABLE HIBERNATE_SEQUENCES(SEQUENCE_NAME VARCHAR(255),SEQUENCE_NEXT_HI_VALUE INTEGER)
-ALTER TABLE COURSE ADD CONSTRAINT FKAF42E01BFFCA38BD FOREIGN KEY(TRAINING_PROGRAM) REFERENCES TRAINING_PROGRAM(ID)
-ALTER TABLE REGISTRATION ADD CONSTRAINT FKAF83E8B9A85A98CA FOREIGN KEY(STUDENT) REFERENCES STUDENT(ID)
-ALTER TABLE COURSE ALTER COLUMN ID RESTART WITH 1
-ALTER TABLE OFFERING ALTER COLUMN ID RESTART WITH 1
-ALTER TABLE REGISTRATION ALTER COLUMN ID RESTART WITH 1
-ALTER TABLE TAG ALTER COLUMN ID RESTART WITH 1
-ALTER TABLE TRAINING_PROGRAM ALTER COLUMN ID RESTART WITH 1
-CREATE USER SA PASSWORD ""
-GRANT DBA TO SA
-SET WRITE_DELAY 10

0 comments on commit a0a81ca

Please sign in to comment.
Something went wrong with that request. Please try again.