Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Coderanch by Peter Song, 1 year ago
could not fetch initial value for increment generator
via Coderanch by manu chaox, 1 year ago
could not fetch initial value for increment generator
via Stack Overflow by Olzhas
, 2 years ago
could not fetch initial value for increment generator
via hibernate.org by Unknown author, 1 year ago
via blogjava.net by Unknown author, 2 years ago
could not fetch initial value for increment generator
java.sql.SQLException: Object 'PetInfo' is futile。	at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:368)	at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2816)	at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2254)	at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:631)	at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQLQuery(JtdsStatement.java:477)	at net.sourceforge.jtds.jdbc.JtdsPreparedStatement.executeQuery(JtdsPreparedStatement.java:777)	at org.hibernate.id.IncrementGenerator.getNext(IncrementGenerator.java:85)	at org.hibernate.id.IncrementGenerator.generate(IncrementGenerator.java:44)	at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:91)	at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:186)	at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:33)	at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:175)	at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:27)	at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)	at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:530)	at org.hibernate.impl.SessionImpl.save(SessionImpl.java:518)	at org.hibernate.impl.SessionImpl.save(SessionImpl.java:514)	at com.lovo.epet.dao.impl.PetInfo.insertPet(PetInfo.java:45)	at com.lovo.epet.service.impl.AddPet.addPetInfo(AddPet.java:22)	at com.lovo.epet.struts.action.RegisterAction.execute(RegisterAction.java:57)	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)	at java.lang.Thread.run(Thread.java:619)