I'm not sure if you can do it with the Hibernate specific API, but you can always get access to the underlying JDBC Connection as follows:
Code:
session.doWork(connection -> {
try (SQLServerCallableStatement stmt =
(SQLServerCallableStatement) con.prepareCall("{call spwebSortOrderUpdate(?)}")) {
SQLServerDataTable table = new SQLServerDataTable();
sourceDataTable.addColumnMetadata("id", java.sql.Types.INTEGER);
sourceDataTable.addColumnMetadata("web_sort_order", java.sql.Types.INTEGER);
sourceDataTable.addRow(1, 2);
sourceDataTable.addRow(3, 4);
stmt.setStructured(1, "dbo.WebSortOrderTable", table);
}
});