Ludovic,
I'm trying the custom mapping and I would like to discuss some issues
I have figured out so far:
- it doesn't seem that custom mapping is exported to class definition
XML therefore cannot be imported e.g. from a backup
- I guess custom mapping for StaticListClass and DBListClass is not
supported now but due to IMO wrong conditional logic in
XWikiHibernateStore.isValidColumnType() (should return false when
validtypes is null) you can have a custom mapping for such classes as
long as the class is not marked as MultiSelect (when setting
MultiSelect I'm getting ClastCastException from Hibernate). I
understand that implementation of full list class functionality when a
List class set to RelationalStorage might be difficult, but it would
be nice to have support at least for single field MultiSelect!
- Can I mix custom mapping with the default one within one class?
Thank you.
On Thu, 18 Aug 2005 17:42:56 +0200 (CEST), you wrote:
Hi Jiri,
The custom mapping feature is working.. There is a need for some
documentation and I haven't added the fields in the class editor to edit
them through the web.
Currently custom mappings can be enabled programatically for example
using plugins..
The best way to actually test the feature is to look at the test.
Of course there are some limitations.. Currently enabling a custom
mapping after already having data in the db is not a very good idea
(there could be problems).
Ludovic
Jiri Luzny wrote:
> Hi,
>
> I would like to know what is a status of the new feature Hibernate
> Custom Mapping. There is already some impl and tests in SVN but no
> documentation. Is the impl ready to try? If yes, any hints how to
> start?
>
> Thanks,
> Jiri.
>
>
>
> ------------------------------------------------------------------------
>
>
> --
> 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
>