Tanx man I use this before but I have Problem by hibernate.dialect.
When I use this property in hibernate.cfg.xml it's make my table InnoDB but cant Insert any Data in my table,
my code work well when i use <<property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>> and i can Insert into table but when I use
< <property name="hibernate.dialect">org.hibernate.dialect.MySQL5InnoDBDialect</property>> it's create InnoDB table but didn't insert any rows!!!
should I change my code when I use (org.hibernate.dialect.MySQL5InnoDBDialect)?
Sounie wrote:
Hi,
If you specify:
org.hibernate.dialect.MySQL5InnoDBDialect
as the hibernate.dialect property then Hibernate should create InnoDb type tables (presuming you are using a late enough version of MySql).
You should probably manually create the database in order to specify the charset.
--
Stephen Souness