用Spring和Hibernate写的程序,如何调用SQL Server 存储过程

2025-03-22 16:40:00
推荐回答(1个)
回答1:

hibernate annotations?
Connection con=getSession.connection();

String procedure = "{call 存储过程 }";
CallableStatement cstmt = con.prepareCall(procedure);