Announcement Announcement Module
No announcement yet.
custom EmbeddedDatabaseConfigurer for H2 database Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • custom EmbeddedDatabaseConfigurer for H2 database

    I wrote a customized H2 EmbeddedDatabaseConfigurer to save the location of my db inside the path of my swing application..

    but how to tell spring to use them in the context.xml ?

    i followed the step 12.8.4 from the link above.. but the doc don't tell how to change the default implementation of configurer that using memory h2 database...

    any help to change this?

  • #2
    anyone to help?


    • #3
      You might want to check out Integration tests, databases, and the Spring Framework. Toward the bottom, the author covers how to use a custom configurer.

      (I have also posted an answer to your StackOverflow question on this topic.)

      Adding in editing:

      The content assist for EmbeddedDatabaseFactoryBean is quite helpful.

      Attached Files
      Last edited by pfurbacher; Jun 11th, 2013, 11:00 AM.