« Return to Thread: Re: one connection for each request
Send eclipselink-users mailing list submissions to eclipselink-users@... To subscribe or unsubscribe via the World Wide Web, visit https://dev.eclipse.org/mailman/listinfo/eclipselink-users or, via email, send a message with subject or body 'help' to eclipselink-users-request@... You can reach the person managing the list at eclipselink-users-owner@... When replying, please edit your Subject line so it is more specific than "Re: Contents of eclipselink-users digest..." Today's Topics: 1. Re: Re: Cascade delete bug (221389) fixed in 2.0 line but not 1.1 line? (Gordon Yorke) 2. Can I persist a Map containing a List as Value (adi@...) 3. Re: Can I persist a Map containing a List as Value (Tom Ware) 4. Performance metrics...page down? (Laird Nelson) 5. Re: Inserts and Caching (ossaert) 6. one connection for each request! (Yannick Majoros) 7. Debug Inner class (Ramesh.Ramasamy) 8. Re: Debug Inner class (Tim Hollosy) 9. Re: What options do I have for configuring auditing of Entities (Reinhard Girstenbrei) (Reinhard Girstenbrei) ---------------------------------------------------------------------- Message: 1 Date: Thu, 25 Jun 2009 10:36:57 -0300 From: Gordon Yorke gordon.yorke@... Subject: Re: [eclipselink-users] Re: Cascade delete bug (221389) fixed in 2.0 line but not 1.1 line? To: EclipseLink User Discussions eclipselink-users@... Message-ID: 4A437D79.9020106@... Content-Type: text/plain; charset="iso-8859-1" This section of code is only entered when using UnidirectionalOneToManyMapping. Please file a bug for the null pointer. The bug report you mention (221389) was not included in 1.1.2 as the potential to destabilize that stream was considered to much for a maintenance release and the issue is easily resolved by manually performing the removes within the application. If you absolutely need this functionality in the 1.1.X stream please reopen the bug with this information. --Gordon Russ Teabeault wrote:Sorry. I also forgot to mention that the problem we seem to have bumped into is a NullPointerException from the following in UnitOfWorkImpl.java if(descriptor.hasMappingsPostCalculateChanges()) { int size = descriptor.getMappingsPostCalculateChangesOnDeleted().size(); ... It appears that the one map is being tested but a different map is being used. This seems to have been fixed in trunk with r3826 and we are wondering the best way to resolve this in the 1.1 line. Thanks, Russell Teabeault On Wed, Jun 24, 2009 at 4:08 PM, Russ Teabeault <rteabeault@... rteabeault@...> wrote: It seems that this cascade delete bug was fixed in the 2.0 line but not in the 1.1 line. We uncovered this bug today and are wondering if there are plans for creating a 1.1.2 patch? ------------------------------------------------------------------------ r3826 | gyorke | 2009-03-31 14:54:49 -0600 (Tue, 31 Mar 2009) | 4 lines Cascade Delete bug 221389 reviewed by James Sutherland, Andrei Ilitchev, Tom Ware Simple update missed during merge. ------------------------------------------------------------------------ ------------------------------------------------------------------------ _______________________________________________ eclipselink-users mailing list eclipselink-users@... https://dev.eclipse.org/mailman/listinfo/eclipselink-users-------------- next part -------------- An HTML attachment was scrubbed... URL: https://dev.eclipse.org/mailman/private/eclipselink-users/attachments/20090625/428a4146/attachment.html ------------------------------ Message: 2 Date: Thu, 25 Jun 2009 16:33:22 +0200 From: adi@... Subject: [eclipselink-users] Can I persist a Map containing a List as Value To: eclipselink-users@... Message-ID: 20090625163322.ayn1wasjz74s44g4@... Content-Type: text/plain; charset=ISO-8859-1 Hi I persisted a map like this: private Map<String, String> instructions; How can I persist a map that contains a List as value? private Map<String, List<String>> instructions; Thanks a lot! Regards Adrian ------------------------------ Message: 3 Date: Thu, 25 Jun 2009 10:42:51 -0400 From: Tom Ware tom.ware@... Subject: Re: [eclipselink-users] Can I persist a Map containing a List as Value To: EclipseLink User Discussions eclipselink-users@... Message-ID: 4A438CEB.6080308@... Content-Type: text/plain; charset=ISO-8859-1; format=flowed You will likely need an extra object to do this. Something like: private Map<String, ListHolder> instructions; @Entity public class ListHolder{ @id private int id; private List instructions; ... } It should be pretty easy to write some business methods that make this mapping transparent to the users of the API. -Tom adi@... wrote:Hi I persisted a map like this: private Map<String, String> instructions; How can I persist a map that contains a List as value? private Map<String, List<String>> instructions; Thanks a lot! Regards Adrian _______________________________________________ eclipselink-users mailing list eclipselink-users@... https://dev.eclipse.org/mailman/listinfo/eclipselink-users------------------------------ Message: 4 Date: Thu, 25 Jun 2009 13:52:10 -0400 From: Laird Nelson ljnelson@... Subject: [eclipselink-users] Performance metrics...page down? To: EclipseLink User Discussions eclipselink-users@... Message-ID: 2c0ebf0c0906251052x35673626i11a1279e6222417b@... Content-Type: text/plain; charset="iso-8859-1" http://stame02.us.oracle.com/eclipselink/ is supposed to provide weekly performance metrics on Oracle. But it gives me a 404. Where should I go instead? BEst, Laird -------------- next part -------------- An HTML attachment was scrubbed... URL: https://dev.eclipse.org/mailman/private/eclipselink-users/attachments/20090625/55da469f/attachment.html ------------------------------ Message: 5 Date: Fri, 26 Jun 2009 00:27:25 -0700 (PDT) From: ossaert decooman@... Subject: Re: [eclipselink-users] Inserts and Caching To: eclipselink-users@... Message-ID: 24216103.post@... Content-Type: text/plain; charset=us-ascii Anyway, I still have the problem why the Insert over the API does not work.... Can somebody help? Thanks Jan
| Oracle is committed to developing practices and products that help protect the environment |
« Return to Thread: Re: one connection for each request
| Free embeddable forum powered by Nabble | Forum Help |