If I use WebSQL database with Phonegap, I have problems inserting null 
values into the database.

Example:

    executeSql("INSERT INTO test(id, name, name2) VALUES(?,?,?)", [1, null, 
"b"] ...

*Results*

 - Android 3.2 (hardware): 1, null, "b"
 - Blackberry Playbook (hardware): 1, null, "b"
 - Ripple Emulator/Chrome (simulator): 1, null, "b"

*BUT*

 - Android 4.0 (simulator vbox, emulator): 1, "null", "b" // null is a 
string! why?
 - Android 4.3 (simulator vbox): 1, "null", "b"

I use PhoneGap 2.3.0. Is there a changed behaviour on Android 4? I don't 
have some hardware to double check it. 

Did anybody notice someting like this? It's really strange.


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to