title: Limit hibernate stored procedure parameters
body: <p>I'm using hibernate in my application and when persisting a large set (~450 objects each with 6 or 7 fields) for the first time hibernate tries to persist it all in one go and results in a sqlGrammarException with a message </p>
  
  <p>"The incoming request has too many parameters. The server supports a maximum of 2100 parameters. Reduce the number of parameters and resend the request."</p>
  
  <p>This seems like something that the sql dialect should configure.</p>
  
  <p>I looked and couldn't find anything relevant.</p>
  
  <p>I am using mssql 2012 hibernate 4 and java 1.6.</p>
  
  <p>I would prefer to not have to take care of this manually as it seems like something that could be taken care of with the proper configuration.</p>