OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [sql/] [Connection.h] - Blame information for rev 758

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.