You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Vamsi Atluri <vk...@yahoo.com> on 2005/04/12 22:10:29 UTC

Question about OJB_DMAP_ENTRIES

Hello,

I was looking at the ojb core tables and their structures and came across
this XML description of the OJB_DMAP_ENTRIES table:

<table name="OJB_DMAP_ENTRIES" description="DMap entry table">
    <column name="ID" required="true" primaryKey="true" type="INTEGER"/>
    <column name="DMAP_ID" required="true" type="INTEGER"/>
    <column name="KEY_OID" type="VARBINARY"/>
    <column name="VALUE_OID" type="VARBINARY"/>
</table>

For the KEY_OID and VALUE_OID columns, the type is defined as "VARBINARY".
In DB2 world, what does this translate to when I am defining my column?
Any help is greatly appreciated.

Regards,
-Vamsi


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org


Re: Question about OJB_DMAP_ENTRIES

Posted by Thomas Dudziak <to...@gmail.com>.
> I was looking at the ojb core tables and their structures and came across
> this XML description of the OJB_DMAP_ENTRIES table:
> 
> <table name="OJB_DMAP_ENTRIES" description="DMap entry table">
>     <column name="ID" required="true" primaryKey="true" type="INTEGER"/>
>     <column name="DMAP_ID" required="true" type="INTEGER"/>
>     <column name="KEY_OID" type="VARBINARY"/>
>     <column name="VALUE_OID" type="VARBINARY"/>
> </table>
> 
> For the KEY_OID and VALUE_OID columns, the type is defined as "VARBINARY".
> In DB2 world, what does this translate to when I am defining my column?
> Any help is greatly appreciated.

I didn't check the Torque source, but I think it's probably
VARCHAR(254) FOR BIT DATA.

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org