You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2016/11/02 10:03:58 UTC
[jira] [Updated] (ISIS-1479) DataNucleus data type mapping for
streams (to support direct upload of large BLOBs)
[ https://issues.apache.org/jira/browse/ISIS-1479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Haywood updated ISIS-1479:
------------------------------
Fix Version/s: (was: 1.17.0)
1.15.0
> DataNucleus data type mapping for streams (to support direct upload of large BLOBs)
> -----------------------------------------------------------------------------------
>
> Key: ISIS-1479
> URL: https://issues.apache.org/jira/browse/ISIS-1479
> Project: Isis
> Issue Type: New Feature
> Components: Core
> Affects Versions: 1.13.0
> Reporter: Dan Haywood
> Priority: Minor
> Fix For: 1.15.0
>
>
> from http://markmail.org/message/64xcc7twcxdrhfqj
> > With respect to the storage of the BLOBs themselves, I don't think (at
> > least I couldn't find) any datatype mapping to be able to map from a stream
> > (obtained from ServletInputStream) into a JDO entity, ie to avoid the
> > creation of the BLOB in-memory. If it *were* possible, then I don't think
> > Isis would care; just map the property as @Programmatic and Isis would
> > ignore it. Perhaps Andy might be able to chip in on this?
> java.io.File is currently the only java field type with a mapping that is streamable. See
> http://www.datanucleus.org/products/accessplatform_5_0/jdo/types.html#Other_Types
> Somebody could take existing code used for that type and contribute a mapping for some other java type.
> https://github.com/datanucleus/datanucleus-rdbms/blob/master/src/main/java/org/datanucleus/store/rdbms/mapping/datastore/BinaryStreamRDBMSMapping.java
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)