Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1372

Allow contributions to the Hibernate Configuration

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.3
    • Fix Version/s: 5.0.6
    • Component/s: tapestry-hibernate
    • Labels:
      None

      Description

      There is no way to configure the Configuration before it is used to create the SessionFactory.

      I ran in to this problem because I need to override the connection url, user and password properties in test cases (so that an in-memory HSQLDB database can be used). I am sure that there will be other scenarios where properties will need to be overriden at run time,

      Access to the Configuration object might not be sensible. An alternative would be the ability to provide names and values that are then set in the Configuration before SessionFactory creation.

        Attachments

          Activity

            People

            • Assignee:
              hagios17 Dan Adams
              Reporter:
              pekim Mike D Pilsbury
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: