Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the JDBC syntax for using a date literal or variable in a standard Statement?

JDBC literal standard syntax
0
Posted

What is the JDBC syntax for using a date literal or variable in a standard Statement?

0

I’m using the Oracle thin driver to update a batch of records using a prepared statement, addBatch() and executeBatch(). All of the updates go through fine and the data is updated correctly, but all of the updateCounts returned are “-2”. I haven’t been able to find any documentation for the thin driver, so I don’t know if this return code is something I should be worried about, or if I should just ignore it.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.