hibernateLazyInitializer will sometimes appear when doing a REST request. For example, when getting a team using GET http://localhost:8090/team/2, the answer was:
{
"name": "Rochebelle",
"league": {
"name": "3A",
"id": 1,
"hibernateLazyInitializer": {}
},
"id": 2
}
Remove the hibernateLazyInitializer.
hibernateLazyInitializer will sometimes appear when doing a REST request. For example, when getting a team using GET http://localhost:8090/team/2, the answer was: { "name": "Rochebelle", "league": { "name": "3A", "id": 1, "hibernateLazyInitializer": {} }, "id": 2 } Remove the hibernateLazyInitializer.