Monthly Archives: January 2008

ManyToOne reference loading with JPA/Hibernate

In this example an InvestigationType has many SampleType’s. If I load an InvestigationType via em (entity manager) find it also loads the samples. 1. InvestigationType inv2 = (InvestigationType) em.find( 2. InvestigationType.class, inv.getId()); 3. System.out.println(“Inv2 ID=”+inv2.getId()); 4. System.out.println(“Inv2 Title=”+inv2.getTitle()); 5. assertTrue(inv2.getSample().size() … Continue reading

Posted in Archer, java, JPA | 1 Comment

Slashdot | Is Apple Killing Linux on the Desktop?

Slashdot | Is Apple Killing Linux on the Desktop?This is a summary of my experiences walking the path between Linux (Ubuntu/Gnome) and OSX. For background I’ve been using Linux on the desktop for about 7 years, and only in the … Continue reading

Posted in linux, OSX, technology | Leave a comment