Hi Artem,
loadXWikiObject should not really be used directly.. If you need to read
object data you should load the document and look into the documents
objects. This is more efficient since there is a document cache in the
CacheStore.
Ludovic
Artem Melentev wrote:
Hi!
Why XWikiHibernateStore.loadXWikiObject,Class,etc not in
XWikiStoreInterface?
Why XWikiHibernateStore.loadXWikiObject,etc not return loaded object
like loadXWikiDoc?
It does not allow load many objects in one hibernate session.
(NonUniqueObjectException)
Attached junit test show that i meen
I need this for my QueryPlugin.
(
http://usunet.ru/xwiki/bin/view/Dev/IndependentQueryAPI)
I am now compelled cache BaseClass in plugin.
------------------------------------------------------------------------
--
You receive this message as a subscriber of the xwiki-dev(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws
--
Ludovic Dubost
XPertNet:
http://www.xpertnet.fr/
Blog:
http://www.ludovic.org/blog/
XWiki:
http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic