Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.14.0
-
None
-
None
Description
I have configured Jackrabbit datastore to Oracle database. I use JCR API and when I upload file greater or equal 2GB I get following error(attachment log.txt).
The problem is in class 'org.apache.jackrabbit.core.util.db.ConnectionHelper' and method 'execute' where is called method setBinaryStream. There stream size is cast to int. That caused a problem when stream size is bigger than max int (2GB or grater). You should use this method there instead of casting. Oracle JDBC also handles long binary stream size.