我在使用DBvisualizer在新建的数据库中添加新表时,弹出窗口显示未知的语法错误。

我用DBvisualizer连接公司的内网数据库后,创建新表时我已设置各种关系表变量和主键,但是总会莫名其妙地弹出错误窗口显示我存在语法错误。但是我是手动创建并没有使用SQL语句为什么会有语法错误?
语法错误显示为:No operations allowed after connection closed.Connection was implicitly closed by the driver.

boolean tag = true;
final String pattern1 = "^([a-z0-9A-Z]+[-|//.]?)+[a-z0-9A-Z]@([a-z0-9A-Z]+(-[a-z0-9A-Z]+)?//.)+[a-zA-Z]{2,}$";
final Pattern pattern = Pattern.compile(pattern1);
final Matcher mat = pattern.matcher(email);
if (!mat.find()) {
温馨提示:答案为网友推荐,仅供参考
第1个回答  2015-07-28
把你连接的Internet 先closed 试试