Reputation:
How can I change my hibernate.cfg.xml
to connect to a MySQL Server port 3306 on another machine through SSH port 22?
Is it possible to enter the SSH details into hibernate.cfg.xml
? If not, is there a better way to do it?
I already read this post but it doesn't explain where the java code goes and how it links to the hibernate.cfg.xml
code.
Upvotes: 0
Views: 1079