Permalink
Browse files

NEW - bug 209283: Entity generation fails on self-referencing table (…

  • Loading branch information...
1 parent eec0297 commit 8ac0abe7b8be94411652c637285dca182034f43b @bfitzpat bfitzpat committed Aug 26, 2008
@@ -242,6 +242,7 @@ private synchronized void loadPrimaryKey() {
if (connection == null)
return;
+ this.pkLoaded = true;
boolean deliver = this.eDeliver();
this.eSetDeliver(false);
@@ -253,7 +254,6 @@ private synchronized void loadPrimaryKey() {
MysqlPlugin.ID, 0,
"Could not get the DatabaseMetaData from connection", e)); //$NON-NLS-1$
}
- this.pkLoaded = true;
this.eSetDeliver(deliver);
}
@@ -264,6 +264,7 @@ private synchronized void loadConstraints() {
if (connection == null)
return;
+ this.constraintLoaded = true;
boolean deliver = this.eDeliver();
this.eSetDeliver(false);
@@ -282,7 +283,6 @@ private synchronized void loadConstraints() {
MysqlPlugin.ID, 0,
"Could not get the DatabaseMetaData from connection", e)); //$NON-NLS-1$
}
- this.constraintLoaded = true;
this.eSetDeliver(deliver);
}

0 comments on commit 8ac0abe

Please sign in to comment.