Thanks Travis, 

I had just found that property in the java files somewhere and it does seem to 
make the save reliable.

Nice. 

(seems like a required bit for those using Mysql, as I'm not aware of any 
downside.)

However, I still had to avoid that one particular constraint in order to get 
the table's to build, which seems to indicate I have at least one database 
issue remaining, no?

eogen lines like this run fine:

        commentTable.addForeignKey("mtlyID", "MTLY_POST", "id");

If I avoid this key constraint, say, by commenting out the line, the database 
migrates without error -

        userTable.addForeignKey("posterId", "ERAttachment", "id");

and after that, if I then use the save sort ordering, the file upload functions 
and I haven't got an error in two or three tries with it.

doesn't the fact that I can't run that SQL bit there mean there's a mismatch or 
something on the database itself?

mysql reports error 105 which I thought meant I had a mismatch of key types, 
but for the life of me, I don't see anything in the model or the 
database...hmm...


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to