net.sourceforge.jtds.jdbc.cache

Class SQLCacheKey


public class SQLCacheKey
extends java.lang.Object

Cache key for an SQL query, consisting of the query and server type, major and minor version.
Version:
$Id: SQLCacheKey.java,v 1.2 2005/05/25 09:24:02 alin_sinpalean Exp $
Authors:
Brett Wooldridge
Alin Sinpalean

Field Summary

private int
hashCode
private int
majorVersion
private int
minorVersion
private int
serverType
private String
sql

Constructor Summary

SQLCacheKey(String sql, ConnectionJDBC2 connection)

Method Summary

boolean
equals(Object object)
int
hashCode()

Field Details

hashCode

private final int hashCode

majorVersion

private final int majorVersion

minorVersion

private final int minorVersion

serverType

private final int serverType

sql

private final String sql

Constructor Details

SQLCacheKey

public SQLCacheKey(String sql,
                   ConnectionJDBC2 connection)

Method Details

equals

public boolean equals(Object object)

hashCode

public int hashCode()

Generated on June 12 2008