Skip to content

Instantly share code, notes, and snippets.

@Honatas
Last active December 2, 2020 14:44
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Honatas/b67a3dd0f6cf0556f1c42c30aaf6acb4 to your computer and use it in GitHub Desktop.
Save Honatas/b67a3dd0f6cf0556f1c42c30aaf6acb4 to your computer and use it in GitHub Desktop.
A Base Model class that goes together with BaseDao: https://gist.github.com/Honatas/8a04b33efe2b5160dc4aa73de305db98
import org.springframework.jdbc.core.RowMapper;
public interface BaseModel<T> {
RowMapper<T> getRowMapper();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment