BAEL - 2823
This commit is contained in:
parent
dfdee7aa7a
commit
16493292f2
|
@ -5,7 +5,7 @@ import org.springframework.data.jpa.repository.JpaRepository;
|
|||
|
||||
import com.baeldung.entitygraph.model.Characteristic;
|
||||
|
||||
public interface CharacteristicsRepository extends JpaRepository<Characteristic , Long> {
|
||||
public interface CharacteristicsRepository extends JpaRepository<Characteristic, Long> {
|
||||
|
||||
@EntityGraph(attributePaths = {"item"})
|
||||
Characteristic findByType(String type);
|
||||
|
|
Loading…
Reference in New Issue