org.crazycake.ScaffoldUnit.dao
类 ScaffoldUnitDao
java.lang.Object
org.crazycake.ScaffoldUnit.dao.ScaffoldUnitDao
public class ScaffoldUnitDao
- extends Object
ScaffoldUnitDao
- 作者:
- alexxiyang (https://github.com/alexxiyang)
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScaffoldUnitDao
public ScaffoldUnitDao()
execute
public void execute(String sql)
throws IOException,
SQLException
- Execute sql. If database structure didn't been built, it will use ScaffoldUnit.sql to create it!
- 参数:
sql -
- 抛出:
IOException
SQLException
queryOneValue
public Object queryOneValue(String sql)
throws SQLException
- Query one value of first row of result of this sql. If there is no result, it return null.
- 参数:
sql -
- 返回:
-
- 抛出:
SQLException
initStructure
protected boolean initStructure()
throws IOException,
SQLException
- 抛出:
IOException
SQLException
Copyright © 2014. All rights reserved.