You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Mahesh Mohan (JIRA)" <je...@portals.apache.org> on 2007/03/08 12:12:24 UTC

[jira] Created: (JS2-658) COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2/NT] SQL0107N The name "FK_PA_METADATA_FIELD_1" is too long. The maximum length is "18". SQLSTATE=42622

COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2/NT] SQL0107N  The name "FK_PA_METADATA_FIELD_1" is too long.  The maximum length is "18".  SQLSTATE=42622
--------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: JS2-658
                 URL: https://issues.apache.org/jira/browse/JS2-658
             Project: Jetspeed 2
          Issue Type: Bug
    Affects Versions: 2.1
         Environment: Database -- DB2. JDK 1.5_06. Maven 1.0.2
            Reporter: Mahesh Mohan
             Fix For: 2.1


When I try to generate and populate my DB2 Database for Jetspeed using Jetspeed-Maven Plugin I am getting the above exception. To fix this temporarly what I went along with was to identify the foreign keys with a name longer then 18 chars and make them shorter. This is a bit of manual step, but works fine with all the databases. So basically we need to get into the jetspeed plugin inside maven_repo (<maven installation dir>\maven_repo\cache\maven-jetspeed2-plugin-2.1-dev\plugin-resources\schema) and manually edit the schema xml's to overcome the above limitation.

Now, what I would like to know here is, whether this is a known issue or there is something wrong with my configurations moreover is there a better fix for this issue. And if this is a known issue, which release of Jetspeed-maven Plugin will have a solution for the same.

Any help on this regard will be greatly appreciated.

Regards
Mahesh

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


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Closed: (JS2-658) COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2/NT] SQL0107N The name "FK_PA_METADATA_FIELD_1" is too long. The maximum length is "18". SQLSTATE=42622

Posted by "Vivek Kumar (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vivek Kumar closed JS2-658.
---------------------------

    Resolution: Fixed

Issue is fixed with latest new Apache DB DdlUtils 

> COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2/NT] SQL0107N  The name "FK_PA_METADATA_FIELD_1" is too long.  The maximum length is "18".  SQLSTATE=42622
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JS2-658
>                 URL: https://issues.apache.org/jira/browse/JS2-658
>             Project: Jetspeed 2
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: Database -- DB2. JDK 1.5_06. Maven 1.0.2
>            Reporter: Mahesh Mohan
>            Assignee: Vivek Kumar
>            Priority: Critical
>             Fix For: 2.2
>
>         Attachments: patch-JS2-658-schema.txt
>
>
> When I try to generate and populate my DB2 Database for Jetspeed using Jetspeed-Maven Plugin I am getting the above exception. To fix this temporarly what I went along with was to identify the foreign keys with a name longer then 18 chars and make them shorter. This is a bit of manual step, but works fine with all the databases. So basically we need to get into the jetspeed plugin inside maven_repo (<maven installation dir>\maven_repo\cache\maven-jetspeed2-plugin-2.1-dev\plugin-resources\schema) and manually edit the schema xml's to overcome the above limitation.
> Now, what I would like to know here is, whether this is a known issue or there is something wrong with my configurations moreover is there a better fix for this issue. And if this is a known issue, which release of Jetspeed-maven Plugin will have a solution for the same.
> Any help on this regard will be greatly appreciated.
> Regards
> Mahesh

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


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Assigned: (JS2-658) COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2/NT] SQL0107N The name "FK_PA_METADATA_FIELD_1" is too long. The maximum length is "18". SQLSTATE=42622

Posted by "David Sean Taylor (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Sean Taylor reassigned JS2-658:
-------------------------------------

    Assignee: David Sean Taylor

> COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2/NT] SQL0107N  The name "FK_PA_METADATA_FIELD_1" is too long.  The maximum length is "18".  SQLSTATE=42622
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JS2-658
>                 URL: https://issues.apache.org/jira/browse/JS2-658
>             Project: Jetspeed 2
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: Database -- DB2. JDK 1.5_06. Maven 1.0.2
>            Reporter: Mahesh Mohan
>         Assigned To: David Sean Taylor
>            Priority: Minor
>             Fix For: 2.2-dev
>
>         Attachments: patch-JS2-658-schema.txt
>
>
> When I try to generate and populate my DB2 Database for Jetspeed using Jetspeed-Maven Plugin I am getting the above exception. To fix this temporarly what I went along with was to identify the foreign keys with a name longer then 18 chars and make them shorter. This is a bit of manual step, but works fine with all the databases. So basically we need to get into the jetspeed plugin inside maven_repo (<maven installation dir>\maven_repo\cache\maven-jetspeed2-plugin-2.1-dev\plugin-resources\schema) and manually edit the schema xml's to overcome the above limitation.
> Now, what I would like to know here is, whether this is a known issue or there is something wrong with my configurations moreover is there a better fix for this issue. And if this is a known issue, which release of Jetspeed-maven Plugin will have a solution for the same.
> Any help on this regard will be greatly appreciated.
> Regards
> Mahesh

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


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Assigned: (JS2-658) COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2/NT] SQL0107N The name "FK_PA_METADATA_FIELD_1" is too long. The maximum length is "18". SQLSTATE=42622

Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ate Douma reassigned JS2-658:
-----------------------------

    Assignee: Ate Douma  (was: David Sean Taylor)

> COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2/NT] SQL0107N  The name "FK_PA_METADATA_FIELD_1" is too long.  The maximum length is "18".  SQLSTATE=42622
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JS2-658
>                 URL: https://issues.apache.org/jira/browse/JS2-658
>             Project: Jetspeed 2
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: Database -- DB2. JDK 1.5_06. Maven 1.0.2
>            Reporter: Mahesh Mohan
>         Assigned To: Ate Douma
>            Priority: Minor
>             Fix For: 2.2-dev
>
>         Attachments: patch-JS2-658-schema.txt
>
>
> When I try to generate and populate my DB2 Database for Jetspeed using Jetspeed-Maven Plugin I am getting the above exception. To fix this temporarly what I went along with was to identify the foreign keys with a name longer then 18 chars and make them shorter. This is a bit of manual step, but works fine with all the databases. So basically we need to get into the jetspeed plugin inside maven_repo (<maven installation dir>\maven_repo\cache\maven-jetspeed2-plugin-2.1-dev\plugin-resources\schema) and manually edit the schema xml's to overcome the above limitation.
> Now, what I would like to know here is, whether this is a known issue or there is something wrong with my configurations moreover is there a better fix for this issue. And if this is a known issue, which release of Jetspeed-maven Plugin will have a solution for the same.
> Any help on this regard will be greatly appreciated.
> Regards
> Mahesh

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


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Updated: (JS2-658) COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2/NT] SQL0107N The name "FK_PA_METADATA_FIELD_1" is too long. The maximum length is "18". SQLSTATE=42622

Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ate Douma updated JS2-658:
--------------------------

    Fix Version/s:     (was: 2.1)
                   2.2-dev
         Priority: Minor  (was: Major)

> COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2/NT] SQL0107N  The name "FK_PA_METADATA_FIELD_1" is too long.  The maximum length is "18".  SQLSTATE=42622
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JS2-658
>                 URL: https://issues.apache.org/jira/browse/JS2-658
>             Project: Jetspeed 2
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: Database -- DB2. JDK 1.5_06. Maven 1.0.2
>            Reporter: Mahesh Mohan
>            Priority: Minor
>             Fix For: 2.2-dev
>
>
> When I try to generate and populate my DB2 Database for Jetspeed using Jetspeed-Maven Plugin I am getting the above exception. To fix this temporarly what I went along with was to identify the foreign keys with a name longer then 18 chars and make them shorter. This is a bit of manual step, but works fine with all the databases. So basically we need to get into the jetspeed plugin inside maven_repo (<maven installation dir>\maven_repo\cache\maven-jetspeed2-plugin-2.1-dev\plugin-resources\schema) and manually edit the schema xml's to overcome the above limitation.
> Now, what I would like to know here is, whether this is a known issue or there is something wrong with my configurations moreover is there a better fix for this issue. And if this is a known issue, which release of Jetspeed-maven Plugin will have a solution for the same.
> Any help on this regard will be greatly appreciated.
> Regards
> Mahesh

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


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Updated: (JS2-658) COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2/NT] SQL0107N The name "FK_PA_METADATA_FIELD_1" is too long. The maximum length is "18". SQLSTATE=42622

Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ate Douma updated JS2-658:
--------------------------

    Priority: Critical  (was: Minor)

I'll verify if the new Apache DB DdlUtils now used for version 2.2 already handles this as required.  

> COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2/NT] SQL0107N  The name "FK_PA_METADATA_FIELD_1" is too long.  The maximum length is "18".  SQLSTATE=42622
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JS2-658
>                 URL: https://issues.apache.org/jira/browse/JS2-658
>             Project: Jetspeed 2
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: Database -- DB2. JDK 1.5_06. Maven 1.0.2
>            Reporter: Mahesh Mohan
>            Assignee: Ate Douma
>            Priority: Critical
>             Fix For: 2.2
>
>         Attachments: patch-JS2-658-schema.txt
>
>
> When I try to generate and populate my DB2 Database for Jetspeed using Jetspeed-Maven Plugin I am getting the above exception. To fix this temporarly what I went along with was to identify the foreign keys with a name longer then 18 chars and make them shorter. This is a bit of manual step, but works fine with all the databases. So basically we need to get into the jetspeed plugin inside maven_repo (<maven installation dir>\maven_repo\cache\maven-jetspeed2-plugin-2.1-dev\plugin-resources\schema) and manually edit the schema xml's to overcome the above limitation.
> Now, what I would like to know here is, whether this is a known issue or there is something wrong with my configurations moreover is there a better fix for this issue. And if this is a known issue, which release of Jetspeed-maven Plugin will have a solution for the same.
> Any help on this regard will be greatly appreciated.
> Regards
> Mahesh

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


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Commented: (JS2-658) COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2/NT] SQL0107N The name "FK_PA_METADATA_FIELD_1" is too long. The maximum length is "18". SQLSTATE=42622

Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
    [ https://issues.apache.org/jira/browse/JS2-658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12479468 ] 

Ate Douma commented on JS2-658:
-------------------------------

Wow, 18 characters max. for a foreign key name? That is absurd :)

Well, we can look into reducing the length of all our foreign key names some time.

Note: fixing a bug cannot be done against the same (release) version it was detected in, so I'm gonna bump the Fix Version up to 2.2-dev

> COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2/NT] SQL0107N  The name "FK_PA_METADATA_FIELD_1" is too long.  The maximum length is "18".  SQLSTATE=42622
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JS2-658
>                 URL: https://issues.apache.org/jira/browse/JS2-658
>             Project: Jetspeed 2
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: Database -- DB2. JDK 1.5_06. Maven 1.0.2
>            Reporter: Mahesh Mohan
>             Fix For: 2.2-dev
>
>
> When I try to generate and populate my DB2 Database for Jetspeed using Jetspeed-Maven Plugin I am getting the above exception. To fix this temporarly what I went along with was to identify the foreign keys with a name longer then 18 chars and make them shorter. This is a bit of manual step, but works fine with all the databases. So basically we need to get into the jetspeed plugin inside maven_repo (<maven installation dir>\maven_repo\cache\maven-jetspeed2-plugin-2.1-dev\plugin-resources\schema) and manually edit the schema xml's to overcome the above limitation.
> Now, what I would like to know here is, whether this is a known issue or there is something wrong with my configurations moreover is there a better fix for this issue. And if this is a known issue, which release of Jetspeed-maven Plugin will have a solution for the same.
> Any help on this regard will be greatly appreciated.
> Regards
> Mahesh

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


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Assigned: (JS2-658) COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2/NT] SQL0107N The name "FK_PA_METADATA_FIELD_1" is too long. The maximum length is "18". SQLSTATE=42622

Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ate Douma reassigned JS2-658:
-----------------------------

    Assignee: Vivek Kumar  (was: Ate Douma)

Vivek,

Could you also please look into upgrading to *and* validating the latest DddlUtils release?

We currently are still using a patched version which was specifically needed for Oracle. That might no longer be needed (so do test against Oracle at least). 

> COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2/NT] SQL0107N  The name "FK_PA_METADATA_FIELD_1" is too long.  The maximum length is "18".  SQLSTATE=42622
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JS2-658
>                 URL: https://issues.apache.org/jira/browse/JS2-658
>             Project: Jetspeed 2
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: Database -- DB2. JDK 1.5_06. Maven 1.0.2
>            Reporter: Mahesh Mohan
>            Assignee: Vivek Kumar
>            Priority: Critical
>             Fix For: 2.2
>
>         Attachments: patch-JS2-658-schema.txt
>
>
> When I try to generate and populate my DB2 Database for Jetspeed using Jetspeed-Maven Plugin I am getting the above exception. To fix this temporarly what I went along with was to identify the foreign keys with a name longer then 18 chars and make them shorter. This is a bit of manual step, but works fine with all the databases. So basically we need to get into the jetspeed plugin inside maven_repo (<maven installation dir>\maven_repo\cache\maven-jetspeed2-plugin-2.1-dev\plugin-resources\schema) and manually edit the schema xml's to overcome the above limitation.
> Now, what I would like to know here is, whether this is a known issue or there is something wrong with my configurations moreover is there a better fix for this issue. And if this is a known issue, which release of Jetspeed-maven Plugin will have a solution for the same.
> Any help on this regard will be greatly appreciated.
> Regards
> Mahesh

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


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org