-->
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.  [ 3 posts ] 
Author Message
 Post subject: Hibernate3 and sequences
PostPosted: Sun Dec 19, 2004 10:21 pm 
Regular
Regular

Joined: Fri Mar 26, 2004 11:45 am
Posts: 75
I checked out and built Hibernate3 source. I am trying to use it with PostgreSQL 7.4.1. Every time I try to use seqhilo or native or sequence generator, I get the following error:
Caused by: org.hibernate.MappingException: Dialect does not support sequences
at org.hibernate.dialect.Dialect.getSequenceNextValString(Dialect.java:366)

It seems that this method just has one line, which throws an Exception. Should I create a JIRA issue?
Thanks.

Alec


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 19, 2004 10:26 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Looks like you havn't set your dialect to org.hibernate.dialect.PostgreSQLDialect.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 19, 2004 10:34 pm 
Regular
Regular

Joined: Fri Mar 26, 2004 11:45 am
Posts: 75
oops, my bad
the file generated by Hibernate Synchronizer was using old net.sf.hibernate.dialect.PostgreSQLDialect


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.