I often have to do a method to fetch a table, for example getByCPF. I would like to make a generic method that I pass the column name and what I look for.
getByColumn(String column, Param param){
}
something like this.
I often have to do a method to fetch a table, for example getByCPF. I would like to make a generic method that I pass the column name and what I look for.
getByColumn(String column, Param param){
}
something like this.