I try many times and get the conclusion:
If set the relatedByAttribute's value to book_id will cause leaks.
If set the relatedByAttribute's value to name have no leak.
And the last, I find because the primary key's value cause the leak,
If I change the primary key's value length(<10) from server, have no leak.
I write a demo to repeat this issue. I have a entity named Book like:![screen shot 2016-02-17 at 10 01 09 am](https://cloud.githubusercontent.com/assets/5305009/13097625/a1c1e024-d55d-11e5-9db5-74e26d1fb63a.png)
And request data from server, then import to DB:
The instrument show the leaks.![screen shot 2016-02-17 at 10 07 03 am](https://cloud.githubusercontent.com/assets/5305009/13097686/47d8147e-d55e-11e5-8ece-94e0081b988b.png)
I try many times and get the conclusion: If set the relatedByAttribute's value to book_id will cause leaks. If set the relatedByAttribute's value to name have no leak.
And the last, I find because the primary key's value cause the leak, If I change the primary key's value length(<10) from server, have no leak.
Hope get help from you. Thanks very much.