JDBC Control batch updates with bean parameters cause compilation error
-----------------------------------------------------------------------
Key: BEEHIVE-1189
URL: https://issues.apache.org/jira/browse/BEEHIVE-1189
Project: Beehive
Issue Type: Bug
Components: System Controls
Affects Versions: 1.0.2, 1.0.1, 1.0, v1m1, V1Beta, V1Alpha
Reporter: Chad Schoettger
Assigned To: Chad Schoettger
If a JDBC control declares a method which uses bean parameters, the JDBC fails
to compile due to an error in the JDBC system control APT checker.
For example:
@SQL(statement="INSERT INTO ( {customer.fname}, {customer.id})
public int[] doBatchUpdate(Customer c);
The following apt error is generated:
rg.apache.beehive.controls.api.ControlException: Illegal argument in SQL
statement: cust.fname; unable to find suitable method
of retrieving property fname out of object cust.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.