Nov 28

Add the following to persistence.xml:

<property name="hibernate.hbm2ddl.auto" value="update"/>

written by objects \\ tags: , , , ,

Nov 24

You need to create the file ‘git-daemon-export-ok’ to indicate that the git is allowed to be exported.

touch myrepo.git/git-daemon-export-ok

written by objects \\ tags: , ,

Nov 23

You can tell the parseInt() method what base number system is used by the String that is being parsed.


String hex = "a9b0";
int n = Integer.parseInt(hex, 16);

written by objects \\ tags: , ,