• 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
Class generation warnings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Class generation warnings


  • Subject: Class generation warnings
  • From: Eleni Manou <email@hidden>
  • Date: Thu, 13 Mar 2008 05:56:04 +0200

Hi all,

when I generate classes I get the following warnings in each class (en example of my class in java is shown below

package com.mysql.eo;

import org.apache.log4j.Logger;

public class Accounts extends _Accounts {
  private static Logger log = Logger.getLogger(Accounts.class);
}

Warnings are:

The serializable class Accounts does not declare a static final serialVersion UID field of type long

and

The field Accounts.log is never read locally

Then when I continue and run my project in a very simple component where I try to insert a record in database (mysql), while the primary key is inserted normally (automatically incremented) for each record all other fields appear null.

Can anyone explain this to me? Sorry, I am a newcomer in Eclipse/WOLips and EOModeler.

Stavros
 _______________________________________________
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: Class generation warnings
      • From: David Avendasora <email@hidden>
    • Re: Class generation warnings
      • From: David LeBer <email@hidden>
  • Prev by Date: Re: WOTable error
  • Next by Date: Re: Class generation warnings
  • Previous by thread: Re: WOTable error
  • Next by thread: Re: Class generation warnings
  • Index(es):
    • Date
    • Thread