]> source.dussan.org Git - sonarqube.git/commit
Complete MyBatis ResourceDao
authorSimon Brandhof <simon.brandhof@gmail.com>
Mon, 9 Jul 2012 16:02:05 +0000 (18:02 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Mon, 9 Jul 2012 16:21:46 +0000 (18:21 +0200)
commitf07417cd41173aa0f543dbe6f6bbbcdd0948a005
tree496c715cb4ecac833eb33bf0eae43db70bce79ec
parent61ef36129b56cf7154446fbeb0b4231be189d275
Complete MyBatis ResourceDao

* new method insertOrUpdate()
* new criteria in ResourceQuery
12 files changed:
sonar-core/src/main/java/org/sonar/core/resource/ResourceDao.java
sonar-core/src/main/java/org/sonar/core/resource/ResourceDto.java
sonar-core/src/main/java/org/sonar/core/resource/ResourceIndexerDao.java
sonar-core/src/main/java/org/sonar/core/resource/ResourceMapper.java
sonar-core/src/main/java/org/sonar/core/resource/ResourceQuery.java
sonar-core/src/main/resources/org/sonar/core/resource/ResourceMapper-oracle.xml [new file with mode: 0644]
sonar-core/src/main/resources/org/sonar/core/resource/ResourceMapper.xml
sonar-core/src/test/java/org/sonar/core/resource/ResourceDaoTest.java
sonar-core/src/test/resources/org/sonar/core/resource/ResourceDaoTest/fixture.xml
sonar-core/src/test/resources/org/sonar/core/resource/ResourceDaoTest/getResources_exclude_disabled.xml [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/resource/ResourceDaoTest/insertOrUpdate-result.xml [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/resource/ResourceDaoTest/insertOrUpdate.xml [new file with mode: 0644]