请教一下这段代码是什么意思
<bean id="sqlMapClient"
class="com.eheres.soa.db.server.SqlMapBuilderFactoryBean">
<property name="configLocation">
<value>classpath:dbcenter/sqlmapconfig.xml</value>
</property>
<property name="sqlMapProvider">
<ref local="dBSqlMapProvider"/>
</property>
</bean>
<bean id="dataSource_system"
class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName">
<value>${ehcenter.jdbc.driver}</value>
</property>
<property name="url">
<value>${ehcenter.jdbc.url}</value>
</property>
<property name="username">
<value>${ehcenter.jdbc.username}</value>
</property>
<property name="password">
<value>${ehcenter.jdbc.password}</value>
</property>
</bean>
请问一下账号密码还有jdbc.url应该在哪里找呢? --------------------编程问答-------------------- classpath:dbcenter/sqlmapconfig.xml
去項目目錄下找這個文件吧。 --------------------编程问答--------------------
sqlmapconfig.xml文件是这样的,大哥麻烦给看下。
<sqlMapConfig>
<!--
cacheModelsEnabled="true"
enhancementEnabled="true"
maxRequests="32"
maxSessions="10"
maxTransactions="5"
-->
<settings
lazyLoadingEnabled="true"
useStatementNamespaces="true" />
<sqlMap resource="com/eheres/soa/db/pojo/SystemSqlMap.xml" />
<sqlMap resource="dbcenter/UserAccountSqlMap.xml" />
<sqlMap resource="dbcenter/EstDocSqlMap.xml" />
</sqlMapConfig>
补充:Java , Web 开发