Android Question mysql with jdbc release android version issue

zabayin

Member
Licensed User
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:

zabayin

Member
Licensed User
Solved ! I changed the insert method from
"ExecNonQuery2" to "AddNonQueryToBatch" and everything is fine now. Thank you.
 
Upvote 0
Top