Skip to content

Commit 33321c5

Browse files
liubao68beikov
authored andcommitted
HHH-19365 - fix review problems
1 parent 275ca77 commit 33321c5

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ jobs:
4444
- rdbms: mysql
4545
- rdbms: mariadb
4646
- rdbms: postgresql
47-
- rdbms: gaussdb
4847
- rdbms: edb
4948
- rdbms: oracle
5049
- rdbms: db2

hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/GaussDBCallableStatementSupport.java

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,13 @@
2525
*
2626
* @author liubao
2727
*
28-
* Notes: Original code of this class is based on PostgreSQLTruncFunction.
28+
* Notes: Original code of this class is based on PostgreSQLCallableStatementSupport.
2929
*/
3030
public class GaussDBCallableStatementSupport extends AbstractStandardCallableStatementSupport {
3131
/**
3232
* Singleton access
3333
*/
3434
public static final GaussDBCallableStatementSupport INSTANCE = new GaussDBCallableStatementSupport( true );
35-
public static final GaussDBCallableStatementSupport V10_INSTANCE = new GaussDBCallableStatementSupport( false );
3635

3736
private final boolean supportsProcedures;
3837

@@ -79,11 +78,6 @@ public JdbcOperationQueryCall interpretCall(ProcedureCallImplementor<?> procedur
7978
callMode = CallMode.TABLE_FUNCTION;
8079
startIndex = 0;
8180
jdbcParameterOffset = 1;
82-
// Old style
83-
// callMode = CallMode.CALL_RETURN;
84-
// startIndex = 0;
85-
// jdbcParameterOffset = 2;
86-
// builder.setFunctionReturn( functionReturn.toJdbcFunctionReturn( procedureCall.getSession() ) );
8781
}
8882
}
8983
else {
@@ -178,7 +172,5 @@ enum CallMode {
178172
this.start = start;
179173
this.end = end;
180174
}
181-
182175
}
183-
184176
}

0 commit comments

Comments
 (0)