Mybatis (2) Parameters transfer

Mybatis parameter (Parameters) pass 1.. Single parameter Values of basic type, object type, collection type can be accepted.In this case, MyBatis can use this parameter directly without any processing.   <!-- according to id Query a record in a data table and encapsulate it User object --> <select id="selectById" resultType="com.s ...

Posted by mailtome on Tue, 14 Jul 2020 08:23:04 -0700

Additions and deletions based on Form component and based on ModelForm

Introduction to ModelForm ModelForm a. class Meta: model, # Corresponding Model Of fields=None, # field exclude=None, # Exclusion field labels=None, # Prompt message help_texts=None, ...

Posted by 1337hovie on Wed, 08 Jul 2020 08:39:55 -0700

Additions and deletions based on Form component and based on ModelForm

Introduction to ModelForm ModelForm a. class Meta: model, # Corresponding Model Of fields=None, # field exclude=None, # Exclusion field labels=None, # Prompt message help_texts=None, ...

Posted by Wolphie on Wed, 08 Jul 2020 08:40:24 -0700

[Spring] Pure java for Spring-hibernate integration

First import the corresponding jar package for Spring-hibernate Then prepare the file for the database connectionHibernate.propertiesAlsoJdbc.properties Hibernate.propertiesFile: Configure the hibernate dialect and automatic table building hibernate.dialect=org.hibernate.dialect.H2Dialect hibernate.hbm2ddl.auto=create Jdbc.propertiesFi ...

Posted by mjgdunne on Wed, 08 Jul 2020 07:43:57 -0700

The back-end data loaded by the select component of jqWEUI is items

jqweui I don't know how many people have used it. I often use it to develop webapps Its select component is more often used, but this time I need to get the selected items data from the database instead of writing the page dead After thinking about it for a while, I finally came up with a method, which is also effecti ...

Posted by Nommy on Tue, 07 Jul 2020 09:03:14 -0700

Chapter 7 Data Regulation: Cleanup, Conversion, Merge, Reshaping (4)

Chapter 7 Data Regulation: Cleanup, Conversion, Merge, Reshaping (4) The source of ldata is not given in this chapter and is availableMacrodata.csvTurn out available data. import pandas as pd import numpy as np import datetime ###Time processing later from pandas import Series,DataFrame ###Read inMacrodata.csvfil ...

Posted by kumarrana on Tue, 07 Jul 2020 08:46:57 -0700

Chapter 7 Data Regulation: Cleanup, Conversion, Merge, Reshaping (4)

Chapter 7 Data Regulation: Cleanup, Conversion, Merge, Reshaping (4) The source of ldata is not given in this chapter and is availableMacrodata.csvTurn out available data. import pandas as pd import numpy as np import datetime ###Time processing later from pandas import Series,DataFrame ###Read inMacrodata.csvfil ...

Posted by caedo on Tue, 07 Jul 2020 08:46:29 -0700

spring boot integrated redis

It is convenient to integrate common NO SQL with Springboot following the principle of "convention is greater than configuration". This example makes a simple demo with redis, using Redis's set and get commands. Introduce dependency packages for redis. <dependency> <groupId>or ...

Posted by dcj1978 on Sun, 05 Jul 2020 09:08:30 -0700

spring boot integrated redis

It is convenient to integrate common NO SQL with Springboot following the principle of "convention is greater than configuration". This example makes a simple demo with redis, using Redis's set and get commands. Introduce dependency packages for redis. <dependency> <groupId>or ...

Posted by neverett on Sun, 05 Jul 2020 09:08:33 -0700

Usage of date format in angular4

Processing date in.ts file The format of the date will have different display outputs in different methods. dateTime: Date; this.dataTime = new Date(); // Get the current date // Output: Fri Dec 08 2017 00:33:01 GMT+0800 (China Standard Time) Sometimes we need some string type output in other formats. You can see all the tostring methods ...

Posted by Jr0x on Thu, 02 Jul 2020 08:53:46 -0700