nutzam/nutz — Issue #165: DAO自定义SQL问题
Author: enzozhong
Created: 2012-02-24 23:41:13+00:00
State: open

Dao DAO = new NutIoc( new JsonLoader( "dao.json" ) ).get( Dao.class, "dao" );

Sql sql = DAO.sqls().create( "SELECT MAX(id) FROM t_city" );//第21行
System.out.println( sql.getResult() );

Exception in thread "main" java.lang.NullPointerException
at NewMain.main(NewMain.java:21)

怎么都运行不了