[mdr-users] custom implementation recycling?
SainTiss <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, Does MDR somehow guarantee that a custom implementation, associated with an entity stored in MDR, is always the same object? For example, suppose I've got a metaclass A, and a custom implementation class ACust. Suppose I create an instance of A through AProxy, then the resulting object is an ACust. If, a bit later, I query MDR for this instance, can I be sure I'm dealing with the exact same ACust object? Or is it possible that MDR creates a new ACust wrapper every time I execute a query? I'm asking this because, AFAICS, this seems to differ depending on system configuration (e.g. JDK used)... Thanks, Hans