java - Modify persistence.xml on runtime -
i'm developping program uses jpa, , deployed in single jar. wish modify (or ask user, in menú item) configuration of connection data database server.
it's possible modify data (user, password, ip) of server "on fly"?
(i apologize bad english)
the jpa spec doesn't allow dynamic modification of persistence-units. implementations may provide implementation-specific way of defining persistence-unit dynamically. datanucleus jpa per foot of this page
Comments
Post a Comment