All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.akquinet.jbosscc.guttenbase.hints.impl.DefaultTableMapper Maven / Gradle / Ivy

There is a newer version: 2.1.0
Show newest version
package de.akquinet.jbosscc.guttenbase.hints.impl;

import java.sql.SQLException;

import de.akquinet.jbosscc.guttenbase.mapping.TableMapper;
import de.akquinet.jbosscc.guttenbase.meta.DatabaseMetaData;
import de.akquinet.jbosscc.guttenbase.meta.TableMetaData;

/**
 * By default return table with same name ignoring case.
 * 
 * 

* © 2012 akquinet tech@spree *

* * @author M. Dahm */ public class DefaultTableMapper implements TableMapper { @Override public TableMetaData map(final TableMetaData source, final DatabaseMetaData targetDatabaseMetaData) throws SQLException { final String tableName = source.getTableName(); return targetDatabaseMetaData.getTableMetaData(tableName); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy