I've got what I think is a pretty straightforward task but I'm having a
little issue figuring out where to attach in my code.
I've got an embedded H2 database being used in an installed application to
manage state of some objects. I'm using Hibernate as my JPA implementation
and everything is working great. The one issue I have is that the path of
the database file is set in my URL as:
which changes depending on how the application is executed. I'd like to
have the database file be written in a location set by an environment
variable, so that I'd have:
I've tried several different forms and it doesn't seem to be taking.
Has anyone encountered this and could give me a pointer on how to implement?
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/google-guice.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.