We are creating a SQL query so we must follow these steps: Annotate the entity with the @NamedNativeQuery annotation. Set the name of the named query (User.
確定! 回上一頁