JDBC - Oracle ArrayIndexOutOfBoundsException

前端 未结 7 2187
北荒
北荒 2020-12-03 04:03

I\'m getting an Exception while trying to insert a row in oracle table. I\'m using ojdbc5.jar for oracle 11 this is the sql i\'m trying

INSERT INTO rule_def         


        
7条回答
  •  旧巷少年郎
    2020-12-03 04:31

    Without seeing the code, the only thing I can think of is to check that each connection is being accessed in a thread safe manner. The Oracle drivers are usually pretty solid. The only time I've seen weird internal errors like that is when you've got more than one thread accessing the same connection instance and doing weird stuff with it. They aren't thread safe, and should be kept to one per thread.

提交回复
热议问题