File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
hibernate-core/src/main/java/org/hibernate/dialect Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -4614,7 +4614,10 @@ public void augmentRecognizedTableTypes(List<String> tableTypesList) {
4614
4614
}
4615
4615
4616
4616
/**
4617
- * Does is dialect support {@code partition by}?
4617
+ * Does is dialect support {@code partition by} in window
4618
+ * functions?
4619
+ *
4620
+ * @apiNote This has nothing to do with table partitioning.
4618
4621
*
4619
4622
* @since 5.2
4620
4623
*/
@@ -4624,7 +4627,10 @@ public boolean supportsPartitionBy() {
4624
4627
4625
4628
/**
4626
4629
* Does this dialect require that the columns listed in
4627
- * {@code partition by} also occur in the primary key?
4630
+ * {@code partition by} also occur in the primary key,
4631
+ * when defining table partitioning?
4632
+ *
4633
+ * @apiNote This has nothing to do with window functions.
4628
4634
*
4629
4635
* @since 7.1
4630
4636
*/
Original file line number Diff line number Diff line change @@ -676,6 +676,11 @@ public String getCurrentTimestampSelectString() {
676
676
677
677
// Overridden informational metadata ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
678
678
679
+ @ Override
680
+ public boolean addPartitionKeyToPrimaryKey () {
681
+ return true ;
682
+ }
683
+
679
684
@ Override
680
685
public boolean supportsResultSetPositionQueryMethodsOnForwardOnlyCursor () {
681
686
return false ;
You can’t perform that action at this time.
0 commit comments