File tree 2 files changed +17
-2
lines changed
example/src/main/resources/META-INF
hibernate-reactive-core/src/main/java/org/hibernate/reactive/boot/impl
2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 9
9
<class >org.hibernate.example.reactive.Book</class >
10
10
11
11
<properties >
12
+
13
+ <!-- PostgreSQL -->
12
14
<property name =" javax.persistence.jdbc.url"
13
15
value =" jdbc:postgresql://localhost:5432/hreact" />
16
+
17
+ <!-- MySQL -->
14
18
<!-- property name="javax.persistence.jdbc.url"
15
19
value="jdbc:mysql://localhost:3306/hreact"/-->
16
20
21
+ <!-- Credentials -->
17
22
<property name =" javax.persistence.jdbc.user"
18
23
value =" hreact" />
19
24
<property name =" javax.persistence.jdbc.password"
20
25
value =" hreact" />
21
26
27
+ <!-- The Vert.x SQL Client connection pool size -->
22
28
<property name =" hibernate.connection.pool_size"
23
29
value =" 10" />
24
30
25
- <property name =" javax.persistence.schema-generation.database.action" value =" drop-and-create" />
31
+ <!-- Automatic schema export -->
32
+ <property name =" javax.persistence.schema-generation.database.action"
33
+ value =" drop-and-create" />
26
34
27
- <!-- property name="hibernate.show_sql" value="true"/ -->
35
+ <!-- SQL statement logging -->
28
36
<property name =" hibernate.format_sql" value =" true" />
37
+ <!-- property name="hibernate.show_sql" value="true"/-->
38
+
29
39
</properties >
30
40
31
41
</persistence-unit >
Original file line number Diff line number Diff line change
1
+ /* Hibernate, Relational Persistence for Idiomatic Java
2
+ *
3
+ * SPDX-License-Identifier: LGPL-2.1-or-later
4
+ * Copyright: Red Hat Inc. and Hibernate Authors
5
+ */
1
6
package org .hibernate .reactive .boot .impl ;
2
7
3
8
import org .hibernate .boot .model .TypeContributions ;
You can’t perform that action at this time.
0 commit comments