Re: Cast Exception with boolean model attribute

2005-12-18 Thread Ian Joyner
Since EO does not have an equivalent boolean type (strange since it's there in Java), I just use Char (1) and put in 'T' or 'F' in the table with functions 'f: char (1) -> boolean' to do the cast (Casts are just functions, but like many things, C syntax obscures this fact). Seems to be the

WOTimer and Servlet Deploy

2005-12-18 Thread apl
Hello; I'm having a bit of trouble with my WOTimers not firing under WO 5.2 when my WOA is deployed into a servlet container (tomcat) -- has anybody else experienced issues with WOTimers and servlet deploy or has even had some luck with this combination? cheers. ___ Andrew Lindesay www.l

HotSpot not at correct virtual address. Sharing disabled.

2005-12-18 Thread Andrew R. Kinnie
Greetings, I have an existing simple WO app, that had been happily running under Mac OS X 10.3 and WO 5.2. I don't think there is anything weird about it, or strange configuration, as I didn't change the configurations from the OS updates. However, I had to make some minor updates to the

Re: Logging SQL statements

2005-12-18 Thread Art Isbell
On Dec 18, 2005, at 10:01 AM, Stirling Olson wrote: Notice the difference in digits on the timestamp values. This causes WO to think that the row has been updated outside the application so the update fails. I've experienced similar problems with timestamp values on other databases as w

RE: ovverriding methods

2005-12-18 Thread apl
Hello Amedeo; is possible to override the "valueForKeyPath" method application wide ? Your best approach here would be to create a superclass for all of your component controllers. In that superclass, override the "valueForKeyPath" method and this then applies globally for all of your

Re: Logging SQL statements

2005-12-18 Thread Stirling Olson
Hey Mike, Thanks. Yeah, I just did some logging on the Postgres side and noticed that I'm getting statements like this: UPDATE Template SET content = ''::text WHERE (entityId = 22::int8 AND modifyTimeStamp = '2005-12-18 12:07:40.980'::timestamp AND createTimeStamp = '2005-12-18 12:07:4

Re: Logging SQL statements

2005-12-18 Thread Mike Schrag
By the way, every time I've had that "failed to update row", it was caused by optimistic locking failing because of precision problems in either a float/double/decimal type or a timestamp type that was mapping to a date (without time) type in the database. ms On Dec 18, 2005, at 2:04 PM, S

Re: Logging SQL statements

2005-12-18 Thread Art Isbell
On Dec 18, 2005, at 6:01 AM, Alex Finkel wrote: The correct syntax to use in the active executable is: -EOAdaptorDebugEnabled true You can also try a command line by into your and launching as: ./ -EOAdaptorDebugEnabled true The Java form "-DEOAdaptorDebugEnabled=true" also works as

Re: Logging SQL statements

2005-12-18 Thread Stirling Olson
Still no luck. Is there any way to set this programmatically? At least that way it will have to compile. Any known problems with XCode 2.1 or WO 5.3 on this front? Thanks everyone. I'm trying to get this logging working so I can solve a REAL problem where I mysteriously get the following:

Re: WO and criteria for choosing a database server

2005-12-18 Thread Amedeo Mantica
I use both MySQL and OpenBase...OpenBase is a bit expensive, but works very wellMySQL gave me same problems... (I suggest MySQL if you don't have to do large databases)Best RegardsAmedeoOn 15/dic/05, at 23:52, David Holt wrote:Following on to the "images in the database" discussion from earlier in

Re: Logging SQL statements

2005-12-18 Thread Alex Finkel
The correct syntax to use in the active executable is: -EOAdaptorDebugEnabled true You can also try a command line by into your and launching as: ./ -EOAdaptorDebugEnabled true On 12/17/05, Stirling Olson <[EMAIL PROTECTED]> wrote: > Hmm. I've tried all the combinations and still no succes