Hey,
ich verzweifle langsam ;D
Mein Repository ist null, andere Serviceklassen sind genau so aufgebaut und funktionieren. Hab in IntelliJ auch schon Cache geleert usw.
Was könnte das noch sein, jemand ne Idee?

ich verzweifle langsam ;D
Mein Repository ist null, andere Serviceklassen sind genau so aufgebaut und funktionieren. Hab in IntelliJ auch schon Cache geleert usw.
Was könnte das noch sein, jemand ne Idee?

Java:
@Repository
public interface InventoryLocationRepository extends JpaRepository<InventoryLocation, Long> {
InventoryLocation findByNameShort(String shortName);
/**
* Get all ShortNames
*
* @return list of existing locations, get only shortNames
*/
@Query(value = "SELECT name_short FROM inventory_locations", nativeQuery = true)
List<String> getAllInventoryLocationShortNames();
Zuletzt bearbeitet: