Class SQLServerSniffer

java.lang.Object
org.apache.cayenne.dba.sqlserver.SQLServerSniffer
All Implemented Interfaces:
DbAdapterDetector

public class SQLServerSniffer extends Object implements DbAdapterDetector
Detects SQLServer database from JDBC metadata.
Since:
1.2
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.apache.cayenne.di.AdhocObjectFactory
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    SQLServerSniffer(org.apache.cayenne.di.AdhocObjectFactory objectFactory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns an instance of DbAdapter if the factory detects that it knows how to handle the database or null if the database is not known to the factory, thus allowing multiple factories to be chained.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • objectFactory

      protected org.apache.cayenne.di.AdhocObjectFactory objectFactory
  • Constructor Details

    • SQLServerSniffer

      public SQLServerSniffer(org.apache.cayenne.di.AdhocObjectFactory objectFactory)
  • Method Details