[PR] CAY-2847 Improve duplicate select column detection when using order by [cayenne]

2024-02-29 Thread via GitHub
Jugen opened a new pull request, #610: URL: https://github.com/apache/cayenne/pull/610 The current implementation has three problems: 1. It fails when a column has an alias 2. It builds the whole SQL column string before comparing 3. It doesn't seem very robust in preventing

(cayenne) branch STABLE-4.2 updated: CAY-2838 Vertical Inheritance: Problem setting db attribute to null via flattened path

2024-02-29 Thread ntimofeev
This is an automated email from the ASF dual-hosted git repository. ntimofeev pushed a commit to branch STABLE-4.2 in repository https://gitbox.apache.org/repos/asf/cayenne.git The following commit(s) were added to refs/heads/STABLE-4.2 by this push: new c56c9fa87 CAY-2838 Vertical

[jira] [Created] (CAY-2847) Improve duplicate select column detection when using order by

2024-02-29 Thread Jurgen Doll (Jira)
Jurgen Doll created CAY-2847: Summary: Improve duplicate select column detection when using order by Key: CAY-2847 URL: https://issues.apache.org/jira/browse/CAY-2847 Project: Cayenne Issue

[jira] [Updated] (CAY-2842) Prevent duplicate select columns when using distinct with order by

2024-02-29 Thread Jurgen Doll (Jira)
[ https://issues.apache.org/jira/browse/CAY-2842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jurgen Doll updated CAY-2842: - Fix Version/s: (was: 5.0-M2) > Prevent duplicate select columns when using distinct with order by >

[jira] [Commented] (CAY-2847) Improve duplicate select column detection when using order by

2024-02-29 Thread Jurgen Doll (Jira)
[ https://issues.apache.org/jira/browse/CAY-2847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17822152#comment-17822152 ] Jurgen Doll commented on CAY-2847: -- Created a [PR|https://github.com/apache/cayenne/pull/610] > Improve

[jira] [Closed] (CAY-2841) Multi column ColumnSelect with SHARED_CACHE fails after 1st select

2024-02-29 Thread Nikita Timofeev (Jira)
[ https://issues.apache.org/jira/browse/CAY-2841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nikita Timofeev closed CAY-2841. Resolution: Fixed *4.2*:

[jira] [Updated] (CAY-2814) Select query iterator() and batchIterator() methods return incorrect results

2024-02-29 Thread Nikita Timofeev (Jira)
[ https://issues.apache.org/jira/browse/CAY-2814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nikita Timofeev updated CAY-2814: - Fix Version/s: (was: 4.2.1) > Select query iterator() and batchIterator() methods return

(cayenne) 01/02: CAY-2838 Vertical Inheritance: Problem setting db attribute to null via flattened path

2024-02-29 Thread ntimofeev
This is an automated email from the ASF dual-hosted git repository. ntimofeev pushed a commit to branch STABLE-4.2 in repository https://gitbox.apache.org/repos/asf/cayenne.git commit ca6f9d944d2995e4ab76728695c0cd9097170c4a Author: Jadon Hansell <130694311+jghans...@users.noreply.github.com>

(cayenne) branch STABLE-4.2 updated (c987980c7 -> cc51de1ba)

2024-02-29 Thread ntimofeev
This is an automated email from the ASF dual-hosted git repository. ntimofeev pushed a change to branch STABLE-4.2 in repository https://gitbox.apache.org/repos/asf/cayenne.git from c987980c7 CAY-2841 Multi column ColumnSelect with SHARED_CACHE fails after 1st select new ca6f9d944

(cayenne) 02/02: CAY-2838 Vertical Inheritance: Problem setting db attribute to null via flattened path

2024-02-29 Thread ntimofeev
This is an automated email from the ASF dual-hosted git repository. ntimofeev pushed a commit to branch STABLE-4.2 in repository https://gitbox.apache.org/repos/asf/cayenne.git commit cc51de1baecc1e67e08206a9603d8618cb91aecd Author: Nikita Timofeev AuthorDate: Thu Feb 29 13:08:16 2024 +0400

[jira] [Updated] (CAY-2842) Prevent duplicate select columns when using distinct with order by

2024-02-29 Thread Jurgen Doll (Jira)
[ https://issues.apache.org/jira/browse/CAY-2842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jurgen Doll updated CAY-2842: - Fix Version/s: 5.0-M2 > Prevent duplicate select columns when using distinct with order by >

(cayenne) branch STABLE-4.2 updated: CAY-2838 Vertical Inheritance: Problem setting db attribute to null via flattened path

2024-02-29 Thread ntimofeev
This is an automated email from the ASF dual-hosted git repository. ntimofeev pushed a commit to branch STABLE-4.2 in repository https://gitbox.apache.org/repos/asf/cayenne.git The following commit(s) were added to refs/heads/STABLE-4.2 by this push: new 394f63c61 CAY-2838 Vertical

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

2024-02-29 Thread via GitHub
Jugen commented on code in PR #605: URL: https://github.com/apache/cayenne/pull/605#discussion_r1507359482 ## cayenne/src/main/java/org/apache/cayenne/access/translator/select/OrderingAbstractStage.java: ## @@ -0,0 +1,107 @@

(cayenne) branch STABLE-4.2 updated: CAY-2838 Vertical Inheritance: Problem setting db attribute to null via flattened path

2024-02-29 Thread ntimofeev
This is an automated email from the ASF dual-hosted git repository. ntimofeev pushed a commit to branch STABLE-4.2 in repository https://gitbox.apache.org/repos/asf/cayenne.git The following commit(s) were added to refs/heads/STABLE-4.2 by this push: new e882c10d8 CAY-2838 Vertical

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

2024-02-29 Thread via GitHub
stariy95 commented on code in PR #605: URL: https://github.com/apache/cayenne/pull/605#discussion_r1507364687 ## cayenne/src/main/java/org/apache/cayenne/access/translator/select/OrderingAbstractStage.java: ## @@ -0,0 +1,107 @@