hibernate mapping - one way many to many Association
n-n association must use join table
Similar to the 1-n mapping, the set element must be set to add a key sub element, and the foreign key referring to the CATEGORIES table in the CATEGORIES & ITMS table must be the CATEGORIES & ID. different from the 1-n association mapping, when th ...
Posted on Sun, 03 May 2020 14:04:04 -0700 by Waldir
This article mainly summarizes the knowledge points in the small game.
//Preload sprite material
this.load.spritesheet('loading','images/loading.png', 154, 155, 25) //Length, width and number of frames per frame
Posted on Sun, 03 May 2020 08:06:32 -0700 by kendall
SlidingUpPanelLayout simple to use
SlidingUpPanelLayout is an open source library on github https://github.com/umano/AndroidSlidingUpPanel , the main effect is to slide up or click to expand the panel with animation:
First, add dependency package
Step 2: add page layout
Posted on Sat, 02 May 2020 23:50:02 -0700 by cgraz
There are many ways to implement timing in android. The common combination of Handler and Thread, handler.postDelayed, and AlarmManger to be used can implement timing tasks, but the usage scenarios are quite different. Here is how to use AlarmManager to implement timing tasks. Knowledge points involved:
1) BroadCastRec ...
Posted on Sat, 02 May 2020 17:05:05 -0700 by Mikell
1.RecylerView is a control in support-v7
2. This control is used to display a large number of datasets in a limited window, such as ListView and GridView.
RecyclerView architecture provides a plug-in experience, high degree of decoupling and exceptional flexibility. It provides different settings
Posted on Sat, 02 May 2020 12:01:42 -0700 by TraceyK
Download patch pack
View weblogic's current patch list
The new version of weblogic upgrade uses OPatch, and the old version of weblogic upgrade requires bsu.sh
1. Download the patch package
Find the patch package according to the link address in the solution to the vulnerability report scanned by gree ...
Posted on Sat, 02 May 2020 11:47:36 -0700 by giannis_athens
To create maven project and use maven project to generate executable jar, you need to use maven assembly plugin plug-in to complete. The configuration of pom.xml file is as follows
<?xml version="1.0" encoding="UTF-8"?>
Posted on Sat, 02 May 2020 10:15:02 -0700 by SuisydeKing
Summary: OpenSymphony provides a powerful open source task scheduling framework
Official website: http://www.quartz-scheduler.org/
Pure java implementation, fine control scheduling
Features: powerful scheduling function, flexible application mode, distributed and clustering capabilities
Main design patterns: Builder ...
Posted on Sat, 02 May 2020 07:23:44 -0700 by schris403
Today, there is a requirement for the project. Take a screenshot of the Activity interface, save it locally, and then send the picture when you send it instantly
Process: screenshot - > save to local - > send broadcast notice to update Gallery
Paste the renderings first
Screen capture process
Files saved after screen capture
Posted on Sat, 02 May 2020 06:41:57 -0700 by partypete
Implementation effect: radiobutton uses drawableTop to display pictures (use drawableTop selector and text color change selector in xml) code to set picture size)
Put these 6 pictures (unchecked, checked)
Posted on Sat, 02 May 2020 03:36:19 -0700 by weknowtheworld