• 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: Webobjects WoLips Wonder Tutorial Questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Webobjects WoLips Wonder Tutorial Questions


  • Subject: Re: Webobjects WoLips Wonder Tutorial Questions
  • From: David LeBer <email@hidden>
  • Date: Tue, 14 Oct 2008 07:38:37 -0400


On 14-Oct-08, at 12:50 AM, Shaun Higgins wrote:

I have been following the tutorial "WO_WOLips_Wonder_Tutorial_Part_1". The tutorial is wonderful and answers a lot of questions I had about setting up a project using wolips. I am running into a few problems with this tutorial

1. For some reason migrations is not creating the table. I can create the table using the generate SQL button however, Migrations does not create the table. (I am using a separate MySQL sever).

Any errors in the logs?

Double check your properties for the migration and make sure you have the db connection properties set correctly.

2. When Webobjects generates the .java and _ .java it places them into Sources/(default package) rather than com.login.model. How do I set where the generated java files are placed?

You need to specify the full packaged class name in your model. i.e. Entity Name: MyEntity, Class: com.mycom.myproject.model.MyEntity.


3. When I run the program and type in a valid username / password using the fetchRequiredUser function I get a classCastException on _fetchUser in _User. Could this be cause from me creating a com.login.model package and moving the contents of the default package into this folder?
*After I refreshed _User.java User.java reappear in the default package and now I have duplicates.

I believe if you fix #2 this should resolve itself.

;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: 	http://codeferous.com
blog: 	http://davidleber.net
profile:	http://www.linkedin.com/in/davidleber
twitter:	http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org




_______________________________________________ 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
References: 
 >Webobjects WoLips Wonder Tutorial Questions (From: "Shaun Higgins" <email@hidden>)

  • Prev by Date: Re: Added JavaDoc to eclipse
  • Next by Date: Re: Eclipse 3.4.1
  • Previous by thread: Webobjects WoLips Wonder Tutorial Questions
  • Next by thread: Fwd: WO-NOVA Meeting 10/15 at 6:30
  • Index(es):
    • Date
    • Thread