Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0 M3
    • Component/s: Samples
    • Labels:
      None

      Description

      It would be nice to be able to run the airline samples without having to go through the trouble of actually setting up a database as a separate, external process. In-memory database support should be implemented and this can be accomplished completely declaratively, without touching any Java code.

      1. hibernate.properties
        0.3 kB
        Kristoffer Moum
      2. jdbc.properties
        0.4 kB
        Kristoffer Moum
      3. pom.xml
        25 kB
        Kristoffer Moum

        Activity

        Hide
        kristoffer79 Kristoffer Moum added a comment -

        Added hsql 1.8.0.7 dependency.

        Show
        kristoffer79 Kristoffer Moum added a comment - Added hsql 1.8.0.7 dependency.
        Hide
        kristoffer79 Kristoffer Moum added a comment -

        Modified properties files to support hsql in-memory database.

        Show
        kristoffer79 Kristoffer Moum added a comment - Modified properties files to support hsql in-memory database.
        Hide
        kristoffer79 Kristoffer Moum added a comment -

        Please see the attached files.

        It would be even nicer to pull out the database related applicationContext stash, so the source and test tree could have different configurations. If i.e. applicationContext-database.xml is located in both trees, then the one in the test tree will have precedence over the one in the source tree when running tests from the command line and through IDEA/Eclipse if Maven generated the project.

        Show
        kristoffer79 Kristoffer Moum added a comment - Please see the attached files. It would be even nicer to pull out the database related applicationContext stash, so the source and test tree could have different configurations. If i.e. applicationContext-database.xml is located in both trees, then the one in the test tree will have precedence over the one in the source tree when running tests from the command line and through IDEA/Eclipse if Maven generated the project.
        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        Done. I'm also using maven2 profiles now, to support different database, and bootstrap the data into it. All is explained in the readme.txt

        Show
        arjen.poutsma Arjen Poutsma added a comment - Done. I'm also using maven2 profiles now, to support different database, and bootstrap the data into it. All is explained in the readme.txt

          People

          • Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            kristoffer79 Kristoffer Moum
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: