• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Proble with tutorial
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proble with tutorial


  • Subject: Re: Proble with tutorial
  • From: Chuck Hill <email@hidden>
  • Date: Tue, 11 Mar 2008 19:16:22 -0700


On Mar 11, 2008, at 7:13 PM, Gustavo Pizano wrote:

I dont get that first line when I generate the sql

so the problem is soemwhere else... Im following the instrucciont form the manual.. whats the url you have?

At this point, I have no idea what it is that you are doing. :-)


Try following these instructions:

http://wiki.objectstyle.org/confluence/display/WOL/Using+Entity+Modeler

Chuck


On Mar 11, 2008, at 9:00 PM, Chuck Hill wrote:

Are you just copying _part_ of the SQL out of Entity Modeler? What you have below gives me the same error that it give you. BUT if I add the first line that Entity Modeler generates:

SET TRANSACTION ISOLATION LEVEL SERIALIZABLE, LOCKING PESSIMISTIC;

Then it works:

--
SET TRANSACTION ISOLATION LEVEL SERIALIZABLE, LOCKING PESSIMISTIC;

CREATE TABLE "DisplayBoard" (
"bigImage" BLOB,
"creationDate" TIMESTAMP CONSTRAINT NOT_NULL_DisplayBoard__creationDate NOT NULL,
"description" CLOB,
"eoid" INTEGER CONSTRAINT NOT_NULL_DisplayBoard__eoid NOT NULL,
"lastModifiedDate" TIMESTAMP CONSTRAINT NOT_NULL_DisplayBoard__lastModifiedDate NOT NULL,
"mimeType" VARCHAR(20),
"thumbnail" BLOB,
"title" VARCHAR(200) CONSTRAINT NOT_NULL_DisplayBoard__title NOT NULL
);


SET UNIQUE = 1000000 FOR "DisplayBoard";

ALTER TABLE "DISPLAYBOARD" ADD CONSTRAINT PRIMARY_KEY_DisplayBoard_eoid PRIMARY KEY ("EOID") NOT DEFERRABLE INITIALLY IMMEDIATE;
--


That is a bad error message, but what it means is that you have the wrong isolation level (I think) for that type of statement.

Chuck



On Mar 11, 2008, at 6:51 PM, Gustavo Pizano wrote:

This is the sql that EM is generation

CREATE TABLE "DisplayBoard" (
"bigImage" BLOB,
"creationDate" TIMESTAMP CONSTRAINT NOT_NULL_DisplayBoard__creationDate NOT NULL,
"description" CLOB,
"eoid" INTEGER CONSTRAINT NOT_NULL_DisplayBoard__eoid NOT NULL,
"lastModifiedDate" TIMESTAMP CONSTRAINT NOT_NULL_DisplayBoard__lastModifiedDate NOT NULL,
"mimeType" VARCHAR(20),
"thumbnail" BLOB,
"title" VARCHAR(200) CONSTRAINT NOT_NULL_DisplayBoard__title NOT NULL
);


SET UNIQUE = 1000000 FOR "DisplayBoard";

ALTER TABLE "DISPLAYBOARD" ADD CONSTRAINT PRIMARY_KEY_DisplayBoard_eoid PRIMARY KEY ("EOID") NOT DEFERRABLE INITIALLY IMMEDIATE;

the verification says there are no error


Gus

On Mar 11, 2008, at 8:33 PM, Chuck Hill wrote:

Unzip it and replace the FrontBasePlugIn.framework that is on your app's classpath.


On Mar 11, 2008, at 6:27 PM, Gustavo Pizano wrote:

Should I just replace the FrontBase.plugin folder?

Gus

On Mar 11, 2008, at 7:55 PM, Chuck Hill wrote:

Here is mine, try it.

<FBPlugin.tgz>

On Mar 11, 2008, at 5:28 PM, Gustavo Pizano wrote:

This is what I have

rw-r--r-- 1 GustavPicora staff 45241 Apr 18 2006 frontbaseplugin.jar
-rw-r--r--@ 1 root staff 11907 Mar 10 00:22 src.jar



Gus On Mar 11, 2008, at 12:10 PM, Chuck Hill wrote:

Does yours look like this (might be in /Library):

ls -l ~/Library/Frameworks/FrontBasePlugIn.framework/ Resources/Java/
total 72
-rw-r--r-- 1 chuck wheel 23392 Feb 28 20:06 FrontBasePlugIn.jar
-rw-r--r-- 1 chuck wheel 11446 Feb 28 20:06 src.jar


Chuck


On Mar 11, 2008, at 10:02 AM, Gustav P wrote:

Hello, well the problme persist, I keep trying to execute the SQL but the IO conection error still is comming out. The plugin FrontBase plugin is the one I have checked. is there any other?


Regards Gustavo



On Tue, Mar 11, 2008 at 11:56 AM, Guido Neitzer <email@hidden > wrote:
On 11.03.2008, at 15:03, Gustavo Pizano wrote:


> Ok so what to do?
> Change the db manager?

I was only saying that the FrontBasePlugIn from Project WOnder has no
problem with WO 5.4. If you installed Project WOnder and included the
plugin from /Library/Frameworks it should be the one from Wonder.


I haven't followed the rest of the discussion, so I don't know much
about the rest of the problem.


cug

--
http://www.event-s.net


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden )
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects









--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects









--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects








--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects









--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Proble with tutorial
      • From: Gustavo Pizano <email@hidden>
    • Re: Proble with tutorial
      • From: Gustavo Pizano <email@hidden>
References: 
 >Proble with tutorial (From: Gustavo Pizano <email@hidden>)
 >Re: Proble with tutorial (From: Gustavo Pizano <email@hidden>)
 >Re: Proble with tutorial (From: David Avendasora <email@hidden>)
 >Re: Proble with tutorial (From: Mike Schrag <email@hidden>)
 >Re: Proble with tutorial (From: Gustavo Pizano <email@hidden>)
 >Re: Proble with tutorial (From: Mike Schrag <email@hidden>)
 >Re: Proble with tutorial (From: Guido Neitzer <email@hidden>)
 >Re: Proble with tutorial (From: Gustavo Pizano <email@hidden>)
 >Re: Proble with tutorial (From: Guido Neitzer <email@hidden>)
 >Re: Proble with tutorial (From: "Gustav P" <email@hidden>)
 >Re: Proble with tutorial (From: Chuck Hill <email@hidden>)
 >Re: Proble with tutorial (From: Gustavo Pizano <email@hidden>)
 >Re: Proble with tutorial (From: Chuck Hill <email@hidden>)
 >Re: Proble with tutorial (From: Gustavo Pizano <email@hidden>)

  • Prev by Date: Re: Proble with tutorial
  • Next by Date: Re: Entity Modeler
  • Previous by thread: Re: Proble with tutorial
  • Next by thread: Re: Proble with tutorial
  • Index(es):
    • Date
    • Thread