diff --git a/README.md b/README.md
index a4640967a6..c56084780c 100644
--- a/README.md
+++ b/README.md
@@ -76,8 +76,8 @@ CREATE TABLE IF NOT EXISTS customers (
CREATE TABLE IF NOT EXISTS orders (
id SERIAL PRIMARY KEY,
- subtotal DECIMAL(18,2)
- customer_id INT REFERENCES customers(id),
+ subtotal DECIMAL(18,2),
+ customer_id INT REFERENCES customers(id)
);
CREATE TABLE IF NOT EXISTS products (
@@ -89,7 +89,7 @@ CREATE TABLE IF NOT EXISTS products (
CREATE TABLE IF NOT EXISTS product_orders (
id SERIAL PRIMARY KEY,
product_id INT REFERENCES products(id),
- order_id INT REFERENCES orders(id) ON DELETE CASCADE
+ order_id INT REFERENCES orders(id)
);
```
diff --git a/java/hibernate/gradle/wrapper/gradle-wrapper.jar b/java/hibernate/gradle/wrapper/gradle-wrapper.jar
index 3ad2283a61..19fb94a8b3 100644
Binary files a/java/hibernate/gradle/wrapper/gradle-wrapper.jar and b/java/hibernate/gradle/wrapper/gradle-wrapper.jar differ
diff --git a/java/hibernate/gradle/wrapper/gradle-wrapper.properties b/java/hibernate/gradle/wrapper/gradle-wrapper.properties
index 18d10ff4ea..e72c6bd059 100644
--- a/java/hibernate/gradle/wrapper/gradle-wrapper.properties
+++ b/java/hibernate/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
-#Tue Jan 31 17:56:55 EST 2017
+#Thu Sep 21 16:46:58 CDT 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-bin.zip
diff --git a/java/hibernate/src/main/resources/hibernate.cfg.xml b/java/hibernate/src/main/resources/hibernate.cfg.xml
index ae4e824c18..f9c7c5a086 100644
--- a/java/hibernate/src/main/resources/hibernate.cfg.xml
+++ b/java/hibernate/src/main/resources/hibernate.cfg.xml
@@ -9,7 +9,7 @@
org.postgresql.Driver
- jdbc:postgresql://127.0.0.1:26257/company_hibernate?sslmode=disable
+ jdbc:postgresql://127.0.0.1:26257/company_java_hibernate?sslmode=disable
root
@@ -23,7 +23,7 @@
- update
+ none
thread