Save This Page
Home » apache-openjpa-1.1.0-source » org.apache.openjpa.jdbc » sql » [javadoc | source]
org.apache.openjpa.jdbc.sql
public class: SQLServerDictionary [javadoc | source]
java.lang.Object
   org.apache.openjpa.jdbc.sql.DBDictionary
      org.apache.openjpa.jdbc.sql.AbstractSQLServerDictionary
         org.apache.openjpa.jdbc.sql.SQLServerDictionary

All Implemented Interfaces:
    ConnectionDecorator, Configurable, SQLWarningHandler, JoinSyntaxes

Dictionary for MS SQLServer.
Field Summary
public static final  String VENDOR_MICROSOFT     
public static final  String VENDOR_NETDIRECT     
public static final  String VENDOR_JTDS     
public  boolean uniqueIdentifierAsVarbinary    Flag whether to treat UNIQUEIDENTIFIER as VARBINARY or VARCHAR 
Fields inherited from org.apache.openjpa.jdbc.sql.DBDictionary:
VENDOR_OTHER,  VENDOR_DATADIRECT,  SCHEMA_CASE_UPPER,  SCHEMA_CASE_LOWER,  SCHEMA_CASE_PRESERVE,  CONS_NAME_BEFORE,  CONS_NAME_MID,  CONS_NAME_AFTER,  blobBufferSize,  clobBufferSize,  RANGE_POST_SELECT,  RANGE_PRE_DISTINCT,  RANGE_POST_DISTINCT,  RANGE_POST_LOCK,  NANO,  MICRO,  MILLI,  CENTI,  DECI,  SEC,  NAME_ANY,  NAME_TABLE,  NAME_SEQUENCE,  UNLIMITED,  NO_BATCH,  EMPTY_STRING_LIST,  SQL_STATE_CODES,  platform,  driverVendor,  catalogSeparator,  createPrimaryKeys,  constraintNameMode,  maxTableNameLength,  maxColumnNameLength,  maxConstraintNameLength,  maxIndexNameLength,  maxIndexesPerTable,  supportsForeignKeys,  supportsTimestampNanos,  supportsUniqueConstraints,  supportsDeferredConstraints,  supportsRestrictDeleteAction,  supportsCascadeDeleteAction,  supportsNullDeleteAction,  supportsDefaultDeleteAction,  supportsRestrictUpdateAction,  supportsCascadeUpdateAction,  supportsNullUpdateAction,  supportsDefaultUpdateAction,  supportsAlterTableWithAddColumn,  supportsAlterTableWithDropColumn,  supportsComments,  reservedWords,  systemSchemas,  systemTables,  selectWords,  fixedSizeTypeNames,  schemaCase,  validationSQL,  closePoolSQL,  initializationSQL,  joinSyntax,  outerJoinClause,  innerJoinClause,  crossJoinClause,  requiresConditionForCrossJoin,  forUpdateClause,  tableForUpdateClause,  distinctCountColumnSeparator,  supportsSelectForUpdate,  supportsLockingWithDistinctClause,  supportsLockingWithMultipleTables,  supportsLockingWithOrderClause,  supportsLockingWithOuterJoin,  supportsLockingWithInnerJoin,  supportsLockingWithSelectRange,  supportsQueryTimeout,  simulateLocking,  supportsSubselect,  supportsCorrelatedSubselect,  supportsHaving,  supportsSelectStartIndex,  supportsSelectEndIndex,  rangePosition,  requiresAliasForSubselect,  requiresTargetForDelete,  allowsAliasInBulkClause,  supportsMultipleNontransactionalResultSets,  searchStringEscape,  requiresCastForMathFunctions,  requiresCastForComparisons,  supportsModOperator,  supportsXMLColumn,  castFunction,  toLowerCaseFunction,  toUpperCaseFunction,  stringLengthFunction,  bitLengthFunction,  trimLeadingFunction,  trimTrailingFunction,  trimBothFunction,  concatenateFunction,  concatenateDelimiter,  substringFunctionName,  currentDateFunction,  currentTimeFunction,  currentTimestampFunction,  dropTableSQL,  storageLimitationsFatal,  storeLargeNumbersAsStrings,  storeCharsAsNumbers,  useGetBytesForBlobs,  useSetBytesForBlobs,  useGetObjectForBlobs,  useGetStringForClobs,  useSetStringForClobs,  maxEmbeddedBlobSize,  maxEmbeddedClobSize,  inClauseLimit,  datePrecision,  characterColumnSize,  arrayTypeName,  bigintTypeName,  binaryTypeName,  bitTypeName,  blobTypeName,  booleanTypeName,  charTypeName,  clobTypeName,  dateTypeName,  decimalTypeName,  distinctTypeName,  doubleTypeName,  floatTypeName,  integerTypeName,  javaObjectTypeName,  longVarbinaryTypeName,  longVarcharTypeName,  nullTypeName,  numericTypeName,  otherTypeName,  realTypeName,  refTypeName,  smallintTypeName,  structTypeName,  timeTypeName,  timestampTypeName,  tinyintTypeName,  varbinaryTypeName,  varcharTypeName,  xmlTypeName,  getStringVal,  useSchemaName,  tableTypes,  supportsSchemaForGetTables,  supportsSchemaForGetColumns,  supportsNullTableForGetColumns,  supportsNullTableForGetPrimaryKeys,  supportsNullTableForGetIndexInfo,  supportsNullTableForGetImportedKeys,  useGetBestRowIdentifierForPrimaryKeys,  requiresAutoCommitForMetaData,  maxAutoAssignNameLength,  autoAssignClause,  autoAssignTypeName,  supportsAutoAssign,  lastGeneratedKeyQuery,  nextSequenceQuery,  sequenceSQL,  sequenceSchemaSQL,  sequenceNameSQL,  conf,  log,  connected,  reservedWordSet,  systemSchemaSet,  systemTableSet,  fixedSizeTypeNameSet,  typeModifierSet,  selectWordSet,  batchLimit
Constructor:
 public SQLServerDictionary() 
Method from org.apache.openjpa.jdbc.sql.SQLServerDictionary Summary:
appendLength,   appendXmlComparison,   connectedConfiguration,   getColumns,   getSchemaCase
Methods from org.apache.openjpa.jdbc.sql.AbstractSQLServerDictionary:
appendSelectRange,   getColumns,   getFullName,   indexOf,   setNull,   substring
Methods from org.apache.openjpa.jdbc.sql.DBDictionary:
addCastAsType,   appendCast,   appendLength,   appendNumericCast,   appendSelect,   appendSelectRange,   appendSize,   appendUpdates,   appendXmlComparison,   assertSupport,   calculateValue,   canOuterJoin,   closeDataSource,   comment,   comparison,   connectedConfiguration,   convertSchemaCase,   copy,   copy,   createIndexIfNecessary,   decorate,   deleteStream,   endConfiguration,   executeQuery,   getAddColumnSQL,   getAddForeignKeySQL,   getAddPrimaryKeySQL,   getArray,   getAsciiStream,   getBatchLimit,   getBigDecimal,   getBigInteger,   getBinaryStream,   getBlob,   getBlobObject,   getBoolean,   getByte,   getBytes,   getCalendar,   getCastFunction,   getCatalogNameForMetadata,   getChar,   getCharacterStream,   getClob,   getClobString,   getColumnNameForMetadata,   getColumns,   getCreateIndexSQL,   getCreateSequenceSQL,   getCreateTableSQL,   getDate,   getDate,   getDeclareColumnSQL,   getDeleteTableContentsSQL,   getDeleteTargets,   getDouble,   getDropColumnSQL,   getDropForeignKeySQL,   getDropIndexSQL,   getDropPrimaryKeySQL,   getDropSequenceSQL,   getDropTableSQL,   getFloat,   getForUpdateClause,   getForeignKeyConstraintSQL,   getFrom,   getFromSelect,   getFullName,   getFullName,   getFullName,   getGeneratedKey,   getGeneratedKeySequenceName,   getImportedKeys,   getIndexInfo,   getInt,   getJDBCType,   getKey,   getLOBStream,   getLocale,   getLong,   getNumber,   getObject,   getPlaceholderValueString,   getPreferredType,   getPrimaryKeyConstraintSQL,   getPrimaryKeys,   getPrimaryKeysFromBestRowIdentifier,   getPrimaryKeysFromGetPrimaryKeys,   getRef,   getSQLStates,   getSchemaCase,   getSchemaNameForMetadata,   getSelectOperation,   getSelects,   getSequence,   getSequences,   getSequencesSQL,   getShort,   getString,   getTableNameForMetadata,   getTables,   getTime,   getTimestamp,   getTypeName,   getTypeName,   getUniqueConstraintSQL,   getValidColumnName,   getValidColumnName,   getValidForeignKeyName,   getValidIndexName,   getValidPrimaryKeyName,   getValidSequenceName,   getValidTableName,   getValidUniqueName,   getVersionColumn,   getWhere,   handleWarning,   indexOf,   insertBlobForStreamingLoad,   insertClobForStreamingLoad,   insertSize,   isSelect,   isSystemIndex,   isSystemSequence,   isSystemTable,   makeNameValid,   makeNameValid,   mathFunction,   newColumn,   newForeignKey,   newIndex,   newPrimaryKey,   newSequence,   newStoreException,   newTable,   prepareStatement,   putBytes,   putChars,   putString,   refSchemaComponents,   serialize,   setArray,   setAsciiStream,   setBatchLimit,   setBigDecimal,   setBigInteger,   setBinaryStream,   setBlob,   setBlobObject,   setBoolean,   setByte,   setBytes,   setCalendar,   setChar,   setCharacterStream,   setClob,   setClobString,   setConfiguration,   setDate,   setDate,   setDouble,   setFloat,   setInt,   setJoinSyntax,   setLocale,   setLong,   setNull,   setNumber,   setObject,   setRef,   setShort,   setString,   setTime,   setTimestamp,   setTyped,   setUnknown,   shorten,   startConfiguration,   storageWarning,   substring,   supportsDeferredForeignKeyConstraints,   supportsDeferredUniqueConstraints,   supportsDeleteAction,   supportsLocking,   supportsRandomAccessResultSet,   supportsUpdateAction,   toBulkOperation,   toDelete,   toLong,   toNativeJoin,   toOperation,   toOperation,   toSQL92Join,   toSelect,   toSelect,   toSelect,   toSelect,   toSelect,   toSelectCount,   toTraditionalJoin,   toUpdate,   updateBlob,   updateClob,   validateBatchProcess,   validateDBSpecificBatchProcess
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.openjpa.jdbc.sql.SQLServerDictionary Detail:
 protected  void appendLength(SQLBuffer buf,
    int type) 
 public  void appendXmlComparison(SQLBuffer buf,
    String op,
    FilterValue lhs,
    FilterValue rhs,
    boolean lhsxml,
    boolean rhsxml) 
    If this dictionary supports XML type, use this method to append xml predicate.
 public  void connectedConfiguration(Connection conn) throws SQLException 
 public Column[] getColumns(DatabaseMetaData meta,
    String catalog,
    String schemaName,
    String tableName,
    String columnName,
    Connection conn) throws SQLException 
 public String getSchemaCase() 
    Return DB specific schemaCase