在这种情况下有人帮助我吗?我正在使用hibernate从db中选择数据,但是当我从sql调试日志中检查时.我总是看到在使用"select"sql从DB获取数据后打印的更新sql.
2013-08-13 13:39:08,054 DEBUG [http-0.0.0.0-8080-1-TASK]-[org.hibernate.SQL]
SELECT this_.id AS id504_2_,
this_.bridgedlinedialoguri AS bridgedL2_504_2_,
this_.bridgedlineuri AS bridgedL3_504_2_,
this_.currentsipsubscriberprofile AS currentS4_504_2_,
this_.currentsipsubscriberprofiletype AS currentS5_504_2_,
this_.messageeventuri AS messageE6_504_2_,
this_.nemobjectid AS neMobjec7_504_2_,
this_.objectid AS objectId504_2_,
this_.objecttype AS objectType504_2_,
this_.sipbridgedlineurienable AS sipBrid10_504_2_,
this_.sipdirectconnecturi AS sipDire11_504_2_,
this_.sipdirectconnecturienable AS sipDire12_504_2_,
this_.sipidentityaddress AS sipIden13_504_2_,
this_.sipidentitycontacturi AS sipIden14_504_2_,
this_.sipidentitypassword AS sipIden15_504_2_,
this_.sipidentityrealm AS sipIden16_504_2_,
this_.sipiotparametersenablestatus AS sipIotP17_504_2_,
this_.sipiotparametersprivacy AS sipIotP18_504_2_,
this_.sipiotparametersrequire100rel AS sipIotP19_504_2_,
this_.sipiotparameterssupport100rel AS sipIotP20_504_2_,
this_.sipmessageeventurienable AS sipMess21_504_2_,
this_.sippreferredid AS sipPref22_504_2_,
this_.sippreferredidmode AS sipPref23_504_2_,
this_.sipsubscribertemplateenable AS sipSubs24_504_2_,
this_.sipusername AS …Run Code Online (Sandbox Code Playgroud) 我在 mongo 文档中有 json 对象,例如:
{
"_id" : "tuneeca_z_0915002",
"variants" : [
{
"name" : "Z-0915002-Beige-S",
"id" : "tuneeca_z_0915002_tuneeca_beige_base_s_size",
"barCode" : "00017311"
},
{
"name" : "Z-0915002-Beige-XS",
"id" : "tuneeca_z_0915002_tuneeca_beige_base_xs_size",
"barCode" : "00017312"
},
{
"name" : "Z-0915002-Beige-M",
"id" : "tuneeca_z_0915002_tuneeca_beige_base_m_size",
"barCode" : "00017313"
},
{
"name" : "Z-0915002-Beige-L",
"id" : "tuneeca_z_0915002_tuneeca_beige_base_l_size",
"barCode" : "00017314"
},
{
"name" : "Z-0915002-Beige-XL",
"id" : "tuneeca_z_0915002_tuneeca_beige_base_xl_size",
"barCode" : "00017315"
}
],
"name" : "Z-0915002",
"localSku" : "Z-0915002",
"release" : {
"id" : "tuneeca_premium", …Run Code Online (Sandbox Code Playgroud)