Connecting to a database via JDBC is currently not supported in Tableau Desktop. I was able to find a Knowledge base article on how to connect unsupported databases to Tableau though.
Also I found the Idea in the forum. Feel free to up vote it if it is a feature you would like to see.
Hope this helps.