Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 13:54
Sebastien Tardif is currently offline Sebastien Tardif
Messages: 4
Registered: November 2009
Junior Member
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: Thu Oct 02 14:33:10 GMT 2014

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

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