org.hibernate.engine.query.sql

Class NativeSQLQuerySpecification


public class NativeSQLQuerySpecification
extends java.lang.Object

Defines the specification or blue-print for a native-sql query. Essentially a simple struct containing the information needed to "translate" a native-sql query and cache that translated representation. Also used as the key by which the native-sql query plans are cached.
Author:
Steve Ebersole

Constructor Summary

NativeSQLQuerySpecification(String queryString, NativeSQLQueryReturn[] queryReturns, Collection querySpaces)

Method Summary

boolean
equals(Object o)
NativeSQLQueryReturn[]
getQueryReturns()
Set
getQuerySpaces()
String
getQueryString()
int
hashCode()

Constructor Details

NativeSQLQuerySpecification

public NativeSQLQuerySpecification(String queryString,
                                   NativeSQLQueryReturn[] queryReturns,
                                   Collection querySpaces)

Method Details

equals

public boolean equals(Object o)

getQueryReturns

public NativeSQLQueryReturn[] getQueryReturns()

getQuerySpaces

public Set getQuerySpaces()

getQueryString

public String getQueryString()

hashCode

public int hashCode()