-
Notifications
You must be signed in to change notification settings - Fork 233
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
kundera.client property is missing for persistence unit, version 2.10 #536
Comments
Defining persistence properties as part of persistence.xml or as an external property map? -Vivek |
Yes, as persistence.xml file Matej |
Please share crud code snippet and persistence.xml -Vivek |
It's very simple setup. Altough I have 2 PU units. Today I reproduced the problem, only cganging version number from 2.9.1 to 2.10. Produces me the kundera.client property error. @get
|
Thanks. Could you please email me sample project at [email protected] for quick resolution? -Vivek |
I had the same issue with 2.10. Isn't there a inverted condition here? |
Duplicate of #526? -Vivek |
I have the same use case as this. If i set the property, i get the exception mentioned by janinko. If i unset it from my persistence.xml, i get the message from https://github.com/impetus-opensource/Kundera/blob/kundera-2.10/src/jpa-engine/core/src/main/java/com/impetus/kundera/metadata/model/PersistenceUnitMetadata.java#L532 Looking at both conditions, I would say that even if this is related to #526, the if condition on the PersistenceUnitConfiguration still needs to be checked as i think there is a contradiction there. |
With fix provided for #526, i guess, additional check on not required.As it is implicitly handled before invocation of getClient(). PersistenceUnitMetadata and PersistenceUnitConfiguration are meant for properties specific for persistence.xml. Please verify with latest trunk. It should work. -Vivek |
I think this particular issue is now solved. That was fast!!! Thank you |
Vivek. Is this issue closed or would you need the small project still? Best regards Matej |
Yes, i guess it should work. Could you please verify it with latest trunk? -Vivek |
I said this before, but here I come again. It would be great if commits would reference issues in the commit logs. That way, people could know what changes have been made to fix an issue, and eventually participate in reviewing it. |
I ahve tried it. It works. Altough had to disable units tests:) Thanks! Matej |
When testing kundera 2.10 with tomee 1.6 I get an exception like this:
java.lang.IllegalArgumentException: kundera.client property is missing for persistence
Similliar to this SO post. Alzough I am not using spring.
http://stackoverflow.com/questions/21700915/error-kundera-client-property-is-missing-for-persistence
When changing to 2.9.1, everything works.
The text was updated successfully, but these errors were encountered: