Klasse PlatformMssqlImpl

java.lang.Object
org.apache.torque.templates.platform.PlatformDefaultImpl
org.apache.torque.templates.platform.PlatformMssqlImpl
Alle implementierten Schnittstellen:
Platform

public class PlatformMssqlImpl extends PlatformDefaultImpl
MS SQL Platform implementation.
Version:
$Id: PlatformMssqlImpl.java 1917240 2024-04-21 13:22:54Z tv $
Autor:
Martin Poeschl, Greg Monroe
  • Konstruktordetails

    • PlatformMssqlImpl

      public PlatformMssqlImpl()
      Default constructor.
  • Methodendetails

    • getNullString

      public String getNullString(boolean notNull)
      Angegeben von:
      getNullString in Schnittstelle Platform
      Setzt außer Kraft:
      getNullString in Klasse PlatformDefaultImpl
      Parameter:
      notNull - flag for not null
      Gibt zurück:
      Explicitly returns NULL if null values are allowed (as recomended by Microsoft).
      Siehe auch:
    • escapeBackslashes

      protected boolean escapeBackslashes()
      Beschreibung aus Klasse kopiert: PlatformDefaultImpl
      Returns whether backslashes must be escaped in string literals.
      Setzt außer Kraft:
      escapeBackslashes in Klasse PlatformDefaultImpl
      Gibt zurück:
      true if backslashes bust be escaped, false otherwise.
    • getTimestampString

      public String getTimestampString(Date date)
      Formats the given date as timestamp string which is parseable by the database.
      Angegeben von:
      getTimestampString in Schnittstelle Platform
      Setzt außer Kraft:
      getTimestampString in Klasse PlatformDefaultImpl
      Parameter:
      date - the date to format.
      Gibt zurück:
      the timestamp string, inclusive string escaping.
    • usesStandaloneSchema

      public boolean usesStandaloneSchema()
      Returns whether the database has schema support where a schema is not tied to a user (oracle) or database (mysql), but can be created separately.
      Angegeben von:
      usesStandaloneSchema in Schnittstelle Platform
      Setzt außer Kraft:
      usesStandaloneSchema in Klasse PlatformDefaultImpl
      Gibt zurück:
      this implementation returns true.
    • hasSize

      public boolean hasSize(String sqlType)
      Beschreibung aus Schnittstelle kopiert: Platform
      Returns if the RDBMS-specific SQL type has a size attribute.
      Angegeben von:
      hasSize in Schnittstelle Platform
      Setzt außer Kraft:
      hasSize in Klasse PlatformDefaultImpl
      Parameter:
      sqlType - the SQL type
      Gibt zurück:
      true if the type has a size attribute
      Siehe auch: