Re: Mr. Pierre Frisch on webobjects-dev

2008-01-17 Thread Edgar Klein
...going on w/ +2 Edgar On 17-Jan-08, at 7:53 PM, Lachlan Deck wrote: On 18/01/2008, at 2:57 AM, Simon McLean wrote: we were all just talking about this in the office. so that's +3 from us :-) Simon As were we :-) +2 On 2008/01/17, at 15:39, Alexander Spohr wrote: Hi Mr. Pierre Frisc

Re: Further Info : Flattened Many To Many grabbing all objects

2008-01-17 Thread Alexander Spohr
The same question every month... 1. never use includeObjectIntoPropertyWithKey if you want to maintain your object-graph. The otehr side of the relationship will not know that you changed something. 2. always use addObjectToBothSidesOfRelationshipWithKey as it keeps everything in sync 3

Re: [OFF] posts out of order question

2008-01-17 Thread Alexander Spohr
Sounds like your mailserver uses graylisting and Apples server has a two hour retry. atze Am 17.01.2008 um 20:17 schrieb Saad Laassel: same here Saad. On Jan 17, 2008, at 2:16 PM, Timmy wrote: For the past month or so (?) I've been seeing replies to posts before I see the orig

Further Info : Flattened Many To Many grabbing all objects

2008-01-17 Thread Owen McKerrow
Hi All, I've done some more digging. We recently update our project to use EOGenerator ( using the standard Template files that come with it ) which as Im sure you all know changes the behavior of adding an object from a method that looks like this : public void addToAssociatedWebsit

Re: Background Processes - best practice

2008-01-17 Thread Chuck Hill
Hi George, On Jan 17, 2008, at 5:28 PM, George Wiles wrote: A best-practice question from a WebObjects newbie, any help would be greatly appreciated. We have a number of background processes that we need to run to compliment our WebObjects web application. What is the WebObjects way of d

Re: Can't set frameworks with latest nightly

2008-01-17 Thread Joe Moreno
Ken, After you ran the script did you relaunch Eclipse? - Joe On Jan 17, 2008, at 18:53:09, Ken Anderson wrote: Anyone have any comments or similar experiences? Begin forwarded message: From: Ken Anderson <[EMAIL PROTECTED]> Date: January 17, 2008 1:37:22 PM EST To: webobjects-dev

Flattened Many To Many grabbing all objects

2008-01-17 Thread Owen McKerrow
Hi All, I have a flattened many to many relationship between two table Group and Publication, called AssociatedWebsites. Now when I call thePublication.addObjectToBothSidesOfRelationshipWithKey (aGroup,"associatedWebsiteDisplays"); or aGroup.addObjectToBothSidesOfRelationshipWithKey (the

Re: NSTimestamp mapped to DATE for mysql

2008-01-17 Thread Lachlan Deck
Hi John, On 18/01/2008, at 2:44 AM, John Pollard wrote: Many thanks for your reply. I do do all the default timezone setting in my application, client and server side. However, I found SimpleDateTimes used for conversions don't use the system timezone and you also have to set it on these e

Re: Mr. Pierre Frisch on webobjects-dev

2008-01-17 Thread Lachlan Deck
On 18/01/2008, at 2:57 AM, Simon McLean wrote: we were all just talking about this in the office. so that's +3 from us :-) Simon As were we :-) +2 On 2008/01/17, at 15:39, Alexander Spohr wrote: Hi Mr. Pierre Frisch, I just wanted to tell you that your activities on webobjects-dev giv

Re: Why can't I?

2008-01-17 Thread Q
On 18/01/2008, at 2:00 AM, James Cicenia wrote: Anyone? No matter how many times I reset that switch on the list manager. Is there something else I am missing? I use google for my mail server and Apple Mail as my client. Because google mail doesn't show your own message as a different m

Background Processes - best practice

2008-01-17 Thread George Wiles
A best-practice question from a WebObjects newbie, any help would be greatly appreciated. We have a number of background processes that we need to run to compliment our WebObjects web application. What is the WebObjects way of doing this...or [should we stick to what we know best] and use a J2

Re: NPE from executeStoredProcedure()

2008-01-17 Thread Guido Neitzer
On 17.01.2008, at 15:57, David Avendasora wrote: Um yeah...I was kinda missing that fundamental model thing... I was using the name in the DB, and not setting-up the SP in the model and then using that. Maybe 12 hours a day of coding is too much. Sissy! cug ;-) -- Real-World WebObjects cl

Re: Mr. Pierre Frisch on webobjects-dev

2008-01-17 Thread Michelle Parker
+2 On 18/01/2008, at 2:43 AM, James Cicenia wrote: +1 -j- On Jan 17, 2008, at 9:39 AM, Alexander Spohr wrote: Hi Mr. Pierre Frisch, I just wanted to tell you that your activities on webobjects-dev give me the feeling that Apple does - at last - care for WebObjects again. Thank you a

Re: NPE from executeStoredProcedure()

2008-01-17 Thread jerry porter
Hello, I think your problem might be the call to the name of the proc. (the line) NSDictionary outputArgs = EOUtilities.executeStoredProcedureNamed(ec, "[Server].[DBName].[dbo].[sp_Stored_Procedure]", inputArgs); I am using a stored procedure in SQL Server Here is the definition in the model: {

Sqlite as a backend

2008-01-17 Thread Ted Archibald
I have some (non-WebObjects) projects where I will be using sqlite and I was wondering if I could integrate WebObjects at some point. Can webobjects use sqlite as a backend DB? These projects would have very few users, 2-5 at the most. ___ Do not post

Re: NPE from executeStoredProcedure()

2008-01-17 Thread Mr. Pierre Frisch
The liness in question is: storedProcedure = modelGroup(ec).storedProcedureNamed(name); databaseContext = databaseContextForModelNamed(ec, storedProcedure.model().name()); The most likely culprit is storedProcedure. Are you sure of the name? Does it correspond in the model? Pierre -- Pierre

Re: Unexpected awakeFromInsertion() behaviour

2008-01-17 Thread Robert Walker
Thus the correct wa to initialize an attribute in awakeFromInsertion is: if (attribute() == null) setAttribute(myDefaultValue); Wow, I guess I should have been following this thread closer. I had figured this out a long time ago, while working with JavaClient, so I

NPE from executeStoredProcedure()

2008-01-17 Thread David Avendasora
Hi all, This is my first time trying to use EOUtilities.executeStoredProcedure and I'm getting a Null Pointer Exception from the following code (see Stack Trace below) String siteId = "WAREHOUSE"; String batchId; if (usedInManufacturedBatch() != null) { batchId = EOUtilities.p

Re: [OFF] posts out of order question

2008-01-17 Thread Saad Laassel
same here Saad. On Jan 17, 2008, at 2:16 PM, Timmy wrote: For the past month or so (?) I've been seeing replies to posts before I see the original post. Does anyone know why this has started happening? It really messes with the topic threading. For me, the thread with the subject "Mr. Pie

[OFF] posts out of order question

2008-01-17 Thread Timmy
For the past month or so (?) I've been seeing replies to posts before I see the original post. Does anyone know why this has started happening? It really messes with the topic threading. For me, the thread with the subject "Mr. Pierre Frisch on webobjects-dev" is an example with a response

Re: Rapid Turnaround

2008-01-17 Thread Archibal Singleton
On 16 Jan 2008, at 21:20, Ricardo Parada wrote: I tried that. Unfortunately, I still have the problem. :-( What do you see in the console when you start the app? By the way, I remember that running eclipse at the same time as Xcode was causing it to run really slow. Do you have Xcode ru

Re: A TIMESTAMP problem with FrontBase and WebObjects 5.4 on MacOS X 10.5.1

2008-01-17 Thread Chuck Hill
Any guess on a release date for 5.4.1? On Jan 17, 2008, at 7:10 AM, Mr. Pierre Frisch wrote: This is fixed in WO 5.4.1 Pierre -- Pierre Frisch [EMAIL PROTECTED] On Jan 17, 2008, at 6:42, Daniele Corti wrote: 2008/1/17, Irina Popova <[EMAIL PROTECTED]>: Hi all, While upgrading to Leopar

Re: Mr. Pierre Frisch on webobjects-dev

2008-01-17 Thread jerry porter
I had the pleasure of working directly with Mr. Frisch for a time when I was working in Calgary, Canada. I think its great to see someone who is big advocate for WO working for Apple. I can only hope this bodes well for WO's future. Jerry Porter IT Distribution MS 34-202 Lincoln Financial Gr

Re: Mr. Pierre Frisch on webobjects-dev

2008-01-17 Thread David Holt
Us too +1 David On 17-Jan-08, at 7:57 AM, Simon McLean wrote: we were all just talking about this in the office. so that's +3 from us :-) Simon On 17 Jan 2008, at 15:47, Miguel Arroz wrote: Hi! Yeah! +1 Yours Miguel Arroz On 2008/01/17, at 15:39, Alexander Spohr wrote: Hi Mr.

Re: Mr. Pierre Frisch on webobjects-dev

2008-01-17 Thread David Avendasora
Absolutely! +1 On Jan 17, 2008, at 10:57 AM, Simon McLean wrote: we were all just talking about this in the office. so that's +3 from us :-) Simon On 17 Jan 2008, at 15:47, Miguel Arroz wrote: Hi! Yeah! +1 Yours Miguel Arroz On 2008/01/17, at 15:39, Alexander Spohr wrote: Hi

Re: How do I prevent WO5.4 from reading the whole request?

2008-01-17 Thread Mike Schrag
This is how I do it in one of our apps: File tempFile = ERXFileUtilities .writeInputStreamToTempFile (request().multipartIterator().nextFormData().formDataInputStream()); ... in this case, I know there's only one key coming in, so I cheat and don't "properly" iterator the form datas -- i

Re: Unexpected awakeFromInsertion() behaviour

2008-01-17 Thread David Avendasora
Hey all, I just wanted to tie this email from Pierre Bernard into the whole awkeFromInsertion() thread, as this can have some quite unexpected and hard-to-trace impacts for Java Client projects (Mr. Peabody, please start the WABAC machine...): -Original Message- From: Pierre Ber

array fault firing from addObjectToBothSidesOfRelationshipWithKey(, )

2008-01-17 Thread Patrick Middleton
Hi, periodically people post to this list with problems where adding or removing objects from a one-to-many relationship using addObjectToBothSidesOfRelationshipWithKey(,) or removeObjectFromBothSidesOfRelationshipWithKey(,) causes the an array fault to fire in the owning object, fetchin

Re: Why can't I?

2008-01-17 Thread Daniele Corti
2008/1/17, James Cicenia <[EMAIL PROTECTED]>: > > Anyone? > > No matter how many times I reset that switch on the list manager. > > Is there something else I am missing? I use google for my mail server > and Apple Mail as my client. > > -James Cicenia You mean: why can't I see my own post? Well,

Why can't I?

2008-01-17 Thread James Cicenia
Anyone? No matter how many times I reset that switch on the list manager. Is there something else I am missing? I use google for my mail server and Apple Mail as my client. -James Cicenia ___ Do not post admin requests to the list. They will be ign

Re: Mr. Pierre Frisch on webobjects-dev

2008-01-17 Thread Simon McLean
we were all just talking about this in the office. so that's +3 from us :-) Simon On 17 Jan 2008, at 15:47, Miguel Arroz wrote: Hi! Yeah! +1 Yours Miguel Arroz On 2008/01/17, at 15:39, Alexander Spohr wrote: Hi Mr. Pierre Frisch, I just wanted to tell you that your activities on

test...

2008-01-17 Thread James Cicenia
just a test to see if I can see my own posts. -j- ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mail

Re: Mr. Pierre Frisch on webobjects-dev

2008-01-17 Thread Miguel Arroz
Hi! Yeah! +1 Yours Miguel Arroz On 2008/01/17, at 15:39, Alexander Spohr wrote: Hi Mr. Pierre Frisch, I just wanted to tell you that your activities on webobjects-dev give me the feeling that Apple does - at last - care for WebObjects again. Thank you and please keep up your co

Re: NSTimestamp mapped to DATE for mysql

2008-01-17 Thread John Pollard
Lachlan, Many thanks for your reply. I do do all the default timezone setting in my application, client and server side. However, I found SimpleDateTimes used for conversions don't use the system timezone and you also have to set it on these explicitly. I currently set it to London/Europe

Re: Mr. Pierre Frisch on webobjects-dev

2008-01-17 Thread James Cicenia
+1 -j- On Jan 17, 2008, at 9:39 AM, Alexander Spohr wrote: Hi Mr. Pierre Frisch, I just wanted to tell you that your activities on webobjects-dev give me the feeling that Apple does - at last - care for WebObjects again. Thank you and please keep up your contact to the community,

Mr. Pierre Frisch on webobjects-dev

2008-01-17 Thread Alexander Spohr
Hi Mr. Pierre Frisch, I just wanted to tell you that your activities on webobjects-dev give me the feeling that Apple does - at last - care for WebObjects again. Thank you and please keep up your contact to the community, atze ___ Do not p

Development using SSSL with Eclipse and WOLips

2008-01-17 Thread Don Lindsay
Hello; I am developing an application using Dave Newnans WOSecurity framework. This framework uses SSL. However for some reason SSL does not work within Eclipse. I have setup my "OS X" machine to use apache with SSL. The SSL works fine when navigating to my machine, but I cannot get i

Re: A TIMESTAMP problem with FrontBase and WebObjects 5.4 on MacOS X 10.5.1

2008-01-17 Thread Mr. Pierre Frisch
This is fixed in WO 5.4.1 Pierre -- Pierre Frisch [EMAIL PROTECTED] On Jan 17, 2008, at 6:42, Daniele Corti wrote: 2008/1/17, Irina Popova <[EMAIL PROTECTED]>: Hi all, While upgrading to Leopard we discovered a problem with the SQL which is generated by the EOF for FrontBase. It seems

Re: "server_port" header is always "0" - SOLVED

2008-01-17 Thread Mr. Pierre Frisch
Thank you Pierre -- Pierre Frisch [EMAIL PROTECTED] On Jan 17, 2008, at 3:24, James Brook wrote: On 16 Jan 2008, at 20:35, Mr. Pierre Frisch wrote: Bug report please. My first bug report: Bug ID# 5692304. In answer to Mike's question, this is the same bug that Anjo would have mentione

Re: A TIMESTAMP problem with FrontBase and WebObjects 5.4 on MacOS X 10.5.1

2008-01-17 Thread Daniele Corti
2008/1/17, Irina Popova <[EMAIL PROTECTED]>: > > Hi all, > > While upgrading to Leopard we discovered a problem with the SQL which is > generated by the EOF for FrontBase. > > It seems that during the generation of the SQL the notmeaningful zeroes in > the timestamp are truncated. For example in TI

A TIMESTAMP problem with FrontBase and WebObjects 5.4 on MacOS X 10.5.1

2008-01-17 Thread Irina Popova
Hi all, While upgrading to Leopard we discovered a problem with the SQL which is generated by the EOF for FrontBase. It seems that during the generation of the SQL the notmeaningful zeroes in the timestamp are truncated. For example in TIMESTAMP '2008-01-16 9:28:19.983' there is a missing

How do I prevent WO5.4 from reading the whole request?

2008-01-17 Thread Bogdan Zlatanov
Hi all, I'm trying to send a large file, say 200mb+ over HTTP to a DA of a WOApp. The problem is it blows with OutOfMemoryException, because the receiving app is trying to consume the whole request at once. I tried calling request().contentInputStream() and ended up with a null return value.

Re: "server_port" header is always "0" - SOLVED

2008-01-17 Thread James Brook
On 16 Jan 2008, at 20:35, Mr. Pierre Frisch wrote: Bug report please. My first bug report: Bug ID# 5692304. In answer to Mike's question, this is the same bug that Anjo would have mentioned to you. I will submit a patch to Wonder. -- James Pierre -- Pierre Frisch [EMAIL PROTECTED] O

Re: Row Cache / Fault

2008-01-17 Thread Alexander Spohr
Hey Drew, Am 17.01.2008 um 00:14 schrieb Drew Thoeni: Problem is timings show it to take about 10 seconds per 1,000 children to load. I have tried this two ways. NSArray anArray = parent.children(); This should trigger one fault, not many. NSArray anArray = EOUtilities.objectsWithFetchS