Difference between
version 84
and
version 83:
At line 11 added 5 lines. |
%%note If you're using MySQL and you want to use transactions (which you probably will) you have to use InnoDB tables. To do this, add the following to your mysql configuration file (my.cnf or c:\Windows\my.ini). |
{{{ |
[mysqld] |
default-table-type=InnoDB |
}}}%% |
At line 83 changed 1 line. |
At this point, you can actually create the person table by running "ant setup-db". This task creates the Person.hbm.xml file and creates a database table called "person." From the ant console, you can see the table schema the Hibernate creates for your: |
At this point, you can actually create the person table by running "ant setup-db". This task creates the Person.hbm.xml file and creates a database table called "person." From the ant console, you can see the table schema the Hibernate creates for you: |
At line 86 changed 1 line. |
[schemaexport] id BIGINT NOT NULL AUTO_INCREMENT, |
[schemaexport] id bigint not null auto_increment, |
At line 88 changed 1 line. |
[schemaexport] ) |
[schemaexport] ); |
Back to CreateDAO,
or to the Page History.
|