Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如果文档有嵌套对象,序列化时会出现空指针异常 #11

Closed
96loveslife opened this issue Apr 13, 2022 · 4 comments
Closed

Comments

@96loveslife
Copy link

96loveslife commented Apr 13, 2022

版本:0.9.8
异常场景:新增数据
异常原因:com.xpc.easyes.core.toolkit.EntityInfoHelper#addNameFilter。获取类下所有属性时,不包含子对象的属性。导致从mappingColumnMap中获取映射字段会出现空指针异常。
image
测试代码:
image

@xpc1024
Copy link
Collaborator

xpc1024 commented Apr 13, 2022

嵌套类型及父子类型目前尚未支持,如需此功能可以通过拆宽表方式或我提供的混合查询/原生查询方式完成.
该类型支持预计在未来3个迭代内.

@96loveslife
Copy link
Author

嵌套类型及父子类型目前尚未支持,如需此功能可以通过拆宽表方式或我提供的混合查询/原生查询方式完成. 该类型支持预计在未来3个迭代内.

0.9.8版本新增的自定义字段映射功能,在新增父子对象时会出现空指针异常。

@xpc1024
Copy link
Collaborator

xpc1024 commented Apr 13, 2022

0.9.8版本还不支持父子类型及嵌套类型 至少要到0.9.11版本支持

@96loveslife
Copy link
Author

大佬nb,期待新版本!v.v

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants