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:
A. Abram White 2007-01-19 19:59:37 +00:00
parent fd0e25dae6
commit d88af9faaf
1 changed files with 1 additions and 1 deletions

View File

@ -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;