1

I got this while trying to execute

            File f = new File("file location");
            FileInputStream fis = new FileInputStream(f);
            PreparedStatement ps = db.prepareStatement("INSERT INTO table (title,file,id) VALUES('title',?,7)");
            ps.setBinaryStream(1, fis, (int)f.length());
            ps.execute();
            ps.close();

title - VARCHAR2
file - BLOB
id - FK to another table

Operations with another tables are working, everything is fine but this one. I tried to change statement, drop and recreate table. Without result

Sam DeHaan
  • 10,246
  • 2
  • 40
  • 48
Nogi
  • 134
  • 9
  • 1
    According to Oracle's FAQ - "Every occurrence of an ORA-600 should be reported to Oracle Support. Unlike other errors, you can not find help text for these errors. Only Oracle technical support should diagnose and take actions to prevent or resolve damage to the database." – Dawood ibn Kareem Apr 08 '14 at 18:51
  • 1
    yeah, but oracle support is not for free – Nogi Apr 08 '14 at 18:58

0 Answers0