Package javax.persistence

Examples of javax.persistence.ManyToOne.targetEntity()


      }

      // Many to One
      ManyToOne manyToOne = method.getAnnotation(ManyToOne.class);
      if (manyToOne != null) {
        Class<?> targetEntity = manyToOne.targetEntity();
        if (targetEntity != void.class) {
          return targetEntity;
        }
      }
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.