Package com.github.kopylec.rapidjdbc.annotation

Examples of com.github.kopylec.rapidjdbc.annotation.Column


        Map<String, Field> fieldsByColumns = new HashMap<String, Field>();
        Field[] fields = entityClass.getDeclaredFields();

        for (Field field : fields) {
            Column column = field.getAnnotation(Column.class);
            if (column != null) {
                LOGGER.trace("Annotation {} with value \"{}\" found on field \"{}\"", Column.class.getName(), column.value(), field.getName());
                field.setAccessible(true);
                fieldsByColumns.put(column.value(), field);
            }
        }
        entityFieldsByClass.put(entityClass, fieldsByColumns);
    }
View Full Code Here

TOP

Related Classes of com.github.kopylec.rapidjdbc.annotation.Column

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.