예제 #1
0
 set(SqlNChar data)
 {
     if (data.isNull())
     {
         setNull();
     }
     else
     {
         /*
         ** The character data is stored in a character array.
         ** A character stream will produce the desired output.
         ** Note that we need to follow the SqlNChar convention
         ** and extend the data to the optional limit.
         */
         data.extend();
         setStream(getCharacter(data.value, data.length));
     }
     return;
 }         // set