1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #include "resource/jdbc_log.hrc"
22 // = log messages for the JDBC driver
24 String STR_LOG_DRIVER_CONNECTING_URL
26 Text = "jdbcBridge: connecting to URL '$1$'";
29 String STR_LOG_DRIVER_SUCCESS
31 Text = "jdbcBridge: success";
34 String STR_LOG_CREATE_STATEMENT
36 Text = "c$1$: creating statement";
39 String STR_LOG_CREATED_STATEMENT_ID
41 Text = "c$1$: created statement, statement id: s$2$";
44 String STR_LOG_PREPARE_STATEMENT
46 Text = "c$1$: preparing statement: $2$";
49 String STR_LOG_PREPARED_STATEMENT_ID
51 Text = "c$1$: prepared statement, statement id: s$2$";
54 String STR_LOG_PREPARE_CALL
56 Text = "c$1$: preparing call: $2$";
59 String STR_LOG_PREPARED_CALL_ID
61 Text = "c$1$: prepared call, statement id: s$2$";
64 String STR_LOG_NATIVE_SQL
66 Text = "c$1$: native SQL: $2$ -> $3$";
69 String STR_LOG_LOADING_DRIVER
71 Text = "c$1$: attempting to load driver class $2$";
74 String STR_LOG_NO_DRIVER_CLASS
76 Text = "c$1$: no Java Driver Class was provided";
79 String STR_LOG_CONN_SUCCESS
81 Text = "c$1$: success";
84 String STR_LOG_NO_SYSTEM_CONNECTION
86 Text = "c$1$: JDBC driver did not provide a JDBC connection";
89 String STR_LOG_GOT_JDBC_CONNECTION
91 Text = "c$1$: obtained a JDBC connection for $2$";
94 String STR_LOG_SHUTDOWN_CONNECTION
96 Text = "c$1$: shutting down connection";
99 String STR_LOG_GENERATED_VALUES
101 Text = "s$1$: retrieving generated values";
104 String STR_LOG_GENERATED_VALUES_FALLBACK
106 Text = "s$1$: getGeneratedValues: falling back to statement: $2$";
109 String STR_LOG_EXECUTE_STATEMENT
111 Text = "s$1$: going to execute: $2$";
114 String STR_LOG_EXECUTE_QUERY
116 Text = "s$1$: going to execute query: $2$";
119 String STR_LOG_CLOSING_STATEMENT
121 Text = "s$1$: closing/disposing statement";
124 String STR_LOG_EXECUTE_UPDATE
126 Text = "s$1$: going to execute update: $2$";
129 String STR_LOG_UPDATE_COUNT
131 Text = "s$1$: update count: $2$";
134 String STR_LOG_RESULT_SET_CONCURRENCY
136 Text = "s$1$: going to set result set concurrency: $2$";
139 String STR_LOG_RESULT_SET_TYPE
141 Text = "s$1$: going to set result set type: $2$";
144 String STR_LOG_FETCH_DIRECTION
146 Text = "s$1$: fetch direction: $2$";
149 String STR_LOG_FETCH_SIZE
151 Text = "s$1$: fetch size: $2$";
154 String STR_LOG_SET_ESCAPE_PROCESSING
156 Text = "s$1$: going to set escape processing: $2$";
159 String STR_LOG_EXECUTING_PREPARED
161 Text = "s$1$: executing previously prepared statement";
164 String STR_LOG_EXECUTING_PREPARED_UPDATE
166 Text = "s$1$: executing previously prepared update statement";
169 String STR_LOG_EXECUTING_PREPARED_QUERY
171 Text = "s$1$: executing previously prepared query";
174 String STR_LOG_STRING_PARAMETER
176 Text = "s$1$: parameter no. $2$: type: string; value: $3$";
179 String STR_LOG_BOOLEAN_PARAMETER
181 Text = "s$1$: parameter no. $2$: type: boolean; value: $3$";
184 String STR_LOG_BYTE_PARAMETER
186 Text = "s$1$: parameter no. $2$: type: byte; value: $3$";
189 String STR_LOG_DATE_PARAMETER
191 Text = "s$1$: parameter no. $2$: type: date; value: $3$";
194 String STR_LOG_TIME_PARAMETER
196 Text = "s$1$: parameter no. $2$: type: time; value: $3$";
199 String STR_LOG_TIMESTAMP_PARAMETER
201 Text = "s$1$: parameter no. $2$: type: timestamp; value: $3$";
204 String STR_LOG_DOUBLE_PARAMETER
206 Text = "s$1$: parameter no. $2$: type: double; value: $3$";
209 String STR_LOG_FLOAT_PARAMETER
211 Text = "s$1$: parameter no. $2$: type: float; value: $3$";
214 String STR_LOG_INT_PARAMETER
216 Text = "s$1$: parameter no. $2$: type: int; value: $3$";
219 String STR_LOG_LONG_PARAMETER
221 Text = "s$1$: parameter no. $2$: type: long; value: $3$";
224 String STR_LOG_NULL_PARAMETER
226 Text = "s$1$: parameter no. $2$: sql-type: $3$; value: null";
229 String STR_LOG_OBJECT_NULL_PARAMETER
231 Text = "s$1$: parameter no. $2$: setting to null";
234 String STR_LOG_SHORT_PARAMETER
236 Text = "s$1$: parameter no. $2$: type: short; value: $3$";
239 String STR_LOG_BYTES_PARAMETER
241 Text = "s$1$: parameter no. $2$: type: byte[]";
244 String STR_LOG_CHARSTREAM_PARAMETER
246 Text = "s$1$: parameter no. $2$: type: character stream";
249 String STR_LOG_BINARYSTREAM_PARAMETER
251 Text = "s$1$: parameter no. $2$: type: binary stream";
254 String STR_LOG_CLEAR_PARAMETERS
256 Text = "s$1$: clearing all parameters";
259 String STR_LOG_META_DATA_METHOD
261 Text = "c$1$: entering XDatabaseMetaData::$2$";
264 String STR_LOG_META_DATA_METHOD_ARG1
266 Text = "c$1$: entering XDatabaseMetaData::$2$( '$3$' )";
269 String STR_LOG_META_DATA_METHOD_ARG2
271 Text = "c$1$: entering XDatabaseMetaData::$2$( '$3$', '$4$' )";
274 String STR_LOG_META_DATA_METHOD_ARG3
276 Text = "c$1$: entering XDatabaseMetaData::$2$( '$3$', '$4$', '$5$' )";
279 String STR_LOG_META_DATA_METHOD_ARG4
281 Text = "c$1$: entering XDatabaseMetaData::$2$( '$3$', '$4$', '$5$', '$6$' )";
284 String STR_LOG_META_DATA_RESULT
286 Text = "c$1$: leaving XDatabaseMetaData::$2$: success-with-result: $3$";
289 String STR_LOG_META_DATA_SUCCESS
291 Text = "c$1$: leaving XDatabaseMetaData::$2$: success";
294 String STR_LOG_THROWING_EXCEPTION
296 Text = "SQLException to be thrown: message: '$1$', SQLState: $2$, ErrorCode: $3$";
299 String STR_LOG_SETTING_SYSTEM_PROPERTY
301 Text = "setting system property \"$1$\" to value \"$2$\"";
304 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */