1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 module com
{ module sun
{ module star
{ module sdbc
{
13 /** determines SQL State values.
14 @since LibreOffice 25.2
19 * A possible return value for the method
20 * {@code DatabaseMetaData.getSQLStateType} which is used to indicate
21 * whether the value returned by the method
22 * {@code SQLException.getSQLState} is an
23 * X/Open (now know as Open Group) SQL CLI SQLSTATE value.
26 const long sqlStateXOpen
= 1;
29 * A possible return value for the method
30 * {@code DatabaseMetaData.getSQLStateType} which is used to indicate
31 * whether the value returned by the method
32 * {@code SQLException.getSQLState} is an SQLSTATE value.
35 const long sqlStateSQL
= 2;
38 * A possible return value for the method
39 * {@code DatabaseMetaData.getSQLStateType} which is used to indicate
40 * whether the value returned by the method
41 * {@code SQLException.getSQLState} is an SQL99 SQLSTATE value.
43 * <b>Note:</b>This constant remains only for compatibility reasons. Developers
44 * should use the constant {@code sqlStateSQL} instead.
47 const long sqlStateSQL99
= sqlStateSQL
;
53 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */