Hi,
Captaincasa complains that it cannot parse my code...
"Error when opening the code generator org.eclnt.ecitor.codeggen.GenerationException : line 43:26, Expecting EOF, found 'PreparedStatement'"
cc complains about the second line..
Im using try - with -resources like
Code:
try (Connection connection = DatabaseConnectionPool.getDatabaseConnection();
PreparedStatement preparedStatement = connection.prepareStatement(sql)) {
preparedStatement.setString(1, getWebhookId());
System.out.println("webhookid in payconiq.java : " + getWebhookId());
try (ResultSet resultSet = preparedStatement.executeQuery())
{
while (resultSet.next())
{
I have this in some files, not all. But it has always something to do with the try-with-resources...
Somebody a clue?
Kind regards
Wim