質問編集履歴

2

書式の改善

2021/01/13 06:14

投稿

K_3578
K_3578

スコア1282

test CHANGED
File without changes
test CHANGED
@@ -24,67 +24,7 @@
24
24
 
25
25
  org.hibernate.exception.ConstraintViolationException: could not execute statement
26
26
 
27
- org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:59)
27
+
28
-
29
- org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:42)
30
-
31
- org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:111)
32
-
33
- org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:97)
34
-
35
- org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:178)
36
-
37
- org.hibernate.dialect.identity.GetGeneratedKeysDelegate.executeAndExtract(GetGeneratedKeysDelegate.java:57)
38
-
39
- org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:42)
40
-
41
- org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2919)
42
-
43
- org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3490)
44
-
45
- org.hibernate.action.internal.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:81)
46
-
47
- org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:636)
48
-
49
- org.hibernate.engine.spi.ActionQueue.addResolvedEntityInsertAction(ActionQueue.java:281)
50
-
51
- org.hibernate.engine.spi.ActionQueue.addInsertAction(ActionQueue.java:262)
52
-
53
- org.hibernate.engine.spi.ActionQueue.addAction(ActionQueue.java:316)
54
-
55
- org.hibernate.event.internal.AbstractSaveEventListener.addInsertAction(AbstractSaveEventListener.java:318)
56
-
57
- org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:275)
58
-
59
- org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:182)
60
-
61
- org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:113)
62
-
63
- org.hibernate.jpa.event.internal.core.JpaPersistEventListener.saveWithGeneratedId(JpaPersistEventListener.java:67)
64
-
65
- org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:189)
66
-
67
- org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:132)
68
-
69
- org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:58)
70
-
71
- org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:782)
72
-
73
- org.hibernate.internal.SessionImpl.persist(SessionImpl.java:767)
74
-
75
- controllers.dispatch.DispatchCreateServlet.doPost(DispatchCreateServlet.java:70)
76
-
77
- javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
78
-
79
- javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
80
-
81
- org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
82
-
83
- filters.LoginFilter.doFilter(LoginFilter.java:72)
84
-
85
- filters.EncodingFilter.doFilter(EncodingFilter.java:38)
86
-
87
-
88
28
 
89
29
  原因
90
30
 
@@ -92,91 +32,7 @@
92
32
 
93
33
  com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'office_name' cannot be null
94
34
 
95
- sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
35
+
96
-
97
- sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
98
-
99
- sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
100
-
101
- java.lang.reflect.Constructor.newInstance(Constructor.java:423)
102
-
103
- com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
104
-
105
- com.mysql.jdbc.Util.getInstance(Util.java:408)
106
-
107
- com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
108
-
109
- com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973)
110
-
111
- com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909)
112
-
113
- com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2527)
114
-
115
- com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2680)
116
-
117
- com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2484)
118
-
119
- com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1858)
120
-
121
- com.mysql.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:2079)
122
-
123
- com.mysql.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:2013)
124
-
125
- com.mysql.jdbc.PreparedStatement.executeLargeUpdate(PreparedStatement.java:5104)
126
-
127
- com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1998)
128
-
129
- org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:175)
130
-
131
- org.hibernate.dialect.identity.GetGeneratedKeysDelegate.executeAndExtract(GetGeneratedKeysDelegate.java:57)
132
-
133
- org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:42)
134
-
135
- org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2919)
136
-
137
- org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3490)
138
-
139
- org.hibernate.action.internal.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:81)
140
-
141
- org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:636)
142
-
143
- org.hibernate.engine.spi.ActionQueue.addResolvedEntityInsertAction(ActionQueue.java:281)
144
-
145
- org.hibernate.engine.spi.ActionQueue.addInsertAction(ActionQueue.java:262)
146
-
147
- org.hibernate.engine.spi.ActionQueue.addAction(ActionQueue.java:316)
148
-
149
- org.hibernate.event.internal.AbstractSaveEventListener.addInsertAction(AbstractSaveEventListener.java:318)
150
-
151
- org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:275)
152
-
153
- org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:182)
154
-
155
- org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:113)
156
-
157
- org.hibernate.jpa.event.internal.core.JpaPersistEventListener.saveWithGeneratedId(JpaPersistEventListener.java:67)
158
-
159
- org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:189)
160
-
161
- org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:132)
162
-
163
- org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:58)
164
-
165
- org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:782)
166
-
167
- org.hibernate.internal.SessionImpl.persist(SessionImpl.java:767)
168
-
169
- controllers.dispatch.DispatchCreateServlet.doPost(DispatchCreateServlet.java:70)
170
-
171
- javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
172
-
173
- javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
174
-
175
- org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
176
-
177
- filters.LoginFilter.doFilter(LoginFilter.java:72)
178
-
179
- filters.EncodingFilter.doFilter(EncodingFilter.java:38)
180
36
 
181
37
  ```
182
38
 

1

衍字の修正

2021/01/13 06:14

投稿

K_3578
K_3578

スコア1282

test CHANGED
File without changes
test CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- ここに質問の内容を詳しく書いてください。
5
+
6
6
 
7
7
  JavaでWebアプリケーション開発をしています。
8
8