1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __java_sql_Connection__
#define __java_sql_Connection__
#pragma interface
#include <java/lang/Object.h>
#include <gcj/array.h>
extern "Java"
{
namespace java
{
namespace sql
{
class CallableStatement;
class Connection;
class DatabaseMetaData;
class PreparedStatement;
class SQLWarning;
class Savepoint;
class Statement;
}
}
}
class java::sql::Connection : public ::java::lang::Object
{
public:
virtual ::java::sql::Statement * createStatement() = 0;
virtual ::java::sql::PreparedStatement * prepareStatement(::java::lang::String *) = 0;
virtual ::java::sql::CallableStatement * prepareCall(::java::lang::String *) = 0;
virtual ::java::lang::String * nativeSQL(::java::lang::String *) = 0;
virtual void setAutoCommit(jboolean) = 0;
virtual jboolean getAutoCommit() = 0;
virtual void commit() = 0;
virtual void rollback() = 0;
virtual void close() = 0;
virtual jboolean isClosed() = 0;
virtual ::java::sql::DatabaseMetaData * getMetaData() = 0;
virtual void setReadOnly(jboolean) = 0;
virtual jboolean isReadOnly() = 0;
virtual void setCatalog(::java::lang::String *) = 0;
virtual ::java::lang::String * getCatalog() = 0;
virtual void setTransactionIsolation(jint) = 0;
virtual jint getTransactionIsolation() = 0;
virtual ::java::sql::SQLWarning * getWarnings() = 0;
virtual void clearWarnings() = 0;
virtual ::java::sql::Statement * createStatement(jint, jint) = 0;
virtual ::java::sql::PreparedStatement * prepareStatement(::java::lang::String *, jint, jint) = 0;
virtual ::java::sql::CallableStatement * prepareCall(::java::lang::String *, jint, jint) = 0;
virtual ::java::util::Map * getTypeMap() = 0;
virtual void setTypeMap(::java::util::Map *) = 0;
virtual void setHoldability(jint) = 0;
virtual jint getHoldability() = 0;
virtual ::java::sql::Savepoint * setSavepoint() = 0;
virtual ::java::sql::Savepoint * setSavepoint(::java::lang::String *) = 0;
virtual void rollback(::java::sql::Savepoint *) = 0;
virtual void releaseSavepoint(::java::sql::Savepoint *) = 0;
virtual ::java::sql::Statement * createStatement(jint, jint, jint) = 0;
virtual ::java::sql::PreparedStatement * prepareStatement(::java::lang::String *, jint, jint, jint) = 0;
virtual ::java::sql::CallableStatement * prepareCall(::java::lang::String *, jint, jint, jint) = 0;
virtual ::java::sql::PreparedStatement * prepareStatement(::java::lang::String *, jint) = 0;
virtual ::java::sql::PreparedStatement * prepareStatement(::java::lang::String *, JArray< jint > *) = 0;
virtual ::java::sql::PreparedStatement * prepareStatement(::java::lang::String *, JArray< ::java::lang::String * > *) = 0;
static const jint TRANSACTION_NONE = 0;
static const jint TRANSACTION_READ_UNCOMMITTED = 1;
static const jint TRANSACTION_READ_COMMITTED = 2;
static const jint TRANSACTION_REPEATABLE_READ = 4;
static const jint TRANSACTION_SERIALIZABLE = 8;
static ::java::lang::Class class$;
} __attribute__ ((java_interface));
#endif // __java_sql_Connection__
|