
| Key: |
NUCJAVAFIVE-15
|
| Type: |
Bug
|
| Status: |
Closed
|
| Resolution: |
Fixed
|
| Priority: |
Major
|
| Assignee: |
Unassigned
|
| Reporter: |
Dan Leary
|
| Votes: |
0
|
| Watchers: |
1
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
File Attachments:
|
1.
testcase.zip (2 kB)
|
|
Environment:
|
openSUSE 10.3 (X86-64)
Oracle Database 10g Release 10.2.0.3.0 - 64bit Production
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b19, mixed mode)
Nightly 1.0-SNAPSHOT jars from 2008-06-27
openSUSE 10.3 (X86-64)
Oracle Database 10g Release 10.2.0.3.0 - 64bit Production
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b19, mixed mode)
Nightly 1.0-SNAPSHOT jars from 2008-06-27
|
|
|
Nested fetch-groups specified with annotation metadata don't work properly.
E.g. with metadata like:
@FetchGroups({
@FetchGroup(name="simple",
members={
@Persistent(name="_b")
}),
@FetchGroup(name="nested",
fetchGroups={"simple"},
members={})
})
Using DetachAllOnCommit=true and fetching with the "nested" group yields:
javax.jdo.JDODetachedFieldAccessException: You have just attempted to access field "_b" yet this field was not detached when you detached the object. Either dont access this field, or detach it when detaching the object.
The equivalent metadata declared via xml works fine.
|
|
Description
|
Nested fetch-groups specified with annotation metadata don't work properly.
E.g. with metadata like:
@FetchGroups({
@FetchGroup(name="simple",
members={
@Persistent(name="_b")
}),
@FetchGroup(name="nested",
fetchGroups={"simple"},
members={})
})
Using DetachAllOnCommit=true and fetching with the "nested" group yields:
javax.jdo.JDODetachedFieldAccessException: You have just attempted to access field "_b" yet this field was not detached when you detached the object. Either dont access this field, or detach it when detaching the object.
The equivalent metadata declared via xml works fine.
|
Show » |
Sort Order:
|