Skip to content

Commit ca0f989

Browse files
committed
refactor postgresql
1 parent 8083a6e commit ca0f989

File tree

5 files changed

+135
-31
lines changed

5 files changed

+135
-31
lines changed

integrations/cdi/hibernate-cdi/src/main/resources/META-INF/native-image/io.helidon.integrations.cdi/helidon-integrations-cdi-hibernate/reflect-config-additional.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,5 +434,29 @@
434434
},
435435
{
436436
"name": "org.hibernate.persister.collection.CollectionPersister"
437+
},
438+
{
439+
"name": "org.hibernate.dialect.PostgreSQLStructCastingJdbcType"
440+
},
441+
{
442+
"name": "org.hibernate.dialect.PostgreSQLSqlAstTranslator"
443+
},
444+
{
445+
"name": "org.hibernate.dialect.PostgreSQLJsonPGObjectJsonType"
446+
},
447+
{
448+
"name": "org.hibernate.dialect.PostgreSQLEnumJdbcType"
449+
},
450+
{
451+
"name": "org.hibernate.dialect.PostgreSQLDriverKind"
452+
},
453+
{
454+
"name": "org.hibernate.dialect.PostgreSQLCastingJsonJdbcType"
455+
},
456+
{
457+
"name": "org.hibernate.dialect.PostgreSQLCastingIntervalSecondJdbcType"
458+
},
459+
{
460+
"name": "org.hibernate.dialect.PostgreSQLCastingInetJdbcType"
437461
}
438462
]

integrations/db/pgsql/src/main/resources/META-INF/helidon/native-image/reflection-config.json

Lines changed: 0 additions & 30 deletions
This file was deleted.

integrations/db/pgsql/src/main/resources/META-INF/native-image/io.helidon.integrations.db/helidon-integrations-db-pgsql/native-image.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@
1414
# limitations under the License.
1515
#
1616

17-
Args= --initialize-at-run-time=org.postgresql.sspi.SSPIClient
17+
Args=-H:ReflectionConfigurationResources=${.}/reflect-config-additional.json \
18+
--initialize-at-run-time=org.postgresql.sspi.SSPIClient
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[
2+
{
3+
"name": "org.postgresql.Driver"
4+
},
5+
{
6+
"name": "org.postgresql.PGProperty"
7+
},
8+
{
9+
"name": "org.postgresql.ds.common.BaseDataSource"
10+
}
11+
]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
[
2+
{
3+
"condition": {
4+
"typeReachable": "org.postgresql.jdbc.PgConnection"
5+
},
6+
"methods": [
7+
{
8+
"name": "<init>",
9+
"parameterTypes": []
10+
}
11+
],
12+
"name": "org.postgresql.util.PGInterval"
13+
},
14+
{
15+
"condition": {
16+
"typeReachable": "org.postgresql.jdbc.PgConnection"
17+
},
18+
"methods": [
19+
{
20+
"name": "<init>",
21+
"parameterTypes": []
22+
}
23+
],
24+
"name": "org.postgresql.geometric.PGbox"
25+
},
26+
{
27+
"condition": {
28+
"typeReachable": "org.postgresql.jdbc.PgConnection"
29+
},
30+
"methods": [
31+
{
32+
"name": "<init>",
33+
"parameterTypes": []
34+
}
35+
],
36+
"name": "org.postgresql.geometric.PGcircle"
37+
},
38+
{
39+
"condition": {
40+
"typeReachable": "org.postgresql.jdbc.PgConnection"
41+
},
42+
"methods": [
43+
{
44+
"name": "<init>",
45+
"parameterTypes": []
46+
}
47+
],
48+
"name": "org.postgresql.geometric.PGline"
49+
},
50+
{
51+
"condition": {
52+
"typeReachable": "org.postgresql.jdbc.PgConnection"
53+
},
54+
"methods": [
55+
{
56+
"name": "<init>",
57+
"parameterTypes": []
58+
}
59+
],
60+
"name": "org.postgresql.geometric.PGlseg"
61+
},
62+
{
63+
"condition": {
64+
"typeReachable": "org.postgresql.jdbc.PgConnection"
65+
},
66+
"methods": [
67+
{
68+
"name": "<init>",
69+
"parameterTypes": []
70+
}
71+
],
72+
"name": "org.postgresql.geometric.PGpath"
73+
},
74+
{
75+
"condition": {
76+
"typeReachable": "org.postgresql.jdbc.PgConnection"
77+
},
78+
"methods": [
79+
{
80+
"name": "<init>",
81+
"parameterTypes": []
82+
}
83+
],
84+
"name": "org.postgresql.geometric.PGpoint"
85+
},
86+
{
87+
"condition": {
88+
"typeReachable": "org.postgresql.jdbc.PgConnection"
89+
},
90+
"methods": [
91+
{
92+
"name": "<init>",
93+
"parameterTypes": []
94+
}
95+
],
96+
"name": "org.postgresql.geometric.PGpolygon"
97+
}
98+
]

0 commit comments

Comments
 (0)