File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed
x-pack/plugin/sql/jdbc/src
main/java/org/elasticsearch/xpack/sql/jdbc/jdbc
test/java/org/elasticsearch/xpack/sql/jdbc/jdbc Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -368,7 +368,7 @@ public boolean isCatalogAtStart() throws SQLException {
368368
369369 @ Override
370370 public String getCatalogSeparator () throws SQLException {
371- return ". " ;
371+ return ": " ;
372372 }
373373
374374 @ Override
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3+ * or more contributor license agreements. Licensed under the Elastic License;
4+ * you may not use this file except in compliance with the Elastic License.
5+ */
6+
7+ package org .elasticsearch .xpack .sql .jdbc .jdbc ;
8+
9+ import org .elasticsearch .test .ESTestCase ;
10+
11+ public class JdbcDatabaseMetaDataTests extends ESTestCase {
12+
13+ private JdbcDatabaseMetaData md = new JdbcDatabaseMetaData (null );
14+
15+ public void testSeparators () throws Exception {
16+ assertEquals (":" , md .getCatalogSeparator ());
17+ assertEquals ("\" " , md .getIdentifierQuoteString ());
18+ assertEquals ("\\ " , md .getSearchStringEscape ());
19+
20+ }
21+ }
You can’t perform that action at this time.
0 commit comments