Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Dynamically adding entities to eclipselink persistence
Dynamically adding entities to eclipselink persistence [message #1835941] Wed, 16 December 2020 23:50
Dave Brosius is currently offline Dave BrosiusFriend
Messages: 27
Registered: July 2009
Junior Member
Hi folks,

I want to dynamically add an entity object to the eclipselink persistence unit. I have a persistence.xml file that has standard entity objects, but at run time i want to optionally add one of two possible entities.

I see references on line to using MetadataSource to do this, but it seems like these still expect either urls or files to read from.

Is there anything where i can just give eclipselink a class name to load?
Previous Topic:Collection shows different data between database and cache after two inserts
Next Topic:writing to a blob using streams in eclipselink
Goto Forum:
  


Current Time: Fri Jul 23 23:36:14 GMT 2021

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

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

Back to the top