Class NativeSQLQueryNonScalarReturn

    • Constructor Detail

      • NativeSQLQueryNonScalarReturn

        protected NativeSQLQueryNonScalarReturn​(String alias,
                                                Map<String,​String[]> propertyResults,
                                                LockMode lockMode)
        Constructs some form of non-scalar return descriptor
        Parameters:
        alias - The result alias
        propertyResults - Any user-supplied column->property mappings
        lockMode - The lock mode to apply to the return.
    • Method Detail

      • getAlias

        public String getAlias()
        Retrieve the defined result alias
        Returns:
        The result alias.
      • getLockMode

        public LockMode getLockMode()
        Retrieve the lock-mode to apply to this return
        Returns:
        The lock mode
      • getPropertyResultsMap

        public Map<String,​String[]> getPropertyResultsMap()
        Retrieve the user-supplied column->property mappings.
        Returns:
        The property mappings.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object