You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Waruna Ranasinghe (JIRA)" <ji...@apache.org> on 2009/12/16 06:46:18 UTC

[jira] Created: (ODE-738) OpenJPA based DAO doesn't support wildcards properly in "name" and "namespace" filters in InstanceManagement

OpenJPA based DAO doesn't support  wildcards properly in "name" and "namespace" filters in InstanceManagement
-------------------------------------------------------------------------------------------------------------

                 Key: ODE-738
                 URL: https://issues.apache.org/jira/browse/ODE-738
             Project: ODE
          Issue Type: Bug
          Components: Management API
    Affects Versions: 2.0
            Reporter: Waruna Ranasinghe


if we give the following strings as the namespace, it will not work properly
          
http://ode/unit-sample/H*
http://ode/unit-s*le/H*

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ODE-738) OpenJPA based DAO doesn't support wildcards properly in "name" and "namespace" filters in InstanceManagement

Posted by "Waruna Ranasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Waruna Ranasinghe updated ODE-738:
----------------------------------

    Attachment: ODE-738.patch

This patch make possible to filter name and namespace using following style

He*l* 
http://ode/unit-s*le/H*


Additionally, instanceQueryCount mathod is added to get the instance count, for a interested party. Otherwise all the instances should be retrieved from the database   in order to get the count of the instances. Since both instanceQuery and instanceQueryCount have the same SQL generation, the SQL generation logic is moved to genSQL private method.

> OpenJPA based DAO doesn't support  wildcards properly in "name" and "namespace" filters in InstanceManagement
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: ODE-738
>                 URL: https://issues.apache.org/jira/browse/ODE-738
>             Project: ODE
>          Issue Type: Bug
>          Components: Management API
>    Affects Versions: 2.0
>            Reporter: Waruna Ranasinghe
>         Attachments: ODE-738.patch
>
>
> if we give the following strings as the namespace, it will not work properly
>           
> http://ode/unit-sample/H*
> http://ode/unit-s*le/H*

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ODE-738) OpenJPA based DAO doesn't support wildcards properly in "name" and "namespace" filters in InstanceManagement

Posted by "Tammo van Lessen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tammo van Lessen updated ODE-738:
---------------------------------

    Fix Version/s: 1.3.5

> OpenJPA based DAO doesn't support  wildcards properly in "name" and "namespace" filters in InstanceManagement
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: ODE-738
>                 URL: https://issues.apache.org/jira/browse/ODE-738
>             Project: ODE
>          Issue Type: Bug
>          Components: Management API
>    Affects Versions: 2.0
>            Reporter: Waruna Ranasinghe
>            Assignee: Rafal Rusin
>             Fix For: 1.3.5
>
>         Attachments: ODE-738.patch
>
>
> if we give the following strings as the namespace, it will not work properly
>           
> http://ode/unit-sample/H*
> http://ode/unit-s*le/H*

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (ODE-738) OpenJPA based DAO doesn't support wildcards properly in "name" and "namespace" filters in InstanceManagement

Posted by "Waruna Ranasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Waruna Ranasinghe updated ODE-738:
----------------------------------

    Attachment:     (was: ODE-738.patch)

> OpenJPA based DAO doesn't support  wildcards properly in "name" and "namespace" filters in InstanceManagement
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: ODE-738
>                 URL: https://issues.apache.org/jira/browse/ODE-738
>             Project: ODE
>          Issue Type: Bug
>          Components: Management API
>    Affects Versions: 2.0
>            Reporter: Waruna Ranasinghe
>
> if we give the following strings as the namespace, it will not work properly
>           
> http://ode/unit-sample/H*
> http://ode/unit-s*le/H*

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ODE-738) OpenJPA based DAO doesn't support wildcards properly in "name" and "namespace" filters in InstanceManagement

Posted by "Tammo van Lessen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tammo van Lessen updated ODE-738:
---------------------------------

    Fix Version/s: 2.0-beta3

> OpenJPA based DAO doesn't support  wildcards properly in "name" and "namespace" filters in InstanceManagement
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: ODE-738
>                 URL: https://issues.apache.org/jira/browse/ODE-738
>             Project: ODE
>          Issue Type: Bug
>          Components: Management API
>    Affects Versions: 2.0
>            Reporter: Waruna Ranasinghe
>            Assignee: Rafal Rusin
>             Fix For: 1.3.5, 2.0-beta3
>
>         Attachments: ODE-738.patch
>
>
> if we give the following strings as the namespace, it will not work properly
>           
> http://ode/unit-sample/H*
> http://ode/unit-s*le/H*

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (ODE-738) OpenJPA based DAO doesn't support wildcards properly in "name" and "namespace" filters in InstanceManagement

Posted by "Rafal Rusin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rafal Rusin reassigned ODE-738:
-------------------------------

    Assignee: Rafal Rusin

> OpenJPA based DAO doesn't support  wildcards properly in "name" and "namespace" filters in InstanceManagement
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: ODE-738
>                 URL: https://issues.apache.org/jira/browse/ODE-738
>             Project: ODE
>          Issue Type: Bug
>          Components: Management API
>    Affects Versions: 2.0
>            Reporter: Waruna Ranasinghe
>            Assignee: Rafal Rusin
>         Attachments: ODE-738.patch
>
>
> if we give the following strings as the namespace, it will not work properly
>           
> http://ode/unit-sample/H*
> http://ode/unit-s*le/H*

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ODE-738) OpenJPA based DAO doesn't support wildcards properly in "name" and "namespace" filters in InstanceManagement

Posted by "Waruna Ranasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Waruna Ranasinghe updated ODE-738:
----------------------------------

    Attachment: ODE-738.patch

re-attached the patch with a correction

> OpenJPA based DAO doesn't support  wildcards properly in "name" and "namespace" filters in InstanceManagement
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: ODE-738
>                 URL: https://issues.apache.org/jira/browse/ODE-738
>             Project: ODE
>          Issue Type: Bug
>          Components: Management API
>    Affects Versions: 2.0
>            Reporter: Waruna Ranasinghe
>         Attachments: ODE-738.patch
>
>
> if we give the following strings as the namespace, it will not work properly
>           
> http://ode/unit-sample/H*
> http://ode/unit-s*le/H*

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.