You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by bu...@apache.org on 2001/08/10 03:04:48 UTC
[Bug 3070] New: - torque bug in Column.java
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3070
*** shadow/3070 Thu Aug 9 18:04:48 2001
--- shadow/3070.tmp.24398 Thu Aug 9 18:04:48 2001
***************
*** 0 ****
--- 1,28 ----
+ +============================================================================+
+ | torque bug in Column.java |
+ +----------------------------------------------------------------------------+
+ | Bug #: 3070 Product: Turbine |
+ | Status: NEW Version: 2.1 final |
+ | Resolution: Platform: PC |
+ | Severity: Normal OS/Version: Linux |
+ | Priority: Other Component: Torque |
+ +----------------------------------------------------------------------------+
+ | Assigned To: turbine-dev@jakarta.apache.org |
+ | Reported By: huy@tramada.com |
+ | CC list: Cc: |
+ +----------------------------------------------------------------------------+
+ | URL: |
+ +============================================================================+
+ | DESCRIPTION |
+ in org.apache.torque.engine.database.model.Column.java,
+ the line "if (this.size != null)" should be "if (size != null)".
+ This is causing the sql2xml ant task to not create size attributes in the
+ xml file.
+
+ public void setTypeFromString (String typeName, String size)
+ {
+ String tn = typeName.toUpperCase();
+ setType(tn);
+
+ if (this.size != null)
+ this.size = size;
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org