利用日志调试Hibernate架构中的DAO层方法  

Debugging Methods of DAO Layer in Hibernate with Log Record

在线阅读下载全文

作  者:胡银保[1] 张瑞虹[2] 

机构地区:[1]兰州工业学院网络中心,甘肃兰州730050 [2]甘肃省计算中心,甘肃兰州730000

出  处:《陇东学院学报》2013年第3期16-19,共4页Journal of Longdong University

摘  要:在Hibernate架构开发中,DAO层方法的设计与调试是一个关键环节.本文提出了一种利用Log4j的日志功能,在Hibernate中调试DAO层方法的技术,并利用日志记录跟踪方法的执行过程,为开发人员进行系统设计提供了有力的支持.该机制可以有效地排除程序执行中的各种错误,呈现DAO层对象在生命周期中的各种状态及转化过程,在系统设计和调试方面具有较好的辅助功能.In the process of Hibernate frame development, designing and debugging of DAO layer methods is a key link. This paper puts forward a kind of technology which debug methods of DAO layer in Hibernate with log record function of Log4j, and following the tracks of method with log record provide powerful support for designer. This mechanism can get rid of all kinds of run errors and present status and conversion process of DAO object in life cycle, which has good assistant function in system design and system debug.

关 键 词:LOG4J 日志记录 DAO层方法 方法调试 代码跟踪 

分 类 号:TP39[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象