Justin Forder <[EMAIL PROTECTED]> wrote:

>Here's a log (you may recognise Sun's Product CMP example):
>
>Thread-213 CREATE TABLE Product (description VARCHAR(256),price
>DOUBLE,productId VARCHAR(256))
>RMI TCP Connection(6)-127.0.0.1 INSERT INTO Product ( description ,
>price , productId ) VALUES ( Ceramic Dog , 10.0 , 123 )
>RMI TCP Connection(6)-127.0.0.1 SELECT description , price , productId
>FROM Product WHERE productId = 123
>RMI TCP Connection(6)-127.0.0.1 UPDATE Product SET price = 123 WHERE
>productId = NULL
>RMI TCP Connection(6)-127.0.0.1 java.lang.NullPointerException: 
>
>Aha! The UPDATE statement is getting the ID in the price parameter, and
>has nothing left to plug into the productId parameter. Why would this
>differ between InstantDB and Hypersonic?

One more observation (and then I'm going out for a walk - the sun was
shining earlier, and it's getting cloudy now):

The UPDATE is selective, even though I have tuned updates set to false
in the jaws.xml.
-- 
Justin Forder


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to