//issues.apache.org/jira/browse/DERBY-4437
Hope this helps,
-Rick
On 7/8/11 12:59 PM, Ryan McFall wrote:
>From what I can see in the Derby documentation, it's not possible to
specify the value of a sequence as the default value for a column. Is my
reading of this correct?
I've seen
to modify the value of a column with a
sequence value if the value is not specified. This seems like it's more
work than it should be; specifying it as a default in the table definition
makes much more sense to me.
Thanks for any insights you have,
Ryan
--
Ryan McFall
Associate Professor o
Knut:
Thanks for the reply. I think you are correct; it's unfortunate that
Hibernate hasn't fixed this problem in their implementation of DerbyDialect,
but it was simple enough to sub-class theirs and implement the correct logic
for supportsSequences.
Ryan
--
Ryan McFall
Associate
k
it might have something to do with the JAR files I have on my classpath,
based on a comment in the derby sources, but I don't see anything amiss. I
have derbyclient on the classpath, and I'm pretty sure the driver is version
10.7.
Ryan
--
Ryan McFall
Associate Professor of Computer Sci