Marcin D commented on an issue
Hibernate ORM / Bug HHH-1528
GenericJDBCException when querying on one-to-one association
I am getting following stack trace:

Exception in thread "main" org.hibernate.exception.GenericJDBCException: could not execute query
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:91)
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:79)
at org.hibernate.exception.JDBCException...