Skip to content

Commit

Permalink
#22: Log identifier handling
Browse files Browse the repository at this point in the history
  • Loading branch information
redcatbear committed Jan 31, 2020
1 parent 2b50b9f commit 9297d66
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<description>Common module for JDBC-based data access from Virtual Schemas.</description>
<url>https://github.com/exasol/virtual-schema-common-jdbc</url>
<properties>
<product.version>2.1.0</product.version>
<product.version>2.2.0</product.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>11</java.version>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
package com.exasol.adapter.dialects;

import java.util.logging.Logger;

/**
* Abstract base class for all identifier converters.
*/
public abstract class AbstractIdentifierConverter implements IdentifierConverter {
private final static Logger LOGGER = Logger.getLogger(AbstractIdentifierConverter.class.getName());
protected final IdentifierCaseHandling unquotedIdentifierHandling;
protected final IdentifierCaseHandling quotedIdentifierHandling;

Expand All @@ -17,6 +20,9 @@ public AbstractIdentifierConverter(final IdentifierCaseHandling unquotedIdentifi
final IdentifierCaseHandling quotedIdentifierHandling) {
this.unquotedIdentifierHandling = unquotedIdentifierHandling;
this.quotedIdentifierHandling = quotedIdentifierHandling;
LOGGER.fine(
() -> "Creating identifier converter with unqoted handling \"" + unquotedIdentifierHandling.toString()
+ "\" and quoted handling \"" + quotedIdentifierHandling + "\".");
}

@Override
Expand Down

0 comments on commit 9297d66

Please sign in to comment.