Package pl.net.bluesoft.rnd.pt.utils.jdbc.exception

Examples of pl.net.bluesoft.rnd.pt.utils.jdbc.exception.TableNameNotFoundException


    public SelectBuilder forClass(Class clazz) {
        this.clazz = clazz;
        Table table = Classes.getClassAnnotation(clazz, Table.class);
        if (table == null) {
            throw new TableNameNotFoundException("@Table annotation not found");
        }
        this.tableName = table.name();
        return this;
    }
View Full Code Here

TOP

Related Classes of pl.net.bluesoft.rnd.pt.utils.jdbc.exception.TableNameNotFoundException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.