-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Error SchemaUpdate: Unsuccessful create sequence
PostPosted: Tue Jan 29, 2008 11:14 pm 
Newbie

Joined: Wed Sep 19, 2007 11:30 pm
Posts: 12
Location: indonesia
Hi All, I'm developing a web application using hibernate, struts, spring, and velocity, and database PostgreSql 8.2

Everytime when starting the tomcat, I got these 2 lines of errors:
Code:
10:09:27,156 ERROR SchemaUpdate:155 - Unsuccessful: create sequence
10:09:27,156 ERROR SchemaUpdate:156 - ERROR: syntax error at end of input


what does that errors mean?? How can I fix it?
Anyway, the application runs well and I can ignore that errors, but I'm confusing if they can caused problems (someday).

Thanks in advance

_________________
An incredible programmer is worthier than a common programmer because of his/her ideas, not his/her codes.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 30, 2008 4:46 am 
Newbie

Joined: Wed Sep 19, 2007 11:30 pm
Posts: 12
Location: indonesia
I solved the problem. It's because in one of my hibernate hbm.xml file there is a class in which I forgot to put the sequence name (transaction_seq)

Code:
<id name="id" type="integer" column="transaction_id">
   <generator class="sequence">
      <param name="sequence">transaction_seq</param>
   </generator>
</id>

_________________
An incredible programmer is worthier than a common programmer because of his/her ideas, not his/her codes.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.