title: Oracle JDBC Resultset.getString("COLUMN_DEF") returns lower case quoted string
body: <p>With oracle JDBC driver (ojdbc7.jar), when I do x=Resultset.getString("COLUMN_DEF") for a column where the default value is 'N/A' in the database ('N/A' set at table creation, 'N/A' seen with DBeaver tool) the JDBC driver return x="'n/a'" (with postgres and mysql it returns x="N/A").</p>
  
  <p>do you have an idea of why it is in lower case et why it is quoted inside the  result string?</p>
  
  <p>thanks in advance for any kind of help on this issue!</p>
  
  <p>PS: how I use the database metadata object: </p>
  
  <pre><code>private static void readColumnMetaData(AMIDBLoader dbLoader, DatabaseMetaData metaData, String internalCatalog, String externalCatalog, String _table, Map&lt;String, String&gt; amiEntityMap, Map&lt;String, String&gt; amiFieldMap) throws SQLException
      {
          try(ResultSet resultSet = metaData.getColumns(internalCatalog, internalCatalog, _table, "%"))
          {
              while(resultSet.next())
              {
                  String table = resultSet.getString("TABLE_NAME");
                  String name = resultSet.getString("COLUMN_NAME");
                  String type = resultSet.getString("TYPE_NAME");
                  int size = resultSet.getInt("COLUMN_SIZE");
                  int digits = resultSet.getInt("DECIMAL_DIGITS");
                  String def = resultSet.getString("COLUMN_DEF");
  </code></pre>
  
  <p>code for the table creation:</p>
  
  <pre><code>CREATE TABLE "router_locations" ( 
  "id" NUMBER(*, 0),
  "continentCode" VARCHAR2(3) DEFAULT 'N/A',
  "countryCode" VARCHAR2(3) DEFAULT 'N/A' 
  );; 
  </code></pre>
  
  <p>Jerome</p>