This one time, at band camp, Bruce Snyder said:
BS>This one time, at band camp, michael simons said:
BS>
BS>ms>No, the resulting error message is "Missing constant".
BS>ms>I changed the statement a little so it ran successfully, so I can tell
BS>ms>what's the bug:
BS>ms>SAP DB does not accept the quotes (") around the nextval function call
BS>ms>This way it worked:
BS>ms>INSERT INTO "PRODUCT_GROUP" ("ID", "NAME") VALUES
BS>ms>("PRODUCT_GROUP_SEQ".nextval, 'test')
BS>ms>
BS>ms>So this is a bug, isn't it?
BS>
BS>Michael,
BS>
BS>This appears to be a bug in GenericFactory#doubleQuoteName(). Castor
BS>has a few spots in the code where special cases have been built for
BS>SAPDb. Evidently this is another one. Because this appears to be a very
BS>simple fix, I'll file a bug on it and fix is as soon as I can (hopefully
BS>late tonight).
Michael,
I've got a fix for quoting. However, rather than just use this fix for the
nextval function, I'd like to get a list of functions for SAP DB. My problem
is that I've searched a bit for such a list and I'm not finding one. Do you
know where I might find such a thing?
Bruce
--
perl -e 'print unpack("u30","<0G)[EMAIL PROTECTED]&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev