Skip to content

Commit

Permalink
dbeaver#22963 Change Boolean object to primitive type
Browse files Browse the repository at this point in the history
  • Loading branch information
longhaseng52 committed May 15, 2024
1 parent 9666b8a commit a4c2db6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ protected GenericTableColumn fetchChild(
throws SQLException, DBException {
String columnName = JDBCUtils.safeGetString(dbResult, "attr_name");
String dataType = JDBCUtils.safeGetString(dbResult, "data_type");
Boolean autoIncrement = false;
boolean autoIncrement = false;
String sql = "show columns from " + ((CubridDataSource) getDataSource()).getMetaModel().getTableOrViewName(table)
+ " where Field = ?";
try (JDBCPreparedStatement dbStat = session.prepareStatement(sql)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public JDBCStatement prepareTableColumnLoadStatement(
@NotNull GenericStructContainer owner,
@Nullable GenericTableBase forTable)
throws SQLException {
Boolean multiSchema = forTable != null ? ((CubridDataSource) forTable.getDataSource()).getSupportMultiSchema() : false;
boolean multiSchema = forTable != null ? ((CubridDataSource) forTable.getDataSource()).getSupportMultiSchema() : false;
StringBuilder sql = new StringBuilder();
sql.append("select *, def_order + 1 as ref_order from db_attribute ");
if (forTable != null) {
Expand Down

0 comments on commit a4c2db6

Please sign in to comment.