AppFuse3.5???Oracle?????
???????????? ???????[ 2015/8/7 10:10:03 ] ????????????? ???????????
????????2??????????????С???myprojectcore arget???£????schema.sql???????????????????????sqlplus??????????sql???????????
?????????????????????sql??????sqlplus??е??????2.??hibernate??е??hibernate???sql????????????ж??????????“??”???????????????????appfuse-3.5.0.pom?е?oracle profile?????????????????????????ó???
????<hibernate.export.schema.delimiter></hibernate.export.schema.delimiter>
?????????????????
????????3?????????????????????????????
????Tests run: 9?? Failures: 0?? Errors: 1?? Skipped: 0?? Time elapsed: 2.167 sec <<< FAILURE!
????testUpdateUser(com.exam.dao.UserDaoTest) Time elapsed: 0.088 sec <<< ERROR!
????java.lang.Exception: Unexpected exception?? expected<org.springframework.dao.DataIntegrityViolationException> but was<org.springframework.orm.hibernate4.HibernateSystemException>
????????????????????AppFuse??????б??У??????????????????????????????????ε???????????????????????
????????????????????UserDaoTest.java???68?У?//user2.setRoles(user.getRoles());
????user2.setLastName(user.getLastName());
????user2.setPassword(user.getPassword());
????user2.setPasswordHint(user.getPasswordHint());
????//user2.setRoles(user.getRoles());
????user2.setUsername(user.getUsername());
????user2.setWebsite(user.getWebsite());
?????????????????oracle profile?????????????????????jar????war????
?????????????oracle?????profile(appfuse-3.5.0.pom)???????????????????????????myproject?????pom.xml.
<properties>
...????????
<!-- ?????oracle??????????????????????Щ??????????????mysql????? -->
<dbunit.dataTypeFactoryName>org.dbunit.ext.oracle.OracleDataTypeFactory</dbunit.dataTypeFactoryName>
<dbunit.schema>MYPROJECT</dbunit.schema>
<hibernate.dialect>org.hibernate.dialect.Oracle10gDialect</hibernate.dialect>
<jdbc.groupId>com.oracle</jdbc.groupId>
<jdbc.artifactId>ojdbc6</jdbc.artifactId>
<jdbc.version>11.2.0</jdbc.version>
<jdbc.driverClassName>oracle.jdbc.OracleDriver</jdbc.driverClassName>
<jdbc.url><![CDATA[jdbc:oracle:thin:@localhost:1521:Orcl]]></jdbc.url>
<jdbc.username>myproject</jdbc.username>
<jdbc.password>myproject</jdbc.password>
<jdbc.validationQuery><![CDATA[SELECT 1 + 1 from DUAL]]></jdbc.validationQuery>
</properties>
???????????????????????漰???????????????????SPASVOС??(021-61079698-8054)?????????????????????????
??????
Oracle ??????????Oracle?????????????Oracle?????????????ORACLE_NUMBER????Scale?0??????????Oracle 11g R2 ????????????Oracle??????????????????Oracle ?????????(TSPITR)Oracle?????????????Oracle??????????????oracle??????????????Oracle12.2?????????μ????????Oracle???????????????????Oracle???????????????????Oracle????MySQL?????????????oracle????????????????Oracle RAC?е????IP
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11????????
?????????App Bug???????????????????????Jmeter?????????QC??????APP????????????????app?????е????????jenkins+testng+ant+webdriver??????????????JMeter????HTTP???????Selenium 2.0 WebDriver ??????