I am using LDDJ to create a table ,after complition .There is a error occured like this"unable to build name / index table"
however the desirable table has been created
Please tell me the reason for that error tip
and how to solve the problem, thank you very much!
Here is a scriptlet ,I hope it helps!
Connection con;//数据库连接变量
Statement stmt;//数据库操作表达式
ResultSet rs;//数据结果集
request.setCharacterEncoding(“gb2312”);
String STAFF_NO=request.getParameter(“STAFF_NO”);
String LASTNAME=request.getParameter(“LASTNAME”);
String FIRSTNAME=request.getParameter(“FIRSTNAME”);
String connStr = “jdbc:domino:/set.nsf”;//数据库连接字符串,连接目标数据库
Class.forName(“lotus.jdbc.domino.DominoDriver”);
con = DriverManager.getConnection(connStr,“”,“”);
stmt = con.createStatement();
//String sql = “INSERT INTO TEST1 VALUES('”+STAFF_NO+“', '”+LASTNAME+“', '”+FIRSTNAME+“')”;
String sql = “CREATE TABLE Test2 (STAFF_NO CHAR(5),LASTNAME CHAR(15),FIRSTNAME CHAR(15))”;
rs = stmt.executeQuery(sql);