After mysql-Mysql has configured the master and slave nodes, an exception occurs when the project is started. It prompts Hibernate or something. I don't know what's going on.

Source: Internet
Author: User
Tags grails
2016-02-2513: 38: 51,353 [localhost-startStop-1] [test. ResourceBuilder] [INFO] mysqlhibernate operation

13:38:51, 353 [localhost-startStop-1] [test. resourceBuilder] [INFO]-Hibernate operation: cocould not insert: [accessResources. btnAndMenu]; uncategorized SQLException for SQL [insert into btn_and_menu (version, action, click, code, controller, icon, is_menu, label, link, parent_id, show_order, sys_type, title) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]; SQL state [HY000]; error code [1665]; Cannot execute statement: impossible to write to binary log since BINLOG_FORMAT = STATEMENT and at least one table uses a storage engine limited to row-based logging. innoDB is limited to row-logging when transaction isolation level is read committed or read uncommitted .; nested exception is java. SQL. SQLException: Cannot execute statement: impossible to write to binary log since BINLOG_FORMAT = STATEMENT and at least one table uses a storage engine limited to row-based logging. innoDB is limited to row-logging when transaction isolation level is read committed or read uncommitted.
13:38:51, 435 [localhost-startStop-1] [test. resourceBuilder] [INFO]-[controller: orderSub, action: index, label: Operation log, dir:/images/icons/blueberry, img: logMgr.png, plugin: scaffolding] resource item initialization failed
13:38:51, 537 [localhost-startStop-1] [test. resourceBuilder] [INFO]-[controller: orderSub, action: index, label: Customer Feedback, dir:/images/icons/blueberry, img: comment.png, plugin: scaffolding] resource item initialization failed
13:38:51, 636 [localhost-startStop-1] [test. resourceBuilder] [INFO]-[controller: driverSignLog, action: index, label: sign-in, dir:/images/icons/blueberry, img: logMgr.png, plugin: scaffolding] resource item initialization failed
13:38:51, 707 [localhost-startStop-1] [org. hibernate. assertionFailure] [ERROR]-an assertion failure occured (this may indicate a bug in Hibernate, but is more likely due to unsafe use of the session)
Org. hibernate. AssertionFailure: null id in accessResources. BtnAndMenu entry (don't flush the Session after an exception occurs)
At org. grails. datastore. gorm. GormStaticApi $ _ methodMissing_closure2.doCall (GormStaticApi. groovy: 101)
At test. ResourceBuilder $ _ btnConfigAnalyer_closure1.doCall (ResourceBuilder. groovy: 21)
At test. ResourceBuilder. btnConfigAnalyer (ResourceBuilder. groovy: 20)
At accessResources. BtnAndMenuService $ _ $ tt _ initFromController_closure5.doCall (BtnAndMenuService. groovy: 87)
At accessResources. BtnAndMenuService. $ tt _ initFromController (BtnAndMenuService. groovy: 83)
At RbacBootStrap $ _ closure1.doCall (RbacBootStrap. groovy: 13)
At grails. util. Environment. evaluateEnvironmentSpecificBlock (Environment. java: 308)
At grails.util.Environment.exe cuteForEnvironment (Environment. java: 301)
At grails.util.Environment.exe cuteForCurrentEnvironment (Environment. java: 277)
At java. util. concurrent. Executors $ RunnableAdapter. call (Executors. java: 471)
At java. util. concurrent. FutureTask. run (FutureTask. java: 262)
At java. util. concurrent. ThreadPoolExecutor. runWorker (ThreadPoolExecutor. java: 1145)
At java. util. concurrent. ThreadPoolExecutor $ Worker. run (ThreadPoolExecutor. java: 615)
At java. lang. Thread. run (Thread. java: 745)
13:38:51, 713 [localhost-startStop-1] [test. ResourceBuilder] [INFO]-null id in accessResources. BtnAndMenu entry (don't flush the Session after an exception occurs)
13:38:51, 717 [localhost-startStop-1] [org. hibernate. assertionFailure] [ERROR]-an assertion failure occured (this may indicate a bug in Hibernate, but is more likely due to unsafe use of the session)
Org. hibernate. AssertionFailure: null id in accessResources. BtnAndMenu entry (don't flush the Session after an exception occurs)
At org. grails. datastore. gorm. GormStaticApi $ _ methodMissing_closure2.doCall (GormStaticApi. groovy: 101)
At test. ResourceBuilder $ _ btnConfigAnalyer_closure1.doCall (ResourceBuilder. groovy: 21)
At test. ResourceBuilder. btnConfigAnalyer (ResourceBuilder. groovy: 20)
At accessResources. BtnAndMenuService $ _ $ tt _ initFromController_closure5.doCall (BtnAndMenuService. groovy: 87)
At accessResources. BtnAndMenuService. $ tt _ initFromController (BtnAndMenuService. groovy: 83)
At RbacBootStrap $ _ closure1.doCall (RbacBootStrap. groovy: 13)
At grails. util. Environment. evaluateEnvironmentSpecificBlock (Environment. java: 308)
At grails.util.Environment.exe cuteForEnvironment (Environment. java: 301)
At grails.util.Environment.exe cuteForCurrentEnvironment (Environment. java: 277)
At java. util. concurrent. Executors $ RunnableAdapter. call (Executors. java: 471)
At java. util. concurrent. FutureTask. run (FutureTask. java: 262)
At java. util. concurrent. ThreadPoolExecutor. runWorker (ThreadPoolExecutor. java: 1145)
At java. util. concurrent. ThreadPoolExecutor $ Worker. run (ThreadPoolExecutor. java: 615)
At java. lang. Thread. run (Thread. java: 745)
13:38:51, 719 [localhost-startStop-1] [test. ResourceBuilder] [INFO]-null id in accessResources. BtnAndMenu entry (don't flush the Session after an exception occurs)
13:38:51, 722 [localhost-startStop-1] [org. hibernate. assertionFailure] [ERROR]-an assertion failure occured (this may indicate a bug in Hibernate, but is more likely due to unsafe use of the session)
Org. hibernate. AssertionFailure: null id in accessResources. BtnAndMenu entry (don't flush the Session after an exception occurs)
At org. grails. datastore. gorm. GormStaticApi $ _ methodMissing_closure2.doCall (GormStaticApi. groovy: 101)
At test. ResourceBuilder $ _ btnConfigAnalyer_closure1.doCall (ResourceBuilder. groovy: 21)
At test. ResourceBuilder. btnConfigAnalyer (ResourceBuilder. groovy: 20)
At accessResources. BtnAndMenuService $ _ $ tt _ initFromController_closure5.doCall (BtnAndMenuService. groovy: 87)
At accessResources. BtnAndMenuService. $ tt _ initFromController (BtnAndMenuService. groovy: 83)
At RbacBootStrap $ _ closure1.doCall (RbacBootStrap. groovy: 13)
At grails. util. Environment. evaluateEnvironmentSpecificBlock (Environment. java: 308)
At grails.util.Environment.exe cuteForEnvironment (Environment. java: 301)
At grails.util.Environment.exe cuteForCurrentEnvironment (Environment. java: 277)
At java. util. concurrent. Executors $ RunnableAdapter. call (Executors. java: 471)
At java. util. concurrent. FutureTask. run (FutureTask. java: 262)
At java. util. concurrent. ThreadPoolExecutor. runWorker (ThreadPoolExecutor. java: 1145)
At java. util. concurrent. ThreadPoolExecutor $ Worker. run (ThreadPoolExecutor. java: 615)
At java. lang. Thread. run (Thread. java: 745)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.