Re: Migrations and ERAttachment error followup

2013-01-10 Thread Fredrik Lindgren
Hi! This problem is probably due to missing connection properties in the properties file. When using ERAttachments you must put at least these properties there: # Connection dictionary for ERAttachments and migrations. dbConnectURLGLOBAL=jdbc:FrontBase://localhost/yourdb/ dbConnectUserGLOBAL=you

Re: Migrations and ERAttachment error followup

2012-08-05 Thread Sr. Ângelo Andrade Cirino
Em 04/08/2012, às 17:29, David Holt escreveu: > You can't create a foreign key in the ERAttachment tables. It just creates > problems. > Hi David, This issue is solved, but I have another one, that shows up either in the old project or in a new one that I created exclusively to test ERAttach

Re: Migrations and ERAttachment error followup

2012-08-04 Thread David Holt
On 2012-08-04, at 12:46 PM, "Sr. Ângelo Andrade Cirino" wrote: > Hi David, > > Thank you for your help. I managed to find the problem. Due to the mess with > the migrations and then deleting and rebuilding the tables, I noticed that > the inherited relationships in ERDatabaseAttachment, ERFi

Re: Migrations and ERAttachment error followup

2012-08-03 Thread Sr. Ângelo Andrade Cirino
Hi David, At first sight the relationships look correct. I have an entity that can hold three different pictures, so I decided to use three attributes, one for each picture. The pictures are optional. The database is being updated to a certain level, since I can see that the private keys are be

Re: Migrations and ERAttachment error followup

2012-08-03 Thread David Holt
What does your model for ERAttachment to your entity look like? What have you created the relationship(s) on? d On 2012-08-03, at 4:52 AM, Sr. Ângelo Andrade Cirino wrote: > Hi, > > By disabling the properties for migrations in my application's properties > file I was able to launch the app,

Re: Migrations and ERAttachment error

2012-08-03 Thread Sr. Ângelo Andrade Cirino
Hi Pascal, I found an old post reporting this bug and the solution, but then I faced another problem with the attachment handling with D2W and made a followup with the screen capture. Thanks, Angelo Em 03/08/2012, às 06:33, Pascal Robert escreveu: > That's a bug in the MySQL plugin bundled w

Re: Migrations and ERAttachment error

2012-08-03 Thread Pascal Robert
That's a bug in the MySQL plugin bundled with WO 5.4. You need to use the plugin from Project Wonder (MySQLPlugIn) by adding it to the build path (right click on project -> Configure Build Path -> Libraries tab -> Add Library -> WebObjects Framework) and moving it in a hight priority (Order & Ex

Migrations and ERAttachment error

2012-08-02 Thread Sr. Ângelo Andrade Cirino
Hi, This is my first attempt at using ERAttachment. I followed the screencast tutorial available in the Wiki and setup my application's properties according to the recommendations I found in the Wiki, but I ended up with an application that doesn't start anymore. The error is reported as a SQL