This discussion is archived
0 Replies Latest reply: Feb 13, 2013 12:02 AM by 985919 RSS

OCCI how to insert null and read null

985919 Newbie
Currently Being Moderated

I am trying to use setDataBuffer to batch insert data, but one of the column of the table is nullable, so how can I specify the null value for int,string, double, and date?

Also, how can I read the data and be able to know it is a null using stmt->getInt()?

Maybe this is too simple question. I am new in the area.

So thank you.

Best wishes,



  • Correct Answers - 10 points
  • Helpful Answers - 5 points