|
1. A VARCHAR2(100) field is defined in fieldtypeoracle.xml like below
<field-type-def type="name" sql-type="VARCHAR2(100)"
java-type="String"></field-type-def>
Now we have to define a field VARCHAR2(100) and not null for that we have
defined a new field type
<field-type-def type="name-ne" sql-type="VARCHAR2(100)"
java-type="String"><validate method="isNotEmpty" /></field-type-def>
For this type of need, each time we need an additional field-type definition
in fieldtypeoracle.xml. Is there any better way to do this ?
-thanks & best regards,
Debmalya Jash
============================================================================================================================
Tech Mahindra, formerly Mahindra-British Telecom.
Disclaimer:
The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
============================================================================================================================
|