Skip to content
This repository was archived by the owner on Jan 13, 2023. It is now read-only.

Commit c3fdd5a

Browse files
committed
Upgrade User.java and persistence.xml
1 parent e92134d commit c3fdd5a

File tree

2 files changed

+2
-2
lines changed
  • entity-relationships-management/src/main/resources/META-INF
  • jpa-hibernate-tutorial-model/src/main/java/com/bobocode/model/basic

2 files changed

+2
-2
lines changed

entity-relationships-management/src/main/resources/META-INF/persistence.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<property name="hibernate.connection.username" value="bobouser"/>
3333
<property name="hibernate.connection.password" value="bobopass"/>
3434
<property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/>
35-
<property name="hibernate.show_sql" value="false"/>
35+
<property name="hibernate.show_sql" value="true"/>
3636
<property name="hibernate.format_sql" value="true"/>
3737
<property name="hibernate.hbm2ddl.auto" value="create"/>
3838
</properties>

jpa-hibernate-tutorial-model/src/main/java/com/bobocode/model/basic/User.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
@ToString
1616
@EqualsAndHashCode(of = "id")
1717
@Entity
18-
@Table(name = "user")
18+
@Table(name = "users")
1919
public class User {
2020
@Id
2121
@GeneratedValue

0 commit comments

Comments
 (0)