This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Weired problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Weired problem" Watch "Weired problem" New topic

Weired problem

Hussein Baghdadi
clojure forum advocate

Joined: Nov 08, 2003
Posts: 3479

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

Joined: May 29, 2003
Posts: 1258
Using " = name" instead of setName may be a problem. You didn't tell us if you're using BMP or CMP ....

I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Weired problem
It's not a secret anymore!