hi,

i only want to say thank you to all the people on the list who helped me 
with the postgresql and large object problem - it is resolved now.

i use "bytea" instead of "oid" in postgresql 7.1.3. As jdbc-driver i use 
the jdbc7.2dev-1.2.har from jdbc.postgresql.org.

the mapping for the field is:
    <field name="imgdata" type="bytes">
      <sql name="imgdata" type="varbinary" dirty="ignore"/>
    </field>

in the database.xml i have the following setting:
<database name="people" engine="postgresql" >
  <driver class-name="org.postgresql.Driver"
          url="jdbc:postgresql://127.0.0.1:5432/people?compatibility=7.1">
    <param name="user" value="postgres" />
    <param name="password" value="" />
  </driver>
  <mapping href="mapping.xml" />
</database>


greetings
jan

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to