|
WebLogic Server 7.0 Code Examples, BEA Systems, Inc. | |||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Object
|
+--examples.jdbc.oracle.extensions.BaseDAO
|
+--examples.jdbc.oracle.extensions.StructsDAO
This simple example shows how to use Oracle STRUCTs.
| Constructor Summary | |
StructsDAO()
|
|
| Method Summary | |
static java.util.Vector |
getEmployees(java.sql.Connection pConn)
This function demontrates the retrieval of Oracle objects as java.sql.Struct objects. |
static java.util.Vector |
getEmployees(java.lang.String pUrl)
Wrapper for the get employee function. |
static void |
insertEmployee(EmployeeBO pEmp,
java.sql.Connection pConn)
This function demontrates inserting Oracle objects into a table. |
static java.util.Vector |
insertEmployee(EmployeeBO pEmp,
java.lang.String pUrl)
Wrapper for the insert employee function. |
| Methods inherited from class examples.jdbc.oracle.extensions.BaseDAO |
cleanup, getConnection, getNextId, log |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public StructsDAO()
| Method Detail |
public static java.util.Vector getEmployees(java.sql.Connection pConn)
throws java.sql.SQLException
This function demontrates the retrieval of Oracle objects as java.sql.Struct objects.
public static java.util.Vector getEmployees(java.lang.String pUrl)
throws java.sql.SQLException,
javax.naming.NamingException
Wrapper for the get employee function. This function gets a connection and passes it to getEmployees.
public static void insertEmployee(EmployeeBO pEmp,
java.sql.Connection pConn)
throws java.sql.SQLException
This function demontrates inserting Oracle objects into a table.
public static java.util.Vector insertEmployee(EmployeeBO pEmp,
java.lang.String pUrl)
throws java.sql.SQLException,
javax.naming.NamingException
Wrapper for the insert employee function. This function gets a connection and passes it to updateEmployees.
|
Documentation is available at http://e-docs.bea.com/wls/docs70 |
|||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||