Announcement Announcement Module
No announcement yet.
Setting Datasource at Runtime Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Setting Datasource at Runtime

    I'm using Wicket to develop an app and have stumbled upon a roadblock. I'd like the user to be able to select their desired datasource at runtime, as opposed to hardcoding the datasource in the persistence.xml file (we're using Spring and JPA). I feel like this should be reasonably simple to do, but I haven't been able to come up with a solution. Does anyone know of a way to do this?