@Override @OneToMany(cascade = CascadeType.ALL, fetch = FetchType.EAGER, orphanRemoval = true, mappedBy = "employeeConfiguration") // fetch mode, only returns one @Fetch(FetchMode.SELECT) // unfortunatelly this does work. Date is not valid for order (only integral types) // @OrderColumn(name = "startTime") @HistoryProperty(converter = TimependingHistoryPropertyConverter.class) public List<EmployeeConfigurationTimedDO> getTimeableAttributes() { return timeableAttributes; }
@Override @OneToMany(cascade = CascadeType.ALL, fetch = FetchType.EAGER, orphanRemoval = true, mappedBy = "employee") // fetch mode, only returns one @Fetch(FetchMode.SELECT) // unfortunatelly this does work. Date is not valid for order (only integral types) // @OrderColumn(name = "startTime") @HistoryProperty(converter = TimependingHistoryPropertyConverter.class) public List<EmployeeTimedDO> getTimeableAttributes() { return timeableAttributes; }
@Override @OneToMany(cascade = CascadeType.ALL, fetch = FetchType.EAGER, orphanRemoval = true, mappedBy = "visitor") @Fetch(FetchMode.SELECT) @HistoryProperty(converter = TimependingHistoryPropertyConverter.class) public List<VisitorbookTimedDO> getTimeableAttributes() { return timeableAttributes; }
@Override @OneToMany(cascade = CascadeType.ALL, mappedBy = "parent", targetEntity = EmployeeAttrDO.class, orphanRemoval = true, fetch = FetchType.EAGER) @MapKey(name = "propertyName") @HistoryProperty(converter = TabAttrHistoryPropertyConverter.class) public Map<String, JpaTabAttrBaseDO<EmployeeDO, Integer>> getAttrs() { return super.getAttrs(); }
@Override @OneToMany(cascade = CascadeType.ALL, mappedBy = "parent", targetEntity = EmployeeConfigurationAttrDO.class, orphanRemoval = true, fetch = FetchType.EAGER) @MapKey(name = "propertyName") @HistoryProperty(converter = TabAttrHistoryPropertyConverter.class) public Map<String, JpaTabAttrBaseDO<EmployeeConfigurationDO, Integer>> getAttrs() { return super.getAttrs(); }
@OneToMany(cascade = CascadeType.ALL, mappedBy = "parent", targetEntity = AddressAttrDO.class, orphanRemoval = true, fetch = FetchType.EAGER) @MapKey(name = "propertyName") @Override @HistoryProperty(converter = TabAttrHistoryPropertyConverter.class) public Map<String, JpaTabAttrBaseDO<AddressDO, Integer>> getAttrs() { return super.getAttrs(); }