7.6 hibernate mapping: one way many to many Association

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

Phase makes h5 games (2)

This article mainly summarizes the knowledge points in the small game. summary Preload material //Preload sprite material game.load.atlas('button','images/button.png', 'images/button.json') this.load.spritesheet('loading','images/loading.png', 154, 155, 25) //Length, width and number of frames per frame //Preload picture game.load.image('bg' ...

Posted on Sun, 03 May 2020 08:06:32 -0700 by kendall

SlidingUpPanelLayout simple to use

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 implementation 'com.sothree.slidinguppanel:library:3.4.0' Step 2: add page layout &lt ...

Posted on Sat, 02 May 2020 23:50:02 -0700 by cgraz

Android timing task and the realization of alarm clock

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

Introduction and use of Recyclerview

Introduction: 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 Layou ...

Posted on Sat, 02 May 2020 12:01:42 -0700 by TraceyK

Use bsu to install and upgrade weblogic patch

Download patch pack View weblogic's current patch list Install patches Uninstall patch 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

maven generates executable jar s and runs them using shell scripts

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"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/ ...

Posted on Sat, 02 May 2020 10:15:02 -0700 by SuisydeKing

Quartz (intermediate) of Java timing task scheduling tool

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

The screenshot of the Android activity is saved and displayed to the album View. The animation of the picture disappears

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 Scre ...

Posted on Sat, 02 May 2020 06:41:57 -0700 by partypete

Tab radiobutton+drawableTop toggle change text color and picture

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) recommend_unselected      recommend_selected                           smile_unselected                    smile_selected      ...

Posted on Sat, 02 May 2020 03:36:19 -0700 by weknowtheworld