getSQLStateType Method (SQLServerDatabaseMetaData)
Indicates whether the SQLSTATE that is returned by the SQLException.getSQLState method is X/Open (now known as Open Group) SQL CLI, SQL99 (JDBC 3.0), or SQL:2003 (JDBC 4.0).
Syntax
public int getSQLStateType()
Return Value
An int that indicates the type of SQLSTATE, which can be one of the following values:
For Java Runtime Environment version 5.0: If the xopenStates connection property is set to true, this method returns DatabaseMetaData.sqlStateXOpen. Otherwise, DatabaseMetaData.sqlStateSQL99.
For Java Runtime Environment version 6.0: If the xopenStates connection property is set to true, this method returns DatabaseMetaData.sqlStateXOpen. Otherwise, DatabaseMetaData.sqlStateSQL.
Exceptions
Remarks
This getSQLStateType method is specified by the getSQLStateType method in the java.sql.DatabaseMetaData interface.
See Also
SQLServerDatabaseMetaData Methods
SQLServerDatabaseMetaData Members
SQLServerDatabaseMetaData Class
Povratne informacije
https://aka.ms/ContentUserFeedback.
Uskoro: tokom 2024. postepeno ćemo ukidati probleme s uslugom GitHub kao mehanizam povratnih informacija za sadržaj i zamijeniti ga novim sistemom povratnih informacija. Za više informacija, pogledajtePošalјite i prikažite povratne informacije za