📄 getcurconnjdbc20.out
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -