Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
Name and version of the database you are using:
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
Hi!
I have a table JOB, and I modified the definition of the column X from integer
to long. The HBM2DDL is set to UPDATE; I'm using MySQL; when I start JBoss the table is not updated.
I saw in the source code (in the Table class) that the "alter table" statement is created only for columns that don't already exist in the table.
So, is it possible in some way to update the type of an existing column in the table???
Thanks.