[
https://issues.apache.org/jira/browse/QPID-7973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16209428#comment-16209428
]
Adel Boutros edited comment on QPID-7973 at 10/18/17 2:36 PM:
--------------------------------------------------------------
Hello [~k-wall],
When I did the fix on [QPID-7974|
https://issues.apache.org/jira/browse/QPID-7974]. Some unit tests failed. When
I looked, the testing were appending "null" to the table names. This was
because setTableNamePrefix was being called with a null tablePrefix and as all
tables have "tablePrefix + TableName".
Test failing:
org.apache.qpid.server.store.jdbc.GenericJDBCConfigurationStoreTest
Error (See how table name contains NULL): Caused by: java.sql.SQLException:
Table/View 'NULLQPID_CONFIGURED_OBJECTS' already exists in Schema 'APP'.
was (Author: [email protected]):
Hello [~k-wall],
When I did the fix on [QPID-7974|
https://issues.apache.org/jira/browse/QPID-7974]. Some unit tests failed. When
I looked, the testing were appending "null" to the table names. This was
because setTableNamePrefix was being called with a null tablePrefix and as all
tables have "tablePrefix + TableName".
Test failing:
org.apache.qpid.server.store.jdbc.GenericJDBCConfigurationStoreTest
Error (See how table name contains NULL: Caused by: java.sql.SQLException:
Table/View 'NULLQPID_CONFIGURED_OBJECTS' already exists in Schema 'APP'.
> Table Name Prefix is set to NULL if no prefix is provided instead of empty
> String
> ---------------------------------------------------------------------------------
>
> Key: QPID-7973
> URL: https://issues.apache.org/jira/browse/QPID-7973
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Affects Versions: qpid-java-6.1.4
> Reporter: Adel Boutros
> Assignee: Rob Godfrey
> Fix For: qpid-java-broker-7.0.0
>
>
> If the user provides no TableNamePrefix, then it is set to null whereas it
> should be set to empty string
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]