alexisfranche / sporthub

0 stars 1 forks source link

Remove hibernate Initializer from REST response #14

Open rog22rz opened 5 years ago

rog22rz commented 5 years ago

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.

image.png