Android connects to MySql database through JDBC
Adding Access Permissions to Networks in android
Add permissions to Android Manifest file
<uses-permission android:name="android.permission.INTERNET" />
Close Windows Firewall
(Click on the control panel, find the Windows firew ...
Posted on Wed, 19 Jun 2019 10:56:12 -0700 by lj11
github synchronous update Blog Synchronization Updates Synchronized Updating of Brief Books
Project address: Portal
Query class information according to class id (with teacher's information)
1.2. Creating tables and data
Create a teacher list and a class table. Let's assume that a teacher ...
Posted on Wed, 19 Jun 2019 10:51:20 -0700 by MtPHP2
1. Use Exec() to run dynamic SQLcreate procedure Nosniff1(@i int) as
declare @cmd varchar(1000);
set @cmd = 'SELECT count(b.SalesOrderID),sum(p.weight) from
inner join [Sales].[SalesOrderDetail] b
on a.SalesOrderID = b.SalesOrderID
inner join Production.Product p
on b.ProductID = p.ProductID
Posted on Tue, 18 Jun 2019 12:18:33 -0700 by nadman123
1. Overview of the spring boot log
Sprboot uses Commons Logging as its internal logging system and provides default configurations for Java Util Logging, Log4J2, and Logback.If Sprboot's Starters are used, Logback is used by default for logging.
2.spring boot log default configuration
Let's start an empty spring-boot project and see the consol ...
Posted on Tue, 18 Jun 2019 09:38:17 -0700 by stopblackholes
Introduction to Mybatis Interceptor
1.3 Interceptor interface
1.4 Registered Interceptor
1.5 Mybatis interceptable method
1.6 Paging with Interceptor
One of the functions of the interceptor is that we can intercept some method calls. We can choose to add some logic before and after the execution of these int ...
Posted on Mon, 17 Jun 2019 12:59:24 -0700 by joshuaceo
To start with, I'm using python version 2.7 and MySQL version 5.7.python can connect not only to mysql, but to some other databases as long as there is an interface.First, if we want to connect to mysql, we need to download and install a module, MySQLdb, which is the link address http://www.codegood.com/downloads .I downloaded MySQL-python-1.2 ...
Posted on Mon, 17 Jun 2019 11:21:06 -0700 by rivasivan
FMDB is a powerful tool for iOS platform to handle data persistence. It can help developers process data efficiently on the client side, but it is not simple enough for junior developers like me. Therefore, it is necessary to encapsulate it so as to make it easier to use. The encapsulation method varies from person to person, and we need ...
Posted on Sun, 16 Jun 2019 15:06:47 -0700 by khenriks
Links to the original text: http://blog.csdn.net/shenggaofei/article/details/52450668
Android The four components are activity, service and content.
First, Android Detailed Explanation of Four Components
(1) An Activity is usually a separate screen (window ...
Posted on Sat, 15 Jun 2019 15:48:40 -0700 by AMCH
Following the previous two exercises, which mainly record menus and file dialogs, we will familiarize ourselves with the application of methods, some simple logic and a brief introduction to Swing, as well as the basic record of GUI.
1. Create a menu
import java.awt.MenuB ...
Posted on Fri, 14 Jun 2019 17:30:21 -0700 by falcons
Recently, I encountered a case where several tables in the database need to be moved from USER A to USER B. In ORACLE, this is called Schema to change the owner of the table or to modify the table. In fact, in this case, there are several solutions. Next, we test and verify it through experiments. First, prepare the simple test data, as follows ...
Posted on Fri, 14 Jun 2019 15:42:06 -0700 by hno