I am trying to fetch two objects A,B from database where the two objects will have many levels Under A, there will be so many objects
A -> C -> D -> E -> F .... B -> G -> H ...
i am able to fetch object B and its subobjects properly but when i am trying to fetch object A and its sub objects,its throwing the following exception
abc.sa.model.error:FailedOperationException:Get Object Failed:Database read failure:org.hibernate.exception..GenericJDBCException:Cannot open connection
While trying to fetch object B, if i attach debugger and go step by step,i am experiencing the same error Hence i assume that it might be because of some time out exception
It's not happening because your particular object is not able to load, it's because you are not able to connect to your database and yes might it be a timeout problem. To overcome it check if all the points mentioned below are as expected:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.