public class DeptServiceImpl implements DeptService { public void insert(Dept dept) { Statement st=null; //用以执行sql操作 Connection con=ConnectionFactory.getConnection(); try{ con.setAutoCommit(false); st=con.createStatement(); Stri ng sql="insert into
public class DeptServiceImpl implements DeptService { public void insert(Dept dept) { Statement st=null; //用以执行sql操作 Connection con=ConnectionFactory.getConnection(); try{ con.setAutoCommit(false); st=con.createStatement(); Stri ng sql="insert into
File: Account.xml select ACC_ID as id, ACC_FIRST_NAME as firstName, ACC_LAST_NAME as lastName, ACC_EMAIL as emailAddress from ACCOUNT where ACC_EMAIL = #emailAddress# and ACC_LAST_NAME = #lastName# insert into ACCOUNT ( ACC_ID, ACC
一个很好的jsp图书管理系统, public class DB { private final String url = "jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=db_Blog"; private final String userName = "sa"; private final String password = "sa"; private Connection con = null; private Stateme