[ 
https://issues.apache.org/jira/browse/TAPESTRY-1372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Adams updated TAPESTRY-1372:
--------------------------------

    Attachment: patch-r548175-configurer-contributions.txt

Here's another attempt at creating the patch after updating. I think you should 
still try and use the first patch as I had some weirdness creating this one.

Some problems you may have hit with the first one:
- i'm using eclipse
- i checked out the tapestry-hibernate module as it's own project called 
"tapestry-hibernate2" because i already had another copy of it for another 
patch. So you should apply the patch directly to tapestry-hiberate at the level 
that it gets rid of the tapestry-hibernate2

so I would suggest trying the first one again and then maybe this one.

> 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
>            Assignee: Howard M. Lewis Ship
>         Attachments: patch-r547489-configurer-contributions.txt, 
> patch-r548175-configurer-contributions.txt
>
>
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to