连接性能 [英] performance of connection

查看:76
本文介绍了连接性能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家早上好,


我想了解有关.java文件中数据库连接性能的一些信息,因此通过从Java类和接口调用方法并从.xml文件中调用param值的变量来影响应用程序我们的java代码

Good Morning to all,


I want to know something about the performance of Database Connection in the .java file, so in which way the application will be effected by calling the method from a java class and an interface and calling the variables of param values from the .xml file to our java code

推荐答案

我认为将连接字符串放在类中会更快一些,因为不会进行字符串解析...
但是区别是可忽略的!
I think it would be a little faster to have your connection string located inside your classes, since there will be no string parsing ...
but the difference is ignorable !


这篇关于连接性能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆