Hibernate:
select
users0_.ID as ID2_,
users0_.AGE as AGE2_,
users0_.BIRTHDAY as BIRTHDAY2_,
users0_.NAME as NAME2_,
users0_.SEX as SEX2_,
users0_.USERNAME as USERNAME2_,
users0_.WAGE as WAGE2_
from
SCOTT.USERS users0_
Hibernate:
select
users0_.ID as ID2_0_,
users0_.AGE as AGE2_0_,
users0_.BIRTHDAY as BIRTHDAY2_0_,
users0_.NAME as NAME2_0_,
users0_.SEX as SEX2_0_,
users0_.USERNAME as USERNAME2_0_,
users0_.WAGE as WAGE2_0_
from
SCOTT.USERS users0_
where
users0_.ID=?
{"id":1,"username":"malin199415","name":"马林","wage":"8000","sex":"男","age":19,"birthday":"2010-01-01T00:00:00"}
Hibernate:
update
SCOTT.USERS
set
AGE=?,
BIRTHDAY=?,
NAME=?,
SEX=?,
USERNAME=?,
WAGE=?
where
ID=?
{"id":1,"username":"malin199415","name":"马林","wage":"8000","sex":"男","age":19,"birthday":"2010-01-01T00:00:00"}
Hibernate:
update
SCOTT.USERS
set
AGE=?,
BIRTHDAY=?,
NAME=?,
SEX=?,
USERNAME=?,
WAGE=?
where
ID=?
{"id":1,"username":"malin199415","name":"马林","wage":"8000","sex":"男","age":19,"birthday":"2010-01-01T00:00:00"}
…… 省略N次sql语句发送然后内存溢出
严重: Servlet.service() for servlet springMVC threw exception
java.lang.StackOverflowError
at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:216)
at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:544)
at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:216)
at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:544)
at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:216)
at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:544)
at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:216)
at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:544)
at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:216)
at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:544)
at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:216)
at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:544)
at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:216)
at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:544)
at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:216)
at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:544)
at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:216)
at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:544)
at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:216)
at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:544)
at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:216)
at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:544)
at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:216)
at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:544)
at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:216)
at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:544) 作者: niko 时间: 2013-7-20 18:14:13