mirror of https://github.com/apache/openjpa.git
Fix bug in serialization of table element in JPA XML metadata.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@497929 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fd0e25dae6
commit
d88af9faaf
|
@ -228,7 +228,7 @@ public class XMLPersistenceMappingSerializer
|
|||
(table);
|
||||
|
||||
boolean print = (cols != null && cols.size() > 0) ||
|
||||
(uniques !=null || uniques.length > 0);
|
||||
(uniques != null && uniques.length > 0);
|
||||
if (table != null
|
||||
&& (defaultName == null || !defaultName.equals(table))) {
|
||||
print = true;
|
||||
|
|
Loading…
Reference in New Issue