Guest User

Untitled

a guest
Dec 1st, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.65 KB | None | 0 0
  1. SEVERE: Unsuccessful: create table gmail.messages.test (CODE_PERS varchar(255) not null, LAST_NAME varchar(255), FIRST_NAME varchar(255), primary key (CODE_PERS))
  2. 3.8.2012 18:30: org.hibernate.tool.hbm2ddl.SchemaExport create
  3. SEVERE: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.test (CODE_PERS varchar(255) not null, LAST_NAME varchar(255), FIRST_NAME varch' at line 1
  4. 3.8.2012 18:30: org.hibernate.tool.hbm2ddl.SchemaExport execute
  5.  
  6. <property name="dialect">org.hibernate.dialect.MySQLDialect</property>
  7. <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
  8. <property name="hibernate.connection.url">jdbc:mysql://localhost:3306/gmail.messages</property>
  9. <property name="hibernate.connection.username">root</property>
  10. <property name="hibernate.connection.password">admin</property>
  11. <!-- <property name="hbm2ddl.auto" value="auto"/>-->
  12.  
  13. <property name="hibernate.show_sql">true</property>
  14. <property name="transaction.factory_class">
  15. org.hibernate.transaction.JTATransactionFactory
  16. </property>
  17. <property name="use_outer_join">false</property>
  18. <property name="jta.UserTransaction">java:comp/UserTransaction</property>
  19. <property name="hibernate.connection.pool_size">12</property>
  20. <property name="hibernate.hbm2ddl.auto">create</property>
  21. <property name="hibernate.default_schema">gmail.messages</property>
  22. <property name="current_session_context_class">thread</property>
  23.  
  24.  
  25.  
  26.  
  27. <mapping resource="HibernateMapping/hibernate.hbm.xml"/>
Add Comment
Please, Sign In to add comment