To the best of my knowledge you can't pass a true null from CF to Java. You'll need to create a wrapper class in Java that handles that for you.
You might want to try using chr(0) to see if it accepts the null ascii character, but it probably won't work. Spike Stephen Milligan Team Macromedia - ColdFusion Co-author 'Reality Macromedia ColdFusion MX: Intranets and Content Management' http://spikefu.blogspot.com > -----Original Message----- > From: Tim Blair [mailto:[EMAIL PROTECTED]] > Sent: 20 November 2002 13:20 > To: [EMAIL PROTECTED] > Subject: RE: [ cf-dev ] Passing a null value to a java method > > > > > can't you just do: > [snip] > > Unfortunately, no, because then it looks for a method with > the signature > of: > > bar(string, string) > > Rather than the one that actually exists of > > bar(string, string, string) > > I guess if it really comes to it I could create a new java > class which takes in only the params I need to use and then > calls the correct method with the null values, but surely > there's a better wway than that? > > Tim. > > ------------------------------------------------------- > Tim Blair > Web Application Engineer, Rawnet Limited > Direct Phone : +44 (0) 1344 393 441 > Switchboard : +44 (0) 1344 393 040 > ------------------------------------------------------- > rawnet ltd > Atrium Court > Bracknell [EMAIL PROTECTED] > Berkshire Tel : +44 (0) 1344 393 040 > RG12 1BW, UK http://www.rawnet.com > ------------------------------------------------------- > This message may contain information which is legally > privileged and/or confidential. If you are not the intended > recipient, you are hereby notified that any unauthorised > disclosure, copying, distribution or use of this information > is strictly prohibited. Such notification notwithstanding, > any comments, opinions, information or conclusions expressed > in this message are those of the originator, not of rawnet > limited, unless otherwise explicitly and independently > indicated by an authorised representative of rawnet limited. > ------------------------------------------------------- > > > > > -- > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] For human help, e-mail: > [EMAIL PROTECTED] > > > -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
