SQL文的编辑,在【com.cloud.utils.db.SqlGenerator】。
如果想让执行时,SQL文出到LOG文件里,
可以配置log4j的LOG级别:【com.cloud.utils.db】下面的LOG为【trace】

其他:
等待CloudStack4.4中。
AWS SDK(1.3.22)的 DateTime型数据接收时,使用ISO8601,在JDK1.7中存在问题。



-----Original Message-----
From: wqxiaoaojian...@gmail.com [mailto:wqxiaoaojian...@gmail.com] 
Sent: Thursday, June 05, 2014 10:31 AM
To: users-cn@cloudstack.apache.org
Subject: 如何查找cloudstack的数据库查询语句

源码中有list<ip addressvo> addres = _ipaddressdao.lockrows(sc,filter,true);
现在想要知道具体的sql查询语句是怎样的,该如何在源码中寻找?



发自我的小米手机

Disclaimer:
The contents of this e-mail, and its attachments, if any, are confidential and 
may be protected
by law against any unauthorized use.  If you have received this e-mail by 
mistake or have
reason to believe that you are not the intended recipient, please notify the 
sender by reply
e-mail as soon as possible and delete it from your computer system immediately 
thereafter.
If you are not the intended recipient, you must not copy this e-mail or 
attachment or disclose
the contents to any other person.  While we have made every effort to keep our 
network virus free,
we take no responsibility for any computer virus which might be transferred by 
way of this e-mail

回复