This is indeed an issue.. The class does need to exist before so that
the custom mapping is taken into account.
We need to modify the import/export to save classes to the DB before any
objects using these classes.
Ludovic
Jiri Luzny wrote:
Hi Ludovic,
..great, I will try it...
For the enabling of custom mappings I would like to use the new import
feature. However, I'm not sure if my assumption how the import works
is correct:
when importing any doc which has some objects assigned, it together
with objects also automatically manages class definitions: if certain
class definition doesn't exist it gets created and if it already exist
it gets updated. Is it right?
Or before importing any doc the corresponding class definition must
already exist in its master doc? In this case how do you ensure the
master doc with class definition is imported earlier than any other
doc using this class?
Thank you,
Jiri.
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
>
>
------------------------------------------------------------------------
--
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