-
Defect
-
Resolution: Won't Do
-
Minor
-
1.3.0-M1
-
None
If a database administrator chooses to name a new role "user" and exception will occur due to "user" being a reserved word in postgres.
SEVERE: Exception sending context initialized event to listener instance
of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'datasetFactory' defined in class path resource
[sgf/gateway/model/model-context.xml]: Cannot resolve reference to bean
'defaultMetadataProfileStrategy' while setting constructor argument;
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'defaultMetadataProfileStrategy' defined in class path
resource [sgf/gateway/model/model-context.xml]: Cannot resolve reference
to bean 'hibernateMetadataDao' while setting constructor argument;
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'hibernateMetadataDao' defined in class path resource
[sgf/gateway/dao/metadata/impl/hibernate/metadata-dao-context.xml]:
Cannot resolve reference to bean 'hibernateSessionFactory' while setting
bean property 'sessionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'databaseInstaller' defined in class path resource
[sgf/gateway/dao/dao-context.xml]: Invocation of init method failed;
nested exception is java.lang.RuntimeException:
liquibase.exception.MigrationFailedException: Migration failed for
change set
classpath:liquibase/update-v2/changesets/20100407-SGF-1093.xml::20100407-SGF-1093::sgf:
Reason: liquibase.exception.DatabaseException: Error executing SQL
GRANT USAGE ON SCHEMA curator TO user: ERROR: syntax error at or near
"user":
Caused By: Error executing SQL GRANT USAGE ON SCHEMA curator
TO user: ERROR: syntax error at or near "user":
Caused By: ERROR: syntax error at or near "user"
SEVERE: Exception sending context initialized event to listener instance
of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'datasetFactory' defined in class path resource
[sgf/gateway/model/model-context.xml]: Cannot resolve reference to bean
'defaultMetadataProfileStrategy' while setting constructor argument;
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'defaultMetadataProfileStrategy' defined in class path
resource [sgf/gateway/model/model-context.xml]: Cannot resolve reference
to bean 'hibernateMetadataDao' while setting constructor argument;
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'hibernateMetadataDao' defined in class path resource
[sgf/gateway/dao/metadata/impl/hibernate/metadata-dao-context.xml]:
Cannot resolve reference to bean 'hibernateSessionFactory' while setting
bean property 'sessionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'databaseInstaller' defined in class path resource
[sgf/gateway/dao/dao-context.xml]: Invocation of init method failed;
nested exception is java.lang.RuntimeException:
liquibase.exception.MigrationFailedException: Migration failed for
change set
classpath:liquibase/update-v2/changesets/20100407-SGF-1093.xml::20100407-SGF-1093::sgf:
Reason: liquibase.exception.DatabaseException: Error executing SQL
GRANT USAGE ON SCHEMA curator TO user: ERROR: syntax error at or near
"user":
Caused By: Error executing SQL GRANT USAGE ON SCHEMA curator
TO user: ERROR: syntax error at or near "user":
Caused By: ERROR: syntax error at or near "user"