Re: Issue 68 in sarasvati: Oracle Support

0 views
Skip to first unread message

sara...@googlecode.com

unread,
Nov 24, 2010, 4:33:54 PM11/24/10
to sarasvati...@googlegroups.com
Updates:
Summary: Oracle Support
Status: Fixed

Comment #3 on issue 68 by plorenz: Oracle Support
http://code.google.com/p/sarasvati/issues/detail?id=68

I've added the custom id generator and updated the oracle create scripts.
If you're interested, please check out trunk and see if it works for you. I
still need to double check that I haven't broken postgresql, but otherwise
I think this issue is resolved.

If you have any trouble let me know. I'm hoping I can do the testing and do
a release this weekend.

sara...@googlecode.com

unread,
Nov 24, 2010, 7:15:16 PM11/24/10
to sarasvati...@googlegroups.com

Comment #4 on issue 68 by yangyq: Oracle Support
http://code.google.com/p/sarasvati/issues/detail?id=68

Thanks for such a quick response! I'll check out the custom id generator

sara...@googlecode.com

unread,
Jul 24, 2011, 12:29:09 AM7/24/11
to sarasvati...@googlegroups.com
Updates:
Status: Accepted

Comment #5 on issue 68 by plor...@gmail.com: Oracle Support
http://code.google.com/p/sarasvati/issues/detail?id=68

Reopening. Code broke postgres, will need to investigate how to handle both.

sara...@googlecode.com

unread,
Jul 24, 2011, 12:33:10 AM7/24/11
to sarasvati...@googlegroups.com
Updates:
Labels: -Milestone-1.0.4 Milestone-1.0.5

Comment #6 on issue 68 by plor...@gmail.com: Oracle Support
http://code.google.com/p/sarasvati/issues/detail?id=68

(No comment was entered for this change.)

sara...@googlecode.com

unread,
Sep 21, 2011, 9:59:49 PM9/21/11
to sarasvati...@googlegroups.com
Updates:
Labels: -Milestone-1.0.5 Milestone-1.0.6

Comment #7 on issue 68 by plor...@gmail.com: Oracle Support

sara...@googlecode.com

unread,
Oct 17, 2012, 9:50:21 PM10/17/12
to sarasvati...@googlegroups.com
Updates:
Status: Fixed
Owner: plor...@gmail.com

Comment #8 on issue 68 by plor...@gmail.com: Oracle Support
http://code.google.com/p/sarasvati/issues/detail?id=68

Fix with some patches from Massimo Manfredino. Unfortunately requires some
non-backwards compatible changes to the postgresql schema (which could be
handled with a migration script).

sara...@googlecode.com

unread,
Oct 20, 2012, 10:57:42 PM10/20/12
to sarasvati...@googlegroups.com
Updates:
Labels: -Milestone-1.0.6 Milestone-1.1.0

Comment #9 on issue 68 by plor...@gmail.com: Oracle Support
http://code.google.com/p/sarasvati/issues/detail?id=68

sara...@googlecode.com

unread,
Nov 1, 2012, 7:23:31 AM11/1/12
to sarasvati...@googlegroups.com

Comment #10 on issue 68 by hjlvande...@gmail.com: Oracle Support
http://code.google.com/p/sarasvati/issues/detail?id=68

We are trying to make Sarasvati work with Oracle and run into the same
problem:

Exception in thread "main" org.hibernate.MappingException: Dialect does not
support identity key generation

I have checked out the trunk, but cannot find the fix for Oracle this
thread talks about. How can we make Sarasvati run with Oracle?

Paul Lorenz

unread,
Nov 1, 2012, 1:54:37 PM11/1/12
to sarasvati...@googlegroups.com
The fix was to switch the @Id annotations on the entity classes. 


The deltas are all similar to:

40 public class HibArc implements Arc
40 41{
4142 @Id
42 - @GeneratedValue(strategy=GenerationType.IDENTITY)
43 + @GeneratedValue(strategy=GenerationType.AUTO, generator="sequence_generator")
44 + @SequenceGenerator(name="sequence_generator", sequenceName="wf_arc_seq")

Have you tried running with trunk, and seen the same error?

Cheers,
Paul

--
You received this message because you are subscribed to the Google Groups "sarasvati-wf-issues" group.
To post to this group, send email to sarasvati-wf-issues@googlegroups.com.
To unsubscribe from this group, send email to sarasvati-wf-issues+unsub...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sarasvati-wf-issues?hl=en.


sara...@googlecode.com

unread,
Dec 2, 2012, 2:33:50 PM12/2/12
to sarasvati...@googlegroups.com
Updates:
Status: Released
Labels: -Milestone-1.1.0 Milestone-2.0.0

Comment #11 on issue 68 by plor...@gmail.com: Oracle Support
Reply all
Reply to author
Forward
0 new messages