Hi guys (Tobias pay attention to this...).

The deployment works fine.

But when coming to create entities I get "javax.ejb.CreateException: Could
not create entity:java.sql.SQLException: Invalid column type"
It happens because jaws tries to put NULL in the primary key field.
and why is that , you may ask ?
Well, setting the primary key is done by selecting nextval (Oracle method
for implementing auto-increment) from a sequence (sequence name is supplied
as an env-entry in ejb-jar.xml) in the super.ejbCreate method (each derived
entity ejbCreate method invokes super.ejbCreate()).
Since I can check the db sequence and see that it has not been incremented,
I assume the "select <sequence_name>.nextval from dual" statement in the
super class never occured !!!
So, is there any problem invoking super method in ejbCreate ?
Tobias, You said it worked for you, can you please refer to this message ?

Thanks, Shahar.



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to