Announcement Announcement Module
Collapse
No announcement yet.
custom EmbeddedDatabaseConfigurer for H2 database Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • 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...

    http://static.springsource.org/sprin...l/ch12s08.html

    any help to change this?

  • #2
    anyone to help?

    Comment


    • #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.

      Attachment
      Attached Files
      Last edited by pfurbacher; Jun 11th, 2013, 12:00 PM.

      Comment

      Working...
      X