M Marin wrote:Hello,
I am developing a program with Hibernate and Oracle and I want to reproduce the same application using MySQL. I want to generate the database tables using:
<property name="hibernate.hbm2ddl.auto">create</property>
from the ("Oracle") domain code, but I can only create one table out of four. Does anyone have an idea what I am doing wrong?
Regards.
M. Marin.
M Marin wrote:Add also the schema name manually to de database, just leave the tables to be automatically generated.
10:24:07,528 INFO [SchemaUpdate] updating schema
10:24:07,528 INFO [SchemaUpdate] schema update complete
Paul Sturrock wrote:
10:24:07,528 INFO [SchemaUpdate] updating schema
10:24:07,528 INFO [SchemaUpdate] schema update complete
Looks like its updating the schema.
(NB: "entity beans" are a EJB2 technology. When you say you created entity beans did you really mean entity beans? )
M Marin wrote:Add also the schema name manually to de database, just leave the tables to be automatically generated.
Consider Paul's rocket mass heater. |