de.oio.sqlrest.db
Class RowDAO

java.lang.Object
  |
  +--de.oio.sqlrest.db.RowDAO

public class RowDAO
extends java.lang.Object

Author:
tbayer

Constructor Summary
RowDAO()
           
 
Method Summary
static void insert(java.lang.String tableName, java.util.Map valuePairs, DatabaseInfo databaseInfo, java.lang.String primaryKey)
          Method insert.
static void update(java.lang.String tableName, java.util.Map valuePairs, DatabaseInfo databaseInfo, java.lang.String primaryKey)
          Method update.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RowDAO

public RowDAO()
Method Detail

update

public static void update(java.lang.String tableName,
                          java.util.Map valuePairs,
                          DatabaseInfo databaseInfo,
                          java.lang.String primaryKey)
                   throws java.sql.SQLException
Method update.

Parameters:
valuePairs -
java.sql.SQLException

insert

public static void insert(java.lang.String tableName,
                          java.util.Map valuePairs,
                          DatabaseInfo databaseInfo,
                          java.lang.String primaryKey)
                   throws java.sql.SQLException
Method insert.

Parameters:
valuePairs -
databaseInfo -
java.sql.SQLException


Copyright Orientation in Objects GmbH. All Rights Reserved.