Kettle database configuration extraction

When using the ETL tool Kettle, in order to make the job or transformation universal, sometimes we need to separate the connection configuration of the database from the script or transformation. Here is a scheme, which mainly involves the following files: # By default, these two files are in the user directory of the system. If you configure t ...

Posted by watson516 on Mon, 04 May 2020 00:04:15 -0700

Hadoop Ecosphere-Ranger Data Security Management Framework

* Hadoop Ecosphere-Ranger Data Security Management Framework Author: Yin Zhengjie Copyright Statement: Original work, decline to reprint!Otherwise, legal liability will be pursued.        Introduction to Ranger Apache Ranger is a data security management framework designed to fully understand the Hadoop ecosystem.It provides a unified ...

Posted by mcirl2 on Sun, 03 May 2020 23:33:49 -0700

SQLite realizes user login function

SQLite realizes user login function void login::on_LoginToMain_clicked() { //The login button needs to determine whether the user name and password correspond correctly //If there is an error, a prompt dialog box will pop up //-------------------------------------- //Use SQlite to compare user name and password QSqlDa ...

Posted by ninevolt1 on Sun, 03 May 2020 21:36:07 -0700

Summary of JSP scrambling

Specify the encoding format on the jsp page to ensure that it is consistent with the character set of mysql: <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> Step 1: make sure the project code is UTF-8 Step 2: ma ...

Posted by gigabyt3r on Sun, 03 May 2020 21:19:25 -0700

How to insert test data in MySQL

There are two methods for inserting MySQL test data: Select the priority (generate test data in combination with PHP > use stored procedures). Use stored procedures (it is recommended to use this method when the test data is less than 1000) The specific code is as follows: To create a table: 1 mysql> create table TB1( 2 -> id in ...

Posted by myraleen on Sun, 03 May 2020 12:39:21 -0700

24 days of egg learning notes: mongoose default parameters, modular

1. mongoose default parameter: when adding data, if no data is passed in, the data configured by default will be used. Connect to the database, a warning is reported below, useNewUrlParser:true This attribute will identify the db needed to verify the user in the url. You do not need to specify it before upgrading. You must specify it before u ...

Posted by grungefreak on Sun, 03 May 2020 08:26:24 -0700

postgres10 configure page

operating system Modify / boot/grub2/grub.cfg Navigate to the first 'menu' CentOS Linux 'and add it on the last side of "linux16 /vmlinuz" numa=off transparent_hugepage=never default_hugepagesz=2M hugepagesz=2M hugepages=1536 *hugepagesz indicates the page size. Choose one of 2M and 1G, and the default is 2m. hugepages ...

Posted by Wildbug on Sun, 03 May 2020 05:44:10 -0700

Connect Servlet to JDBC to realize page Jump

1. First, build a static HTML page for display. The page is simple and only needs a form form <form action="Cc" method="post"> User name < input type = "text" name = "name1" > Password < input type = "password" name = "pass" > <input type="submit"> ...

Posted by Arc on Sun, 03 May 2020 03:00:03 -0700

The use of mybatis plus code generator

Code generator MyBatis plus (MP for short) is an enhancement tool of MyBatis. Based on MyBatis, only enhancements are made and no changes are made to simplify development and improve efficiency. Step demo 1, Add mybatis plus dependency <!--spring-boot web--> <dependency> <groupId>org.springfram ...

Posted by luddeb on Sun, 03 May 2020 02:26:54 -0700

Analysis of MongoDB Java operation syntax

The connection between Java and mongodb 1. Single mongodb Mongo mg = new Mongo();//The default connection port of 127.0.0.1 is 27017 Mongo mg = new Mongo(ip);//You can specify that the ip port defaults to 27017 Mongo mg = new Mongo(ip,port);//ip and port can also be specified 2. Connect two mongodb s //ip is the host ip address, port is the ...

Posted by aliahmad on Sat, 02 May 2020 22:55:28 -0700