1
Many times I have to make a method to search in a table, for example getByCPF. I would like to make a generic method that I pass the name of the column and what I seek.
getByColumn(String column, Param param){
}
something like that.
1
Many times I have to make a method to search in a table, for example getByCPF. I would like to make a generic method that I pass the name of the column and what I seek.
getByColumn(String column, Param param){
}
something like that.
Browser other questions tagged java generic
You are not signed in. Login or sign up in order to post.
you want to send the column out of function is this ?
– Risk