Announcement Announcement Module
Collapse
No announcement yet.
PetClinic MySQL setup doesn't allow for case-sensitivity Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?

  • #2
    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.

    Comment

    Working...
    X