• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: newbie creating object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: newbie creating object
      • From: Mike Schrag <email@hidden>
References: 
 >newbie creating object (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Re: HoudahFoundation
  • Next by Date: Re: newbie creating object
  • Previous by thread: newbie creating object
  • Next by thread: Re: newbie creating object
  • Index(es):
    • Date
    • Thread