[mdr-users] getExtent fails when repository is passed to another class
SainTiss <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, Is there a reason why getExtent(String) would return null if the repository is passed to a different class than where it was initialized? if I list all extent names in the new class, the extent is indeed listed, but when I try to get it, I get null. If I put the same code in the same class where the repository was initialized, everything works. If I pass the result from getExtent to a different class, I can handle it as expected. Just the getExtent() method does not seem to work correctly there... I tried all combinations of transactions, including no transaction usage, but to no avail... Thanks, Hans