• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Weired problem

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all.
While I was creating my EJB system, I encountered the following problem :
I have a database server (MySQL) which has a table, this table has a PK and some other fields, these fields can be null (except ofcourse the PK field) -as I specified in the SQL creation command-
The following code generates : CreateException NAME field can't be null :


(I'm using JBoss 3.2.5)
Any ideas ??
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using "this.name = name" instead of setName may be a problem. You didn't tell us if you're using BMP or CMP ....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic