我正在使用带有appengine的谷歌云sql.
com.google.apphosting.api.ApiProxy$RequestTooLargeException: The request to API call datastore_v3.Put() was too large.
尽管我没有使用Datasotre API ,但我得到了.
我认为根据文档https://developers.google.com/appengine/docs/java/cloud-sql/developers-guide#access_limits,数据大小限制是在60秒内提供16MB.
我的数据大小约为1 MB,我的响应肯定不到1分钟.如果我尝试使用较小的数据,一切正常.
那么,为什么会抛出异常呢?问题是什么 ?这是谷歌应用引擎中的错误吗?或者是否有尺寸限制,在哪里记录?或者是什么 ?
我想在数据库中使用两个不同的模式,每个模式具有相同的表集但数据不同.如何使用hibernate并指向两个不同的模式.我是hibernate的新手.请提供链接.
提前致谢
以下文字来自jls http://docs.oracle.com/javase/specs/jls/se7/html/jls-17.html#jls-17.5.3
Even then, there are a number of complications. If a final field is
initialized to a compile-time constant expression (§15.28) in the field
declaration, changes to the final field may not be observed, since uses of that
final field are replaced at compile time with the value of the constant
expression.
Run Code Online (Sandbox Code Playgroud)
任何人都可以给我更好的解释.我无法理解这一说法changes to the final field may not be observed
.可以借助例子.
提前致谢