20 Sep
2005
20 Sep
'05
9:35 p.m.
Hi, I have a class with a database list property which should give the possibility to make a relation to another document. To achieve this I put following hibernate query string to the property definition: select obj.name from BaseObject as obj where obj.className='MyApp.MyClass' Now when I create a new object I can edit all other fields except the one with the database list. Is there any problem with my hibernate query? Btw, I found the query string in the Demo.RelationalFormDemo class on the xwiki site. Additional question: what it the BaseObject table? Is it changing depending on the context? Thanks Yves