Hi,
I am trying to use the "Visual Composition" of VisualAge (v3.02). What I want to do is to make a connection to my database (MySql), to extract some info and to display them in a JTable. I use for that the Select1 bean of IBM that is a standard one.
My problem is when I want to display the informations. I can see that there is no problem if the data stored in the DB are varchar, but if the data are "int", the program generate a NullPointerException. I tried all the possibilities of mapping, but it doesn't change anything.
Could anybody help me?
Thanx
H.
I am trying to use the "Visual Composition" of VisualAge (v3.02). What I want to do is to make a connection to my database (MySql), to extract some info and to display them in a JTable. I use for that the Select1 bean of IBM that is a standard one.
My problem is when I want to display the informations. I can see that there is no problem if the data stored in the DB are varchar, but if the data are "int", the program generate a NullPointerException. I tried all the possibilities of mapping, but it doesn't change anything.
Could anybody help me?
Thanx
H.