摘要: ORM(Object Relational Mapping)对象关系映射public class ORMTest { public static void main(String[] args) throws SQLException, IllegalAccessException, InvocationTargetException, Exception { User user = (User) getObject( "select id as Id, name as Name, birthday as Birthday, money as Money from user wher 阅读全文
posted @ 2013-12-07 14:15 剑握在手 阅读(520) 评论(0) 推荐(0) 编辑
摘要: 数据库元数据信息:import java.sql.DatabaseMetaData; import java.sql.DriverManager; import java.sql.SQLException;/** * * 2008-12-7 * * @author liyong * */ public class DBMD { /** * @param args * @throws SQLException * @throws ClassNotFoundException */ public... 阅读全文
posted @ 2013-12-07 12:20 剑握在手 阅读(4741) 评论(0) 推荐(0) 编辑
摘要: public class OtherApi { /** * @param args * @throws SQLException * @throws InterruptedException */ public static void main(String[] args) throws SQLExce... 阅读全文
posted @ 2013-12-07 10:57 剑握在手 阅读(350) 评论(0) 推荐(0) 编辑
摘要: public class ScrollTest { /** * @param args * @throws SQLException */ public static void main(String[] args) throws SQLException { scroll(); } ... 阅读全文
posted @ 2013-12-07 00:10 剑握在手 阅读(230) 评论(0) 推荐(0) 编辑
返回顶部↑