Hi,
I'm having difficulties with changing the mapping file for different JDO
instances.
In the Tips & Tricks section on the Castor homepage, there is a mention
of Castor being able to create "partial class views" and map them onto a
table, allowing the programmer to get only some of the data from the
table. I would like to do this as well as getting all the information
using my original class.
I attempted to do all this in one mapping file, however, I found that
both the partial and complete classes were being loaded, when I only
wanted the partial one.
I then tried using multiple JDO configurations for each type of object
mapping I had, i.e. one for partial class and another for the complete
one. The problem that I have noted on the mailing list is that the first
loaded configuration is used for *all* subsequent JDO objects.
Is it not possible to use dynamically configure the JDO at runtime?
Cheers,
Rowland Watkins
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev