Re: Primary key not being passed(?)
Posted by Sangs on May 23, 2006; 11:14am
URL: http://ofbiz.116.s1.nabble.com/Primary-key-not-being-passed-tp168044p168045.html
Hi everybody!
can someone please,please tell me why am i getting the following errors:
the entitymodel and entutygroup files are correct i have verified them against the tutorials available on the site.
Any help will be appreciated.
13422 (main) [ DatabaseUtil.java:280:WARN ] Column [HELLO_HOBBY_ID] of table [OFBIZ.HELLO_HOBBY] of entity [HelloHobby] exists in the database but has no corresponding field (and it is a PRIMARY KEY COLUMN)
13422 (main) [ DatabaseUtil.java:269:ERROR] WARNING: Column [HOBBY_ID] of table [OFBIZ.HELLO_HOBBY] of entity [HelloHobby] IS NOT a primary key in the database, but IS a primary key in the entity definition. The primary key for this table needs to be re-created or modified to add this column to the primary key. Note that data may need to be added first as a primary key column cannot have an null values.
13422 (main) [ DatabaseUtil.java:288:WARN ] Entity [HelloHobby] has 6 fields but table [OFBIZ.HELLO_HOBBY] has 7 columns.
13422 (main) [ DatabaseUtil.java:280:WARN ] Column [HELLO_PERSON_ID] of table [OFBIZ.HELLO_PERSON] of entity [HelloPerson] exists in the database but has no corresponding field (and it is a PRIMARY KEY COLUMN)
Thanks!
Sangeeta