@Override @SuppressWarnings("unchecked") public <T, ID> JpaEntityInformation<T, ID> getEntityInformation(Class<T> domainClass) { return (JpaEntityInformation<T, ID>) JpaEntityInformationSupport.getEntityInformation(domainClass, entityManager); }
/** * Creates a new {@link SimpleJpaRepository} to manage objects of the given domain type. * * @param domainClass must not be {@literal null}. * @param em must not be {@literal null}. */ public SimpleJpaRepository(Class<T> domainClass, EntityManager em) { this(JpaEntityInformationSupport.getEntityInformation(domainClass, em), em); }
@Override @SuppressWarnings("unchecked") public <T, ID> JpaEntityInformation<T, ID> getEntityInformation(Class<T> domainClass) { return (JpaEntityInformation<T, ID>) JpaEntityInformationSupport.getEntityInformation(domainClass, entityManager); }
/** * Creates a new {@link SimpleJpaRepository} to manage objects of the given domain type. * * @param domainClass must not be {@literal null}. * @param em must not be {@literal null}. */ public SimpleJpaRepository(Class<T> domainClass, EntityManager em) { this(JpaEntityInformationSupport.getEntityInformation(domainClass, em), em); }
@Autowired public SysUserRoleEODao(EntityManager entityManager) { super(JpaEntityInformationSupport.getEntityInformation(SysUserRoleEO.class, entityManager), entityManager); }
@Autowired public SysEventEODao(EntityManager entityManager) { super(JpaEntityInformationSupport.getEntityInformation(SysEventEO.class, entityManager), entityManager); }
@Autowired public CodeGenTableEODao(EntityManager entityManager) { super(JpaEntityInformationSupport.getEntityInformation(CodeGenTableEO.class, entityManager), entityManager); }
@Autowired public FlowAuditItemDetailEODao (EntityManager entityManager) { super(JpaEntityInformationSupport.getEntityInformation(FlowAuditItemDetailEO.class, entityManager), entityManager); }
@Autowired public UserManagerEODao(EntityManager entityManager) { super(JpaEntityInformationSupport.getEntityInformation(UserManagerEO.class, entityManager), entityManager); }
@Autowired public SysMenuEODao(EntityManager entityManager) { super(JpaEntityInformationSupport.getEntityInformation(SysMenuEO.class, entityManager), entityManager); }
@Autowired public MsgMessageEODao(EntityManager entityManager) { super(JpaEntityInformationSupport.getEntityInformation(MsgMessageEO.class, entityManager), entityManager); }
@Autowired public UserContactInfoDao(EntityManager entityManager) { super(JpaEntityInformationSupport.getEntityInformation(UserContactInfoEO.class, entityManager), entityManager); }
@Autowired public SysRoleEODao(EntityManager entityManager) { super(JpaEntityInformationSupport.getEntityInformation(SysRoleEO.class, entityManager), entityManager); }
@Autowired public SysRoleMenuEODao(EntityManager entityManager) { super(JpaEntityInformationSupport.getEntityInformation(SysRoleMenuEO.class, entityManager), entityManager); }
@Autowired public MsgTemplateChannelEODao(EntityManager entityManager) { super(JpaEntityInformationSupport.getEntityInformation(MsgTemplateChannelEO.class, entityManager), entityManager); }
@Autowired public MsgTypeEODao (EntityManager entityManager) { super(JpaEntityInformationSupport.getEntityInformation(MsgTypeEO.class, entityManager), entityManager); }
@Autowired public MsgAnnounceEODao(EntityManager entityManager) { super(JpaEntityInformationSupport.getEntityInformation(MsgAnnounceEO.class, entityManager), entityManager); }
@Autowired public FlowAuditLogEODao(EntityManager entityManager) { super(JpaEntityInformationSupport.getEntityInformation(FlowAuditLogEO.class, entityManager), entityManager); }
@Autowired public SysInitDao(EntityManager entityManager) { super(JpaEntityInformationSupport.getEntityInformation(SysConfigEO.class, entityManager), entityManager); }
public AppJpaBaseRepositoryImpl(Class<E> domainClass, EntityManager entityManager, boolean enableValidator) { //modified for spring data starter 1.3 super(domainClass, entityManager); this.entityInformation = JpaEntityInformationSupport.getEntityInformation(domainClass, entityManager); this.entityManager = entityManager; this.enableValidator = enableValidator; log.info("扩展JPA开始实例化{}", getClass().getSimpleName()); }