> -----Urspr�ngliche Nachricht-----
> Von: Jon Stevens [mailto:[EMAIL PROTECTED]]
> Gesendet am: Freitag, 18. Mai 2001 20:06
> An: Turbine-user
> Betreff: Re: Turbine/Torque and null-Values
> 
> on 5/17/01 11:58 PM, "Jostkleigrewe, Heiner"
> <[EMAIL PROTECTED]> wrote:
> 
> > Hello,
> > 
> > i'vs created a little application with tdk2.1b1. It works 
> fine. My question:
> > 
> > How to handle with null-values? How to put a empty string 
> in the html-form
> > as null-value in the database. How to put a null-value in a 
> integer-columns
> > as empy string in the html-form?
> > 
> > [EMAIL PROTECTED]
> 
> $!variable
> 
> -jon
> 

That's not the solution! It's correct for velocity-variables with
null-values. I have to handle with data from databases.

The problem is, that the peer-classes return the value zero for a
integer-column with null-value. On the other side, there is (for
integer-columns) only a set-Method with a int-parameter. So I could'nt set a
null-value.

I think, it is not possible to handle null-values for integer-columns and
other not-String-columns.

[EMAIL PROTECTED]

> -- 
> If you come from a Perl or PHP background, JSP is a way to take
> your pain to new levels. --Anonymous
> <http://jakarta.apache.org/velocity/ymtd/ymtd.html>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to