Show TOC

Java DatatypesLocate this document in the navigation structure

Learn about Java datatypes.

Java columns pass through the replication system as any of three Replication Server datatypes:
  • As <rawobject>, in which the information is stored in the database in a separate location in the same way that <image> data is stored. The base datatype of <rawobject> is <image>. <rawobject> is the default datatype for Java columns in Replication Server.

  • As <rawobject in row>, in which the information is stored in the database on consecutive data pages allocated to the table in the same way that <char> data is stored. The base datatype of <rawobject in row> is <varbinary(255)>.

  • As <rawobject large in row>, in which the information is stored in the database on consecutive data pages allocated to the table in the same way that <char> data is stored. The base datatype of <rawobject large in row> is <varbinary(32768)>.

<rawobject>, <rawobject in row>, and <rawobject large in row> datatypes are compatible only with their base datatypes. They are not compatible with each other. You cannot replicate one Java datatype to the other Java datatype, or vice versa.

The rs_subcmp reconciliation utility treats Java datatypes as their base datatypes.