Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
8.2, 11.3
-
None
-
Windows, DB2
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.