com.github.quintans.jdbc.transformers.SimpleAbstractRowTransformer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of simplejdbc Show documentation
Show all versions of simplejdbc Show documentation
Utility class for an eazy JDBC
package com.github.quintans.jdbc.transformers;
import java.util.Collection;
import java.util.LinkedList;
/**
* User: quintans
* Date: 13-jun-2006
* Time: 22:13:52
*
* @param
*/
public abstract class SimpleAbstractRowTransformer implements IRowTransformer {
public SimpleAbstractRowTransformer() {
}
@Override
public Collection beforeAll(final ResultSetWrapper resultSet) {
return new LinkedList();
}
@Override
public void onTransformation(Collection result, T object) {
result.add(object);
}
@Override
public void afterAll(Collection result) {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy