Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] How to specify jar file location for entities using properties programatically

I have a jar file which has entity classes to be persisted. My persistence.xml file has an entry like this
 
<jar-file>../zzz.jar</jar-file>
 
and instead of specifying in persistence.xml file, I want to set it programmatically using
something like
 
properties.put("YYYY","../zzz.jar");
 
What is the YYYY value I can use here.. Did not find anywhere in the documentation.
 
Any help is highly appreciated.
 
Thanks EclipseTeam!
 


f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng


Back to the top