You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by Thomas Fox <Th...@seitenbau.net> on 2012/04/17 11:40:41 UTC
Default type for columns in schema
In Torque 3.3 the type attribute for the column element is not mandatory.
If it is not set, the column type is set to varchar.
Do we want to leave it like that ?
In my opinion, a schema where a column has no type is unreadable to
outsiders so I'd prefer a mandatory type attribute in the column.
Any other opinions ?
Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org
RE: Default type for columns in schema
Posted by Greg Monroe <Gr...@dukece.com>.
+1 on making it mandatory
-----Original Message-----
From: Thomas Fox [mailto:Thomas.Fox@seitenbau.net]
Sent: Tuesday, April 17, 2012 5:41 AM
To: Apache Torque Developers List
Subject: Default type for columns in schema
In Torque 3.3 the type attribute for the column element is not mandatory.
If it is not set, the column type is set to varchar.
Do we want to leave it like that ?
In my opinion, a schema where a column has no type is unreadable to outsiders so I'd prefer a mandatory type attribute in the column.
Any other opinions ?
Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org
DukeCE Privacy Statement:
Please be advised that this e-mail and any files transmitted with
it are confidential communication or may otherwise be privileged or
confidential and are intended solely for the individual or entity
to whom they are addressed. If you are not the intended recipient
you may not rely on the contents of this email or any attachments,
and we ask that you please not read, copy or retransmit this
communication, but reply to the sender and destroy the email, its
contents, and all copies thereof immediately. Any unauthorized
dissemination, distribution or copying of this communication is
strictly prohibited.
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org