biz.junginger.util
Class MapToTable
java.lang.Object
biz.junginger.util.MapToTable
- public class MapToTable
- extends java.lang.Object
- Author:
- Markus Junginger
(c) 2003 by Markus Oliver Junginger. All rights reserved.
http://www.junginger.biz
|
Constructor Summary |
MapToTable(java.sql.Connection conn,
java.lang.String tableName)
|
|
Method Summary |
java.util.Map |
select(java.lang.String whereColumn,
java.lang.String whereValue)
|
void |
update(java.util.Map map,
java.lang.String whereColumn,
java.lang.String whereValue)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapToTable
public MapToTable(java.sql.Connection conn,
java.lang.String tableName)
update
public void update(java.util.Map map,
java.lang.String whereColumn,
java.lang.String whereValue)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
select
public java.util.Map select(java.lang.String whereColumn,
java.lang.String whereValue)
throws java.sql.SQLException
- Throws:
java.sql.SQLException