You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2011/03/09 16:03:01 UTC

[jira] Created: (CAY-1549) Migrate BatchQueryBuilderFactory to DI

Migrate BatchQueryBuilderFactory to DI
--------------------------------------

                 Key: CAY-1549
                 URL: https://issues.apache.org/jira/browse/CAY-1549
             Project: Cayenne
          Issue Type: Task
    Affects Versions: 3.1M2
            Reporter: Andrus Adamchik
            Assignee: Andrus Adamchik


BatchQueryBuilderFactory should be DI-injectable. Hopefully this will allow to unroll a few layers of manual wrapping code.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Commented: (CAY-1549) Migrate BatchQueryBuilderFactory to DI

Posted by "Andrus Adamchik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAY-1549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13004659#comment-13004659 ] 

Andrus Adamchik commented on CAY-1549:
--------------------------------------

Yeah, I am planning to use BatchQueryBuilderFactory for CAY-1547, so that suddenly became semi-important to me.

> Migrate BatchQueryBuilderFactory to DI
> --------------------------------------
>
>                 Key: CAY-1549
>                 URL: https://issues.apache.org/jira/browse/CAY-1549
>             Project: Cayenne
>          Issue Type: Task
>    Affects Versions: 3.1M2
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>
> BatchQueryBuilderFactory should be DI-injectable. Hopefully this will allow to unroll a few layers of manual wrapping code.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Closed: (CAY-1549) Migrate BatchQueryBuilderFactory to DI

Posted by "Andrus Adamchik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAY-1549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrus Adamchik closed CAY-1549.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 3.1M3

> Migrate BatchQueryBuilderFactory to DI
> --------------------------------------
>
>                 Key: CAY-1549
>                 URL: https://issues.apache.org/jira/browse/CAY-1549
>             Project: Cayenne
>          Issue Type: Task
>    Affects Versions: 3.1M2
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>             Fix For: 3.1M3
>
>
> BatchQueryBuilderFactory should be DI-injectable. Hopefully this will allow to unroll a few layers of manual wrapping code.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

SoftDeleteBatchQueryBuilder

Posted by Andrus Adamchik <an...@objectstyle.org>.
I now noticed the meta-modeling elements in SoftDeleteBatchQueryBuilder (by "meta-modeling" I mean 'deletedFieldName' that has to be defined in the factory). I think any such configuration will benefit from custom annotations approach pioneered in cayenne-lifecycle. 

I am experimenting with a custom BatchQueryBuilderFactory for @UuidRelationship per CAY-1547. If that works, we may use the same approach to make SoftDeleteBatchQueryBuilder easy to use and more flexible.

Andrus



[jira] Commented: (CAY-1549) Migrate BatchQueryBuilderFactory to DI

Posted by "Andrey Razumovsky (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAY-1549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13004616#comment-13004616 ] 

Andrey Razumovsky commented on CAY-1549:
----------------------------------------

Absolutely. I was going to do this a while ago, but got some problems with unit tests - they were not using ServerRuntime-injected values.

> Migrate BatchQueryBuilderFactory to DI
> --------------------------------------
>
>                 Key: CAY-1549
>                 URL: https://issues.apache.org/jira/browse/CAY-1549
>             Project: Cayenne
>          Issue Type: Task
>    Affects Versions: 3.1M2
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>
> BatchQueryBuilderFactory should be DI-injectable. Hopefully this will allow to unroll a few layers of manual wrapping code.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira