[jira] [Updated] (NETBEANS-1122) Generate Entity Classes from Database wrong col lengh
[ https://issues.apache.org/jira/browse/NETBEANS-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Höltker updated NETBEANS-1122: - Affects Version/s: 11.3 > Generate Entity Classes from Database wrong col lengh > - > > Key: NETBEANS-1122 > URL: https://issues.apache.org/jira/browse/NETBEANS-1122 > Project: NetBeans > Issue Type: Bug > Components: db - DB schema >Affects Versions: 8.2, 11.3 > Environment: Windows, DB2 >Reporter: Stefan Höltker >Priority: Major > Labels: DB2, db, gen_java > Attachments: image-2018-08-09-10-22-59-740.png > > > Using the Dialog "New Entity Classes from Database" Step 4. "Mapping Option" > -> "Attributes for Regenerating Tables" gives me wrong length for > java.lang.String when using a Database with double byte string fields like > DB2's GRAPHIC (using two bytes for one char). > @Column(name = "MILITM", length = 12) > instead of > @Column(name = "MILITM", length = 6) > This was resulting in a confusing DB2 ERROR -302 22001. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-1122) Generate Entity Classes from Database wrong col lengh
[ https://issues.apache.org/jira/browse/NETBEANS-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Wendelmann updated NETBEANS-1122: Attachment: image-2018-08-09-10-22-59-740.png > Generate Entity Classes from Database wrong col lengh > - > > Key: NETBEANS-1122 > URL: https://issues.apache.org/jira/browse/NETBEANS-1122 > Project: NetBeans > Issue Type: Bug > Components: db - DB schema >Affects Versions: 8.2 > Environment: Windows, DB2 >Reporter: Stefan Wendelmann >Priority: Major > Labels: DB2, db, gen_java > Attachments: image-2018-08-09-10-22-59-740.png > > > Using the Dialog "New Entity Classes from Database" Step 4. "Mapping Option" > -> "Attributes for Regenerating Tables" gives me wrong length for > java.lang.String when using a Database with double byte string fields like > DB2's GRAPHIC (using two bytes for one char). > @Column(name = "MILITM", length = 12) > instead of > @Column(name = "MILITM", length = 6) > This was resulting in a confusing DB2 ERROR -302 22001. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-1122) Generate Entity Classes from Database wrong col lengh
[ https://issues.apache.org/jira/browse/NETBEANS-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Wendelmann updated NETBEANS-1122: Description: Using the Dialog "New Entity Classes from Database" Step 4. "Mapping Option" -> "Attributes for Regenerating Tables" gives me wrong length for java.lang.String when using a Database with double byte string fields like DB2's GRAPHIC (using two bytes for one char). @Column(name = "MILITM", length = 12) instead of @Column(name = "MILITM", length = 6) This was resulting in a confusing DB2 ERROR -302 22001. was: Using the Dialog "New Entity Classes from Database" Step 4. "Mapping Option" -> "Attributes for Regenerating Tables" gives me wrong length for java.lang.String when using a Database with single byte string fields like DB2's GRAPHIC. @Column(name = "MILITM", length = 12) instead of @Column(name = "MILITM", length = 6) This was resulting in a confusing DB2 ERROR -302 22001. > Generate Entity Classes from Database wrong col lengh > - > > Key: NETBEANS-1122 > URL: https://issues.apache.org/jira/browse/NETBEANS-1122 > Project: NetBeans > Issue Type: Bug > Components: db - DB schema >Affects Versions: 8.2 > Environment: Windows, DB2 >Reporter: Stefan Wendelmann >Priority: Major > Labels: DB2, db, gen_java > > Using the Dialog "New Entity Classes from Database" Step 4. "Mapping Option" > -> "Attributes for Regenerating Tables" gives me wrong length for > java.lang.String when using a Database with double byte string fields like > DB2's GRAPHIC (using two bytes for one char). > @Column(name = "MILITM", length = 12) > instead of > @Column(name = "MILITM", length = 6) > This was resulting in a confusing DB2 ERROR -302 22001. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists