Category Archives: any

About writing software code

In the past couple of years I’m reading and learning how to write a better software and all. It’s ok since everyone is doing it. Right? Wrong. Learn how to do it it not the same thing as do it. … Continue reading

Posted in any | Tagged , | 2 Comments

ehcache and hibernate: cache of collections

Last post I wrote about activating the hibernate second-level cache. Now, let’s see how to activate the second-level cache for collections. In this example I’ll use a Customer with Orders. Please, take a look in the representation of the relationship … Continue reading

Posted in any | Tagged , , , , | Leave a comment

hibernate: activating the second-level cache

Hibernate has two different cache levels: the first-level and the second-level cache. The first one is always activated. The second-level cache is up to you. So, first-level cache, it’s related to session objects, i.e, objects on the managed state. These … Continue reading

Posted in any | Tagged , , , | 1 Comment

configuring git

Some useful git configurations to candy eye it: Email and username: git config –global user.name “My Name” git config –global user.email my@email.com Aliases: git config –global alias.st status Colors: git config –global color.branch ?auto git config –global color.diff auto git … Continue reading

Posted in any | Tagged | 1 Comment

ruby, rvm, rails, zlib and ubuntu

When installing the ruby version 1.9.2 through rvm on an Ubuntu box, you might get and error related to the zlib lib. The simple solution is to uninstall the ruby 1.9.2 version. After that, you should install zlib using rvm, … Continue reading

Posted in any | Tagged , , , | 1 Comment

Moving website to English

Buenas! Today I’ve decided move my blog to use English. So, I will be trowing away old posts and translating interesting ones. Cheers.

Posted in any | Leave a comment