« Return to Thread: Create persistence unit programmically without persistence.xml

Create persistence unit programmically without persistence.xml

by philk :: Rate this Message:

Reply to Author | View in Thread

Hello,

I want to create a persistence unit with out using the persistence.xml. I am already feeding EL all the "eclipselink" properties for the database connection and the class loader. The last thing I struggle to find is, how to feed EL the entity classes that the PU should be aware of. How would I do that?

Thanks,
Phil

_______________________________________________
eclipselink-users mailing list
eclipselink-users@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-users

 « Return to Thread: Create persistence unit programmically without persistence.xml