Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## fr.gouv.culture.sdx.utils.rdbms
Class JDBC.Template

    java.lang.Object
      fr.gouv.culture.sdx.utils.rdbms.JDBC.Template

Enclosing class:
  JDBC

    protected static class JDBC.Template

extends java.lang.Object

Field Summary
`protected java.sql.Connection` | `_conn`
`protected java.lang.String` | `_query`
`static int` | `MODE_EXECUTE_QUERY`
`static int` | `MODE_EXECUTE_UPDATE`
`static int` | `MODE_NONE`

Constructor Summary
`JDBC.Template(java.sql.Connection conn, java.lang.String query)`

Method Summary
`void` | `execute(JDBC.QueryExecutor qe, int mode)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### MODE_NONE

    public static final int MODE_NONE

See Also:
  Constant Field Values

### MODE_EXECUTE_QUERY

    public static final int MODE_EXECUTE_QUERY

See Also:
  Constant Field Values

### MODE_EXECUTE_UPDATE

    public static final int MODE_EXECUTE_UPDATE

See Also:
  Constant Field Values

### _conn

    protected java.sql.Connection _conn

### _query

    protected java.lang.String _query

Constructor Detail

### JDBC.Template

    public JDBC.Template(java.sql.Connection conn,
                         java.lang.String query)

Method Detail

### execute

    public void execute(JDBC.QueryExecutor qe,
                        int mode)
                 throws SDXException

  Throws:
    `SDXException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.