Wednesday, April 28, 2010

Saved my B.U.T.

http://unetbootin.sourceforge.net/

This is a great tool that saved me. I stupidly formatted the drive that had Ubuntu on it and somehow GRUB got messed up.  I used Unetbootin to create a USB boot drive with Super Grub Disk on it and went through the steps to boot straight to Windows.

No worries.  I plan to go back to Ubuntu, but need to get this machine running Windows for work requirements.

Thursday, April 8, 2010

Hibernate yes_no

This helped a bunch today!

Scenario:

  1. using JSF with some check boxes.
  2. Check boxes are stored in the bean as a Boolean
  3. Database field is a String (1 character) and stored as “Y” or “N”

Use Hibernate’s type="yes_no" for the property to convert the Boolean value to a String and back again.

Quote of the Day

Dang!!!

Managers are people who do things right, while leaders are people who do the right thing. ~ Warren Bennis