Hi,
I'm accessing DB2 v7 on z/OS from Java running on NT (Database server
= DB2 OS/390 7.1.1)
Tried both JDBC type 4 and type 2.
I'm getting regularly SQL0407N errors like this:
COM.ibm.db2.jdb c.DB2Exception: [IBM][CLI Driver][DB2] SQL0407N Assignment
of a NULL value to a NOT NULL column "" is not allowed. SQLSTATE=23502
So the column name is not present.
All values in insert statement are present and really not nulls.
There are no "NOT NULL" fields in this table, but primary key which value is
present in insert.
The request with exactly the same data might come thru later.
Anybody knows specific PTF for that ?
Regards,
Sergey
I'm accessing DB2 v7 on z/OS from Java running on NT (Database server
= DB2 OS/390 7.1.1)
Tried both JDBC type 4 and type 2.
I'm getting regularly SQL0407N errors like this:
COM.ibm.db2.jdb c.DB2Exception: [IBM][CLI Driver][DB2] SQL0407N Assignment
of a NULL value to a NOT NULL column "" is not allowed. SQLSTATE=23502
So the column name is not present.
All values in insert statement are present and really not nulls.
There are no "NOT NULL" fields in this table, but primary key which value is
present in insert.
The request with exactly the same data might come thru later.
Anybody knows specific PTF for that ?
Regards,
Sergey
Comment