I'm doing the following on the Server
Code: Select all
String sql = "SELECT users.id as sqlID FROM users WHERE users.id="+6;
ISFSArray queryRes = dbManager.executeQuery(sql);
The Dump i receive is:
Code: Select all
(sfs_object)
(int) id: 6
Note that the field is not returned as the alias (sqlID) as i requested.
This is obviously a big problem since it breaks complex queries such as:
Code: Select all
"SELECT users.id as sqlID, weapons.id as weaponID FROM ...."
Since both return id, they overwrite each other. Is there a fix for this already? Other than using the Java DB tools (which i just all converted to support SFS2X/ISFSArray )
Also (but i think you're already aware of this), the field TINYINT(1) cannot be read (returns SKIPPING), TINYINT(4) however works.
Thanks.