Federspezifikation, wobei () Methode veraltet istJava

Java-Forum
Anonymous
 Federspezifikation, wobei () Methode veraltet ist

Post by Anonymous »

Da Spring Boot 3.5.0 Methode wob

Code: Select all

/**
* Simple static factory method to add some syntactic sugar around a {@link Specification}.
*
* @param  the type of the {@link Root} the resulting {@literal Specification} operates on.
* @param spec can be {@literal null}.
* @return guaranteed to be not {@literal null}.
* @since 2.0
* @deprecated since 3.5.
*/
@Deprecated(since = "3.5.0", forRemoval = true)
static  Specification where(@Nullable Specification spec);
< /code>
Beschreibung dieser Methode erklärt nicht, wie man sie durch eine andere nicht veraltete Methode ersetzt. Haben wir eine andere Methode, um eine leere Spezifikation ohne Abschaltungsmethoden zu erstellen? < /P>
final var spec = Specification.where(null);

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post