> Current xdoclet stuff is not very intuitive. Please feel free to make improvements :)
> For example it needs 3 tags to specify > bag - hibernate.bag, hibernate.collection-one-to-many > & hibernate.collection-key ( and maybe about jca cache > ) - "this sux" (c) Burt Simpson :) Yeah I had felt that that was suboptimal myself. There is one thing it has going for it though: it reflects the structure of the mapping DTD. > Toplevel collections are difficult for xdoclet - > xdoclet works with source classes, so I'm not sure > where they shall be defined. Ignore them. We are getting rid of them anyway. > > > 3. strictly, you are supposed to call > > session.flush() even after a > > save(). In this very simple case you can get away > > with it but in > > other cases, and when any other style of id > > generation than > > "native" is used, its needed. > > Well, already doing this. There was one spot it was missing. > > Otherwise, this is turning into a very useful demo. > > Not yet. Updating customer with collection opf > addresses does not work, also deleting... It works if everything is mapped correctly, esp. you need to specify unsaved-value. ********** CAUTION - Disclaimer ********** This message may contain privileged and confidential information. If you are not the intended recipient of this message (or responsible for delivery of the message to such person) you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error, you should destroy it and kindly notify the sender by reply e-mail. Please advise immediately if you or your employer do not consent to Internet e-mail for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of Expert Information Services Pty Ltd ("The Company") shall be understood as neither given nor endorsed by it. The Company advises that this e-mail and any attached files should be scanned to detect viruses. The Company accepts no liability for loss or damage (whether caused by negligence or not) resulting from the use of any attached files. **EIS******** End of Disclaimer ********** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel