Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete comments doesn't work with PostgreSQL #169

Closed
MPriess opened this issue Nov 5, 2013 · 0 comments
Closed

Delete comments doesn't work with PostgreSQL #169

MPriess opened this issue Nov 5, 2013 · 0 comments

Comments

@MPriess
Copy link

MPriess commented Nov 5, 2013

Hi,

if I try to delete a comment I get the exception below. Actually I'm using Activiti 5.13, PostgreSQL 9.2 and postgresql_9.2-1002.jdbc4 as driver.

org.apache.ibatis.exceptions.PersistenceException:
### Error querying database.  Cause: org.postgresql.util.PSQLException: Unzulõssiger Wert f³r den Typ long : \x48616c6c6f.
### The error may exist in org/activiti/db/mapping/entity/Comment.xml
### The error may involve org.activiti.engine.impl.persistence.entity.CommentEntity.selectComment-Inline
### The error occurred while setting parameters
### SQL: select *      from ACT_HI_COMMENT      where ID_ = ?
### Cause: org.postgresql.util.PSQLException: Unzulõssiger Wert f³r den Typ long : \x48616c6c6f.
        at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:23)[138:org.mybatis.mybatis:3.2.2]
        at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:107)[138:org.mybatis.mybatis:3.2.2]
        at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:98)[138:org.mybatis.mybatis:3.2.2]
        at org.apache.ibatis.session.defaults.DefaultSqlSession.selectOne(DefaultSqlSession.java:62)[138:org.mybatis.mybatis:3.2.2]
        at org.activiti.engine.impl.db.DbSqlSession.selectById(DbSqlSession.java:306)[141:org.activiti.engine:5.13.0]
        at org.activiti.engine.impl.persistence.entity.CommentEntityManager.findComment(CommentEntityManager.java:64)[141:org.activiti.engine:5.13.0]
        at org.activiti.engine.impl.cmd.DeleteCommentCmd.execute(DeleteCommentCmd.java:46)[141:org.activiti.engine:5.13.0]
        at org.activiti.engine.impl.cmd.DeleteCommentCmd.execute(DeleteCommentCmd.java:28)[141:org.activiti.engine:5.13.0]
        at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)[141:org.activiti.engine:5.13.0]
        at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:61)[141:org.activiti.engine:5.13.0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants