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. -- Artem Melentev, UralSU, CS301. http://usunet.ru/xwiki/ jabber: [email protected] | icq: 175349029
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 [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?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
participants (2)
-
Artem Melentev -
Ludovic Dubost