You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 24, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 24, 2026. It is now read-only.
Confusion about rules for database update test #1622
In a way, rules 9 and 10 seem to be in conflict. It is very typical that individual updates in a batch for traditional RDBMS (and NoSQL is not different if similar optimization concepts are followed) can not be separated into individual transactions.
Possibly, a clarification and revision of existing code is needed to bring all implementations into compliance.
It's also very typical to do selects in batches, at least on DB which support it, such as MS Sql Server. And is unfair to disallow patterns and frameworks which have workarounds on other DBs.
I find it highly unlikley that the rules will be fixed, but at the very minimum tests should be renamed to multiple roundtrips instead of multiple queries. That should remove any confusion
Activity
Java Servlet + DSL model
zapov commentedon Jun 22, 2015
It's also very typical to do selects in batches, at least on DB which support it, such as MS Sql Server. And is unfair to disallow patterns and frameworks which have workarounds on other DBs.
I find it highly unlikley that the rules will be fixed, but at the very minimum tests should be renamed to multiple roundtrips instead of multiple queries. That should remove any confusion
msmith-techempower commentedon Aug 29, 2016
The rules in question have been updated to better represent their meaning.