With definition entity with above, every select in hibernate initializes location field even it is a lazy field. Otherwise when hibernate creates an geometry object , number of vertex in geometry data of MCoordinate Object will be created in memory. So this makes memory leaks on server.
To avoid this problem, we tried to use geometry field with lazy fetch type annotations but it did not effect anything, it is still loading geometry data even if not desired.
No I am trying to remove location fields from my entities and only use center of location informations for reducing memory usage.
Is this a bug or somewhat.
Thanks in advance.