My entity beans are working just fine with MySQL and auto-increment keys. When rendering 2D view-only tables, however, you don't want to marshall a bean only to flatten it again. I use CachedRowSet for that job but it blows up with an 'unknown type 16' exception on the auto-increment keys.
select * from bar blows up select foo from bar works because it's not gettin the ID column. | connection = datasource.getConnection(); | CachedRowSet rowset = new CachedRowSetImpl(); | | rowset.setCommand(command); | rowset.setPageSize(pageSize); | rowset.execute(connection); // Unknown type '16' on column 1 of N if ID if command is, say, "select * from bar" | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933208#3933208 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933208 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
