Pages

Saturday 17 May 2014

Java concurrency in practice

Hello friends!

Let's do our best to explore java concurrency by coding.


Tuesday 6 May 2014

Simple and useful tips to manage sql relationships


  1. ONE MUST DELETE AT FIRST WHAT REFERENCES AND THEN ONE CAN DELETE WHAT IS REFERENCED

  2. ONE MUST INSERT AT FIRST WHAT WILL BE REFERENCED AND THEN WHAT REFERENCES

Why should you never use @Access(AccessType.PROPERTY) in hibernate?

Hello!

Recently I discovered one decent pitfall regrading hibernate access type.

Regular expressions in java

Hello!

I've been thinking what to blog about next time. I chose to investigate regular expressions. This seems to be very useful because they are frequently needed and can block you for a long time. 


Must confess that I have very little knowledge on regex. But as far as this article grows, our knowledge of regex grows.

How to create new user in MySql 5?

Hello!

Do you really want to create new user in mysql ?
If so, let's do it...
By default mysql(I use community edition) has user with name root on host localhost and password is empty.

How to solve magic square in java?

Hello!

Today I am going to show you how can one write Java program that produces magic square of any odd size.