MySQL db上使用Groovy表达式的瞬态属性问题
我正在使用JDevelper11.1.2.4和MySQLDB5.6.19。我使用的JConnector版本是mysql-connector-java-5.1.30-bin 我已经创建了两个表country和city 在表city中,有外键将其与country表链接 JDevelper已经为这些表创建了关联和视图链接,我已经使用ADF Model Tester测试了这些表,它们看起来很好 我创建了一个临时列CountryName,并将默认值设置为表达式Country1.CountryName 现在,当我再次运行ADF Model Tester时,出现以下错误:MySQL db上使用Groovy表达式的瞬态属性问题,mysql,groovy,oracle-adf,Mysql,Groovy,Oracle Adf,我正在使用JDevelper11.1.2.4和MySQLDB5.6.19。我使用的JConnector版本是mysql-connector-java-5.1.30-bin 我已经创建了两个表country和city 在表city中,有外键将其与country表链接 JDevelper已经为这些表创建了关联和视图链接,我已经使用ADF Model Tester测试了这些表,它们看起来很好 我创建了一个临时列CountryName,并将默认值设置为表达式Country1.CountryName 现在
(oracle.jbo.SQLStmtException) JBO-27122: SQL error during statement preparation.
Statement:
SELECT CountryEO.country_id, CountryEO.country_name, CountryEO.country_code,
CountryEO.country_short_name, CountryEO.currency_id, CountryEO.created_date,
CountryEO.created_by, CountryEO.last_updated_date, CountryEO.last_updated_by
FROM cms.country CountryEO WHERE CountryEO.country_id = ?
----- Level 1: Detail 0 -----
(com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException)
You have an error in your SQL syntax; check the manual that corresponds
to your MySQL server version for the right syntax to use near
'OPTION SQL_SELECT_LIMIT=1' at line 1
可能有什么问题?请通过sql puls/toad等检查您的国家/地区视图对象查询。如果正确,请发布您的问题否,我使用的是com.mysql.jdbc.Driver,它指的是mysql-connector-java-5.1.30-bin