-
Recent Posts
-
On Twitter
Archives
Recent Comments
- Peter Zsoldos on Cleaning up test code
- Eric Lefevre-Ardant on Cleaning up test code
- Peter Zsoldos on Cleaning up test code
- Playframework + Google Guice (EspaƱol) « Having fun with Play framework! on Play Framework and Guice: use providers in Guice modules
- Eric Lefevre-Ardant on Java’s varargs are for unit tests
-
Category Archives: hibernate
Unitils: a better Gienah?
On my current project, I am using Gienah as a way to integrate JUnit tests with Spring. I am rather pleased with the result, keeping my unit tests quite clean. I just heard today about Unitils, a more ambitious tool. … Continue reading
Posted in hibernate, java, spring, test
Leave a comment
Test Driven Design and Data Access Layer
I am currently writing the Data Access Layer of a Java project using Hibernate and I want to apply TDD on my work. The part that is concerned with the database is the mapping of objects on the database schema, … Continue reading
Posted in hibernate, java, tdd, test
3 Comments
Hibernate: so, the identifier field *is* mandatory after all!
Is it obvious to everyone that an identifier is mandatory in Hibernate? I actually thought that Hibernate generated some kind of internal identifier for classes that do not specify one. The documentation says: saveOrUpdate() does the following: [...] if the … Continue reading
Posted in hibernate, java
Leave a comment