Hi, I'm currently fixing a bug in an older legacy system of ours.

Hi,

I'm currently fixing a bug in an older legacy system of ours. As part of it's operation, this process relies on using ACPs as part of a query to the DB to limit the amount of results. Here's the query:

SELECT DISTINCT ID
FROM a
Limit ac!startRow, ac!endRow

Now, if I open that node and then try to save it (by clicking "ok") it returns me this error:

The database returned ARV's that may not be supported. Message: 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 \\'\\'\\', \\'\\'\\' at line 4

I've tried using three version of the connector, in case it was a JDBC bug, but no go. Does anyone have any idea how I can resolve this?...

OriginalPostID-87122

OriginalPostID-87122

  Discussion posts and replies are publicly visible

Parents
  • I am on 7.5 version when I changed jar and its reference. I started getting below error
    Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.jdbc2.optional.Mysql
    XADataSource from [Module "com.mysql.jdbc:main" from local module loader @52bd6f
    9e (finder: local module finder @12eb1882 (roots: C:\\appian\\bin\\jboss\\jboss-eap-
    6.2\\modules,C:\\appian\\bin\\jboss\\jboss-eap-6.2\\modules\\system\\layers\\base))]
    at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:
    197) [jboss-modules.jar:1.3.0.Final-redhat-2]
Reply
  • I am on 7.5 version when I changed jar and its reference. I started getting below error
    Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.jdbc2.optional.Mysql
    XADataSource from [Module "com.mysql.jdbc:main" from local module loader @52bd6f
    9e (finder: local module finder @12eb1882 (roots: C:\\appian\\bin\\jboss\\jboss-eap-
    6.2\\modules,C:\\appian\\bin\\jboss\\jboss-eap-6.2\\modules\\system\\layers\\base))]
    at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:
    197) [jboss-modules.jar:1.3.0.Final-redhat-2]
Children
No Data