Skip to content

Commit

Permalink
Add required reflection for native image
Browse files Browse the repository at this point in the history
Signed-off-by: tvallin <thibault.vallin@oracle.com>
  • Loading branch information
tvallin committed Jun 11, 2024
1 parent 652f099 commit 119c314
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#
# Copyright (c) 2024 Oracle and/or its affiliates.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

Args=--initialize-at-build-time=org.eclipse.persistence
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
[
{
"name": "io.helidon.integrations.cdi.eclipselink.CDISEPlatform",
"methods": [
{
"name": "<init>",
"parameterTypes": [
"org.eclipse.persistence.sessions.DatabaseSession"
]
}
]
},
{
"name": "io.helidon.integrations.cdi.eclipselink.CDISEPlatform$TransactionController",
"methods": [
{
"name": "<init>"
}
]
},
{
"name": "org.eclipse.persistence.logging.JavaLog",
"methods": [
{
"name": "<init>"
}
]
},
{
"name": "org.eclipse.persistence.platform.database.H2Platform",
"methods": [
{
"name": "<init>"
}
]
},
{
"name": "org.eclipse.persistence.platform.database.MySQLPlatform",
"methods": [
{
"name": "<init>"
}
]
},
{
"name": "org.eclipse.persistence.platform.database.PostgreSQLPlatform",
"methods": [
{
"name": "<init>"
}
]
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"bundles": [
{
"name": "org.eclipse.persistence.exceptions.i18n.EntityManagerSetupExceptionResource"
},
{
"name": "org.eclipse.persistence.exceptions.i18n.ValidationExceptionResource"
},
{
"name": "org.eclipse.persistence.internal.localization.i18n.EclipseLinkLocalizationResource"
},
{
"name": "org.eclipse.persistence.internal.localization.i18n.LoggingLocalizationResource"
}
],
"resources": [
{
"pattern": ".*version.properties"
}
]
}

0 comments on commit 119c314

Please sign in to comment.