jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Buchmann <david.buchm...@liip.ch>
Subject Re: multivalue property query result value
Date Mon, 24 Jun 2013 12:21:46 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi bertrand

thanks a lot for pointing me to this, that answers the question.
we might want to explain that somewhere in the jcr 2.1 doc to avoid
uncertainty.

cheers,david

Am 24.06.2013 13:56, schrieb Bertrand Delacretaz:
> Hi,
> 
> On Sat, Jun 22, 2013 at 10:25 AM, David Buchmann
> <david.buchmann@liip.ch> wrote:
>> ....we hit the question what the return value of Row.getValue()
>> [1] should be if the property in question is multivalue...
> 
> As per a previous question at [1], JSR 170 doesn't have a way to
> get multivalues directly from a result set - I don't think that
> has changed in JSR 283.
> 
> As mentioned there, the workaround is to use 
> Row.getNode().getProperty(name).getValues()
> 
> -Bertrand
> 
> [1] http://markmail.org/message/aanmdxcufwiqj2gl
> 

- -- 
Liip AG // Agile Web Development // T +41 26 422 25 11
CH-1700 Fribourg // PGP 0xA581808B // www.liip.ch
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJRyDnXAAoJED/JtliXIA4spf4H/2VCBr8RVq6e4hMENfj1xLMl
/FxyeDUEzh+qc+dNVa/fpxijfoWcH8TvfMqluDwHwvbyq8EWU3vDRAfAmn8lgBhT
+00Gar/LDyNSuJYqh/qCcecgBAEBQVSEcVS3vlHw1RokwhK1m1bY3tN5Fcxc7BvB
4I/6Tdost0emy4mV56g3DGJ0InGiZQ/JVDJD+t4YecR2oAp/WWF07Jf3G6c2fI2w
eZCH2lBBZ8U26G6HqdvBiGJwzJgp0SO8yaNRG3d3trAWcuI0ju8sL0uIo0gfx3hy
g+HRPc5MPjdExe64w3Vv3c6cdIx89PCaG66KNNJz3dViuIh5fbuf6KInRpdOkqE=
=NTu8
-----END PGP SIGNATURE-----

Mime
View raw message