[ 
https://issues.apache.org/jira/browse/PLC4X-224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukas Ott closed PLC4X-224.
---------------------------
    Resolution: Abandoned

> Add URI normalization method for Connection Strings for PooledDriverManager
> ---------------------------------------------------------------------------
>
>                 Key: PLC4X-224
>                 URL: https://issues.apache.org/jira/browse/PLC4X-224
>             Project: Apache PLC4X
>          Issue Type: Improvement
>    Affects Versions: 0.7.0
>            Reporter: Julian Feinauer
>            Priority: Major
>
> Currently, one could write two "identical" connections with different 
> connection strings, e.g.
> {code:java}
> s7://127.0.0.1?rackId=0&slotId=1
> {code}
> and
> {code:java}
> s7://127.0.0.1?slotId=1&rackId=0{code}
> If the connection Pool only looks at String comparison he would open two 
> connetions as the strings are different.
> Thus each Connection should have a way to normalize its strings (also paste 
> in all defaults) so that two Connection Stirngs beeing equal means the 
> Connections are equal and can be shared.
> See PoolKeyFactory.java L44ff



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to