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