[JBoss JIRA] (AG-117) Expose configuration option for ConnectionWrapper.trackStatements
by Luis Barreiro (Jira)
[ https://issues.jboss.org/browse/AG-117?page=com.atlassian.jira.plugin.sys... ]
Luis Barreiro closed AG-117.
----------------------------
> Expose configuration option for ConnectionWrapper.trackStatements
> -----------------------------------------------------------------
>
> Key: AG-117
> URL: https://issues.jboss.org/browse/AG-117
> Project: Agroal
> Issue Type: Bug
> Components: pool
> Affects Versions: 1.5
> Reporter: John O'Hara
> Assignee: Luis Barreiro
> Priority: Major
> Fix For: 1.6
>
>
> Please can we expose a configuration option for io.agroal.pool.wrapper.ConnectionWrapper.trackStatements?
> At present, the default behaviour is to track prepared statements and close all statements when a connection is returned to the connection pool. There are instances when we do not wish to close prepared statements, when we wish to reuse prepared statements
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 12 months
[JBoss JIRA] (DROOLS-4579) drools keyword in RHS does no longer provide access to Match
by Mario Fusco (Jira)
[ https://issues.jboss.org/browse/DROOLS-4579?page=com.atlassian.jira.plugi... ]
Mario Fusco resolved DROOLS-4579.
---------------------------------
Resolution: Done
Fixed by https://github.com/kiegroup/drools/commit/341c17005d79893a48505ee9b9caae4...
> drools keyword in RHS does no longer provide access to Match
> ------------------------------------------------------------
>
> Key: DROOLS-4579
> URL: https://issues.jboss.org/browse/DROOLS-4579
> Project: Drools
> Issue Type: Bug
> Components: executable model
> Environment: macOS 10.14.6, OpenJDK 1.8.0_222
> Reporter: Duncan Doyle
> Assignee: Mario Fusco
> Priority: Major
>
> In previous versions of Drools, the {{drools}} keyword gave access to the {{KnowledgeHelper}} instance, which allowed you to, for example, access the {{Match}} of a rule in the RHS.
> In Kogito, the {{drools}} keyword gives access to {{org.drools.model.Drools}}, which does not provide a {{getMatch()}} method, and hence, the {{Match}} object is no longer accessible.
> Compilation fails with the following exception:
> {code}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile-1) on project kogito-drools-keyword-rhs-reproducer: Compilation failure
> [ERROR] /Users/ddoyle/Development/github/kogito-drools-keyword-rhs-reproducer/target/generated-sources/kogito/A/RulesF7B5F428120C17D6910155537EA75A75RuleMethods0.java:[35,74] cannot find symbol
> [ERROR] symbol: method getMatch()
> [ERROR] location: variable drools of type org.drools.model.Drools
> {code}
> Reproducer here: https://github.com/DuncanDoyle/kogito-drools-keyword-rhs-reproducer
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 12 months
[JBoss JIRA] (DROOLS-4579) drools keyword in RHS does no longer provide access to Match
by Mario Fusco (Jira)
[ https://issues.jboss.org/browse/DROOLS-4579?page=com.atlassian.jira.plugi... ]
Mario Fusco moved KOGITO-269 to DROOLS-4579:
--------------------------------------------
Project: Drools (was: Kogito)
Key: DROOLS-4579 (was: KOGITO-269)
Docs QE Status: NEW
Component/s: executable model
(was: Core)
Affects Version/s: (was: 0.3.0)
QE Status: NEW
> drools keyword in RHS does no longer provide access to Match
> ------------------------------------------------------------
>
> Key: DROOLS-4579
> URL: https://issues.jboss.org/browse/DROOLS-4579
> Project: Drools
> Issue Type: Bug
> Components: executable model
> Environment: macOS 10.14.6, OpenJDK 1.8.0_222
> Reporter: Duncan Doyle
> Assignee: Mario Fusco
> Priority: Major
>
> In previous versions of Drools, the {{drools}} keyword gave access to the {{KnowledgeHelper}} instance, which allowed you to, for example, access the {{Match}} of a rule in the RHS.
> In Kogito, the {{drools}} keyword gives access to {{org.drools.model.Drools}}, which does not provide a {{getMatch()}} method, and hence, the {{Match}} object is no longer accessible.
> Compilation fails with the following exception:
> {code}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile-1) on project kogito-drools-keyword-rhs-reproducer: Compilation failure
> [ERROR] /Users/ddoyle/Development/github/kogito-drools-keyword-rhs-reproducer/target/generated-sources/kogito/A/RulesF7B5F428120C17D6910155537EA75A75RuleMethods0.java:[35,74] cannot find symbol
> [ERROR] symbol: method getMatch()
> [ERROR] location: variable drools of type org.drools.model.Drools
> {code}
> Reproducer here: https://github.com/DuncanDoyle/kogito-drools-keyword-rhs-reproducer
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 12 months