cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Extending WebApplicationContextFilter [Was: Updated: (CAY-654) Rewrite the code submitted by Gary Jarrel]
Date Sun, 17 Sep 2006 22:20:16 GMT
Hi Malcolm,

> What would also be good is to add init-parameter to specify whether  
> the uncommitted changes should be committed at the end of the  
> request or rolled back.

Since CAY-654 focus was very narrow, to rid Cayenne of dependencies  
with unconfirmed IP, I didn't bother to look into other issues. I  
agree that we may extend the filter with extra config parameters to  
perform simple transaction management and implement alternative  
context logic (e.g. one context per request).

Let's open a separate Jira for that.

Thanks
Andrus



On Sep 13, 2006, at 10:43 PM, Malcolm Edgar (JIRA) wrote:

>      [ http://issues.apache.org/cayenne/browse/CAY-654?page=all ]
>
> Malcolm Edgar updated CAY-654:
> ------------------------------
>
>     Attachment: DataContextFilter.java
>
> Attached is a DataContextFilter which could be used as the basis of  
> a Cayenne DataContext filter. The ClickLogger would need to be  
> replaced with Commons/Log4J logger.
>
> What would also be good is to add init-parameter to specify whether  
> the uncommitted changes should be committed at the end of the  
> request or rolled back.
>
> regards Malcolm Edgar
>
>> Rewrite the code submitted by Gary Jarrel
>> -----------------------------------------
>>
>>          Key: CAY-654
>>          URL: http://issues.apache.org/cayenne/browse/CAY-654
>>      Project: Cayenne
>>         Type: Task
>
>>   Components: Cayenne Core Library
>>     Versions: LEAVE INCUBATOR
>>     Reporter: Andrus Adamchik
>>     Assignee: Andrus Adamchik
>>      Fix For: LEAVE INCUBATOR, 3.0, 2.0 [STABLE]
>>  Attachments: DataContextFilter.java
>>
>> Failed to obtain CLA from Gary Jarrel. Need to rewrite the  
>> following piece of code:
>> DBCPDataSourceFactory
>> WebApplicationContextFilter
>
> -- 
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the  
> administrators:
>    http://issues.apache.org/cayenne/secure/Administrators.jspa
> -
> For more information on JIRA, see:
>    http://www.atlassian.com/software/jira
>
>


Mime
View raw message