ID的类型在ORACLE里面是number(8) 在配置文件里面是integer类型的
在运行结果报出来的异常是
org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: could not execute query; uncategorized SQLException for SQL [select lhhuser0_.ID as ID2_, lhhuser0_.NAME as NAME2_, lhhuser0_.PAW as PAW2_, lhhuser0_.PHONE as PHONE2_, lhhuser0_.EMAL as EMAL2_ from CBA.LHH_USER lhhuser0_ where lhhuser0_.NAME=? and lhhuser0_.PAW=?]; SQL state [72000]; error code [12704]; ORA-12704: character set mismatch
; nested exception is java.sql.SQLException: ORA-12704: character set mismatch
谁知道的麻烦帮解决下
在运行结果报出来的异常是
org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: could not execute query; uncategorized SQLException for SQL [select lhhuser0_.ID as ID2_, lhhuser0_.NAME as NAME2_, lhhuser0_.PAW as PAW2_, lhhuser0_.PHONE as PHONE2_, lhhuser0_.EMAL as EMAL2_ from CBA.LHH_USER lhhuser0_ where lhhuser0_.NAME=? and lhhuser0_.PAW=?]; SQL state [72000]; error code [12704]; ORA-12704: character set mismatch
; nested exception is java.sql.SQLException: ORA-12704: character set mismatch
谁知道的麻烦帮解决下
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货