BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Getting an object from hidden column in a DataSet

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder DB Swing
View previous topic :: View next topic  
Author Message
Gustavo Arroyave
Guest





PostPosted: Wed Sep 01, 2004 3:37 pm    Post subject: Getting an object from hidden column in a DataSet Reply with quote



Hello there.

I have created a JdbTable using several columns of type Column. One
of these columns is hidden (column.setHidden(true)). The hidden
column contains objects of type X. Also, for each column I have added
a ColumnPaintListener.
In the ColumnPaintListener's "painting" method I ask for the object
associated with the hidden column as follows:
dataSet.getObject("HIDDEN_COLUMN").
The returned object always is of type ByteArrayInputStream when I'm
expecting an object of type X. Why is that ??? I don't know. In the
validate method I test the object contained by the hidden column and,
as I expect, it is of type X.
What am I doing wrong ??? Can anybody help me?
Thanks for help.
Gustavo Arroyave.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder DB Swing All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.