I'm writing a JavaFX application that needs to talk to a SQLite database, stored as a .db file, that the user has selected from their filesystem. This can be any .db file that I do not know of at build time.
I'd like to use Spring/JPA2, but as far as I know it only allows for using databases configured at build-time. Is what I want possible in Spring/JPA2, and if so, how would I approach this?