#502 - jsonContext.toJson(o, generator, path) can not apply path on @Transient field that is an entity bean

This commit is contained in:
Robin Bygrave committed 2016-01-13 13:29:06 +13:00
1 parent e2666f0c4c
commit 9665de2dbe
7 files changed
+188 -3

No files matched your search

@@ -85,8 +85,8 @@ public abstract class BeanPropertyAssoc<T> extends BeanProperty {
public void initialise() {
// this *MUST* execute after the BeanDescriptor is
// put into the map to stop infinite recursion
if (!isTransient){
targetDescriptor = descriptor.getBeanDescriptor(targetType);
targetDescriptor = descriptor.getBeanDescriptor(targetType);
if (!isTransient){
targetIdBinder = targetDescriptor.getIdBinder();
targetInheritInfo = targetDescriptor.getInheritInfo();
saveRecurseSkippable = targetDescriptor.isSaveRecurseSkippable();