DBUtils fails to fill fields of a Java Bean
问题 I have a mysql table like this: CREATE TABLE `sezione_menu` ( `id_sezione_menu` int(11) unsigned NOT NULL AUTO_INCREMENT, `nome` varchar(256) NOT NULL DEFAULT '', `ordine` int(11) DEFAULT NULL, PRIMARY KEY (`id_sezione_menu`) )ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; I use apache dbutils to query my database, with these methods: public static List<SezioneMenu> getSezioniMenu() { String sql = "SELECT * FROM sezione_menu"; try { QueryRunner qr = new QueryRunner(createDataSource());