-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to build Hibernate SessionFactory error with native mode in 1.8.0.final #12067
Comments
@gsmet ,Could you spare time to look at this problem? |
thanks @yuhaibohotmail , I'll look at this. |
FWIW, I find it a bit suspicious: |
That IP address has nothing to do with me. My address is 192.168.X.X.
|
Ok, just verified that the're a simple one-liner solution, seems a ReflectiveClassBuildItem was missing. I'll create an integration test for this and send the simple fix, but I also wonder if we could avoid needing Agroal to use reflection to set all properties at runtime; we could either use normal invocations, as we only support a limited set of properties, or create this bean at build time. @barreiro , what's your opinion? Maybe you want to do it? Thanks |
@Sanne how come we never caught this issue? Aren't the native IT for MySQL/MariaDB using authentication? Will wait for the PR before commenting any further :) |
It seems we had no such tests using the XA datasource |
Describe the bug
(Describe the problem clearly and concisely.)
When run in native mode , program will report " Unable to build Hibernate SessionFactory" error with either multiple persistence units or single persistence units.
Expected behavior
(Describe the expected behavior clearly and concisely.)
Actual behavior
(Describe the actual behavior clearly and concisely.)
To Reproduce
Steps to reproduce the behavior:
Configuration
Screenshots
(If applicable, add screenshots to help explain your problem.)
Environment (please complete the following information):
uname -a
orver
:java -version
:mvnw --version
orgradlew --version
): mvn 3.6.3Additional context
(Add any other context about the problem here.)
This is a reproducer:
single_ds_demo.zip
The text was updated successfully, but these errors were encountered: