Hi, I’m getting this fault:
FAULT = ‘Server.Processing’ [java.lang.RuntimeException: java.lang.RuntimeException: com.mysql.jdbc.exceptions.jdbc4.MySQLTransactionRollbackException: Deadlock found when trying to get lock; try restarting transaction] <java.lang.RuntimeException: java.lang.RuntimeException: com.mysql.jdbc.exceptions.jdbc4.MySQLTransactionRollbackException: Deadlock found when trying to get lock; try restarting transaction>
when I try to save a custom entity (I’m saving integers to variables). Any idea?
I’m using this iOS Swift code structure:
Backendless.sharedInstance().persistenceService.of(Vote.ofClass()).save(vote, response: { (object : AnyObject!) -> Void in
// some editing
Backendless.sharedInstance().persistenceService.of(Photograph.ofClass()).save(photograph) // this one faults
Backendless.sharedInstance().persistenceService.of(Challenge.ofClass()).save(challenge) // this one succeeds
}, error: { (fault : Fault!) -> Void in
// nothing here
})