Z zabayin Member Licensed User Longtime User Jun 28, 2018 #1 I'm connect to mysql with jdbc library and is work like charm and i love this library. now i release (obfuscated) and test. It's show error. After few days i found the answer but i can't solved this situation. this is my complete walkthrough. 1. In Debug Mode all is fine. (CRUD statements) 2. In release mode (1) android min version = 10 (CRUD is OK) (2) if i change min version to other (Not 10) (CRUD is not OK ... Only the Select statement is OK ..) (I can't insert record after release app only select statements are worked.) anyone faced issue likes me ? Following image is un-filter logs. Please help me. i'm using B4a 8.0 mysql-connector-java-5.1.34-bin jdbc version 1.50 https://imgur.com/a/9Z7cYPi Last edited: Jun 28, 2018
I'm connect to mysql with jdbc library and is work like charm and i love this library. now i release (obfuscated) and test. It's show error. After few days i found the answer but i can't solved this situation. this is my complete walkthrough. 1. In Debug Mode all is fine. (CRUD statements) 2. In release mode (1) android min version = 10 (CRUD is OK) (2) if i change min version to other (Not 10) (CRUD is not OK ... Only the Select statement is OK ..) (I can't insert record after release app only select statements are worked.) anyone faced issue likes me ? Following image is un-filter logs. Please help me. i'm using B4a 8.0 mysql-connector-java-5.1.34-bin jdbc version 1.50 https://imgur.com/a/9Z7cYPi
Alexander Stolte Expert Licensed User Longtime User Jun 28, 2018 #2 zabayin said: if i change min version to other (Not 10) (Connect to database is Failed) Click to expand... higher then API 10 or lower? Upvote 0
zabayin said: if i change min version to other (Not 10) (Connect to database is Failed) Click to expand... higher then API 10 or lower?
Z zabayin Member Licensed User Longtime User Jun 28, 2018 #3 Alexander Stolte said: higher then API 10 or lower? Click to expand... android:minSdkVersion="10" is ok Other is Can't Insert. Upvote 0
Alexander Stolte said: higher then API 10 or lower? Click to expand... android:minSdkVersion="10" is ok Other is Can't Insert.
Z zabayin Member Licensed User Longtime User Jun 28, 2018 #4 Solved ! I changed the insert method from "ExecNonQuery2" to "AddNonQueryToBatch" and everything is fine now. Thank you. Upvote 0
Solved ! I changed the insert method from "ExecNonQuery2" to "AddNonQueryToBatch" and everything is fine now. Thank you.