Backendless.Persistence.of(clazz).save(instance)
code Server.Processing
message java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: com.mysql.jdbc.exceptions.jdbc4.MySQLTransactionRollbackException: Deadlock found when trying to get lock; try restarting transaction
Hi Sergiy,
Your code example does not clarify of your case.
Please, provide us a minimal example of code to realize what happens.
Regards, Ilya
What exactly do you mean? I have provided - just saving an object
This issue doesn’t have stable steps to reproduce and i cannot provide dump of instance
Sergiy,
We need more details… millions of objects are saved into Backendless and I guarantee you if we try an offhand example which uses the same API as you provided, it will work. We need to be able to reproduce the error in order to fix it. To reproduce the error, we need to know at least the following:
what values are passed to the server from the client app
what the data structure is of the class you save
whether it has any related objects and what their structure are
Ultimately, it boils down to an example which we can run to see the error, which pretty much is what's described in the link that Ilya referenced in his response.