Re: newbie creating object
Re: newbie creating object
- Subject: Re: newbie creating object
- From: Chuck Hill <email@hidden>
- Date: Tue, 11 Dec 2007 20:15:27 -0800
On Dec 11, 2007, at 7:44 PM, Theodore Petrosky wrote:
Okay, I have a little experience with WO using xcode
and I am trying to understand eclipse. I have what I
consider a very simple example and I need to
understand what is going on.
Eclipse 3.3.1.1
WOlips 3.3.4742
I am trying to create a new object. I am connected to
a postgresql backend. I created a table that has a
primary key (integer) and a single text column called
firstname. I generated the object using the Velocity
EOgenerator as I could never get the javaEOGenerator
to work...
Everything appears to be okay until I try to create a
new object. I tried:
newtable = new thetable();
That is a rather odd / poor choice of name for an entity. May I
suggest a tutorial?
http://wotutorial.furfly.com/
It is not complete, but you may find it useful.
Eclipse complains that I need to import thetable and I
import it.
Xcode would complain of the same thing.
So the only thing I have is a "Hello World"
web page where I am trying to create an object. This
is my error:
Application: wotest
Error: java.lang.reflect.InvocationTargetException
exception
Reason:
java.lang.reflect.InvocationTargetException
What am I doing wrong? I need some help. I feel like I
am about to give up on webobjects. I used to get it
working fairly easily with xcode...
I don't see that this has _anything_ do with with Xcode vs Eclipse.
You have an error in your code somewhere. Is there any more to the
error message than that?
Chuck
--
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