I found information about the configuration of ObjectDB: https://www.objectdb.com/java/jpa/setting. However, I have a dynamic environment and don't want to place the configuration file in the filesystem. I would like to enable the level2 cache for all entities: https://www.objectdb.com/java/jpa/setting/entities#The_cache_element
a) Is it possible to configure this programmatically?
b) Is it possible to place the configuration file in my own jar and have it loaded by classloader?
If one or both are possible, could you please give some examples?
Thanks a lot!