Skip to main content



      Home
Home » Eclipse Projects » EclipseLink » Is it possible to define everything for Composite Persistent Units in one persistence.xml ?
Is it possible to define everything for Composite Persistent Units in one persistence.xml ? [message #1118527] Fri, 27 September 2013 09:54
Eclipse UserFriend
Hi,

EclipseLink supports Composite Persistent Units. The documentation at http://wiki.eclipse.org/EclipseLink/UserGuide/JPA/Advanced_JPA_Development/Composite_Persistence_Units#Persistence_Unit_Properties_That_Can_Be_Set_on_Composite_Persistence_Units only mentions ways to define children persistent units via jar files.

In practice, we usually use the "composite persistent units" to simplify code. In the same spirit we also care to simplify projects setup, and so we want to avoid having 3 Maven/Gradle/Eclipse projects when only one currently exist.

How can I specify everything in one persistence.xml without creation of extra jar files the rest of my system doesn't need?

Cordially,
Sébastien Tardif
Previous Topic:how can i control the persistence.xml file unit name in weblogic server
Next Topic:eclipselink moxy xml-path binding file not skipping element
Goto Forum:
  


Current Time: Mon Jul 07 21:28:20 EDT 2025

Powered by FUDForum. Page generated in 0.03393 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top