我用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()) {