With appfuse-light, somewhere it is calling postgre specific method nextval
and i'm getting this error. I am surprized nobody else found it before me in
the mailing list because i searched for it. Anyway i would appreciate some
documentation on this for mysql users. 

Could not obtain sequence value; nested exception is
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: FUNCTION
appfuse_light.nextval does not exist

org.springframework.dao.DataAccessResourceFailureException: Could not obtain
sequence value; nested exception is
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: FUNCTION
appfuse_light.nextval does not existCaused by:
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: FUNCTION
appfuse_light.nextval does not exist at
com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936) at
com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2870) at
com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573) at
com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665) at
com.mysql.jdbc.Connection.execSQL(Connection.java:3170) at
com.mysql.jdbc.Connection.execSQL(Connection.java:3099) at
com.mysql.jdbc.Statement.executeQuery(Statement.java:1169) at
org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
at
org.springframework.jdbc.support.incrementer.AbstractSequenceMaxValueIncrementer.getNextKey(AbstractSequenceMaxValueIncrementer.java:46)
at
org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer.nextLongValue(AbstractDataFieldMaxValueIncrementer.java:102)
at org.appfuse.dao.ibatis.UserDaoiBatis.saveUser(UserDaoiBatis.java:43) at
org.appfuse.service.impl.UserManagerImpl.saveUser(UserManagerImpl.java:26)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:172)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139)
at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:203)
at $Proxy0.saveUser(Unknown Source) at
org.appfuse.web.UserFormTest.setUp(UserFormTest.java:24


appfuse_light.nextval 

mraible wrote:
> 
> AppFuse's full-source plugin doesn't support iBATIS or JPA yet - maybe
> that's the problem?
> 
> Have you tried AppFuse Light's version?
> 
> https://appfuse-light.dev.java.net/files/documents/6839/56629/appfuse-light-jsf-ibatis-1.8-beta.zip
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Error-with-appfuse%3Afull-source-tf4101432s2369.html#a11725375
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to