de.akquinet.jbosscc.guttenbase.tools.EntityTableChecker Maven / Gradle / Ivy
package de.akquinet.jbosscc.guttenbase.tools;
import java.sql.SQLException;
import de.akquinet.jbosscc.guttenbase.meta.TableMetaData;
/**
* Check if the given table is a "main" table in the sense that it represents an entity. In terms of JPA: the corresponding Java class is
* annotated with @Entity.
*
*
* © 2012-2020 akquinet tech@spree
*
*
* @author M. Dahm
*/
@SuppressWarnings("RedundantThrows")
public interface EntityTableChecker {
/**
* @return true if the given table is a "main" table in the sense that it represents an entity. In terms of JPA: the corresponding Java
* class is annotated with @Entity.
*/
boolean isEntityTable(TableMetaData tableMetaData) throws SQLException;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy