Closed takezoe closed 6 years ago
Then we should disable these testcases until fix this problem. These unstable testcases confuse contributors by unreasonable failure for pull requests from them.
Then we should disable these testcases until fix this problem. These unstable testcases confuse contributors by unreasonable failure for pull requests from them.
@takezoe You are right. Even worse is that they happen randomly :( .
@takezoe thank you for the fix, but I don't think it's really fixing it. See #63
The problem seem to be the the order of fields/methods in the beans is not predictable when reading it, in order to generate a reproducible order for the insert and update columns in the statements.
So far I found this: https://stackoverflow.com/questions/5001172/java-reflection-getting-fields-and-methods-in-declaration-order as a solution, but it's not that easy, since https://github.com/wmacevoy/kiss/blob/master/src/main/java/kiss/util/Reflect.java#L123 needs to be tested really well.