daily pastebin goal
58%
SHARE
TWEET

Untitled

a guest Nov 6th, 2018 99 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'hibernate'
  2.     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  3.    
  4. Aug 06, 2018 5:31:48 PM org.hibernate.Version logVersion
  5. INFO: HHH000412: Hibernate Core {5.2.12.Final}
  6. Aug 06, 2018 5:31:48 PM org.hibernate.cfg.Environment <clinit>
  7. INFO: HHH000206: hibernate.properties not found
  8. Aug 06, 2018 5:31:49 PM org.hibernate.annotations.common.reflection.java.JavaReflectionManager <clinit>
  9. INFO: HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
  10. Aug 06, 2018 5:31:49 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure
  11. WARN: HHH10001002: Using Hibernate built-in connection pool (not for production use!)
  12. Aug 06, 2018 5:31:49 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator
  13. INFO: HHH10001005: using driver [com.mysql.jdbc.Driver] at URL [jdbc:mysql://localhost:3306/hibernate]
  14. Aug 06, 2018 5:31:49 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator
  15. INFO: HHH10001001: Connection properties: {user=root, password=****}
  16. Aug 06, 2018 5:31:49 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator
  17. INFO: HHH10001003: Autocommit mode: false
  18. Aug 06, 2018 5:31:49 PM org.hibernate.engine.jdbc.connections.internal.PooledConnections <init>
  19. INFO: HHH000115: Hibernate connection pool size: 20 (min=1)
  20. Mon Aug 06 17:31:49 IST 2018 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
  21. Exception in thread "main" org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
  22.     at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:271)
  23.     at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:233)
  24.     at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:210)
  25.     at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:51)
  26.     at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:94)
  27.     at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:242)
  28.     at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:210)
  29.     at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.handleTypes(MetadataBuildingProcess.java:352)
  30.     at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:111)
  31.     at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.build(MetadataBuildingProcess.java:83)
  32.     at org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:418)
  33.     at org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:87)
  34.     at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:691)
  35.     at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:726)
  36.     at main.MainClass.main(MainClass.java:16)
  37. Caused by: org.hibernate.exception.SQLGrammarException: Error calling Driver#connect
  38.     at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:106)
  39.     at org.hibernate.engine.jdbc.connections.internal.BasicConnectionCreator$1$1.convert(BasicConnectionCreator.java:101)
  40.     at org.hibernate.engine.jdbc.connections.internal.BasicConnectionCreator.convertSqlException(BasicConnectionCreator.java:123)
  41.     at org.hibernate.engine.jdbc.connections.internal.DriverConnectionCreator.makeConnection(DriverConnectionCreator.java:41)
  42.     at org.hibernate.engine.jdbc.connections.internal.BasicConnectionCreator.createConnection(BasicConnectionCreator.java:58)
  43.     at org.hibernate.engine.jdbc.connections.internal.PooledConnections.addConnections(PooledConnections.java:123)
  44.     at org.hibernate.engine.jdbc.connections.internal.PooledConnections.<init>(PooledConnections.java:42)
  45.     at org.hibernate.engine.jdbc.connections.internal.PooledConnections.<init>(PooledConnections.java:20)
  46.     at org.hibernate.engine.jdbc.connections.internal.PooledConnections$Builder.build(PooledConnections.java:161)
  47.     at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl.buildPool(DriverManagerConnectionProviderImpl.java:109)
  48.     at org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl.configure(DriverManagerConnectionProviderImpl.java:72)
  49.     at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:94)
  50.     at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:242)
  51.     at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:210)
  52.     at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.buildJdbcConnectionAccess(JdbcEnvironmentInitiator.java:145)
  53.     at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:66)
  54.     at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:35)
  55.     at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:88)
  56.     at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:259)
  57.     ... 14 more
  58. Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'hibernate'
  59.     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  60.     at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  61.     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  62.     at java.lang.reflect.Constructor.newInstance(Unknown Source)
  63.     at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
  64.     at com.mysql.jdbc.Util.getInstance(Util.java:408)
  65.     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:944)
  66.     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3976)
  67.     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3912)
  68.     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:871)
  69.     at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1714)
  70.     at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1224)
  71.     at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2190)
  72.     at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2221)
  73.     at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2016)
  74.     at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:776)
  75.     at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
  76.     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  77.     at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  78.     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  79.     at java.lang.reflect.Constructor.newInstance(Unknown Source)
  80.     at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
  81.     at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:386)
  82.     at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:330)
  83.     at org.hibernate.engine.jdbc.connections.internal.DriverConnectionCreator.makeConnection(DriverConnectionCreator.java:38)
  84.     ... 29 more
  85.    
  86. <hibernate-configuration>
  87.     <session-factory>
  88.         <property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
  89.         <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
  90.         <property name="hibernate.connection.username">root</property>
  91.         <property name="hibernate.connection.password">root</property>
  92.         <property name="hibernate.connection.url">jdbc:mysql://localhost:3306/hibernate</property>
  93.         <!-- <property name="hibernate.hbm2ddl.auto">create-drop</property> -->
  94.         <property name="hibernate.hbm2ddl.auto">create</property>
  95.         <property name="hibernate.cache.use_second_level_cache">false</property>
  96.         <property name="show_sql">true</property>
  97.         <mapping class="model.UserDetails" />
  98.         <!-- <mapping class="org.hibernate.osgi.test.client.AuditedDataPoint"/> -->
  99.     </session-factory>
  100. </hibernate-configuration>
  101.    
  102. package model;
  103.  
  104. import javax.persistence.Entity;
  105. import javax.persistence.Id;
  106. import javax.persistence.Table;
  107.  
  108. @Entity
  109. public class UserDetails {
  110.     @Id
  111.     private int userId;
  112.     private String userName;
  113.  
  114.     public int getUserId() {
  115.         return userId;
  116.     }
  117.  
  118.     public void setUserId(int userId) {
  119.         this.userId = userId;
  120.     }
  121.  
  122.     public String getUserName() {
  123.         return userName;
  124.     }
  125.  
  126.     public void setUserName(String userName) {
  127.         this.userName = userName;
  128.     }
  129.  
  130.     @Override
  131.     public String toString() {
  132.         return "UserDetails [userId=" + userId + ", userName=" + userName + "]";
  133.     }
  134.  
  135. }
  136.    
  137. package main;
  138.  
  139. import org.hibernate.Session;
  140. import org.hibernate.SessionFactory;
  141. import org.hibernate.cfg.Configuration;
  142.  
  143. import model.UserDetails;
  144.  
  145. public class MainClass {
  146.  
  147.     public static void main(String[] args) {
  148.         // TODO Auto-generated method stub
  149.         UserDetails obj=new UserDetails();
  150.         obj.setUserId(1);
  151.         obj.setUserName("ASHIHS");
  152.         SessionFactory sessionfactory=new Configuration().configure().buildSessionFactory();
  153.         Session session=sessionfactory.openSession();
  154.         session.beginTransaction();
  155.         session.save(obj);
  156.         session.getTransaction().commit();
  157.     }
  158.  
  159. }
  160.    
  161. Aug 06, 2018 6:09:45 PM org.hibernate.Version logVersion
  162. INFO: HHH000412: Hibernate Core {5.2.12.Final}
  163. Aug 06, 2018 6:09:45 PM org.hibernate.cfg.Environment <clinit>
  164. INFO: HHH000206: hibernate.properties not found
  165. Aug 06, 2018 6:09:45 PM org.hibernate.annotations.common.reflection.java.JavaReflectionManager <clinit>
  166. INFO: HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
  167. Aug 06, 2018 6:09:46 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure
  168. WARN: HHH10001002: Using Hibernate built-in connection pool (not for production use!)
  169. Aug 06, 2018 6:09:46 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator
  170. INFO: HHH10001005: using driver [com.mysql.jdbc.Driver] at URL [jdbc:mysql://localhost:3306/hibernate]
  171. Aug 06, 2018 6:09:46 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator
  172. INFO: HHH10001001: Connection properties: {user=root, password=****}
  173. Aug 06, 2018 6:09:46 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator
  174. INFO: HHH10001003: Autocommit mode: false
  175. Aug 06, 2018 6:09:46 PM org.hibernate.engine.jdbc.connections.internal.PooledConnections <init>
  176. INFO: HHH000115: Hibernate connection pool size: 20 (min=1)
  177. Mon Aug 06 18:09:46 IST 2018 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
  178. Aug 06, 2018 6:09:47 PM org.hibernate.dialect.Dialect <init>
  179. INFO: HHH000400: Using dialect: org.hibernate.dialect.MySQLDialect
  180. Hibernate: drop table if exists UserDetails
  181. Aug 06, 2018 6:09:47 PM org.hibernate.resource.transaction.backend.jdbc.internal.DdlTransactionIsolatorNonJtaImpl getIsolatedConnection
  182. INFO: HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@488eb7f2] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
  183. Hibernate: create table UserDetails (userId varchar(255) not null, userName varchar(255), primary key (userId)) type=MyISAM
  184. Aug 06, 2018 6:09:47 PM org.hibernate.resource.transaction.backend.jdbc.internal.DdlTransactionIsolatorNonJtaImpl getIsolatedConnection
  185. INFO: HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@fb9c7aa] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
  186. Aug 06, 2018 6:09:48 PM org.hibernate.tool.schema.internal.ExceptionHandlerLoggedImpl handleException
  187. WARN: GenerationTarget encountered exception accepting command : Error executing DDL via JDBC Statement
  188. org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL via JDBC Statement
  189.     at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:67)
  190.     at org.hibernate.tool.schema.internal.SchemaCreatorImpl.applySqlString(SchemaCreatorImpl.java:440)
  191.     at org.hibernate.tool.schema.internal.SchemaCreatorImpl.applySqlStrings(SchemaCreatorImpl.java:424)
  192.     at org.hibernate.tool.schema.internal.SchemaCreatorImpl.createFromMetadata(SchemaCreatorImpl.java:315)
  193.     at org.hibernate.tool.schema.internal.SchemaCreatorImpl.performCreation(SchemaCreatorImpl.java:166)
  194.     at org.hibernate.tool.schema.internal.SchemaCreatorImpl.doCreation(SchemaCreatorImpl.java:135)
  195.     at org.hibernate.tool.schema.internal.SchemaCreatorImpl.doCreation(SchemaCreatorImpl.java:121)
  196.     at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:155)
  197.     at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:72)
  198.     at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:313)
  199.     at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:452)
  200.     at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:710)
  201.     at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:726)
  202.     at main.MainClass.main(MainClass.java:16)
  203. Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: 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 'type=MyISAM' at line 1
  204.     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  205.     at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  206.     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  207.     at java.lang.reflect.Constructor.newInstance(Unknown Source)
  208.     at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
  209.     at com.mysql.jdbc.Util.getInstance(Util.java:408)
  210.     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:944)
  211.     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3976)
  212.     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3912)
  213.     at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2530)
  214.     at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2683)
  215.     at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2482)
  216.     at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2440)
  217.     at com.mysql.jdbc.StatementImpl.executeInternal(StatementImpl.java:845)
  218.     at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:745)
  219.     at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:54)
  220.     ... 13 more
  221.  
  222. Aug 06, 2018 6:09:48 PM org.hibernate.tool.schema.internal.SchemaCreatorImpl applyImportSources
  223. INFO: HHH000476: Executing import script 'org.hibernate.tool.schema.internal.exec.ScriptSourceInputNonExistentImpl@40cb698e'
  224. Hibernate: insert into UserDetails (userName, userId) values (?, ?)
  225. Aug 06, 2018 6:09:48 PM org.hibernate.engine.jdbc.spi.SqlExceptionHelper logExceptions
  226. WARN: SQL Error: 1146, SQLState: 42S02
  227. Aug 06, 2018 6:09:48 PM org.hibernate.engine.jdbc.spi.SqlExceptionHelper logExceptions
  228. ERROR: Table 'hibernate.userdetails' doesn't exist
  229. Aug 06, 2018 6:09:48 PM org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl release
  230. INFO: HHH000010: On release of batch it still contained JDBC statements
  231. Aug 06, 2018 6:09:48 PM org.hibernate.internal.ExceptionMapperStandardImpl mapManagedFlushFailure
  232. ERROR: HHH000346: Error during managed flush [org.hibernate.exception.SQLGrammarException: could not execute statement]
  233. Exception in thread "main" javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute statement
  234.     at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:149)
  235.     at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:157)
  236.     at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:164)
  237.     at org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1443)
  238.     at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:493)
  239.     at org.hibernate.internal.SessionImpl.flushBeforeTransactionCompletion(SessionImpl.java:3207)
  240.     at org.hibernate.internal.SessionImpl.beforeTransactionCompletion(SessionImpl.java:2413)
  241.     at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.beforeTransactionCompletion(JdbcCoordinatorImpl.java:473)
  242.     at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.beforeCompletionCallback(JdbcResourceLocalTransactionCoordinatorImpl.java:156)
  243.     at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.access$100(JdbcResourceLocalTransactionCoordinatorImpl.java:38)
  244.     at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl$TransactionDriverControlImpl.commit(JdbcResourceLocalTransactionCoordinatorImpl.java:231)
  245.     at org.hibernate.engine.transaction.internal.TransactionImpl.commit(TransactionImpl.java:68)
  246.     at main.MainClass.main(MainClass.java:20)
  247. Caused by: org.hibernate.exception.SQLGrammarException: could not execute statement
  248.     at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:63)
  249.     at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:42)
  250.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:111)
  251.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:97)
  252.     at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:178)
  253.     at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:45)
  254.     at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3013)
  255.     at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3513)
  256.     at org.hibernate.action.internal.EntityInsertAction.execute(EntityInsertAction.java:89)
  257.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:589)
  258.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:463)
  259.     at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:337)
  260.     at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:39)
  261.     at org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1437)
  262.     ... 9 more
  263. Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'hibernate.userdetails' doesn't exist
  264.     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  265.     at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  266.     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  267.     at java.lang.reflect.Constructor.newInstance(Unknown Source)
  268.     at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
  269.     at com.mysql.jdbc.Util.getInstance(Util.java:408)
  270.     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:944)
  271.     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3976)
  272.     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3912)
  273.     at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2530)
  274.     at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2683)
  275.     at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2486)
  276.     at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1858)
  277.     at com.mysql.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:2079)
  278.     at com.mysql.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:2013)
  279.     at com.mysql.jdbc.PreparedStatement.executeLargeUpdate(PreparedStatement.java:5104)
  280.     at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1998)
  281.     at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:175)
  282.     ... 18 more
  283.    
  284. <property name="hibernate.dialect">org.hibernate.dialect.MySQL55Dialect</property>
  285.    
  286. org.hibernate.dialect.MySQL5Dialect
  287. org.hibernate.dialect.MySQL55Dialect
  288. org.hibernate.dialect.MySQL57Dialect
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top