且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将数据导入Java中的SQL数据库(Android应用)

更新时间:2023-02-08 16:43:38

导入数据"通常意味着有人要向数据库中加载大量数据.
与之相关的问题将不会适用于移动设备/蜂窝,因为它不会处理大量数据.

如果您只想插入数据,那么
1.学习JDBC
2.编写JDBC插入数据
3.测试

但是,在执行此操作之前,您应该评估目标数据库对互联网的暴露程度,因为我怀疑您的手机/移动电话可以在没有此类暴露的情况下(不包括VPN设置)做到这一点.安全风险.
"Import data" usually means when someone wants to load a large amount of data into a database.

The problems associated with that would not be something that would not be applicable to a mobile/cell since it wouldn''t be doing large amounts of data.

If you just want to insert data then you
1. Learn JDBC
2. Write JDBC to insert data
3. Test

Before doing that however you should evaluate what exposure to the internet that your target database will have, since I doubt your cell/mobile can do that without such exposure (excluding VPN setup.) Exposing a database to the internet is generally considered a very high security risk.