performance bottleneck

2008-09-03 Thread Lachlan Deck
Hi there, I've been doing quite a bit of profiling on my app over the last few days ... and well on my dev machine it's working a treat. (However I do notice that using the displayGroup - even with using ERXBatchingDisplayGroup + ERXDatabaseDataSource that there's a few extra round-trips

Re: Strange SQL Statement generated....

2008-09-03 Thread Chuck Hill
On Sep 3, 2008, at 7:05 PM, Owen McKerrow wrote: Hi All, Updating an old application and have come across a very weird situation. Code which was working fine 2 days ago now produces an error. So I made the simplest test case I could and yet I still get the error. GeneralInfo gi =

Strange SQL Statement generated....

2008-09-03 Thread Owen McKerrow
Hi All, Updating an old application and have come across a very weird situation. Code which was working fine 2 days ago now produces an error. So I made the simplest test case I could and yet I still get the error. GeneralInfo gi = (GeneralInfo) EOUtilities.objectWithFetchSpecificati

RE: Static Resources? - WAS Re: WebObjects/WOnder CSS and Image path issues

2008-09-03 Thread Andrew R. Kinnie
Well, whichever version of 5.4 that comes with the iPhone SDK final. Not sure how to easily find out. I downloaded the nightly build maven snapshot, but never having used maven. . . Anyway, I created a new wonder app, copied the CSS file, the image, and then copied the webobject from the

Re: Static Resources? - WAS Re: WebObjects/WOnder CSS and Image path issues

2008-09-03 Thread Mike Schrag
I am using 5.4 and Wonder for two days ago, in Eclipse 3.4 with the appropriate WOLips. 5.4.what? 5.4.0,1,2,3? I'm not vouching for ANYTHING under 5.4.2 (and even that has known bugs). You should try 5.4.3 -- I'm using this in development and it works fine. You should also remove variab

Static Resources? - WAS Re: WebObjects/WOnder CSS and Image path issues

2008-09-03 Thread Andrew R. Kinnie
To follow up on my app not finding static resources, specifically a background image, it is still not resolved. It appears that my configuration is looking for static resources in /Library/WebServer/Documents/cgi-bin/WebObjects/MyApp.woa/[whatever path I give in the CSS: background-image: ur

Re: Invalidating objects asynchronously

2008-09-03 Thread Mike Schrag
We're having an interesting problem in our apps, and I wanted to see if anyone else has solved it. Yes, with an asterisk. As Travis said, use Project Wonder and the ERXRemoteSynchronizer with JGroups support ... The JMS change notification framework is known to have problems under load. I h

Re: clearing a toMany relationship fault

2008-09-03 Thread Chuck Hill
This is something that really should get done as part of a refreshing fetch. I think bugs have been filed on this, but another voice increases the priority. Was there some other place you were thinking of having this called automatically? It might be useful to add a refresh() method to

Re: Invalidating objects asynchronously

2008-09-03 Thread Chuck Hill
On Sep 2, 2008, at 1:55 PM, Sherry Tirko wrote: We are seeing some similar issues and are also using session().defaultEditingContext(). Can someone tell me what the problems are with using the default editing context? Unless you are doing some sort of change notifications or abusing EOF,

Re: passing object to component problem

2008-09-03 Thread Theodore Petrosky
Thanks... using your example worked... is there any information you could point me at to explain synchronizing verses non-synchronizing? Ted --- On Wed, 9/3/08, David LeBer <[EMAIL PROTECTED]> wrote: > From: David LeBer <[EMAIL PROTECTED]> > Subject: Re: passing object to component problem >

Re: EOAttribute.width()

2008-09-03 Thread Florijan Stamenkovic
Done. ID: 6193252 On Sep 03, 2008, at 13:20, Chuck Hill wrote: Can you file a bug report on the documentation so that it gets fixed? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@

Re: EOAttribute.width()

2008-09-03 Thread Chuck Hill
I'd guess that the docs have not been updated in a very long time. It should not say (in bytes). As long as the database is setup for Unicode (so that varchar(80) accepts 80 unicode characters, it should all be fine. Can you file a bug report on the documentation so that it gets fixed? Chu

EOAttribute.width()

2008-09-03 Thread Florijan Stamenkovic
Hi all, The documentation for the EOAttribute.width() says: "Returns the maximum length (in bytes) for values that are mapped to this attribute. Returns zero for numeric and date types." So, according to this the maximum length in characters (for textual attributes) would be determined by

Re: Invalidating objects asynchronously + Terracotta + Groovy

2008-09-03 Thread Travis Britt
Have you looked at Wonder's ERXObjectStoreCoordinatorPool and ERJGroupsSynchronizer? I think that's a better approach for the EOF side. tb On Sep 3, 2008, at 9:12 AM, Stephane Guyot wrote: the question is so interesting http://www.terracotta.org/web/display/orgsite/What+Is+Terracotta

Re: passing object to component problem

2008-09-03 Thread David LeBer
On 3-Sep-08, at 9:49 AM, Theodore Petrosky wrote: I have a component that displays Asset objects. These Assets are a to one relation with Manufacturers (one Manufacture many assets). I am trying to learn how to include a new component so I added: where NewAsset is a new stateless componen

passing object to component problem

2008-09-03 Thread Theodore Petrosky
I have a component that displays Asset objects. These Assets are a to one relation with Manufacturers (one Manufacture many assets). I am trying to learn how to include a new component so I added: where NewAsset is a new stateless component. The new component works fine. but I am at a loss h

Invalidating objects asynchronously + Terracotta + Groovy

2008-09-03 Thread Stephane Guyot
Hi list, i'm a little bit in trouble. I post a mail at 10:16:01 and 5 hours later , nothing on the list ? I decide to re-send it Stephane Tonny, the question is so interesting http://www.terracotta.org/web/display/orgsite/What+Is+Terracotta If anybody has experience with this prod

Re: clearing a toMany relationship fault

2008-09-03 Thread Lachlan Deck
Okay, so there's ERXEOControlUtilities.clearSnapshotForRelationshipNamed[InDatabase] (which saves me a few lines of code :) but which doesn't appear to be auto-called from anywhere(?). Would it be useful for there to be a property that does something like this automatically? What I've now

Re: Invalidating objects asynchronously

2008-09-03 Thread Stephane Guyot
Tonny, I totaly agree with you, simple question but the answer is not obvious. Other people are trying to solve this issue. http://www.jboss.org/file-access/default/members/jbosscache/freezone/ docs/2.2.0.GA/userguide_en/html_single/index.html#d0e2025 Invalidation : http://www.jboss.org/fil

Re: clearing a toMany relationship fault

2008-09-03 Thread Lachlan Deck
Hi Simon, On 03/09/2008, at 4:37 PM, Simon McLean wrote: this might help: http://en.wikibooks.org/wiki/Programming:WebObjects/EOF/Using_EOF/Caching_and_Freshness#Refreshing_Many-to-Many_Relationships Yes - that's exactly the sort of stuff I'm trying to solve. Question: is there some propert