summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetya Sabeva2012-11-03 18:56:24 (EDT)
committerPetya Sabeva2012-11-03 18:56:24 (EDT)
commit29efa97c5e3d7622d938777d890b04f79b4ae1be (patch)
tree8ec23f5881441f69007f8180c9b1b8c8f5d583c3
parente2b760e322d5dc100ef27e319241b1448ae8099f (diff)
downloadwebtools.dali-29efa97c5e3d7622d938777d890b04f79b4ae1be.zip
webtools.dali-29efa97c5e3d7622d938777d890b04f79b4ae1be.tar.gz
webtools.dali-29efa97c5e3d7622d938777d890b04f79b4ae1be.tar.bz2
Bug 389270 - Create entities to have an explicit no-arg constructor
-rw-r--r--jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.ui/src/org/eclipse/jpt/jpadiagrameditor/ui/internal/util/JPAEditorUtil.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.ui/src/org/eclipse/jpt/jpadiagrameditor/ui/internal/util/JPAEditorUtil.java b/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.ui/src/org/eclipse/jpt/jpadiagrameditor/ui/internal/util/JPAEditorUtil.java
index d373386..a4c5b15 100644
--- a/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.ui/src/org/eclipse/jpt/jpadiagrameditor/ui/internal/util/JPAEditorUtil.java
+++ b/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.ui/src/org/eclipse/jpt/jpadiagrameditor/ui/internal/util/JPAEditorUtil.java
@@ -1218,6 +1218,8 @@ public class JPAEditorUtil {
+ tableName + "\")\n") : "") //$NON-NLS-1$ //$NON-NLS-2$
+ classDeclarationStringContent
+ "private static final long serialVersionUID = 1L;\n"
+ + "public " + entityShortName + "() {\n"
+ + "}\n"
+ primaryKeyDeclaration
+"}"; //$NON-NLS-1$