类 QueryParameterNamedImpl<T>

  • 所有已实现的接口:
    javax.persistence.Parameter<T>, QueryParameter<T>

    public class QueryParameterNamedImpl<T>
    extends QueryParameterImpl<T>
    implements QueryParameter<T>
    Models a named query parameter NOTE: Unfortunately we need to model named and positional parameters separately still until 6.0 NOTE : Also, notice that this still treats JPA "positional" parameters as named. This will change in 6.0 as well after we remove support for legacy positional parameters (the JPA model is better there).
    作者:
    Steve Ebersole
    • 构造器详细资料

      • QueryParameterNamedImpl

        public QueryParameterNamedImpl​(String name,
                                       int[] sourceLocations,
                                       Type expectedType)
    • 方法详细资料

      • getName

        public String getName()
        指定者:
        getName 在接口中 javax.persistence.Parameter<T>
      • getPosition

        public Integer getPosition()
        指定者:
        getPosition 在接口中 javax.persistence.Parameter<T>
      • hashCode

        public int hashCode()
        覆盖:
        hashCode 在类中 Object