Monthly Archives: February 2009

Loading Files using Java in a location independent way

Location independent access to Java Resources is a nice tutorial if you would like to know how to load files in java without specifying absolute paths. In a nutshell its done by using methods getResource and getResourceAsStream method in class … Continue reading

Posted in Technology | Tagged | 1 Comment

Import test and static data using Hibernate’s hibernate.hbm2ddl.auto

Hibernate comes with a nifty feature that makes it unnecessary to use DBUnit or any tool for initializing your test database with data before the unit and integration tests are run. Ofcourse you need to be using Hibernate Core or … Continue reading

Posted in yourmitra | Tagged , , | 1 Comment