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: 34
Registered: July 2009
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: Sat Jul 20 08:03:39 GMT 2024

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

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

Back to the top