Created
April 21, 2016 20:33
-
-
Save jseakle/d699bcd8e64f73cfa5f1cde5d5f59470 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System.out.println(sessionFactory.getCurrentSession().doReturningWork( | |
new ReturningWork<String>() { | |
@Override | |
public String execute(Connection connection) throws SQLException { | |
DatabaseMetaData metaData = connection.getMetaData(); | |
return metaData.getURL(); } | |
})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment