Skip to content

Database propertiy and default entity manager#19

Open
pnmtjonahen wants to merge 5 commits intokumuluz:masterfrom
pnmtjonahen:master
Open

Database propertiy and default entity manager#19
pnmtjonahen wants to merge 5 commits intokumuluz:masterfrom
pnmtjonahen:master

Conversation

@pnmtjonahen
Copy link

These changes makes it posible to:
define database driver with a env property,
create defaultEntity manager and reuse same entity manager the first allows for

@PersistenceContext
EntityManager em

constructs, the latter makes sure all entitymanger instances for the same unit are the same instances

Philippe

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

Successfully merging this pull request may close these issues.

1 participant