Stravros,
Those warnings don't have anything to do with the empty records in the
database.
Can you paste the code that you use to set the values? Also, in your
Model, are the attributes of the Account entity flagged as "Allows
Null"? If you _deselect_ that (basically, tell WO that a value _must_
be set before trying to save it to the database) you will get a
warning before WO ever tries to save the record stating that the
attribute/relationship can not be null.
This should help you track down where the problem is.
Dave
On Mar 12, 2008, at 11:56 PM, Eleni Manou wrote:
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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]