How to define a data type in cmp field???

2001-02-18 Thread setareh jalili
Hi, I'm developing an EJB component based on CMP and I'm facing a limitation in orion's CMP engine: how can I map a field of my ejb to a long database field? The field is a variable-length long java.lang.String field used for comments a user enters, and I want it to store it in database using

Orion, Informix, and fields with more than 256 characters?

2001-02-13 Thread setareh jalili
Hi All, Does anybody know how we can have a field with more than 256 characters in Informix? how should we define the data types in Informix, in its schema, and in orion-ejb-jar.xml? thanks in advance -sj __ Do You Yahoo!? Get personalized email

How can I use a CLOB data type with Informix?

2001-02-11 Thread setareh jalili
Has anyone had any success inserting a CLOB into an Informix DB using CMP? At the moment the tables are automatically created with the predefined column type/length through settings of orion-ejb-jar.xml, like following: cmp-field-mapping name="fullName" persistenc-name="fullName"