org.hibernate.tool.hbm2ddl.ImportScriptException: Error during statement execution (file: '/config/bc/sql/load_admin_roles.sql'): INSERT INTO BLC_ADMIN_ROLE (ADMIN_ROLE_ID, DESCRIPTION, NAME, DATE_UPDATED) VALUES (-1,'Admin Master Access','ROLE_ADMIN', CURRENT_TIMESTAMP)

GitHub | hrcutrer | 5 months ago
  1. 0

    DATE_UPDATED

    GitHub | 5 months ago | hrcutrer
    org.hibernate.tool.hbm2ddl.ImportScriptException: Error during statement execution (file: '/config/bc/sql/load_admin_roles.sql'): INSERT INTO BLC_ADMIN_ROLE (ADMIN_ROLE_ID, DESCRIPTION, NAME, DATE_UPDATED) VALUES (-1,'Admin Master Access','ROLE_ADMIN', CURRENT_TIMESTAMP)
  2. 0

    add multiple columns into hsqldb table

    Stack Overflow | 3 years ago | Souad
    java.sql.SQLSyntaxErrorException: unexpected token: (
  3. 0

    load data from file into hsqldb

    Stack Overflow | 3 years ago | Souad
    java.sql.SQLSyntaxErrorException: unexpected token: LOAD
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Migrate from 3.6 to 4

    spagoworld.org | 11 months ago
    java.sql.SQLSyntaxErrorException: user lacks privilege or object not found: IS_PUBLIC
  6. 0

    Messages posted by bey2nd.spw

    spagoworld.org | 11 months ago
    java.sql.SQLSyntaxErrorException: user lacks privilege or object not found: IS_PUBLIC

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.sql.SQLSyntaxErrorException

      user lacks privilege or object not found: DATE_UPDATED

      at org.hsqldb.jdbc.JDBCUtil.sqlException()
    2. HSQLDB
      JDBCStatement.executeUpdate
      1. org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
      2. org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
      3. org.hsqldb.jdbc.JDBCStatement.fetchResult(Unknown Source)
      4. org.hsqldb.jdbc.JDBCStatement.executeUpdate(Unknown Source)
      4 frames
    3. Hibernate
      Configuration.buildSessionFactory
      1. org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
      2. org.hibernate.tool.hbm2ddl.SchemaExport.importScript(SchemaExport.java:446)
      3. org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:378)
      4. org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
      5. org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
      6. org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
      7. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1742)
      7 frames
    4. Hibernate EJB
      Ejb3Configuration.buildEntityManagerFactory
      1. org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:94)
      2. org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:905)
      3. org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:890)
      3 frames
    5. Spring ORM
      AbstractEntityManagerFactoryBean.afterPropertiesSet
      1. org.springframework.orm.jpa.vendor.SpringHibernateEjbPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateEjbPersistenceProvider.java:51)
      2. org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:343)
      3. org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:318)
      3 frames
    6. Spring Beans
      AbstractBeanFactory.getBean
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1631)
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1568)
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
      5. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
      6. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
      7. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
      8. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
      8 frames
    7. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:963)
      2. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:752)
      3. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
      3 frames
    8. Spring
      ContextLoaderListener.contextInitialized
      1. org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:434)
      2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
      3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
      3 frames
    9. BroadleafCommerce Common Libraries
      MergeContextLoader.contextInitialized
      1. org.broadleafcommerce.common.web.extensibility.MergeContextLoader.contextInitialized(MergeContextLoader.java:146)
      1 frame
    10. Glassfish Core
      ContainerBase$StartChild.call
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4715)
      2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5177)
      3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
      4. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1403)
      5. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1393)
      5 frames
    11. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames