2012年2月1日

JAVA Derby 查询数据库中表格是否存在

摘要: package com.han; import java.sql.Connection; import java.sql.DatabaseMetaData; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.HashSet; public class JavaDBUse1 { private static Connection con; private static Statement s; static void creat... 阅读全文

posted @ 2012-02-01 19:07 java课程设计 阅读(677) 评论(0) 推荐(0) 编辑

Java DB (Derby) 的使用(1)

摘要: The Embedded mode is limited by that we can't run simultaneously two programs (two JVM instances) using a same database (databaseName is the same).But we can instead use the NetworkServer mode to avoid this case, it is to say the "Client/Server" mode. In this mode, you have to first st 阅读全文

posted @ 2012-02-01 00:28 java课程设计 阅读(315) 评论(0) 推荐(0) 编辑

导航