title: How to map oracle dataType to java dataType?
body: <p>how can mapping oracle dataType to java dataType?</p>
  
  <p>I tried as below but Not accurate .</p>
  
  <pre><code> DatabaseMetaData databaseMetaData = this.getConnection().getMetaData(); 
   ResultSet rs = databaseMetaData.getColumns(catalog, schema, tableName, columnName);
  
   while (rs.next()) {
       if ( rs.getString("data_type").equals(Types.NUMERIC)){
             javaDataType = "java.math.BigDecimal";
       } }
  </code></pre>
  
  <p>for example :
  oracle => number(2,3) => javaDataType = BigDecimal;
  oracle => number(15) => javaDataType = BigDecimal;</p>
  
  <p>Best way to convert oracle <code>dataType</code> to java <code>dataType</code>?</p>