質問編集履歴

2

pom\.xmlの中身を追加

2017/06/29 12:12

投稿

Linkey
Linkey

スコア77

test CHANGED
File without changes
test CHANGED
@@ -24,165 +24,415 @@
24
24
 
25
25
  サーブレット
26
26
 
27
+ ![イメージ説明](2211203838e67ef2bb0cf1a9c9194970.png)
28
+
29
+ ![イメージ説明](83279df01513ca65176cb7d626366e45.png)
30
+
31
+ ![イメージ説明](5fc5d62105bb27f5e525d7023b6935df.png)
32
+
33
+ ![イメージ説明](2e4a2972fa0512898004c975e991f91b.png)
34
+
35
+
36
+
37
+ コントローラークラス
38
+
39
+ ![イメージ説明](6c82159fa5d6aef25606e65a67c92040.png)
40
+
41
+
42
+
43
+ ビジネスロジッククラス
44
+
45
+ ![イメージ説明](1177153596eb917e6679ece91a20ae25.png)
46
+
47
+
48
+
49
+ DAOクラス
50
+
27
51
  ```java
28
52
 
29
- package registration.servlet;
53
+ package registration.dao;
54
+
55
+
56
+
30
-
57
+ import java.io.Closeable;
31
-
32
58
 
33
59
  import java.io.IOException;
34
60
 
35
- import java.io.InputStream;
36
-
37
- import java.util.Properties;
38
-
39
-
40
-
41
- import javax.servlet.ServletException;
42
-
43
- import javax.servlet.http.HttpServlet;
44
-
45
- import javax.servlet.http.HttpServletRequest;
46
-
47
- import javax.servlet.http.HttpServletResponse;
48
-
49
-
50
-
51
- import registration.controller.RegistrationController;
52
-
53
- import util.exception.UnexpectedProcessingException;
54
-
55
- import util.servlet.ServletResource;
56
-
57
- import util.util.OutputLogger;
58
-
59
-
60
-
61
- public class RegistrationServlet extends HttpServlet implements ServletResource{
61
+ import java.util.List;
62
+
63
+
64
+
65
+ import javax.persistence.EntityManager;
66
+
67
+ import javax.persistence.EntityTransaction;
68
+
69
+ import javax.persistence.TypedQuery;
70
+
71
+
72
+
73
+ import registration.entity.PreUserEntity;
74
+
75
+ import util.dao.EmProvider;
76
+
77
+ import util.dao.ResourceDAO;
78
+
79
+
80
+
81
+ /**
82
+
83
+ * 仮ユーザーテーブルにアクセスする
84
+
85
+ *
86
+
87
+ * @author user
88
+
89
+ *
90
+
91
+ */
92
+
93
+ public class PreUserDAO implements Closeable, ResourceDAO {
94
+
95
+
96
+
97
+ private final static String SQL_FIND_ALL_PRE_USER_ID = "PreUser.findAllPreUserId";
98
+
99
+
100
+
101
+ //@Inject
102
+
103
+ private EntityManager em = null;
104
+
105
+ EntityTransaction et = null;
106
+
107
+
108
+
109
+ /**
110
+
111
+ * 発番された仮会員IDがテーブルに存在するかどうかを確認する
112
+
113
+ */
114
+
115
+ public void findAllPreUserId() {
116
+
117
+
118
+
119
+ EntityManager em = null;
120
+
121
+ try {
122
+
123
+
124
+
125
+ em = EmProvider.getInstance().getEntityManagerFactory().createEntityManager();
126
+
127
+
128
+
129
+ if(em == null){
130
+
131
+ System.out.println("emの設定に失敗");
132
+
133
+ }
134
+
135
+
136
+
137
+ TypedQuery<PreUserEntity> query = em.createNamedQuery(SQL_FIND_ALL_PRE_USER_ID, PreUserEntity.class);
138
+
139
+
140
+
141
+ if(query == null){
142
+
143
+ System.out.println("検索結果のマッピングに失敗");
144
+
145
+ }
146
+
147
+
148
+
149
+ List<PreUserEntity> entity = query.getResultList();
150
+
151
+
152
+
153
+ if(entity.size() != 0){
154
+
155
+ System.out.println("検索成功しました。");
156
+
157
+ } else {
158
+
159
+ System.out.println("検索結果に失敗しました。");
160
+
161
+ }
162
+
163
+ }
164
+
165
+ catch(Exception e) {
166
+
167
+ e.printStackTrace();
168
+
169
+ }
170
+
171
+ finally {
172
+
173
+ if(em != null) {
174
+
175
+ em.close();
176
+
177
+ }
178
+
179
+ EmProvider.getInstance().closeEmf();
180
+
181
+ }
182
+
183
+ }
184
+
185
+
186
+
187
+ @Override
188
+
189
+ public void close() throws IOException {
190
+
191
+ if (em != null) {
192
+
193
+ em.close();
194
+
195
+ }
196
+
197
+ }
198
+
199
+ }
200
+
201
+ ```
202
+
203
+ Entityクラス
204
+
205
+ ```java
206
+
207
+ package registration.entity;
208
+
209
+
210
+
211
+ import java.io.Serializable;
212
+
213
+ import java.util.Date;
214
+
215
+
216
+
217
+ import javax.persistence.Column;
218
+
219
+ import javax.persistence.Entity;
220
+
221
+ import javax.persistence.Id;
222
+
223
+ import javax.persistence.Table;
224
+
225
+ import javax.persistence.Temporal;
226
+
227
+ import javax.persistence.TemporalType;
228
+
229
+
230
+
231
+ import org.hibernate.annotations.NamedQueries;
232
+
233
+ import org.hibernate.annotations.NamedQuery;
234
+
235
+
236
+
237
+ /**
238
+
239
+ * The persistent class for the pre_user database table.
240
+
241
+ *
242
+
243
+ */
244
+
245
+ @Entity
246
+
247
+ @Table(name = "pre_user")
248
+
249
+ @NamedQueries({
250
+
251
+ @NamedQuery(name = "PreUser.findAllPreUserId", query = "SELECT p FROM pre_user p"),
252
+
253
+ @NamedQuery(name = "PreUser.findAllPreCostomerId", query = "SELECT NEW registration.entity.PreUserEntity (p.preCustomerId) FROM pre_user p")
254
+
255
+ })
256
+
257
+
258
+
259
+ public class PreUserEntity implements Serializable {
260
+
261
+
62
262
 
63
263
  private static final long serialVersionUID = 1L;
64
264
 
65
- private final static String COMMON_URL = "CommonUrl";
66
-
67
- private final static String PROPERTY_FILE = "url.properties";
68
-
69
- private final static Properties prop = new Properties();
70
-
71
- private final static String API_NAME = "RegistrationServlet";
72
-
73
-
74
-
75
- // 初期化処理を行います
76
-
77
- public void init() throws ServletException{
78
-
79
-
80
-
81
- InputStream inStream = null;
82
-
83
- OutputLogger Logger = new OutputLogger();
84
-
85
- StackTraceElement throwableStackTraceElement = null;
86
-
87
- String outputInfoLogLine = null;
88
-
89
- try {
90
-
91
- throwableStackTraceElement = new Throwable().getStackTrace()[0];
92
-
93
- outputInfoLogLine = Logger.generateOutputInfoLogInfo(throwableStackTraceElement, 2);
94
-
95
- //logger.info("[プロパティファイル読込開始] ({})", outputInfoLogLine);
96
-
97
- throwableStackTraceElement = null;
98
-
99
- inStream = RegistrationServlet.class.getClassLoader().getResourceAsStream(PROPERTY_FILE);
100
-
101
- prop.load(inStream);
102
-
103
- } catch (IOException e) {
104
-
105
- Logger.generateOutputWarnLogInfo(API_NAME, e);
106
-
107
- gotoErrorPage("プロパティ読込エラー");
108
-
109
- } catch (NullPointerException e) {
110
-
111
- //TODO ログにipアドレスを出力するかどうか検討中
112
-
113
- System.out.println("NullPointerExceptionが発生");
114
-
115
- Logger.generateOutputWarnLogInfo(API_NAME, e);
116
-
117
- gotoErrorPage("プロパティファイル未存在");
118
-
119
- } finally {
120
-
121
- try {
122
-
123
- if (inStream != null) {
124
-
125
- inStream.close();
126
-
127
- }
128
-
129
- throwableStackTraceElement = new Throwable().getStackTrace()[0];
130
-
131
- outputInfoLogLine = Logger.generateOutputInfoLogInfo(throwableStackTraceElement, 2);
132
-
133
- } catch (IOException e) {
134
-
135
- Logger.generateOutputWarnLogInfo(API_NAME, e);
136
-
137
- }
138
-
139
- }
140
-
141
- }
142
-
143
-
144
-
145
- protected void doGet(HttpServletRequest request, HttpServletResponse response)
146
-
147
- throws ServletException, IOException {
148
-
149
- //初回の処理(会員登録ボタン〜利用規約同意画面は特にJSONデータは必要なし)
150
-
151
-
152
-
153
- // パラメータを取得する(DecidedResistration)
154
-
155
- String process_code = request.getParameter("process_name");
156
-
157
-
158
-
159
- // コントローラを呼び出す
160
-
161
- RegistrationController rc = new RegistrationController();
162
-
163
- rc.invoke(process_code);
164
-
165
-
166
-
167
- }
168
-
169
-
170
-
171
- protected void doPost(HttpServletRequest request, HttpServletResponse response)
172
-
173
- throws ServletException, IOException {
174
-
175
- //TODO 未実装
176
-
177
- }
178
-
179
-
180
-
181
- @Override
182
-
183
- public void gotoErrorPage(String errorMessage) {
184
-
185
- throw new UnexpectedProcessingException(errorMessage);
265
+
266
+
267
+ @Id
268
+
269
+ @Column(name="pre_customer_id")
270
+
271
+ private String preCustomerId;
272
+
273
+
274
+
275
+ @Column(name="process_name")
276
+
277
+ private String processName;
278
+
279
+
280
+
281
+ @Column(name="process_status")
282
+
283
+ private String processStatus;
284
+
285
+
286
+
287
+ @Temporal(TemporalType.TIMESTAMP)
288
+
289
+ @Column(name="register_time")
290
+
291
+ private Date registerTime;
292
+
293
+
294
+
295
+ @Column(name="register_user")
296
+
297
+ private String registerUser;
298
+
299
+
300
+
301
+ @Temporal(TemporalType.TIMESTAMP)
302
+
303
+ @Column(name="update_time")
304
+
305
+ private Date updateTime;
306
+
307
+
308
+
309
+ @Column(name="update_user")
310
+
311
+ private String updateUser;
312
+
313
+
314
+
315
+ public PreUserEntity() {
316
+
317
+ }
318
+
319
+
320
+
321
+ public PreUserEntity(String preCostomerId) {
322
+
323
+ this.preCustomerId = preCostomerId;
324
+
325
+ }
326
+
327
+
328
+
329
+ public String getPreCustomerId() {
330
+
331
+ return this.preCustomerId;
332
+
333
+ }
334
+
335
+
336
+
337
+ public void setPreCustomerId(String preCustomerId) {
338
+
339
+ this.preCustomerId = preCustomerId;
340
+
341
+ }
342
+
343
+
344
+
345
+ public String getProcessName() {
346
+
347
+ return this.processName;
348
+
349
+ }
350
+
351
+
352
+
353
+ public void setProcessName(String processName) {
354
+
355
+ this.processName = processName;
356
+
357
+ }
358
+
359
+
360
+
361
+ public String getProcessStatus() {
362
+
363
+ return this.processStatus;
364
+
365
+ }
366
+
367
+
368
+
369
+ public void setProcessStatus(String processStatus) {
370
+
371
+ this.processStatus = processStatus;
372
+
373
+ }
374
+
375
+
376
+
377
+ public Date getRegisterTime() {
378
+
379
+ return this.registerTime;
380
+
381
+ }
382
+
383
+
384
+
385
+ public void setRegisterTime(Date registerTime) {
386
+
387
+ this.registerTime = registerTime;
388
+
389
+ }
390
+
391
+
392
+
393
+ public String getRegisterUser() {
394
+
395
+ return this.registerUser;
396
+
397
+ }
398
+
399
+
400
+
401
+ public void setRegisterUser(String registerUser) {
402
+
403
+ this.registerUser = registerUser;
404
+
405
+ }
406
+
407
+
408
+
409
+ public Date getUpdateTime() {
410
+
411
+ return this.updateTime;
412
+
413
+ }
414
+
415
+
416
+
417
+ public void setUpdateTime(Date updateTime) {
418
+
419
+ this.updateTime = updateTime;
420
+
421
+ }
422
+
423
+
424
+
425
+ public String getUpdateUser() {
426
+
427
+ return this.updateUser;
428
+
429
+ }
430
+
431
+
432
+
433
+ public void setUpdateUser(String updateUser) {
434
+
435
+ this.updateUser = updateUser;
186
436
 
187
437
  }
188
438
 
@@ -190,426 +440,256 @@
190
440
 
191
441
  ```
192
442
 
193
- コントローラークラス
194
-
195
- ![イメージ説明](6c82159fa5d6aef25606e65a67c92040.png)
196
-
197
-
198
-
199
- ビジネスロジッククラス
200
-
201
- ![イメージ説明](1177153596eb917e6679ece91a20ae25.png)
202
-
203
-
204
-
205
- DAOクラス
206
-
207
- ```java
208
-
209
- package registration.dao;
210
-
211
-
212
-
213
- import java.io.Closeable;
214
-
215
- import java.io.IOException;
216
-
217
- import java.util.List;
218
-
219
-
220
-
221
- import javax.persistence.EntityManager;
222
-
223
- import javax.persistence.EntityTransaction;
224
-
225
- import javax.persistence.TypedQuery;
226
-
227
-
228
-
229
- import registration.entity.PreUserEntity;
230
-
231
- import util.dao.EmProvider;
232
-
233
- import util.dao.ResourceDAO;
234
-
235
-
236
-
237
- /**
238
-
239
- * 仮ユーザーテーブルにアクセスする
240
-
241
- *
242
-
243
- * @author user
244
-
245
- *
246
-
247
- */
248
-
249
- public class PreUserDAO implements Closeable, ResourceDAO {
250
-
251
-
252
-
253
- private final static String SQL_FIND_ALL_PRE_USER_ID = "PreUser.findAllPreUserId";
254
-
255
-
256
-
257
- //@Inject
258
-
259
- private EntityManager em = null;
260
-
261
- EntityTransaction et = null;
262
-
263
-
264
-
265
- /**
266
-
267
- * 発番された仮会員IDがテーブルに存在するかどうかを確認する
268
-
269
- */
270
-
271
- public void findAllPreUserId() {
272
-
273
-
274
-
275
- EntityManager em = null;
276
-
277
- try {
278
-
279
-
280
-
281
- em = EmProvider.getInstance().getEntityManagerFactory().createEntityManager();
282
-
283
-
284
-
285
- if(em == null){
286
-
287
- System.out.println("emの設定に失敗");
288
-
289
- }
290
-
291
-
292
-
293
- TypedQuery<PreUserEntity> query = em.createNamedQuery(SQL_FIND_ALL_PRE_USER_ID, PreUserEntity.class);
294
-
295
-
296
-
297
- if(query == null){
298
-
299
- System.out.println("検索結果のマッピングに失敗");
300
-
301
- }
302
-
303
-
304
-
305
- List<PreUserEntity> entity = query.getResultList();
306
-
307
-
308
-
309
- if(entity.size() != 0){
310
-
311
- System.out.println("検索成功しました。");
312
-
313
- } else {
314
-
315
- System.out.println("検索結果に失敗しました。");
316
-
317
- }
318
-
319
- }
320
-
321
- catch(Exception e) {
322
-
323
- e.printStackTrace();
324
-
325
- }
326
-
327
- finally {
328
-
329
- if(em != null) {
330
-
331
- em.close();
332
-
333
- }
334
-
335
- EmProvider.getInstance().closeEmf();
336
-
337
- }
338
-
339
- }
340
-
341
-
342
-
343
- @Override
344
-
345
- public void close() throws IOException {
346
-
347
- if (em != null) {
348
-
349
- em.close();
350
-
351
- }
352
-
353
- }
354
-
355
- }
443
+
444
+
445
+ pom.xmlの中身
446
+
447
+ ```xml
448
+
449
+ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
450
+
451
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
452
+
453
+ <modelVersion>4.0.0</modelVersion>
454
+
455
+ <groupId>com.sample.mvnproject</groupId>
456
+
457
+ <artifactId>java-restaurant</artifactId>
458
+
459
+ <packaging>war</packaging>
460
+
461
+ <version>0.0.1-SNAPSHOT</version>
462
+
463
+ <name>java-restaurant Maven Webapp</name>
464
+
465
+ <url>http://maven.apache.org</url>
466
+
467
+ <properties>
468
+
469
+ <hibernate.version>4.3.10.Final</hibernate.version>
470
+
471
+ </properties>
472
+
473
+ <dependencies>
474
+
475
+ <dependency>
476
+
477
+ <groupId>junit</groupId>
478
+
479
+ <artifactId>junit</artifactId>
480
+
481
+ <version>3.8.1</version>
482
+
483
+ <scope>test</scope>
484
+
485
+ </dependency>
486
+
487
+ <!-- added servlet info -->
488
+
489
+ <dependency>
490
+
491
+ <groupId>javax.servlet</groupId>
492
+
493
+ <artifactId>javax.servlet-api</artifactId>
494
+
495
+ <version>3.1.0</version>
496
+
497
+ </dependency>
498
+
499
+ <!-- added JSP info -->
500
+
501
+ <dependency>
502
+
503
+ <groupId>javax.servlet</groupId>
504
+
505
+ <artifactId>jstl</artifactId>
506
+
507
+ <version>1.2</version>
508
+
509
+ </dependency>
510
+
511
+ <!-- added JSTL info -->
512
+
513
+ <dependency>
514
+
515
+ <groupId>javax.servlet.jsp</groupId>
516
+
517
+ <artifactId>javax.servlet.jsp-api</artifactId>
518
+
519
+ <version>2.3.1</version>
520
+
521
+ </dependency>
522
+
523
+ <!-- added mockit for ut -->
524
+
525
+ <dependency>
526
+
527
+ <groupId>org.mockito</groupId>
528
+
529
+ <artifactId>mockito-all</artifactId>
530
+
531
+ <version>1.9.5</version>
532
+
533
+ </dependency>
534
+
535
+ <!-- added Hibernate info -->
536
+
537
+ <dependency>
538
+
539
+ <groupId>org.hibernate</groupId>
540
+
541
+ <artifactId>hibernate-annotations</artifactId>
542
+
543
+ <version>3.5.6-Final</version>
544
+
545
+ </dependency>
546
+
547
+ <dependency>
548
+
549
+ <groupId>org.hibernate</groupId>
550
+
551
+ <artifactId>hibernate-core</artifactId>
552
+
553
+ <version>5.2.10.Final</version>
554
+
555
+ </dependency>
556
+
557
+ <dependency>
558
+
559
+ <groupId>org.eclipse.persistence</groupId>
560
+
561
+ <artifactId>org.eclipse.persistence.jpa</artifactId>
562
+
563
+ <version>2.6.4</version>
564
+
565
+ </dependency>
566
+
567
+ <dependency>
568
+
569
+ <groupId>org.springframework</groupId>
570
+
571
+ <artifactId>spring-webmvc</artifactId>
572
+
573
+ <version>4.3.8.RELEASE</version>
574
+
575
+ </dependency>
576
+
577
+ <!-- added MySQL Connector Info -->
578
+
579
+ <dependency>
580
+
581
+ <groupId>mysql</groupId>
582
+
583
+ <artifactId>mysql-connector-java</artifactId>
584
+
585
+ <version>5.1.42</version>
586
+
587
+ </dependency>
588
+
589
+ <!-- added log4j info -->
590
+
591
+ <dependency>
592
+
593
+ <groupId>org.apache.logging.log4j</groupId>
594
+
595
+ <artifactId>log4j-core</artifactId>
596
+
597
+ <version>2.7</version>
598
+
599
+ </dependency>
600
+
601
+ <dependency>
602
+
603
+ <groupId>org.apache.logging.log4j</groupId>
604
+
605
+ <artifactId>log4j-api</artifactId>
606
+
607
+ <version>2.7</version>
608
+
609
+ </dependency>
610
+
611
+ <dependency>
612
+
613
+ <groupId>org.hibernate.javax.persistence</groupId>
614
+
615
+ <artifactId>hibernate-jpa-2.1-api</artifactId>
616
+
617
+ <version>1.0.0.Final</version>
618
+
619
+ </dependency>
620
+
621
+ <!-- added jBcrypt -->
622
+
623
+ <dependency>
624
+
625
+ <groupId>org.mindrot</groupId>
626
+
627
+ <artifactId>jbcrypt</artifactId>
628
+
629
+ <version>0.4</version>
630
+
631
+ </dependency>
632
+
633
+ <!-- persistence -->
634
+
635
+ </dependencies>
636
+
637
+ <build>
638
+
639
+ <finalName>java-restaurant</finalName>
640
+
641
+ <plugins>
642
+
643
+ <plugin>
644
+
645
+ <groupId>org.apache.maven.plugins</groupId>
646
+
647
+ <artifactId>maven-compiler-plugin</artifactId>
648
+
649
+ <version>3.1</version>
650
+
651
+ <configuration>
652
+
653
+ <source>1.8</source>
654
+
655
+ <target>1.8</target>
656
+
657
+ <encoding>UTF-8</encoding>
658
+
659
+ </configuration>
660
+
661
+ </plugin>
662
+
663
+ <!-- added tomcat maven plugin info -->
664
+
665
+ <plugin>
666
+
667
+ <groupId>org.apache.tomcat.maven</groupId>
668
+
669
+ <artifactId>tomcat7-maven-plugin</artifactId>
670
+
671
+ <version>2.2</version>
672
+
673
+ <configuration>
674
+
675
+ <path>/foo</path>
676
+
677
+ <server>tomcat-localhost</server>
678
+
679
+ <url>http://localhost:8080/manager/text</url>
680
+
681
+ </configuration>
682
+
683
+ </plugin>
684
+
685
+ </plugins>
686
+
687
+ </build>
688
+
689
+ </project>
356
690
 
357
691
  ```
358
692
 
359
- Entityクラス
360
-
361
- ```java
362
-
363
- package registration.entity;
364
-
365
-
366
-
367
- import java.io.Serializable;
368
-
369
- import java.util.Date;
370
-
371
-
372
-
373
- import javax.persistence.Column;
374
-
375
- import javax.persistence.Entity;
376
-
377
- import javax.persistence.Id;
378
-
379
- import javax.persistence.Table;
380
-
381
- import javax.persistence.Temporal;
382
-
383
- import javax.persistence.TemporalType;
384
-
385
-
386
-
387
- import org.hibernate.annotations.NamedQueries;
388
-
389
- import org.hibernate.annotations.NamedQuery;
390
-
391
-
392
-
393
- /**
394
-
395
- * The persistent class for the pre_user database table.
396
-
397
- *
398
-
399
- */
400
-
401
- @Entity
402
-
403
- @Table(name = "pre_user")
404
-
405
- @NamedQueries({
406
-
407
- @NamedQuery(name = "PreUser.findAllPreUserId", query = "SELECT p FROM pre_user p"),
408
-
409
- @NamedQuery(name = "PreUser.findAllPreCostomerId", query = "SELECT NEW registration.entity.PreUserEntity (p.preCustomerId) FROM pre_user p")
410
-
411
- })
412
-
413
-
414
-
415
- public class PreUserEntity implements Serializable {
416
-
417
-
418
-
419
- private static final long serialVersionUID = 1L;
420
-
421
-
422
-
423
- @Id
424
-
425
- @Column(name="pre_customer_id")
426
-
427
- private String preCustomerId;
428
-
429
-
430
-
431
- @Column(name="process_name")
432
-
433
- private String processName;
434
-
435
-
436
-
437
- @Column(name="process_status")
438
-
439
- private String processStatus;
440
-
441
-
442
-
443
- @Temporal(TemporalType.TIMESTAMP)
444
-
445
- @Column(name="register_time")
446
-
447
- private Date registerTime;
448
-
449
-
450
-
451
- @Column(name="register_user")
452
-
453
- private String registerUser;
454
-
455
-
456
-
457
- @Temporal(TemporalType.TIMESTAMP)
458
-
459
- @Column(name="update_time")
460
-
461
- private Date updateTime;
462
-
463
-
464
-
465
- @Column(name="update_user")
466
-
467
- private String updateUser;
468
-
469
-
470
-
471
- public PreUserEntity() {
472
-
473
- }
474
-
475
-
476
-
477
- public PreUserEntity(String preCostomerId) {
478
-
479
- this.preCustomerId = preCostomerId;
480
-
481
- }
482
-
483
-
484
-
485
- public String getPreCustomerId() {
486
-
487
- return this.preCustomerId;
488
-
489
- }
490
-
491
-
492
-
493
- public void setPreCustomerId(String preCustomerId) {
494
-
495
- this.preCustomerId = preCustomerId;
496
-
497
- }
498
-
499
-
500
-
501
- public String getProcessName() {
502
-
503
- return this.processName;
504
-
505
- }
506
-
507
-
508
-
509
- public void setProcessName(String processName) {
510
-
511
- this.processName = processName;
512
-
513
- }
514
-
515
-
516
-
517
- public String getProcessStatus() {
518
-
519
- return this.processStatus;
520
-
521
- }
522
-
523
-
524
-
525
- public void setProcessStatus(String processStatus) {
526
-
527
- this.processStatus = processStatus;
528
-
529
- }
530
-
531
-
532
-
533
- public Date getRegisterTime() {
534
-
535
- return this.registerTime;
536
-
537
- }
538
-
539
-
540
-
541
- public void setRegisterTime(Date registerTime) {
542
-
543
- this.registerTime = registerTime;
544
-
545
- }
546
-
547
-
548
-
549
- public String getRegisterUser() {
550
-
551
- return this.registerUser;
552
-
553
- }
554
-
555
-
556
-
557
- public void setRegisterUser(String registerUser) {
558
-
559
- this.registerUser = registerUser;
560
-
561
- }
562
-
563
-
564
-
565
- public Date getUpdateTime() {
566
-
567
- return this.updateTime;
568
-
569
- }
570
-
571
-
572
-
573
- public void setUpdateTime(Date updateTime) {
574
-
575
- this.updateTime = updateTime;
576
-
577
- }
578
-
579
-
580
-
581
- public String getUpdateUser() {
582
-
583
- return this.updateUser;
584
-
585
- }
586
-
587
-
588
-
589
- public void setUpdateUser(String updateUser) {
590
-
591
- this.updateUser = updateUser;
592
-
593
- }
594
-
595
- }
596
-
597
- ```
598
-
599
-
600
-
601
- pom.xmlの中身
602
-
603
- ![その1](1963d6438438c636eb436dca58ae2427.png)
604
-
605
- ![その2](73a04316751bd740e4c29950b03c9811.png)
606
-
607
- ![その3](85f34fbe66e332c8ea12d6ab716cc9d0.png)
608
-
609
- ![その4](0c47cb5a215d10f5ce0e599d2244b23e.png)
610
-
611
- ![その5](fd3dfff76fbfe666caa6a3154c12b60a.png)
612
-
613
693
 
614
694
 
615
695
  JPA、Hibernateにお詳しい方がいましたら、または原因に当たりがついた方がいらっしゃいましたらご回答をお願いいたします。

1

pom\.xmlの中身を追加

2017/06/29 12:11

投稿

Linkey
Linkey

スコア77

test CHANGED
File without changes
test CHANGED
@@ -598,4 +598,18 @@
598
598
 
599
599
 
600
600
 
601
+ pom.xmlの中身
602
+
603
+ ![その1](1963d6438438c636eb436dca58ae2427.png)
604
+
605
+ ![その2](73a04316751bd740e4c29950b03c9811.png)
606
+
607
+ ![その3](85f34fbe66e332c8ea12d6ab716cc9d0.png)
608
+
609
+ ![その4](0c47cb5a215d10f5ce0e599d2244b23e.png)
610
+
611
+ ![その5](fd3dfff76fbfe666caa6a3154c12b60a.png)
612
+
613
+
614
+
601
615
  JPA、Hibernateにお詳しい方がいましたら、または原因に当たりがついた方がいらっしゃいましたらご回答をお願いいたします。