Produced by Araxis Merge on 11/14/2017 6:57:19 AM Central 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 | cbs.zip\cbs\cbs\src\main\java\gov\va\cpss\dao\impl | PSSiteItemPreparedStatementSetter.java | Thu Nov 9 14:19:50 2017 UTC |
| 2 | cbs.zip\cbs\cbs\src\main\java\gov\va\cpss\dao\impl | PSSiteItemPreparedStatementSetter.java | Tue Nov 14 12:25:42 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 92 |
| Changed | 1 | 2 |
| 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.cpss. dao.impl; | |
| 2 | ||
| 3 | import jav a.sql.Date ; | |
| 4 | import jav a.sql.Prep aredStatem ent; | |
| 5 | import jav a.sql.SQLE xception; | |
| 6 | ||
| 7 | import org .apache.lo g4j.Logger ; | |
| 8 | import org .springfra mework.bat ch.item.da tabase.Ite mPreparedS tatementSe tter; | |
| 9 | ||
| 10 | import gov .va.cpss.m odel.fps.P SSite; | |
| 11 | ||
| 12 | /** | |
| 13 | * Custom ItemPrepar edStatemen tSetter fo r JdbcBatc hItemWrite r to set v alues in p repared st atement | |
| 14 | * for bat ch data in sert into the PSSite table. | |
| 15 | * | |
| 16 | * @author DN S BROWNL | |
| 17 | */ | |
| 18 | public cla ss PSSiteI temPrepare dStatement Setter imp lements It emPrepared StatementS etter<PSSi te> { | |
| 19 | ||
| 20 | privat e final Lo gger proce ssorLogger ; | |
| 21 | ||
| 22 | public PSSiteIte mPreparedS tatementSe tter() { | |
| 23 | pr ocessorLog ger = Logg er.getLogg er(this.ge tClass().g etCanonica lName()); | |
| 24 | } | |
| 25 | ||
| 26 | @Overr ide | |
| 27 | public void setV alues(PSSi te arg0, P reparedSta tement arg 1) throws SQLExcepti on { | |
| 28 | ||
| 29 | pr ocessorLog ger.info(" Setting va lues to in sert PS ro w"); | |
| 30 | ||
| 31 | ar g1.setLong (1, arg0.g etPsReceiv edId()); | |
| 32 | ar g1.setInt( 2, arg0.ge tSeqNum()) ; | |
| 33 | ar g1.setInt( 3, arg0.ge tTotSeqNum ()); | |
| 34 | ar g1.setStri ng(4, arg0 .getFacili tyNum()); | |
| 35 | ar g1.setStri ng(5, arg0 .getFacili tyPhoneNum ()); | |
| 36 | ar g1.setInt( 6, arg0.ge tTotStatem ent()); | |
| 37 | ar g1.setDoub le(7, arg0 .getStatem entVal().g etDouble() ); | |
| 38 | ar g1.setStri ng(8, arg0 .getStatem entVal().g etCobol()) ; | |
| 39 | ar g1.setDate (9, new Da te(arg0.ge tStatement Date().get Time())); | |
| 40 | ar g1.setDate (10, new D ate(arg0.g etProcessD ate().getT ime())); | |
| 41 | ar g1.setStri ng(11, arg 0.getCreat edBy()); | |
| 42 | ar g1.setDate (12, new D ate((new j ava.util.D ate()).get Time())); | |
| 43 | ar g1.setStri ng(13, arg 0.getModif iedBy()); | |
| 44 | ar g1.setDate (14, new D ate((new j ava.util.D ate()).get Time())); | |
| 45 | } | |
| 46 | ||
| 47 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.