MyBatis

„MyBatis is a first class persistence framework with support for custom SQL, stored procedures and advanced mappings. MyBatis eliminates almost all of the JDBC code and manual setting of parameters and retrieval of results.“

package org.mybatis.example;
public interface BlogMapper {
  @Select("SELECT * FROM blog WHERE id = #{id}")
  Blog selectBlog(int id);
}

Getting started
MyBatis-Spring-Boot-Starter
Spring Boot: Working With MyBatis

Spring Tool Suite (STS)

– Download spring-tool-suite-3.9.0.RELEASE-e4.7.0-win32-x86_64.zip und entpacken nach C:\Spring
C:\Spring\spring-tool-suite-3.9.0.RELEASE-e4.7.0-win32-x86_64\sts-3.9.0.RELEASE\STS.exe starten
– Workspace C:\Spring\workspace-sts-3.9.0.RELEASE anlegen
– Menüpunkt File/New/Spring Starter Project ausführen

So entwickelt man REST-Services
Guide to Spring Boot REST API Error Handling
Common application properties
https://mvnrepository.com

PHP Fatal error

PHP Fatal error: PHP Startup: apc_shm_create: shmget(0, 67108864, 914) failed: Invalid argument. It is possible that the chosen SHM segment size is higher than the operation system allows. Linux has usually a default limit of 32MB per segment. in Unknown on line 0

systemctl status php-fpm.service -l
sysctl -w kernel.shmmax=268435456
systemctl restart php-fpm
systemctl restart nginx

Account Lockout and Management Tools

Download Tools from here. Start LockoutStatus.exe and on the File menu, use Select target. Type the user name and hit enter. To Unlock the Account, right click and select Unlock.

dsquery user -name Xyz*
repadmin /showmeta “FQDN_of_User”