Hello,
i try to change some code from the jRDC.
This works:
But this not:
with error:
my logging tells me that the commands are correct:
Where i made the mistake?
i try to change some code from the jRDC.
This works:
B4X:
Dim rs As ResultSet = con.ExecQuery("SELECT version, date FROM " & cmd.Parameters(0))
But this not:
B4X:
Dim rs As ResultSet = con.ExecQuery2(Main.rdcConnector1.GetCommand(cmd.Name), cmd.Parameters)
with error:
(MySQLSyntaxErrorException) 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 ''wg'' at line 1
my logging tells me that the commands are correct:
B4X:
Log(Main.rdcConnector1.GetCommand(cmd.Name)& " param: " & cmd.Parameters(0))
SELECT version, date FROM ? param: wg
Where i made the mistake?