jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-1151) avoid converting property values to strings
Date Thu, 22 Nov 2007 01:56:43 GMT

     [ https://issues.apache.org/jira/browse/JCR-1151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jukka Zitting updated JCR-1151:
-------------------------------

    Fix Version/s: 1.4

> avoid converting property values to strings
> -------------------------------------------
>
>                 Key: JCR-1151
>                 URL: https://issues.apache.org/jira/browse/JCR-1151
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: SPI
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>            Priority: Minor
>             Fix For: 1.4
>
>
> QValues currently can not expose properties of types LONG and DOUBLE in a parsed format.
Thus, setting/retrieving properties of these types requires roundtripping through Strings,
which we should avoid.
> Proposal:
> 1) Add "long getLong()" and "double getDouble()" to QValue.
> 2) Add matching create methods to QValueFactory.
> 3) Take advantage of the new methods in JCR2SPI, for instance by allowing it's own Value
implementation to internally just hold the QValue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message