mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Fix #23 - Covers: unit tests for: stateless updates which fails when executing without...
This commit is contained in:
@@ -23,12 +23,8 @@ public class CustomerPersistAdapter extends BeanPersistAdapter {
|
||||
@Override
|
||||
public boolean preUpdate(BeanPersistRequest<?> request) {
|
||||
|
||||
Customer customer = (Customer) request.getBean();
|
||||
|
||||
if (customer.getContacts() != null) {
|
||||
String test = "accessed";
|
||||
}
|
||||
|
||||
// Do nothing intentionally. TestStatelessUpdate needs
|
||||
// to control if customer contacts is 'touched'
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user