-->
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: JRun 4 Dialect
PostPosted: Mon Nov 03, 2003 2:55 pm 
Newbie

Joined: Wed Oct 15, 2003 3:20 pm
Posts: 9
Location: Montreal
Hi, I am testing on JRun4 application server with hibernate jrun4 jndi dialect
hibernate.dialect = net.sf.hibernate.transaction.JRun4TransactionManagerLookup

I am connecting to a oracle database with sequences but it seems the dialect doesnt support sequences.
net.sf.hibernate.MappingException: Dialect does not support sequences
at net.sf.hibernate.dialect.Dialect.getSequenceNextValString(Dialect.java:242)

Is it possible to use something else so I can use sequences with JRun.
Thanks


Top
 Profile  
 
 Post subject: What?
PostPosted: Mon Nov 03, 2003 3:21 pm 
Senior
Senior

Joined: Sun Aug 31, 2003 3:14 pm
Posts: 151
Location: Earth (at the moment)
I don't think the Transaction class is a dialect...

I'm using JRun4 with SQL Server and I'm using the dialect specified in the Hibernate documentation which can be found in the example properties file.

The transaction class goes with the line:
Code:
hibernate.transaction.factory_class


The dialect for Oracle should be set to:
Code:
net.sf.hibernate.dialect.Oracle9Dialect

not JRun's transaction lookup


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.