LibreOffice Module connectivity (master) 1
strings.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 */
9
10#pragma once
11
12#include <rtl/ustring.hxx>
13
14// = log messages for the JDBC driver
15
16#define STR_LOG_DRIVER_CONNECTING_URL "jdbcBridge: connecting to URL '$1$'"
17inline constexpr OUStringLiteral STR_LOG_DRIVER_SUCCESS = u"jdbcBridge: success";
18inline constexpr OUStringLiteral STR_LOG_CREATE_STATEMENT = u"c$1$: creating statement";
19inline constexpr OUStringLiteral STR_LOG_CREATED_STATEMENT_ID = u"c$1$: created statement, statement id: s$2$";
20inline constexpr OUStringLiteral STR_LOG_PREPARE_STATEMENT = u"c$1$: preparing statement: $2$";
21inline constexpr OUStringLiteral STR_LOG_PREPARED_STATEMENT_ID = u"c$1$: prepared statement, statement id: s$2$";
22inline constexpr OUStringLiteral STR_LOG_PREPARE_CALL = u"c$1$: preparing call: $2$";
23inline constexpr OUStringLiteral STR_LOG_PREPARED_CALL_ID = u"c$1$: prepared call, statement id: s$2$";
24inline constexpr OUStringLiteral STR_LOG_NATIVE_SQL = u"c$1$: native SQL: $2$ -> $3$";
25inline constexpr OUStringLiteral STR_LOG_LOADING_DRIVER = u"c$1$: attempting to load driver class $2$";
26inline constexpr OUStringLiteral STR_LOG_NO_DRIVER_CLASS = u"c$1$: no Java Driver Class was provided";
27inline constexpr OUStringLiteral STR_LOG_CONN_SUCCESS = u"c$1$: success";
28inline constexpr OUStringLiteral STR_LOG_NO_SYSTEM_CONNECTION = u"c$1$: JDBC driver did not provide a JDBC connection";
29inline constexpr OUStringLiteral STR_LOG_GOT_JDBC_CONNECTION = u"c$1$: obtained a JDBC connection for $2$";
30inline constexpr OUStringLiteral STR_LOG_SHUTDOWN_CONNECTION = u"c$1$: shutting down connection";
31inline constexpr OUStringLiteral STR_LOG_GENERATED_VALUES = u"s$1$: retrieving generated values";
32inline constexpr OUStringLiteral STR_LOG_GENERATED_VALUES_FALLBACK = u"s$1$: getGeneratedValues: falling back to statement: $2$";
33inline constexpr OUStringLiteral STR_LOG_EXECUTE_STATEMENT = u"s$1$: going to execute: $2$";
34inline constexpr OUStringLiteral STR_LOG_EXECUTE_QUERY = u"s$1$: going to execute query: $2$";
35inline constexpr OUStringLiteral STR_LOG_CLOSING_STATEMENT = u"s$1$: closing/disposing statement";
36inline constexpr OUStringLiteral STR_LOG_EXECUTE_UPDATE = u"s$1$: going to execute update: $2$";
37inline constexpr OUStringLiteral STR_LOG_UPDATE_COUNT = u"s$1$: update count: $2$";
38inline constexpr OUStringLiteral STR_LOG_RESULT_SET_CONCURRENCY = u"s$1$: going to set result set concurrency: $2$";
39inline constexpr OUStringLiteral STR_LOG_RESULT_SET_TYPE = u"s$1$: going to set result set type: $2$";
40inline constexpr OUStringLiteral STR_LOG_FETCH_DIRECTION = u"s$1$: fetch direction: $2$";
41inline constexpr OUStringLiteral STR_LOG_FETCH_SIZE = u"s$1$: fetch size: $2$";
42inline constexpr OUStringLiteral STR_LOG_SET_ESCAPE_PROCESSING = u"s$1$: going to set escape processing: $2$";
43inline constexpr OUStringLiteral STR_LOG_EXECUTING_PREPARED = u"s$1$: executing previously prepared statement";
44inline constexpr OUStringLiteral STR_LOG_EXECUTING_PREPARED_UPDATE = u"s$1$: executing previously prepared update statement";
45inline constexpr OUStringLiteral STR_LOG_EXECUTING_PREPARED_QUERY = u"s$1$: executing previously prepared query";
46inline constexpr OUStringLiteral STR_LOG_STRING_PARAMETER = u"s$1$: parameter no. $2$: type: string; value: $3$";
47inline constexpr OUStringLiteral STR_LOG_BOOLEAN_PARAMETER = u"s$1$: parameter no. $2$: type: boolean; value: $3$";
48inline constexpr OUStringLiteral STR_LOG_BYTE_PARAMETER = u"s$1$: parameter no. $2$: type: byte; value: $3$";
49inline constexpr OUStringLiteral STR_LOG_DATE_PARAMETER = u"s$1$: parameter no. $2$: type: date; value: $3$";
50inline constexpr OUStringLiteral STR_LOG_TIME_PARAMETER = u"s$1$: parameter no. $2$: type: time; value: $3$";
51inline constexpr OUStringLiteral STR_LOG_TIMESTAMP_PARAMETER = u"s$1$: parameter no. $2$: type: timestamp; value: $3$";
52inline constexpr OUStringLiteral STR_LOG_DOUBLE_PARAMETER = u"s$1$: parameter no. $2$: type: double; value: $3$";
53inline constexpr OUStringLiteral STR_LOG_FLOAT_PARAMETER = u"s$1$: parameter no. $2$: type: float; value: $3$";
54inline constexpr OUStringLiteral STR_LOG_INT_PARAMETER = u"s$1$: parameter no. $2$: type: int; value: $3$";
55inline constexpr OUStringLiteral STR_LOG_LONG_PARAMETER = u"s$1$: parameter no. $2$: type: long; value: $3$";
56inline constexpr OUStringLiteral STR_LOG_NULL_PARAMETER = u"s$1$: parameter no. $2$: sql-type: $3$; value: null";
57inline constexpr OUStringLiteral STR_LOG_OBJECT_NULL_PARAMETER = u"s$1$: parameter no. $2$: setting to null";
58inline constexpr OUStringLiteral STR_LOG_SHORT_PARAMETER = u"s$1$: parameter no. $2$: type: short; value: $3$";
59inline constexpr OUStringLiteral STR_LOG_BYTES_PARAMETER = u"s$1$: parameter no. $2$: type: byte[]";
60inline constexpr OUStringLiteral STR_LOG_CHARSTREAM_PARAMETER = u"s$1$: parameter no. $2$: type: character stream";
61inline constexpr OUStringLiteral STR_LOG_BINARYSTREAM_PARAMETER = u"s$1$: parameter no. $2$: type: binary stream";
62inline constexpr OUStringLiteral STR_LOG_CLEAR_PARAMETERS = u"s$1$: clearing all parameters";
63inline constexpr OUStringLiteral STR_LOG_META_DATA_METHOD = u"c$1$: entering XDatabaseMetaData::$2$";
64inline constexpr OUStringLiteral STR_LOG_META_DATA_METHOD_ARG1 = u"c$1$: entering XDatabaseMetaData::$2$( '$3$' )";
65inline constexpr OUStringLiteral STR_LOG_META_DATA_METHOD_ARG2 = u"c$1$: entering XDatabaseMetaData::$2$( '$3$', '$4$' )";
66inline constexpr OUStringLiteral STR_LOG_META_DATA_METHOD_ARG3 = u"c$1$: entering XDatabaseMetaData::$2$( '$3$', '$4$', '$5$' )";
67inline constexpr OUStringLiteral STR_LOG_META_DATA_METHOD_ARG4 = u"c$1$: entering XDatabaseMetaData::$2$( '$3$', '$4$', '$5$', '$6$' )";
68inline constexpr OUStringLiteral STR_LOG_META_DATA_RESULT = u"c$1$: leaving XDatabaseMetaData::$2$: success-with-result: $3$";
69inline constexpr OUStringLiteral STR_LOG_META_DATA_SUCCESS = u"c$1$: leaving XDatabaseMetaData::$2$: success";
70#define STR_LOG_THROWING_EXCEPTION "SQLException to be thrown: message: '$1$', SQLState: $2$, ErrorCode: $3$"
71inline constexpr OUStringLiteral STR_LOG_SETTING_SYSTEM_PROPERTY = u"setting system property \"$1$\" to value \"$2$\"";
72
73inline constexpr OUStringLiteral STR_DB_NOT_CONNECTED_STATE = u"08003";
74inline constexpr OUStringLiteral STR_DATA_CANNOT_SELECT_UNFILTERED_STATE = u"IM001";
75
76/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
float u
constexpr OUStringLiteral STR_LOG_TIMESTAMP_PARAMETER
Definition: strings.hxx:51
constexpr OUStringLiteral STR_LOG_META_DATA_METHOD_ARG2
Definition: strings.hxx:65
constexpr OUStringLiteral STR_LOG_FETCH_DIRECTION
Definition: strings.hxx:40
constexpr OUStringLiteral STR_LOG_GOT_JDBC_CONNECTION
Definition: strings.hxx:29
constexpr OUStringLiteral STR_LOG_RESULT_SET_TYPE
Definition: strings.hxx:39
constexpr OUStringLiteral STR_LOG_DRIVER_SUCCESS
Definition: strings.hxx:17
constexpr OUStringLiteral STR_LOG_BINARYSTREAM_PARAMETER
Definition: strings.hxx:61
constexpr OUStringLiteral STR_LOG_DATE_PARAMETER
Definition: strings.hxx:49
constexpr OUStringLiteral STR_LOG_DOUBLE_PARAMETER
Definition: strings.hxx:52
constexpr OUStringLiteral STR_LOG_EXECUTE_UPDATE
Definition: strings.hxx:36
constexpr OUStringLiteral STR_LOG_INT_PARAMETER
Definition: strings.hxx:54
constexpr OUStringLiteral STR_LOG_META_DATA_SUCCESS
Definition: strings.hxx:69
constexpr OUStringLiteral STR_LOG_CHARSTREAM_PARAMETER
Definition: strings.hxx:60
constexpr OUStringLiteral STR_LOG_STRING_PARAMETER
Definition: strings.hxx:46
constexpr OUStringLiteral STR_LOG_PREPARED_CALL_ID
Definition: strings.hxx:23
constexpr OUStringLiteral STR_LOG_EXECUTING_PREPARED_UPDATE
Definition: strings.hxx:44
constexpr OUStringLiteral STR_LOG_FLOAT_PARAMETER
Definition: strings.hxx:53
constexpr OUStringLiteral STR_LOG_BOOLEAN_PARAMETER
Definition: strings.hxx:47
constexpr OUStringLiteral STR_LOG_META_DATA_RESULT
Definition: strings.hxx:68
constexpr OUStringLiteral STR_DATA_CANNOT_SELECT_UNFILTERED_STATE
Definition: strings.hxx:74
constexpr OUStringLiteral STR_LOG_CLOSING_STATEMENT
Definition: strings.hxx:35
constexpr OUStringLiteral STR_LOG_SETTING_SYSTEM_PROPERTY
Definition: strings.hxx:71
constexpr OUStringLiteral STR_LOG_PREPARE_CALL
Definition: strings.hxx:22
constexpr OUStringLiteral STR_LOG_PREPARE_STATEMENT
Definition: strings.hxx:20
constexpr OUStringLiteral STR_LOG_NO_SYSTEM_CONNECTION
Definition: strings.hxx:28
constexpr OUStringLiteral STR_LOG_CONN_SUCCESS
Definition: strings.hxx:27
constexpr OUStringLiteral STR_LOG_META_DATA_METHOD
Definition: strings.hxx:63
constexpr OUStringLiteral STR_LOG_TIME_PARAMETER
Definition: strings.hxx:50
constexpr OUStringLiteral STR_LOG_CLEAR_PARAMETERS
Definition: strings.hxx:62
constexpr OUStringLiteral STR_LOG_EXECUTE_QUERY
Definition: strings.hxx:34
constexpr OUStringLiteral STR_LOG_LONG_PARAMETER
Definition: strings.hxx:55
constexpr OUStringLiteral STR_LOG_CREATED_STATEMENT_ID
Definition: strings.hxx:19
constexpr OUStringLiteral STR_LOG_SET_ESCAPE_PROCESSING
Definition: strings.hxx:42
constexpr OUStringLiteral STR_LOG_GENERATED_VALUES
Definition: strings.hxx:31
constexpr OUStringLiteral STR_LOG_SHORT_PARAMETER
Definition: strings.hxx:58
constexpr OUStringLiteral STR_LOG_META_DATA_METHOD_ARG3
Definition: strings.hxx:66
constexpr OUStringLiteral STR_LOG_EXECUTE_STATEMENT
Definition: strings.hxx:33
constexpr OUStringLiteral STR_LOG_META_DATA_METHOD_ARG4
Definition: strings.hxx:67
constexpr OUStringLiteral STR_LOG_META_DATA_METHOD_ARG1
Definition: strings.hxx:64
constexpr OUStringLiteral STR_LOG_NO_DRIVER_CLASS
Definition: strings.hxx:26
constexpr OUStringLiteral STR_LOG_UPDATE_COUNT
Definition: strings.hxx:37
constexpr OUStringLiteral STR_LOG_SHUTDOWN_CONNECTION
Definition: strings.hxx:30
constexpr OUStringLiteral STR_LOG_NATIVE_SQL
Definition: strings.hxx:24
constexpr OUStringLiteral STR_LOG_FETCH_SIZE
Definition: strings.hxx:41
constexpr OUStringLiteral STR_LOG_PREPARED_STATEMENT_ID
Definition: strings.hxx:21
constexpr OUStringLiteral STR_DB_NOT_CONNECTED_STATE
Definition: strings.hxx:73
constexpr OUStringLiteral STR_LOG_EXECUTING_PREPARED
Definition: strings.hxx:43
constexpr OUStringLiteral STR_LOG_RESULT_SET_CONCURRENCY
Definition: strings.hxx:38
constexpr OUStringLiteral STR_LOG_NULL_PARAMETER
Definition: strings.hxx:56
constexpr OUStringLiteral STR_LOG_CREATE_STATEMENT
Definition: strings.hxx:18
constexpr OUStringLiteral STR_LOG_EXECUTING_PREPARED_QUERY
Definition: strings.hxx:45
constexpr OUStringLiteral STR_LOG_BYTES_PARAMETER
Definition: strings.hxx:59
constexpr OUStringLiteral STR_LOG_BYTE_PARAMETER
Definition: strings.hxx:48
constexpr OUStringLiteral STR_LOG_GENERATED_VALUES_FALLBACK
Definition: strings.hxx:32
constexpr OUStringLiteral STR_LOG_OBJECT_NULL_PARAMETER
Definition: strings.hxx:57
constexpr OUStringLiteral STR_LOG_LOADING_DRIVER
Definition: strings.hxx:25