Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added write through db files

  • Loading branch information...
commit 09eab1fc4c3e4703a29c7fc8a7fb2f13947457ca 1 parent a239150
@dturanski dturanski authored
View
6 basic/write-through/src/main/resources/db/schema.sql
@@ -0,0 +1,6 @@
+CREATE TABLE Product (
+ id NUMBER(11,0) PRIMARY KEY,
+ name VARCHAR(50) NOT NULL,
+ price NUMBER(7,2) NOT NULL,
+ description VARCHAR(120) NULL
+);
View
3  basic/write-through/src/main/resources/db/test-data.sql
@@ -0,0 +1,3 @@
+INSERT INTO PRODUCT (id, name, price,description) VALUES (1, 'iPod', 99.99,'a portable media player');
+INSERT INTO PRODUCT (id, name, price,description) VALUES (2, 'iPad', 699.99,'a tablet computer');
+INSERT INTO PRODUCT (id, name, price,description) VALUES (3, 'macBook', 999.99,'a notebook computer');
Please sign in to comment.
Something went wrong with that request. Please try again.