Hi All,
 i want use database list class as property in my class. I tried hibernate query to fill in values of  property. After this, the select box was empty.
I think there is no problem in query (Select doc from XWikiDocument as doc) and I filled in value ( doc.name) and id (doc.id) and also i filled in which class should hibernate use. (XWikiDocument). I dont know, what I am doing wrong.  Is there some tutorial for this?
There is values which i filled in
Display type : select
Relational Storage: yes
Use Picker: yes
Size : 1
Sort: value
Hibernate Query:select doc from XWikiDocument as doc
XWiki Class Name: XWikiDocument
Id Field Name: doc.name
Value Field Name: doc.name

Thank you.