[jira] [Updated] (CAY-2844) Joint prefetch doesn't use ObjEntity qualifier

2024-02-09 Thread Nikita Timofeev (Jira)


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

Nikita Timofeev updated CAY-2844:
-
Summary: Joint prefetch doesn't use ObjEntity qualifier  (was: Joint 
prefetch doesn't use entity qualifier)

> Joint prefetch doesn't use ObjEntity qualifier
> --
>
> Key: CAY-2844
> URL: https://issues.apache.org/jira/browse/CAY-2844
> Project: Cayenne
>  Issue Type: Bug
>  Components: Core Library
>Affects Versions: 4.2
>Reporter: Nikita Timofeev
>Assignee: Nikita Timofeev
>Priority: Major
> Fix For: 4.2.1, 5.0-M1
>
>
> Joint prefetch ignores existing qualifier on ObjEntity. 
> Disjoint and DisjointById prefetches are working fine.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (CAY-2844) Joint prefetch doesn't use entity qualifier

2024-02-09 Thread Nikita Timofeev (Jira)
Nikita Timofeev created CAY-2844:


 Summary: Joint prefetch doesn't use entity qualifier
 Key: CAY-2844
 URL: https://issues.apache.org/jira/browse/CAY-2844
 Project: Cayenne
  Issue Type: Bug
  Components: Core Library
Affects Versions: 4.2
Reporter: Nikita Timofeev
Assignee: Nikita Timofeev
 Fix For: 4.2.1, 5.0-M1


Joint prefetch ignores existing qualifier on ObjEntity. 
Disjoint and DisjointById prefetches are working fine.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


Re: [PR] CAY-2842 Prevent duplicate select columns when using distinct with order by [cayenne]

2024-02-09 Thread via GitHub


Jugen commented on PR #605:
URL: https://github.com/apache/cayenne/pull/605#issuecomment-1935535384

   Am looking into it, it's just trickier than I thought :-)
   Have solved most so far, just one more to test to resolve.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cayenne.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Assigned] (CAY-2843) Use an IN clause for single field disjoint by ID prefetches

2024-02-09 Thread Nikita Timofeev (Jira)


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

Nikita Timofeev reassigned CAY-2843:


Assignee: Nikita Timofeev

> Use an IN clause for single field disjoint by ID prefetches
> ---
>
> Key: CAY-2843
> URL: https://issues.apache.org/jira/browse/CAY-2843
> Project: Cayenne
>  Issue Type: Improvement
>  Components: Core Library
>Affects Versions: 4.2
>Reporter: Jurgen Doll
>Assignee: Nikita Timofeev
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Currently HierarchicalObjectResolver uses "field1 = ? OR field1 = ? " 
> pattern for all disjoint by ID prefetches.
> I propose distinguishing between single field prefetches and multi-field 
> prefetches, so that the former makes use of an IN clause instead.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (CAY-2843) Use an IN clause for single field disjoint by ID prefetches

2024-02-09 Thread Nikita Timofeev (Jira)


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

Nikita Timofeev updated CAY-2843:
-
Fix Version/s: 5.0-M1

> Use an IN clause for single field disjoint by ID prefetches
> ---
>
> Key: CAY-2843
> URL: https://issues.apache.org/jira/browse/CAY-2843
> Project: Cayenne
>  Issue Type: Improvement
>  Components: Core Library
>Affects Versions: 4.2
>Reporter: Jurgen Doll
>Assignee: Nikita Timofeev
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 5.0-M1
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Currently HierarchicalObjectResolver uses "field1 = ? OR field1 = ? " 
> pattern for all disjoint by ID prefetches.
> I propose distinguishing between single field prefetches and multi-field 
> prefetches, so that the former makes use of an IN clause instead.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


Re: [PR] CAY-2842 Prevent duplicate select columns when using distinct with order by [cayenne]

2024-02-09 Thread via GitHub


stariy95 commented on PR #605:
URL: https://github.com/apache/cayenne/pull/605#issuecomment-1935525475

   Hi @Jugen Thanks for another PR! It seems there are some problems with the 
tests, please see 
https://github.com/apache/cayenne/actions/runs/7830706412/job/21367291178?pr=605


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cayenne.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



(cayenne) branch master updated (0cb56279c -> 9dd8eae75)

2024-02-09 Thread ntimofeev
This is an automated email from the ASF dual-hosted git repository.

ntimofeev pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/cayenne.git


from 0cb56279c Merge pull request #604 from 
jghansell/vertical-inheritance-joint-prefetch
 add cc8f117df Use an IN clause for single field disjoint ID prefetch
 add 49c8f562d Update RELEASE-NOTES.txt
 new 9dd8eae75 Merge pull request #606 from 
Jugen/use-in-clause-for-single-field-disjoint-by-id-prefetches

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 RELEASE-NOTES.txt|  1 +
 .../cayenne/access/HierarchicalObjectResolver.java   | 16 ++--
 2 files changed, 15 insertions(+), 2 deletions(-)



(cayenne) 01/01: Merge pull request #606 from Jugen/use-in-clause-for-single-field-disjoint-by-id-prefetches

2024-02-09 Thread ntimofeev
This is an automated email from the ASF dual-hosted git repository.

ntimofeev pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cayenne.git

commit 9dd8eae752ebe3d81bb0f3aba73482e46edd4be4
Merge: 0cb56279c 49c8f562d
Author: Nikita Timofeev 
AuthorDate: Fri Feb 9 12:12:54 2024 +0400

Merge pull request #606 from 
Jugen/use-in-clause-for-single-field-disjoint-by-id-prefetches

CAY-2843 Use an IN clause for single field disjoint by ID prefetches

 RELEASE-NOTES.txt|  1 +
 .../cayenne/access/HierarchicalObjectResolver.java   | 16 ++--
 2 files changed, 15 insertions(+), 2 deletions(-)



Re: [PR] CAY-2843 Use an IN clause for single field disjoint by ID prefetches [cayenne]

2024-02-09 Thread via GitHub


stariy95 merged PR #606:
URL: https://github.com/apache/cayenne/pull/606


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cayenne.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] CAY-2843 Use an IN clause for single field disjoint by ID prefetches [cayenne]

2024-02-09 Thread via GitHub


stariy95 commented on PR #606:
URL: https://github.com/apache/cayenne/pull/606#issuecomment-1935495852

   @Jugen Thanks for the PR


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cayenne.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org