#Problem w Repository Spring
11 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @livid relic! Please use
/closeor theClose Postbutton above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
What method are you looking for?
method save in this one Repository
Ah ok. have you ever heard of the concept of inheritance?
no
As all children inherit the assets of their parents in the real-life (rl), your type "SensorRepository" inherits all methods that are declared in the JpaRepository. If you inspect the class JpaRepository (or their parents accordingly) you will find your basic save method.
The method is there! Do not trust subsequent error-messages, they are a result of an already confused compiler. Solve the first error first until the misleading error-message dissapear.