Wednesday, November 28, 2012

Hibernate problem

We have met following problem in JUnit logs:
2012.11.28.22.42.45 ERROR hibernate.tool.hbm2ddl.SchemaUpdate - Unsuccessful: create table api_access (id_api_access integer not null, id_user integer not null, month_limit integer, api_key varchar(250), primary key (id_api_access)) type=InnoDB
2012.11.28.22.42.45 ERROR hibernate.tool.hbm2ddl.SchemaUpdate - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'type=InnoDB' at line 1
Problem is that hibernate use invalid dialect. In hibernate configuration property hibernate.dialect should have value org.hibernate.dialect.MySQL5InnoDBDialect.

1 comment:

  1. What is the difference between casino games and slots?
    Slot games are the most popular types of 바카라 사이트 casino poormansguidetocasinogambling.com games, febcasino and the majority are slots. and https://octcasino.com/ the most commonly played slot games. https://vannienailor4166blog.blogspot.com/

    ReplyDelete