Example usage for org.springframework.jdbc.support MetaDataAccessException printStackTrace

List of usage examples for org.springframework.jdbc.support MetaDataAccessException printStackTrace

Introduction

In this page you can find the example usage for org.springframework.jdbc.support MetaDataAccessException printStackTrace.

Prototype

public void printStackTrace() 

Source Link

Document

Prints this throwable and its backtrace to the standard error stream.

Usage

From source file:architecture.ee.jdbc.util.impl.JdbcHelperImpl.java

protected JdbcHelperImpl(DataSource dataSource) {
    try {//  ww  w  . java  2  s .  c o m
        setDatabaseMetaData(dataSource);
        automaticJdbcExtractor = new SimpleNativeJdbcExtractor();
    } catch (MetaDataAccessException e) {
        e.printStackTrace();
    }
}