django - Editing Students

Adding Editor Links to Student List Page Write routes so that the path corresponds to the view function skill, quickly create view functions Editing pages <form action="" method="post"> <p>Full name:<input type="text" name="name"></p> <p>Gender: & ...

Posted on Fri, 09 Aug 2019 04:59:31 -0400 by Parody

C3P0&Druid: Two Methods of Using Database Connection Pool

Database Connection Pool-C3P0 & Druid (1) Database connection pool Everything has its existence significance. When we first learn jdbc, we set up database connection objects and release them. But the establishment and closure of database connection consume resources very much, and frequent operation will make the performance low. Database ...

Posted on Thu, 08 Aug 2019 07:51:27 -0400 by daven

The Combined Use of AND and OR in JPA Dynamic Query

Introduction Now, I am responsible for developing projects that use JPA as the ORM framework. With JPA, no line of SQL has been written. Yesterday, there was a new requirement for dynamic queries, which was simple. But there is a place that needs the combination of AND and OR. Here, I will record my ...

Posted on Thu, 08 Aug 2019 06:38:42 -0400 by brandonschnell

Mybatis Initial Learning Notes

Mybatis Initial Learning Notes (II) 1. Mybatis implements the development of traditional dao 2. Development of mapper interface 3. Output ResultMap 3.1 junit Unit Testing 3.2 ResultMap 4. Dynamic SQL 1. Mybatis implements the development of traditional dao Write a dao layer interface first, t ...

Posted on Tue, 06 Aug 2019 06:14:19 -0400 by MikeNye

Research and Implementation of OA Process Visualization

Research and Implementation of OA Process Visualization Research and Implementation of Visualization of OA Process Research and Implementation of Visualization of OA Process Research and Implementation of Visualization of OA Process Research and implementation of OA process visualization m ...

Posted on Mon, 05 Aug 2019 01:52:00 -0400 by xconspirisist

JDBC: You always have to learn to connect to a database!

BWH_Steven: Love you again with JDBC (1) Getting started with JDBC (1) Overview Java Database Connectivity (JDBC) is an application interface in the Java language that specifies how client programs access the database, providing methods such as querying and updating data in the database.JDBC is also a trademark of Sun Microsystems.JDBC is relat ...

Posted on Sun, 04 Aug 2019 00:02:03 -0400 by ThYGrEaTCoDeR201

Description of PITR recovery failure to execute PDB (Document ID 2435452.1)

In Oracle version 12.1, UNDO tablespaces only have a CDB level (shared UNDO), derived from AskScuti Blog Park. Beginning with Oracle version 12.2, each PDB level (local UNDO) can exist for UNDO tablespaces at the same time. Problem presentation premise: in 12.2.0.1 multi-tenant environment, delete tablespace after backup and restore PDB PI ...

Posted on Sat, 03 Aug 2019 21:05:36 -0400 by Humpty

Learning Record 07 - Upgrade DBTools to Prevent SQL Injection

Only this morning did I realize that the DBTools I wrote earlier would cause sql injection, so let's upgrade the DBTools today. This time, instead of connecting to the database in one way, we do it directly in static. 1 //Create a static code block to connect to the database 2 static { 3 try { 4 //Import drive ...

Posted on Fri, 02 Aug 2019 03:57:55 -0400 by Kenwio

Introduction to Topfox's Leading Rapid Development Framework

1. topfox framework example The database script refers to the file db.sql, which has three tables: depts, users, salary, which is a table with multiple primary keys. Use database mysql8 Framework web site https://gitee.com/topfox/topfox 2. topfox User Manual - Directory Quick use Advanced Application TopFox configuration parameters Con ...

Posted on Thu, 01 Aug 2019 23:51:04 -0400 by Unknown User

MyBatis - Dynamic SQL Details

In the case of complex business, we usually need to splice the SQL statements to complete related operations, so the error rate is very high. However, MyBatis has a very convenient and powerful function: dynamic SQL, using dynamic SQL, can get rid of the pain of manual spelling of SQL. Next, we will le ...

Posted on Thu, 01 Aug 2019 05:20:37 -0400 by Hitwalker