Database Reference
In-Depth Information
node 'zero'). This could result in all kinds of erroneous data being stored and retrieved.
What you really want is a
null
node ID if the entity has never been persisted.
9.4.2. Advanced mapping based on AspectJ
TheadvancedmappingmodereliesontheAspectJlibraryasitsmechanismforimplement-
ing the mapping and conversion logic between your POJO-annotated domain class and the
underlying entity in the graph (see
figure 9.8
)
.
Figure 9.8. Advanced mapping overview