getcurconnjdbc20.out
来自「derby database source code.good for you.」· OUT 代码 · 共 23 行
OUT
23 行
ij> -- test getCurConnJdbc20----- this test will get run under jdk12 only. If run under jdk11x, will get an exception like----- following for call to newToJdbc20Method----- ERROR 38000: The exception 'java.lang.NoSuchMethodError: java.sql.Connection: method ----- createStatement(II)Ljava/sql/Statement; not found' was thrown while evaluating an expression.----- method alias and table used latercreate procedure newToJdbc20Method() PARAMETER STYLE JAVA LANGUAGE JAVA EXTERNAL NAME 'org.apache.derbyTesting.functionTests.util.Jdbc20Test.newToJdbc20Method';0 rows inserted/updated/deletedij> create table T (a int NOT NULL primary key);0 rows inserted/updated/deletedij> insert into T values (1);1 row inserted/updated/deletedij> -- now lets try a variety of errorscall newToJdbc20Method();Statement executed.ij> ----------------------------------------------------------------- drop the tabledrop table T;0 rows inserted/updated/deletedij> drop procedure newToJdbc20Method;0 rows inserted/updated/deletedij>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?