Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
for the schema
<table name="book" description="Book table">
....
<foreign-key foreignTable="author">
<reference local="author_id" foreign="author_id"/>
</foreign-key>
</table>
Torque generates (complexObjectModel=true) in BaseBook:
public void setAuthor(Author v) throws TorqueException
{
if (v == null)
else
{ setAuthorId(v.getAuthorId()); } aAuthor = v;
}
the TorqueException in the throws clause of the method is never thrown and should be removed.