org.hibernate.engine.query.spi.sql
Class NativeSQLQuerySpecification
java.lang.Object
org.hibernate.engine.query.spi.sql.NativeSQLQuerySpecification
public class NativeSQLQuerySpecification
- extends 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.
NativeSQLQuerySpecification
public NativeSQLQuerySpecification(String queryString,
NativeSQLQueryReturn[] queryReturns,
Collection querySpaces)
getQueryString
public String getQueryString()
getQueryReturns
public NativeSQLQueryReturn[] getQueryReturns()
getQuerySpaces
public Set getQuerySpaces()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.