Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
3.3
-
None
Description
This patch fixes several things:
First, it fixes some bugs in the Torque-44 patch that support the
torque.deprecated.uppercasePeer property. There are some mistakes in
it that cause invalid/unusable object to be created.
Next, it fixes a problem with the test-schema.xml schema and MySQL 4.0.
A column was defined as Varchar and a length of 2000. This was illegal
in MySQL 4.0, so the column has been redefined as LONGVARCHAR.
Finally, it updates a couple of the Test-Project test cases to
support both types of Peer names.
Files specific changes:
MapBuilder.vm:
Velocity logical expression was ! value and needed to be value.
Peer.vm
If uppercase column names was desired, the string value for the
name would have a } tacked on the end.
test-schema.xml
Changed type="Varchar" size="2000" to type="longvarchar" size="2000"
DatabaseMapTest.java
Checks for upper case column names if mixed case not found.
OMByNameMethodsText.java
Uses Type*PEER column names to test with rather than hard coded names.