db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mark kummerer" <mkumme...@airtransportit.com>
Subject Dose Torque enforce columns set to required = "true" ?
Date Tue, 11 Feb 2003 15:48:03 GMT
Hello All:

   I'm new to Torque and have an instance where the project-schema.xml
file have columns set as required="true" and generated the base and map
classes. Upon inserting a new object where the column is null, an sql
exception is thrown.  I would expect the doInsert to check for not null
and throw an exception before the sql is generated.  Is this the
expected results?  Is the required attribute only used for table
generation?

Any help is appreciated

Mark


Mime
View raw message