1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27
28#include "resource/jdbc_log.hrc"
29
30// ============================================================================
31// = log messages for the JDBC driver
32// ============================================================================
33
34String STR_LOG_DRIVER_CONNECTING_URL
35{
36    Text = "jdbcBridge: connecting to URL '$1$'";
37};
38
39String STR_LOG_DRIVER_SUCCESS
40{
41    Text = "jdbcBridge: success";
42};
43
44String STR_LOG_CREATE_STATEMENT
45{
46    Text = "c$1$: creating statement";
47};
48
49String STR_LOG_CREATED_STATEMENT_ID
50{
51    Text = "c$1$: created statement, statement id: s$2$";
52};
53
54String STR_LOG_PREPARE_STATEMENT
55{
56    Text = "c$1$: preparing statement: $2$";
57};
58
59String STR_LOG_PREPARED_STATEMENT_ID
60{
61    Text = "c$1$: prepared statement, statement id: s$2$";
62};
63
64String STR_LOG_PREPARE_CALL
65{
66    Text = "c$1$: preparing call: $2$";
67};
68
69String STR_LOG_PREPARED_CALL_ID
70{
71    Text = "c$1$: prepared call, statement id: s$2$";
72};
73
74String STR_LOG_NATIVE_SQL
75{
76    Text = "c$1$: native SQL: $2$ -> $3$";
77};
78
79String STR_LOG_LOADING_DRIVER
80{
81    Text = "c$1$: attempting to load driver class $2$";
82};
83
84String STR_LOG_NO_DRIVER_CLASS
85{
86    Text = "c$1$: no Java Driver Class was provided";
87};
88
89String STR_LOG_CONN_SUCCESS
90{
91    Text = "c$1$: success";
92};
93
94String STR_LOG_NO_SYSTEM_CONNECTION
95{
96    Text = "c$1$: JDBC driver did not provide a JDBC connection";
97};
98
99String STR_LOG_GOT_JDBC_CONNECTION
100{
101    Text = "c$1$: obtained a JDBC connection for $2$";
102};
103
104String STR_LOG_SHUTDOWN_CONNECTION
105{
106    Text = "c$1$: shutting down connection";
107};
108
109String STR_LOG_GENERATED_VALUES
110{
111    Text = "s$1$: retrieving generated values";
112};
113
114String STR_LOG_GENERATED_VALUES_FALLBACK
115{
116    Text = "s$1$: getGeneratedValues: falling back to statement: $2$";
117};
118
119String STR_LOG_EXECUTE_STATEMENT
120{
121    Text = "s$1$: going to execute: $2$";
122};
123
124String STR_LOG_EXECUTE_QUERY
125{
126    Text = "s$1$: going to execute query: $2$";
127};
128
129String STR_LOG_CLOSING_STATEMENT
130{
131    Text = "s$1$: closing/disposing statement";
132};
133
134String STR_LOG_EXECUTE_UPDATE
135{
136    Text = "s$1$: going to execute update: $2$";
137};
138
139String STR_LOG_UPDATE_COUNT
140{
141    Text = "s$1$: update count: $2$";
142};
143
144String STR_LOG_RESULT_SET_CONCURRENCY
145{
146    Text = "s$1$: going to set result set concurrency: $2$";
147};
148
149String STR_LOG_RESULT_SET_TYPE
150{
151    Text = "s$1$: going to set result set type: $2$";
152};
153
154String STR_LOG_FETCH_DIRECTION
155{
156    Text = "s$1$: fetch direction: $2$";
157};
158
159String STR_LOG_FETCH_SIZE
160{
161    Text = "s$1$: fetch size: $2$";
162};
163
164String STR_LOG_SET_ESCAPE_PROCESSING
165{
166    Text = "s$1$: going to set escape processing: $2$";
167};
168
169String STR_LOG_EXECUTING_PREPARED
170{
171    Text = "s$1$: executing previously prepared statement";
172};
173
174String STR_LOG_EXECUTING_PREPARED_UPDATE
175{
176    Text = "s$1$: executing previously prepared update statement";
177};
178
179String STR_LOG_EXECUTING_PREPARED_QUERY
180{
181    Text = "s$1$: executing previously prepared query";
182};
183
184String STR_LOG_STRING_PARAMETER
185{
186    Text = "s$1$: parameter no. $2$: type: string; value: $3$";
187};
188
189String STR_LOG_BOOLEAN_PARAMETER
190{
191    Text = "s$1$: parameter no. $2$: type: boolean; value: $3$";
192};
193
194String STR_LOG_BYTE_PARAMETER
195{
196    Text = "s$1$: parameter no. $2$: type: byte; value: $3$";
197};
198
199String STR_LOG_DATE_PARAMETER
200{
201    Text = "s$1$: parameter no. $2$: type: date; value: $3$";
202};
203
204String STR_LOG_TIME_PARAMETER
205{
206    Text = "s$1$: parameter no. $2$: type: time; value: $3$";
207};
208
209String STR_LOG_TIMESTAMP_PARAMETER
210{
211    Text = "s$1$: parameter no. $2$: type: timestamp; value: $3$";
212};
213
214String STR_LOG_DOUBLE_PARAMETER
215{
216    Text = "s$1$: parameter no. $2$: type: double; value: $3$";
217};
218
219String STR_LOG_FLOAT_PARAMETER
220{
221    Text = "s$1$: parameter no. $2$: type: float; value: $3$";
222};
223
224String STR_LOG_INT_PARAMETER
225{
226    Text = "s$1$: parameter no. $2$: type: int; value: $3$";
227};
228
229String STR_LOG_LONG_PARAMETER
230{
231    Text = "s$1$: parameter no. $2$: type: long; value: $3$";
232};
233
234String STR_LOG_NULL_PARAMETER
235{
236    Text = "s$1$: parameter no. $2$: sql-type: $3$; value: null";
237};
238
239String STR_LOG_OBJECT_NULL_PARAMETER
240{
241    Text = "s$1$: parameter no. $2$: setting to null";
242};
243
244String STR_LOG_SHORT_PARAMETER
245{
246    Text = "s$1$: parameter no. $2$: type: short; value: $3$";
247};
248
249String STR_LOG_BYTES_PARAMETER
250{
251    Text = "s$1$: parameter no. $2$: type: byte[]";
252};
253
254String STR_LOG_CHARSTREAM_PARAMETER
255{
256    Text = "s$1$: parameter no. $2$: type: character stream";
257};
258
259String STR_LOG_BINARYSTREAM_PARAMETER
260{
261    Text = "s$1$: parameter no. $2$: type: binary stream";
262};
263
264String STR_LOG_CLEAR_PARAMETERS
265{
266    Text = "s$1$: clearing all parameters";
267};
268
269String STR_LOG_META_DATA_METHOD
270{
271    Text = "c$1$: entering XDatabaseMetaData::$2$";
272};
273
274String STR_LOG_META_DATA_METHOD_ARG1
275{
276    Text = "c$1$: entering XDatabaseMetaData::$2$( '$3$' )";
277};
278
279String STR_LOG_META_DATA_METHOD_ARG2
280{
281    Text = "c$1$: entering XDatabaseMetaData::$2$( '$3$', '$4$' )";
282};
283
284String STR_LOG_META_DATA_METHOD_ARG3
285{
286    Text = "c$1$: entering XDatabaseMetaData::$2$( '$3$', '$4$', '$5$' )";
287};
288
289String STR_LOG_META_DATA_METHOD_ARG4
290{
291    Text = "c$1$: entering XDatabaseMetaData::$2$( '$3$', '$4$', '$5$', '$6$' )";
292};
293
294String STR_LOG_META_DATA_RESULT
295{
296    Text = "c$1$: leaving XDatabaseMetaData::$2$: success-with-result: $3$";
297};
298
299String STR_LOG_META_DATA_SUCCESS
300{
301    Text = "c$1$: leaving XDatabaseMetaData::$2$: success";
302};
303
304String STR_LOG_THROWING_EXCEPTION
305{
306    Text = "SQLException to be thrown: message: '$1$', SQLState: $2$, ErrorCode: $3$";
307};
308
309String STR_LOG_SETTING_SYSTEM_PROPERTY
310{
311    Text = "setting system property \"$1$\" to value \"$2$\"";
312};