Uploaded image for project: 'XDStarClient'
  1. XDStarClient
  2. XDSTAR-159

Name of table is too long !

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.35
    • Fix Version/s: 0.39
    • Component/s: None
    • Labels:
      None

      Description

      When XDStarClient deploys it tries to create a table named "am_audit_message_specification_participant_object_identifications" however we get an error message saying that the table "am_audit_message_specification_participant_object_identificatio" already exist. It seems to me that the length of the table name is too long as that it should be shortened in the Java sources in order to avoid the error during the deployment of the application

      Here are the logs :


      XDStarClient:app=ejb3 2013-06-04 14:43:23,788 ERROR [SchemaUpdate] Unsuccessful: create table am_audit_message_specification_participant_object_identifications (am_audit_message_specification_id int4 not null, participantObjectIdentifications_id int4 not null, unique (participantObjectIdentifications_id))
      XDStarClient:app=ejb3 2013-06-04 14:43:23,788 ERROR [SchemaUpdate] ERREUR: la relation « am_audit_message_specification_participant_object_identificatio » existe déjà
      XDStarClient:app=ejb3 2013-06-04 14:43:23,789 ERROR [SchemaUpdate] Unsuccessful: alter table am_audit_message_specification_participant_object_identifications add constraint FKC09EE59CEA82743C foreign key (am_audit_message_specification_id) references public.am_audit_message_specification
      XDStarClient:app=ejb3 2013-06-04 14:43:23,789 ERROR [SchemaUpdate] ERREUR: la contrainte « fkc09ee59cea82743c » de la relation « am_audit_message_specification_participant_object_identificatio » existe déjà
      XDStarClient:app=ejb3 2013-06-04 14:43:23,789 ERROR [SchemaUpdate] Unsuccessful: alter table am_audit_message_specification_participant_object_identifications add constraint FKC09EE59CCEAED0F7 foreign key (participantObjectIdentifications_id) references public.am_participant_object_identification_desc
      XDStarClient:app=ejb3 2013-06-04 14:43:23,789 ERROR [SchemaUpdate] ERREUR: la contrainte « fkc09ee59cceaed0f7 » de la relation « am_audit_message_specification_participant_object_identificatio » existe déjà

        Attachments

          Activity

            People

            • Assignee:
              aboufahj Abderrazek Boufahja (Inactive)
              Reporter:
              epoiseau Eric Poiseau
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 30 minutes
                30m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 30 minutes
                30m

                  Potential Duplicates