Skip to content

Commit

Permalink
fixes table name retrieval from db management tools
Browse files Browse the repository at this point in the history
refs #7126
  • Loading branch information
robfrank committed Feb 5, 2017
1 parent 1471adc commit dd8f06c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -695,8 +695,8 @@ public ResultSet getTables(String catalog, String schemaPattern, String tableNam
final ODocument doc = new ODocument()
.field("TABLE_CAT", database.getName())
.field("TABLE_SCHEM", database.getName())
.field("TABLE_TYPE", type)
.field("TABLE_NAME", className)
.field("TABLE_TYPE", type)
.field("REMARKS", (Object) null)
.field("TYPE_NAME", (Object) null)
.field("REF_GENERATION", (Object) null);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
/**
* Copyright 2014 Orient Technologies LTD (info(at)orientechnologies.com)
* <p>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* <p>
*
* For more information: http://www.orientechnologies.com
*/
package com.orientechnologies.orient.jdbc;
Expand Down

0 comments on commit dd8f06c

Please sign in to comment.