Issue Details (XML | Word | Printable)

Key: TORQUE-99
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Thomas Fischer
Reporter: Tobias Hilka
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Torque

Missing connection parameter in method copy(...) and add<ForeignKey>(...)

Created: 25/Jul/07 11:12 AM   Updated: 24/Sep/07 08:11 PM
Return to search
Component/s: Generator
Affects Version/s: 3.3-RC2
Fix Version/s: 3.3-RC3

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works Object.vm 2007-07-25 11:13 AM Tobias Hilka 70 kB
Text File Licensed for inclusion in ASF works ObjectWithManager.vm 2007-07-25 11:13 AM Tobias Hilka 72 kB

Resolution Date: 24/Sep/07 08:11 PM


 Description  « Hide
Missing connection parameter in methods copy(...) and add<ForeignKey>(...). Using this methods within a transaction could lead to deadlocks. Patches attached.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Thomas Fischer added a comment - 24/Sep/07 08:11 PM
Applied patch, with the following changes
- The additional methods only make sense with complexObjectModel set to true. Changed the patch accordingly.
- reverted the changes in setting boolean values. The proposed changes are not java 1.3 compatible.
- changed some javadoc