Dear Armin,

The problem is solved, and the reason was very strange. I was editing the jdbc-type with capital letters as seen below. Then I tried to wirte it in small letters as "integer", and it worked. I guess it is something to do with the capital "I" letter. In Turkish the capital of "i" is "Ä" which is different than "I" and my tomcat locale is tr_TR. Now it works if I write it as "integer" or "Änteger".

    <field-descriptor
       name="id"
       column="ID"
       jdbc-type="INTEGER"
       primarykey="true"
       autoincrement="true"
    />

Thanks a lot for your help.

Bilge

---

Armin Waibel wrote:

Hi again,

I was wrong with my previous mail, all looks fine you set the jdbc type.

> Caused by: org.apache.ojb.broker.OJBRuntimeException: The type INTEGER
> can not be handled by OJB. Please specify only types as defined by
> java.sql.Types.

hmm, could there be a space in the jdbc type declaration for Catalina repository file? Maybe something like 'INTEGER ' was passed to JdbcTypesHelper class.

regards,
Armin




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to