1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_sql_Statement__
|
5 |
|
|
#define __java_sql_Statement__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace java
|
15 |
|
|
{
|
16 |
|
|
namespace sql
|
17 |
|
|
{
|
18 |
|
|
class Connection;
|
19 |
|
|
class ResultSet;
|
20 |
|
|
class SQLWarning;
|
21 |
|
|
class Statement;
|
22 |
|
|
}
|
23 |
|
|
}
|
24 |
|
|
}
|
25 |
|
|
|
26 |
|
|
class java::sql::Statement : public ::java::lang::Object
|
27 |
|
|
{
|
28 |
|
|
|
29 |
|
|
public:
|
30 |
|
|
virtual ::java::sql::ResultSet * executeQuery(::java::lang::String *) = 0;
|
31 |
|
|
virtual jint executeUpdate(::java::lang::String *) = 0;
|
32 |
|
|
virtual void close() = 0;
|
33 |
|
|
virtual jint getMaxFieldSize() = 0;
|
34 |
|
|
virtual void setMaxFieldSize(jint) = 0;
|
35 |
|
|
virtual jint getMaxRows() = 0;
|
36 |
|
|
virtual void setMaxRows(jint) = 0;
|
37 |
|
|
virtual void setEscapeProcessing(jboolean) = 0;
|
38 |
|
|
virtual jint getQueryTimeout() = 0;
|
39 |
|
|
virtual void setQueryTimeout(jint) = 0;
|
40 |
|
|
virtual void cancel() = 0;
|
41 |
|
|
virtual ::java::sql::SQLWarning * getWarnings() = 0;
|
42 |
|
|
virtual void clearWarnings() = 0;
|
43 |
|
|
virtual void setCursorName(::java::lang::String *) = 0;
|
44 |
|
|
virtual jboolean execute(::java::lang::String *) = 0;
|
45 |
|
|
virtual ::java::sql::ResultSet * getResultSet() = 0;
|
46 |
|
|
virtual jint getUpdateCount() = 0;
|
47 |
|
|
virtual jboolean getMoreResults() = 0;
|
48 |
|
|
virtual void setFetchDirection(jint) = 0;
|
49 |
|
|
virtual jint getFetchDirection() = 0;
|
50 |
|
|
virtual void setFetchSize(jint) = 0;
|
51 |
|
|
virtual jint getFetchSize() = 0;
|
52 |
|
|
virtual jint getResultSetConcurrency() = 0;
|
53 |
|
|
virtual jint getResultSetType() = 0;
|
54 |
|
|
virtual void addBatch(::java::lang::String *) = 0;
|
55 |
|
|
virtual void clearBatch() = 0;
|
56 |
|
|
virtual JArray< jint > * executeBatch() = 0;
|
57 |
|
|
virtual ::java::sql::Connection * getConnection() = 0;
|
58 |
|
|
virtual jboolean getMoreResults(jint) = 0;
|
59 |
|
|
virtual ::java::sql::ResultSet * getGeneratedKeys() = 0;
|
60 |
|
|
virtual jint executeUpdate(::java::lang::String *, jint) = 0;
|
61 |
|
|
virtual jint executeUpdate(::java::lang::String *, JArray< jint > *) = 0;
|
62 |
|
|
virtual jint executeUpdate(::java::lang::String *, JArray< ::java::lang::String * > *) = 0;
|
63 |
|
|
virtual jboolean execute(::java::lang::String *, jint) = 0;
|
64 |
|
|
virtual jboolean execute(::java::lang::String *, JArray< jint > *) = 0;
|
65 |
|
|
virtual jboolean execute(::java::lang::String *, JArray< ::java::lang::String * > *) = 0;
|
66 |
|
|
virtual jint getResultSetHoldability() = 0;
|
67 |
|
|
static const jint CLOSE_CURRENT_RESULT = 1;
|
68 |
|
|
static const jint KEEP_CURRENT_RESULT = 2;
|
69 |
|
|
static const jint CLOSE_ALL_RESULTS = 3;
|
70 |
|
|
static const jint SUCCESS_NO_INFO = -2;
|
71 |
|
|
static const jint EXECUTE_FAILED = -3;
|
72 |
|
|
static const jint RETURN_GENERATED_KEYS = 1;
|
73 |
|
|
static const jint NO_GENERATED_KEYS = 2;
|
74 |
|
|
static ::java::lang::Class class$;
|
75 |
|
|
} __attribute__ ((java_interface));
|
76 |
|
|
|
77 |
|
|
#endif // __java_sql_Statement__
|