The call to #getDialect does not work because JoinCounter isn't an inner class of the OneToOneTest class. Should I fix that too?