You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Dan Adams (JIRA)" <de...@tapestry.apache.org> on 2007/06/11 16:30:26 UTC
[jira] Updated: (TAPESTRY-1372) Need a way to override hibernate
properties.
[ https://issues.apache.org/jira/browse/TAPESTRY-1372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Adams updated TAPESTRY-1372:
--------------------------------
Priority: Major (was: Minor)
I'm raising the priority because this feature is actually pretty crucial to something I need to do with this. I think that the module needs to be fairly robust or else I'm going to have to do something like duplicate it into my project to make the necessary features available which I don't want to do.
> Need a way to override hibernate properties.
> --------------------------------------------
>
> Key: TAPESTRY-1372
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1372
> Project: Tapestry
> Issue Type: Improvement
> Components: tapestry-hibernate
> Affects Versions: 5.0.3
> Reporter: Mike D Pilsbury
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org