Mar 18th, 2009, 03:38 PM
PetClinic MySQL setup doesn't allow for case-sensitivity
I'm looking at the PetClinic sample app for JPA usage. When I tried to configure it for MySQL, I discovered that some of the tests fail. What I found was that a table "vets" was created, but SQL referencing that table uses "VETS". I'm running this on Ubuntu Linux, where these are case-sensitive by default, and I'd prefer to keep it that way. I'll see if I can temporarily disable case-sensitivity. Is there a standard way to submit bug reports for this app?
Mar 18th, 2009, 05:01 PM
I was able to get past a couple of these problems by replacing 'countRowsInTable("VETS")' with 'countRowsInTable("vets")' in AbstractClinicTests.java (and the same for "TYPES"), but then it just failed at the next point, which is EntityManagerClinicTests, on a reference to the "OWNERS" table, but I don't see an obvious fix for this one.
Tags for this Thread