Database query now working DONT NOT USE NEW ON ANY SPRING COMPONENTS