Archive: 2017

0

Most used Linux commands

Unzip bz2 keep the original filebzip2 -dk filename.bz2 Find out the current Linux versioncat /etc/*-release ssh-keygen -f id_rsa -p Check hardwarelshw Change java versionupdate-alternatives -config ja

0

Docker machine commands

If you are using a mac, just like a linux, you don’t need docker-machine to run docker-engine locally Basics operation123456docker-machine --versiondocker-machine start defaultdocker-machine stop def

0

YAML Syntax

YAML Ain’t Markup LanguageBelow is an example of an invoice expressed via YAML(tm). Structure is shown through indentation (one or more spaces). Sequence items are denoted by a dash, and key value pai

0

My Most Used Docker Commands

Check info1234567891011121314151617181920212223docker versiondocker --versiondocker-compose versiondocker-compose --versiondocker ps / docker container lsdocker images / docker image lsdocker inspect

0

2e Systems GmbH

Java Backend developerMelbourne, VIC 2016 - Present Description: 2e Systems is a highly versatile software development company specializing in web, mobile and communications solutions for the airline

0

Hibernate Criteria Search

Hibernate Session provides createCriteria() method to create a Criteria object Some samples: 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575

0

Hibernate SQL

Run SQL123456789101112131415String sql = "SELECT first_name, salary FROM EMPLOYEE";SQLQuery query = session.createSQLQuery(sql);query.setResultTransformer(Criteria.ALIAS_TO_ENTITY_MAP);List results =

0

Hibernate Query

Hibernate query languageExample 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283# FROMStri

0

Hibernate Mapping

A mapping example using xml123456789101112131415161718<?xml version="1.0" encoding="utf-8"?><!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD//EN" "http://www.hibernate

0

Hibernate Session

States: Transient Persistent Detached A typical sample of tranction1234567891011121314Session session = factory.openSession();Transaction tx = null;try { tx = session.beginTransaction(); /