-->
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: Hibernate 4.2.7.SP1-redhat-3 and Oracle 12c
PostPosted: Thu Mar 06, 2014 5:13 pm 
Newbie

Joined: Thu Mar 06, 2014 4:09 pm
Posts: 3
Has anyone been able to use 12c's identity column with Hibernate? I'm unable to find a 12c dialect, and our implementation will simply not connect.

We’re moving from 11g to 12c – no 12c dialect - and even if I tell the objects to use:
@GeneratedValue(strategy=GenerationType.IDENTITY)

Hibernate throws an exception:
Caused by: java.lang.IllegalArgumentException: org.hibernate.dialect.Oracle10gDialect does not support identity key generation


Top
 Profile  
 
 Post subject: Re: Hibernate 4.2.7.SP1-redhat-3 and Oracle 12c
PostPosted: Thu Sep 24, 2015 4:15 pm 
Newbie

Joined: Thu Sep 24, 2015 4:08 pm
Posts: 2
Hibernate 5 added an Oracle12cDialect prior to that the latest was Oracle10 which didn't have Identity support


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.