Examples of DbMapTo


Examples of jodd.db.oom.meta.DbMapTo

  /**
   * Resolves mapped types from {@link jodd.db.oom.meta.DbMapTo} annotation.
   */
  public static Class[] resolveMappedTypes(Class type) {
    DbMapTo dbMapTo = (DbMapTo) type.getAnnotation(DbMapTo.class);
    if (dbMapTo == null) {
      return null;
    }
    return dbMapTo.value();
  }
View Full Code Here

Examples of jodd.db.oom.meta.DbMapTo

  /**
   * Resolves mapped types from {@link jodd.db.oom.meta.DbMapTo} annotation.
   */
  public static Class[] resolveMappedTypes(Class type) {
    DbMapTo dbMapTo = (DbMapTo) type.getAnnotation(DbMapTo.class);
    if (dbMapTo == null) {
      return null;
    }
    return dbMapTo.value();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.