faqts : Computers : Management Systems : TCSI : Catalant : Server Development

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

3 of 3 people (100%) answered Yes
Recently 1 of 1 people (100%) answered Yes

Entry

Don't use reserved words as MOSC attribute

Oct 14th, 2004 07:30
Kalu Ral, Engineer TCSI, http://www.consolidate-loan-student.com , http://www.0-apr-credit-card.biz , http://www.clearpathoverseas.com


Using reserved words as MOSC attribute might pass C++, but can fail at 
the database. For example, "comment" is ORACLE reserved. Using a 
attribute named comment, and MOSC will work create & you'll get an 
executable. When you initialize the TOM ('-ii' option on the TOM) 
initialization will proceed with no errors.
However, no table is created! Look at the data tables using sqlplus 
and 
you'll see the tables defined for some objects, but not for the 
classes 
which have 'comment' attributed (directly or inherited.)