Produced by Araxis Merge on 12/21/2017 6:15:13 PM Eastern Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | Genisis_2.0_v7_bld7.zip\TS\Service\bookmarking-service\src\main\java\gov\va\genisis2\bs\data\repository | BookmarkRepository.java | Thu Dec 14 19:57:17 2017 UTC |
| 2 | Genisis_2.0_v7_bld7.zip\TS\Service\bookmarking-service\src\main\java\gov\va\genisis2\bs\data\repository | BookmarkRepository.java | Thu Dec 21 21:17:58 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 3 | 44 |
| Changed | 2 | 4 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | package go v.va.genis is2.bs.dat a.reposito ry; | |
| 2 | ||
| 3 | import jav a.util.Lis t; | |
| 4 | ||
| 5 | import org .springfra mework.dat a.jpa.repo sitory.Jpa Repository ; | |
| 6 | import org .springfra mework.dat a.jpa.repo sitory.Que ry; | |
| 7 | import org .springfra mework.dat a.reposito ry.query.P aram; | |
| 8 | import org .springfra mework.ste reotype.Re pository; | |
| 9 | ||
| 10 | import gov .va.genisi s2.bs.data .model.Boo kmark; | |
| 11 | ||
| 12 | /** | |
| 13 | * JPA Rep ository to handle Bo okmark Tra nsactions | |
| 14 | * @author PII | |
| 15 | */ | |
| 16 | @Repositor y | |
| 17 | public int erface Boo kmarkRepos itory exte nds JpaRep ository<Bo okmark, In teger> { | |
| 18 | ||
| 19 | @Q uery("SELE CT b FROM Bookmark b WHERE b.u sername = :username ORDER BY b .id DESC") | |
| 20 | pu blic List< Bookmark> getAllBook marksAndLa belsGivenU sername(@P aram("user name") Str ing userna me ); | |
| 21 | ||
| 22 | @Q uery( "SEL ECT b FROM Bookmark b JOIN b.l abels c wh ere CONVER T( DNS AR, c.name ) = :label ORDER BY c.id DESC" ) | |
| 23 | pu blic List< Bookmark> getAllBook makrsGiven Label( @Pa ram("label ") String label ); | |
| 24 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.