Beginner |
|
Joined: Thu Oct 14, 2004 5:07 am Posts: 37 Location: Cambridge, UK
|
2.1.7
<!-- <generator class="native"> <param name="sequence">OFFENCES_SEQ</param> </generator> -->
<generator class="sequence"> <param name="sequence">OFFENCES_SEQ</param> </generator>
Hi I have tried to do an insert using Oracle sequences and it is not working.
Using the generator class="sequence" I get:
[junit] Caused by: net.sf.hibernate.MappingException: Dialect does not suppo
rt sequences
[junit] at net.sf.hibernate.dialect.Dialect.getSequenceNextValString(Dia
lect.java:327)
[junit] at net.sf.hibernate.id.SequenceGenerator.configure(SequenceGener
ator.java:57)
[junit] at net.sf.hibernate.id.IdentifierGeneratorFactory.create(Identif
ierGeneratorFactory.java:78)
I have tried using OracleDialect and Oracle9Dialect...
Has anyone else come across this?
|
|