ConnectionID:236 ClientConnectionId: 0c7ed254-9861-4ea8-842d-dc30e7c68b2f: getNextResult: Encountered unexpected unknown token (0x0)

ConnectionID:236 ClientConnectionId: 0c7ed254-9861-4ea8-842d-dc30e7c68b2f: getNextResult: Encountered unexpected unknown token (0x0).

when we are using onetoMany mapping with below entity
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY)
@JoinColumn(name = “MACHINE_INFO_ID”)
private List connectInfoList;

@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY)
@JoinColumn(name = "MACHINE_INFO_ID")
private List<ConversionInformation> conversionInfoList;

@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY)
    @JoinColumn(name = "MACHINE_INFO_ID")
private List<SyncInformation> syncInfoList;

the error occures
[2:42 PM] Bakthavachalam Elumalai
the error which was shown like below
​[2:42 PM] Bakthavachalam Elumalai
2021-02-24 05:12:39,661 ERROR com.microsoft.sqlserver.jdbc.TDSParser [http-nio-18568-exec-5] ConnectionID:236 ClientConnectionId: 0c7ed254-9861-4ea8-842d-dc30e7c68b2f: getNextResult: Encountered unexpected unknown token (0x0)
2021-02-24 05:14:12,505 ERROR org.apache.juli.logging.DirectJDKLog [http-nio-18568-exec-13] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Handler dispatch failed; nested exception is java.lang.OutOfMemoryError: GC overhead limit exceeded] with root cause
java.lang.OutOfMemoryError: GC overhead limit exceeded
2021-02-24 05:14:19,458 ERROR org.apache.juli.logging.DirectJDKLog [Catalina-utility-1] Error sending periodic event
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at org.apache.catalina.core.StandardServer.startPeriodicLifecycleEvent(StandardServer.java:953)
at org.apache.catalina.core.StandardServer$1.run(StandardServer.java:941)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)

please help to resolve this issue

There is nothing we can help you with here. You are running out of memory as the exception is telling you: java.lang.OutOfMemoryError: GC overhead limit exceeded

Increase your maximum memory or analyze where you are wasting memory. Either way, this is not something that is directly Hibernate related, so I would suggest that if you want help with that, ask in a forum like StackOverflow for example.