You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Mark Fortner <ph...@gmail.com> on 2009/02/23 20:37:31 UTC
[dbutils] Basic CRUD Operations
I was wondering if DBUtils contains any methods for dealing with basic CRUD
operations? The operations that I'm looking for include:
ResultSet deleteByIds(Connection conn, String tableName, String[] ids);
ResultSet get(Connection conn, String tableName, String[] ids);
void updateRow(Connection conn, String tableName, Map keyValuePairs);
void update(Connection conn, String tableName, List beanList);
void insertRow(Connection conn, String table, Map keyValuePairs);
void insert(Connection conn, String table, List beanList);
Is there already some way of doing this, and I've just missed it in the
documentation? If not, are there any plans to add this?
Regards,
--
Mark Fortner
blog: http://feeds.feedburner.com/jroller/ideafactory