Skip to content
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 with Multiple PUM #453

Closed
publicocean0 opened this issue Nov 27, 2013 · 4 comments
Closed

Kundera with Multiple PUM #453

publicocean0 opened this issue Nov 27, 2013 · 4 comments
Milestone

Comments

@publicocean0
Copy link

If i set a not default path for persistence.xml ... there is a exception



META-INF/dao/persons/persistence.xml


@publicocean0
Copy link
Author

there is problems also if i want use Spring MutablePesistenceInfo: if i configure PUM inside spring config(without use pesistence.xml) i can set it passing probperties from a general file properties ... for example. It is possible with Hibernate but not with Kundera

@mevivs
Copy link
Collaborator

mevivs commented Nov 27, 2013

Hi,
Can you please provide more details around it? Few code snippets or a demo project will surly help.

-Vivek

@ghost ghost assigned kkmishra Dec 30, 2013
kkmishra added a commit that referenced this issue Jan 31, 2014
@mevivs
Copy link
Collaborator

mevivs commented Jan 31, 2014

Fixed and releasing 2.10.

support for createContainerEntityManagerFactory() has been added.

-Vivek

@msfbrasil
Copy link

Does anyone have an example or code snippet using "createContainerEntityManagerFactory()" in order to allow to place "persistence.xml" file in another place?
Put it on "/opt/my-application/conf/persistence.xml", for example?

Thanks and best regards,
Mauro.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants