SQLCacheKey (jTDS API)
Date: 2013-06-08

net.sourceforge.jtds.jdbc.cache

## Class SQLCacheKey

- java.lang.Object
- - net.sourceforge.jtds.jdbc.cache.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.2.1 2009-07-29 12:10:42 ickzon Exp $
  Author:
    Brett Wooldridge, Alin Sinpalean

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private int` | `hashCode`
    `private int` | `majorVersion`
    `private int` | `minorVersion`
    `private int` | `serverType`
    `private java.lang.String` | `sql`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SQLCacheKey(java.lang.String sql, JtdsConnection connection)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(java.lang.Object object)`
    `int` | `hashCode()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### sql

          private final java.lang.String sql

    - #### serverType

          private final int serverType

    - #### majorVersion

          private final int majorVersion

    - #### minorVersion

          private final int minorVersion

    - #### hashCode

          private final int hashCode

  - ### Constructor Detail

    - #### SQLCacheKey

          public SQLCacheKey(java.lang.String sql,
                     JtdsConnection connection)

  - ### Method Detail

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object object)

      Overrides:
        `equals` in class `java.lang.Object`

Generated on June 8 2013