I got it. The INSERT INTO was missing the draft status id field and also the name in the new table was still DRAFT_STATUS_ID but labeled Draft Status Id.
Listing 2. Excerpt from SQLConstants with the definition for an insert Customer statement. public final static String CUSTOMER_TABLE = “CUSTOMER”; public final static String CUSTOMER_NO = “CUSTOMERNO” ...
当前正在显示可能无法访问的结果。
隐藏无法访问的结果