摘要: 1.修改jboss-6.simple\server\default\deploy\transaction-jboss-beans.xml配置文件中增加true2.添加xx_ds.xml配置文件 比如有两个数据库sqlserver和oracle 添加mssql-ds.xml添加oracle-ds.xml 如果有两个sqlserver或者oracle,在一个配置文件中添加两个3.配置persistence.xml其中 true不能少,com.railway.entity.AssetsEntity com.railway.entity.FaultEntity为你对应数据库的实体类。4.调用Datas 阅读全文
posted @ 2014-02-11 09:58 若 ♂ 只如初见 阅读(496) 评论(0) 推荐(0) 编辑