[java] Sun Aug 07 13:58:50 CST 2005 TRACE: --> ResultSet.java:4464 com.mysql.jdbc.ResultSet.realClose(false)
[java] Sun Aug 07 13:58:50 CST 2005 TRACE: <-- ResultSet.java:4464 com.mysql.jdbc.ResultSet.realClose(..) returning null
[java] Sun Aug 07 13:58:50 CST 2005 TRACE: <-- ResultSet.java:7079 com.mysql.jdbc.ResultSet.finalize(..) returning null
[java] ERROR - Unsuccessful: create table EVENTS (EVENT_ID bigint not null, EVENT_DATE timestamp, TITLE varchar(255), primary key (EVENT_ID))
Here--> [java] ERROR - Table 'events' already exists
[java] INFO - schema export complete
[java] INFO - cleaning up connection pool: jdbc:mysql://localhost/king
[java] INFO - Checking 0 named queries
[java] Sun Aug 07 13:58:50 CST 2005 TRACE: --> Statement.java:1627 com.mysql.jdbc.Statement.finalize()
[java] Sun Aug 07 13:58:50 CST 2005 TRACE: <-- Statement.java:1627 com.mysql.jdbc.Statement.finalize(..) returning null
[java] Hibernate: select event0_.EVENT_ID as EVENT1_, event0_.EVENT_DATE as EVENT2_0_, event0_.TITLE as TITLE0_ from EVENTS event0_
[java] Sun Aug 07 13:58:50 CST 2005 TRACE: --> Statement.java:1627 com.mysql.jdbc.Statement.finalize()
[java] Sun Aug 07 13:58:50 CST 2005 TRACE: <-- Statement.java:1627 com.mysql.jdbc.Statement.finalize(..) returning null
[java] Sun Aug 07 13:58:50 CST 2005 TRACE: --> ResultSet.java:7079 com.mysql.jdbc.ResultSet.finalize()
[java] Sun Aug 07 13:58:50 CST 2005 TRACE: <-- ResultSet.java:7079 com.mysql.jdbc.ResultSet.finalize(..) returning null
[java] Event: My Event Time: 2005-08-07 13:57:46.0
[java] INFO - closing
[java] INFO - cleaning up connection pool: jdbc:mysql://localhost/king
When complie ,Hibernate wants to create a new table for me
But where is the mistake?
or where can I config to avoid creating a new table when comple?
Thanks a lot!
|