Re: Setting up horizontal inheritance

2008-11-04 Thread Guido Neitzer
On 04.11.2008, at 18:31, Lachlan Deck wrote: On 05/11/2008, at 10:53 AM, Paul Hoadley wrote: I would never have thought of looking at the connection dictionaries as the cause for this. Wow. Makes sense, but that's just not intuitive ;-) I had a problem with non-matching connection dicts j

Re: which axis?

2008-11-04 Thread Lachlan Deck
On 05/11/2008, at 4:05 PM, Kieran Kelleher wrote: Is there *anyone* out there using axis and its wsdl2java generated files with java 1.5 and WO 5.3.3 for consuming webservices? Very doubtful. enum is illegal in java1.5. But these are just stubs... thrown them in a framework that builds as 1

Re: xerces problem ....

2008-11-04 Thread Lachlan Deck
On 05/11/2008, at 3:50 PM, Kieran Kelleher wrote: Got the axis 1.1 download and have generated java stubs using its wsdl2java class. the stubs don't compile in java 1.5 due to the use of "enum" in the org.apache.axis.enum.* package. How did you get around that or are you on java 1

Re: xerces problem ....

2008-11-04 Thread Anjo Krank
I made a framework from them and compiled it with 1.4... Cheers, Anjo Am 05.11.2008 um 05:50 schrieb Kieran Kelleher: Thanks Lachlan. Got the axis 1.1 download and have generated java stubs using its wsdl2java class. the stubs don't compile in java 1.5 due to the use of "enum" in the

which axis?

2008-11-04 Thread Kieran Kelleher
Hi all, Is there *anyone* out there using axis and its wsdl2java generated files with java 1.5 and WO 5.3.3 for consuming webservices? If so which version of axis are you using? Regards, Kieran ___ Do not post admin requests to the list. They will

Re: xerces problem ....

2008-11-04 Thread Kieran Kelleher
Thanks Lachlan. Got the axis 1.1 download and have generated java stubs using its wsdl2java class. the stubs don't compile in java 1.5 due to the use of "enum" in the org.apache.axis.enum.* package. How did you get around that or are you on java 1.4? Kieran On Nov 4, 2008, at 8:

Re: Setting up horizontal inheritance

2008-11-04 Thread Paul Hoadley
On 05/11/2008, at 12:51 PM, Paul Hoadley wrote: On 05/11/2008, at 11:11 AM, Chuck Hill wrote: On Nov 4, 2008, at 4:23 PM, Guido Neitzer wrote: On 04.11.2008, at 16:53, Paul Hoadley wrote: I wasn't using Wonder, but I was using this: EODatabaseContext.forceConnectionWithMod

Re: Setting up horizontal inheritance

2008-11-04 Thread Paul Hoadley
On 05/11/2008, at 12:30 PM, Chuck Hill wrote: On Nov 4, 2008, at 3:53 PM, Paul Hoadley wrote: On 05/11/2008, at 8:46 AM, Chuck Hill wrote: Just a thought... Are you using Wonder to set the connection dictionaries for both models? I wasn't using Wonder, but I was using this:

Re: Setting up horizontal inheritance

2008-11-04 Thread Paul Hoadley
On 05/11/2008, at 11:11 AM, Chuck Hill wrote: On Nov 4, 2008, at 4:23 PM, Guido Neitzer wrote: On 04.11.2008, at 16:53, Paul Hoadley wrote: I wasn't using Wonder, but I was using this: EODatabaseContext.forceConnectionWithModel(model, overrides,

Re: Setting up horizontal inheritance

2008-11-04 Thread Chuck Hill
On Nov 4, 2008, at 3:53 PM, Paul Hoadley wrote: On 05/11/2008, at 8:46 AM, Chuck Hill wrote: Just a thought... Are you using Wonder to set the connection dictionaries for both models? I wasn't using Wonder, but I was using this: EODatabaseContext.forceConnectionWithModel(m

Re: Setting up horizontal inheritance

2008-11-04 Thread Lachlan Deck
On 05/11/2008, at 10:53 AM, Paul Hoadley wrote: I would never have thought of looking at the connection dictionaries as the cause for this. Wow. Makes sense, but that's just not intuitive ;-) with regards, -- Lachlan Deck ___ Do not post admin re

Re: xerces problem ....

2008-11-04 Thread Lachlan Deck
On 05/11/2008, at 11:02 AM, Kieran Kelleher wrote: So, what is the axis version that is compatible with WO 5.3.3? axis1.1 is what I've linked against. I believe later versions are incompatible - at least for wsdl generation. with regards, -- Lachlan Deck _

Re: Setting up horizontal inheritance

2008-11-04 Thread Chuck Hill
On Nov 4, 2008, at 4:23 PM, Guido Neitzer wrote: On 04.11.2008, at 16:53, Paul Hoadley wrote: I wasn't using Wonder, but I was using this: EODatabaseContext.forceConnectionWithModel(model, overrides, new EOEditingContext()); to change 'URL', '

Re: Setting up horizontal inheritance

2008-11-04 Thread Guido Neitzer
On 04.11.2008, at 16:53, Paul Hoadley wrote: I wasn't using Wonder, but I was using this: EODatabaseContext.forceConnectionWithModel(model, overrides, new EOEditingContext()); to change 'URL', 'username', and 'password' in Application's constru

Re: xerces problem ....

2008-11-04 Thread Kieran Kelleher
Thanks for replying . /Lib/WO/Extensions is empty I keep it that way on purpose ;-) /Lib/Ext only has havahl symlink libsvnjavahl-1.jnilib -> /opt/subversion/lib/libsvnjavahl-1.dylib doing jar -tf on javaxml shows it to have org.apache.xml, xalan and xpath. I removed JavaXML

Re: Setting up horizontal inheritance

2008-11-04 Thread Paul Hoadley
On 05/11/2008, at 8:46 AM, Chuck Hill wrote: Just a thought... Are you using Wonder to set the connection dictionaries for both models? I wasn't using Wonder, but I was using this: EODatabaseContext.forceConnectionWithModel(model, overrides, ne

Re: Setting up horizontal inheritance

2008-11-04 Thread Mike Schrag
Mike added something to Wonder, I think, to warn or throw if this happens. I think... Guido actually ... But it will only yell I think if the URL + username matches but the rest does not. If you have totally different connection strings (like one is IP and one is host name), it wouldn't c

Re: Setting up horizontal inheritance

2008-11-04 Thread Chuck Hill
Just a thought... Are you using Wonder to set the connection dictionaries for both models? If the connection dictionaries are not _identical_ (and I do mean indentical), that will cause problems. Perhaps this one. Mike added something to Wonder, I think, to warn or throw if this happens.

Re: Setting up horizontal inheritance

2008-11-04 Thread Paul Hoadley
On 05/11/2008, at 8:21 AM, Chuck Hill wrote: On Nov 4, 2008, at 1:42 PM, Paul Hoadley wrote: On 05/11/2008, at 5:25 AM, Chuck Hill wrote: On Nov 4, 2008, at 1:50 AM, Paul Hoadley wrote: 1. I have a framework that contains a model Auth that contains an entity Person. It also contains the U

Re: Setting up horizontal inheritance

2008-11-04 Thread Chuck Hill
On Nov 4, 2008, at 1:42 PM, Paul Hoadley wrote: On 05/11/2008, at 5:25 AM, Chuck Hill wrote: On Nov 4, 2008, at 1:50 AM, Paul Hoadley wrote: 1. I have a framework that contains a model Auth that contains an entity Person. It also contains the UserPreference entity that has a to-one relat

Re: WOLips New Hotness and ant build says: woframework doesn't support the "frameworksBaseURL" attribute

2008-11-04 Thread Hugi Thordarson
Hi Dave! :-) And of course they did. Thanks Mike'n'Chuck. Cheers, - Hugi // Hugi Thordarson // http://hugi.karlmenn.is/ On 4.11.2008, at 18:03, David Holt wrote: Hi Hugi, On 4-Nov-08, at 9:39 AM, Hugi Thordarson wrote: and when I return I'll see if my applications will build against the

Re: Setting up horizontal inheritance

2008-11-04 Thread Paul Hoadley
On 05/11/2008, at 5:25 AM, Chuck Hill wrote: On Nov 4, 2008, at 1:50 AM, Paul Hoadley wrote: 1. I have a framework that contains a model Auth that contains an entity Person. It also contains the UserPreference entity that has a to-one relationship to Person. Person is abstract. 2. I ha

Re: xerces problem ....

2008-11-04 Thread Chuck Hill
Check /Library/WebObjects/Extensions /Library/Java/Extensions It could also be jarred up in /System/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar Chuck On Nov 4, 2008, at 1:18 PM, Kieran Kelleher wrote: Hi all, I have a non-wo project that uses Apache CXF (release 2.1.3)

Re: Setting up horizontal inheritance

2008-11-04 Thread Paul Hoadley
On 05/11/2008, at 4:54 AM, Chuck Hill wrote: No, its happening on an update to a timestamp column on the child. Worse, it's only happening the second time the app tries an update on that column. That sounds very familiar, but not enough for me to dredge up the details. Have you made cer

xerces problem ....

2008-11-04 Thread Kieran Kelleher
Hi all, I have a non-wo project that uses Apache CXF (release 2.1.3) to implement java webservice client classes and it works well. I integrated that client into my WO app and created a framework to wrap the minimum Apache CXF jars to support the client classes and I am getting a xerces e

Re: Setting up horizontal inheritance

2008-11-04 Thread Lachlan Deck
On 05/11/2008, at 7:08 AM, Ken Anderson wrote: On Nov 4, 2008, at 2:37 PM, Lachlan Deck wrote: Or are you saying for HI that the pks are sequential across sub- entities for frontbase? He's using postgres however... The PKs MUST be unique across all sub-entities, otherwise relationships to

Re: Setting up horizontal inheritance

2008-11-04 Thread Mike Schrag
In Oracle, where sequences are used for PKs, I never set a table for HI abstract entities. The adaptor generates a sequence with the entity name, rather than the table name. Makes sense ... Maybe that's the trigger -- if you define a table name, it will make it, otherwise it will just ignore

Re: Setting up horizontal inheritance

2008-11-04 Thread Ken Anderson
In Oracle, where sequences are used for PKs, I never set a table for HI abstract entities. The adaptor generates a sequence with the entity name, rather than the table name. On Nov 4, 2008, at 2:49 PM, Mike Schrag wrote: So Chuck says for Frontbase "It does for FrontBase as the PK generat

Re: Setting up horizontal inheritance

2008-11-04 Thread Ken Anderson
On Nov 4, 2008, at 2:37 PM, Lachlan Deck wrote: Or are you saying for HI that the pks are sequential across sub- entities for frontbase? He's using postgres however... The PKs MUST be unique across all sub-entities, otherwise relationships to the parent abstract entity would fail. ___

Re: Setting up horizontal inheritance

2008-11-04 Thread Chuck Hill
On Nov 4, 2008, at 11:49 AM, Mike Schrag wrote: So Chuck says for Frontbase "It does for FrontBase as the PK generation sequences as associated with a physical table in FrontBase. ". That's puzzling to me. i.e., AMPerson is a physical table. Why does the parent need to map to a physical ta

Re: Setting up horizontal inheritance

2008-11-04 Thread Mike Schrag
So Chuck says for Frontbase "It does for FrontBase as the PK generation sequences as associated with a physical table in FrontBase. ". That's puzzling to me. i.e., AMPerson is a physical table. Why does the parent need to map to a physical table at all for HI? So for FrontBase, sequences ar

Re: Setting up horizontal inheritance

2008-11-04 Thread Chuck Hill
On Nov 4, 2008, at 11:38 AM, Lachlan Deck wrote: On 05/11/2008, at 6:31 AM, Mike Schrag wrote: That is not horizontal inheritance to my understanding. You have Vertical inheritance and so you've not modelled it correctly. Person should not have a table for Horizontal. Chuck is right, you w

Re: Setting up horizontal inheritance

2008-11-04 Thread Chuck Hill
On Nov 4, 2008, at 11:37 AM, Lachlan Deck wrote: On 05/11/2008, at 6:25 AM, Lachlan Deck wrote: On 04/11/2008, at 8:50 PM, Paul Hoadley wrote: I have another clue. Thanks for bearing with me. On 04/11/2008, at 6:27 PM, Paul Hoadley wrote: Maybe I need to start again from scratch. Just

Re: Setting up horizontal inheritance

2008-11-04 Thread Lachlan Deck
On 05/11/2008, at 6:31 AM, Mike Schrag wrote: That is not horizontal inheritance to my understanding. You have Vertical inheritance and so you've not modelled it correctly. Person should not have a table for Horizontal. Chuck is right, you will get a table for the abstract parent so that PK

Re: Setting up horizontal inheritance

2008-11-04 Thread Lachlan Deck
On 05/11/2008, at 6:25 AM, Lachlan Deck wrote: On 04/11/2008, at 8:50 PM, Paul Hoadley wrote: I have another clue. Thanks for bearing with me. On 04/11/2008, at 6:27 PM, Paul Hoadley wrote: Maybe I need to start again from scratch. Just to recap: 1. I have a framework that contains a m

Re: Setting up horizontal inheritance

2008-11-04 Thread Mike Schrag
That is not horizontal inheritance to my understanding. You have Vertical inheritance and so you've not modelled it correctly. Person should not have a table for Horizontal. Chuck is right, you will get a table for the abstract parent so that PK generation works properly and generates unique

Re: Setting up horizontal inheritance

2008-11-04 Thread Lachlan Deck
On 05/11/2008, at 5:22 AM, Chuck Hill wrote: On Nov 3, 2008, at 10:03 PM, Lachlan Deck wrote: If you're mapping the parent entity to a table in the db - you've got VI rather than HI. No, VI it is a bit more involved than that. Sure, I mean to say it's an incomplete VI. I've never heard a

Re: Setting up horizontal inheritance

2008-11-04 Thread Lachlan Deck
On 04/11/2008, at 8:50 PM, Paul Hoadley wrote: I have another clue. Thanks for bearing with me. On 04/11/2008, at 6:27 PM, Paul Hoadley wrote: Maybe I need to start again from scratch. Just to recap: 1. I have a framework that contains a model Auth that contains an entity Person. It a

Re: Setting up horizontal inheritance

2008-11-04 Thread Lachlan Deck
On 04/11/2008, at 6:57 PM, Paul Hoadley wrote: On 04/11/2008, at 4:33 PM, Lachlan Deck wrote: On 04/11/2008, at 9:12 AM, Chuck Hill wrote: On Nov 2, 2008, at 10:30 PM, Paul Hoadley wrote: On 03/11/2008, at 3:59 PM, Chuck Hill wrote: [2008-11-3 16:53:8 CST] : Exception occurred while

Re: EOFetchSpecification that locks objects like 'SELECT FOR UPDATE NO WAIT'

2008-11-04 Thread Chuck Hill
On Nov 4, 2008, at 1:41 AM, Andri vonAllmen wrote: Hi, a EOFetchSpecification that locks objects and throws an exception on any other access trials (SELECT, UPDATE, whatever) is required. Why? This sounds like Pessimistic Locking. EOF is really intended to be used with Optimistic Lock

Re: Setting up horizontal inheritance

2008-11-04 Thread Chuck Hill
On Nov 4, 2008, at 1:50 AM, Paul Hoadley wrote: I have another clue. Thanks for bearing with me. On 04/11/2008, at 6:27 PM, Paul Hoadley wrote: Maybe I need to start again from scratch. Just to recap: 1. I have a framework that contains a model Auth that contains an entity Person. It

Re: Setting up horizontal inheritance

2008-11-04 Thread Chuck Hill
On Nov 3, 2008, at 11:57 PM, Paul Hoadley wrote: On 04/11/2008, at 4:33 PM, Lachlan Deck wrote: On 04/11/2008, at 9:12 AM, Chuck Hill wrote: On Nov 2, 2008, at 10:30 PM, Paul Hoadley wrote: On 03/11/2008, at 3:59 PM, Chuck Hill wrote: [2008-11-3 16:53:8 CST] : Exception occurred wh

Re: Setting up horizontal inheritance

2008-11-04 Thread Chuck Hill
On Nov 3, 2008, at 10:03 PM, Lachlan Deck wrote: On 04/11/2008, at 9:12 AM, Chuck Hill wrote: On Nov 2, 2008, at 10:30 PM, Paul Hoadley wrote: On 03/11/2008, at 3:59 PM, Chuck Hill wrote: [2008-11-3 16:53:8 CST] : Exception occurred while handling request: java.lang.IllegalStateExcep

Re: WOLips New Hotness and ant build says: woframework doesn't support the "frameworksBaseURL" attribute

2008-11-04 Thread David Holt
Hi Hugi, On 4-Nov-08, at 9:39 AM, Hugi Thordarson wrote: and when I return I'll see if my applications will build against these products :-). Something tells me that they will ;-) David On 4-Nov-08, at 9:37 AM, Mike Schrag wrote: committing the fix now. ___

Re: WOLips New Hotness and ant build says: woframework doesn't support the "frameworksBaseURL" attribute

2008-11-04 Thread Hugi Thordarson
Ah, of course, my coffee hose is missing! :-P You speak the truth though, {build.app.name} is never defined and my frameworks seem to build fine with the frameworkBaseURL attribute removed. I'm going to go play some jazz now, and when I return I'll see if my applications will build against

Re: WOLips New Hotness and ant build says: woframework doesn't support the "frameworksBaseURL" attribute

2008-11-04 Thread Mike Schrag
Don't feel stupid, I created a new Wonder FW and got the same error. So I am wondering if frameworkBaseURL works for anyone. The only Google references are for Maven builds. And, er, what exactly is this supposed to do? frameworkBaseURL="/WebObjects/${build.app.name}.woa/Frameworks" copy

Re: WOLips New Hotness and ant build says: woframework doesn't support the "frameworksBaseURL" attribute

2008-11-04 Thread Chuck Hill
On Nov 4, 2008, at 9:03 AM, Hugi Thordarson wrote: Hi Chuck! No, last night I actually: - removed Eclipse completely from my machine. - did a /usr/libexec/locate.updatedb as root. - did a locate of every copy of woproject.jar on my computer. - deleted every woproject.jar I found. - did a clean

Re: WOLips New Hotness and ant build says: woframework doesn't support the "frameworksBaseURL" attribute

2008-11-04 Thread Hugi Thordarson
Hi Chuck! No, last night I actually: - removed Eclipse completely from my machine. - did a /usr/libexec/locate.updatedb as root. - did a locate of every copy of woproject.jar on my computer. - deleted every woproject.jar I found. - did a clean install of Eclipse 3.4.1 and WOLips nightly - updated

Re: WOLips New Hotness and ant build says: woframework doesn't support the "frameworksBaseURL" attribute

2008-11-04 Thread Chuck Hill
On Nov 4, 2008, at 7:57 AM, Ricardo J. Parada wrote: Run ant with -verbose as a command line argument to see if you get other useful information. I did the following on my system: sudo cp /Applications/eclipse341/plugins/ org.objectstyle.wolips.woproject.ant_3.4.5526/lib/woproject.jar /usr

Re: WOLips New Hotness and ant build says: woframework doesn't support the "frameworksBaseURL" attribute

2008-11-04 Thread Ricardo J. Parada
Run ant with -verbose as a command line argument to see if you get other useful information. I did the following on my system: sudo cp /Applications/eclipse341/plugins/ org.objectstyle.wolips.woproject.ant_3.4.5526/lib/woproject.jar /usr/ share/ant/lib/ Also, make sure the build.xml are re

Re: WOLips New Hotness and ant build says: woframework doesn't support the "frameworksBaseURL" attribute

2008-11-04 Thread Mr. Frank Cobia
I also copied the build.xml from a new empty project and got the same error. I just removed the offending attribute and everything builds, but I have not had time to check to see whether it install or runs correctly. Frank On Nov 4, 2008, at 9:49 AM, Hugi Thordarson wrote: Thanks Q - I di

Re: WOLips New Hotness and ant build says: woframework doesn't support the "frameworksBaseURL" attribute

2008-11-04 Thread Hugi Thordarson
Thanks Q - I did that - but I can't even build a brand new framework project I created on a clean install of WOLips/Eclipse 3.4.1. Tried it on three computers. Any ideas? Cheers, - hugi On 4.11.2008, at 14:31, Q wrote: If you are building an old project with new hotness you need to

Re: WOLips New Hotness and ant build says: woframework doesn't support the "frameworksBaseURL" attribute

2008-11-04 Thread Q
If you are building an old project with new hotness you need to update your build.xml as per mikes blog post. http://wolips.blogspot.com/2008/09/its-alive.html On 04/11/2008, at 11:15 PM, Hugi Thordarson wrote: Thanks Kieran, that's what I thought at first, but there are only two woprojec

Re: using WOLips?

2008-11-04 Thread Kieran Kelleher
Try this: http://wiki.objectstyle.org/confluence/display/WOL/Scratch+Setup+of+WebObjects+Development+on+a+Mac And specifically try the tutorials here the technology and tools is advancing at such a rapid pace, it is hard to keep documentation current... http://wiki.objectstyle.org/confl

Re: WOLips New Hotness and ant build says: woframework doesn't support the "frameworksBaseURL" attribute

2008-11-04 Thread Hugi Thordarson
Thanks Kieran, that's what I thought at first, but there are only two woproject.jars on my computer: [...]/eclipse 3.4/configuration/org.eclipse.osgi/bundles/293/1/.cp/lib/ woproject.jar [...]/eclipse 3.4/plugins/ org.objectstyle.wolips.woproject.ant_3.4.5526/lib/woproject.jar They exist as

using WOLips?

2008-11-04 Thread Timothy Reaves
What's the magic way to run this on 10.5.5? What version of the VM do you need? What should there search order in Java Preferences? What version of Eclipse? I can't get it to run at all. I can from the command line though. ___ Do not post

Re: WOLips New Hotness and ant build says: woframework doesn't support the "frameworksBaseURL" attribute

2008-11-04 Thread Kieran Kelleher
You are not using New Hotness latest woproject.jar it seems..Navigate into the pligins and in a folder somewhere you will find New Hotness woproject.jar . or use Spotlight to find it:On Nov 4, 2008, at 6:46 AM, Hugi Thordarson wrote:Good morning everyone!I just took the plunge last night an

WOLips New Hotness and ant build says: woframework doesn't support the "frameworksBaseURL" attribute

2008-11-04 Thread Hugi Thordarson
Good morning everyone! I just took the plunge last night and upgraded our environment to New Hotness™. Its looking really good so far, but I have one problem: I can't build my framework projects using ant. I followed upgrade procedure, creating a new Wonder framework, then reaplcing build

Re: EOFetchSpecification that locks objects like 'SELECT FOR UPDATE NO WAIT'

2008-11-04 Thread Andrew Lindesay
Hello Andri; I'm not sure I follow precisely what you're after, but I had a problem where a very large volume of concurrent writes into a database product from a number of instances was causing deadlocks, so I subclassed the EOF JDBC Adaptor to apply ordered table-level locks on the leading

Re: Setting up horizontal inheritance

2008-11-04 Thread Paul Hoadley
I have another clue. Thanks for bearing with me. On 04/11/2008, at 6:27 PM, Paul Hoadley wrote: Maybe I need to start again from scratch. Just to recap: 1. I have a framework that contains a model Auth that contains an entity Person. It also contains the UserPreference entity that has a

EOFetchSpecification that locks objects like 'SELECT FOR UPDATE NO WAIT'

2008-11-04 Thread Andri vonAllmen
Hi, a EOFetchSpecification that locks objects and throws an exception on any other access trials (SELECT, UPDATE, whatever) is required. The behaviour should be the same as the SQL Statement 'SELECT FOR UPDATE NO WAIT'. For locking objects ('SELECT FOR UPDATE') the EOFetchSpecifications method