#399 ✓closed
John Wright

DB cannot migrate from 9 to 10 on Oracle

Reported by John Wright | October 25th, 2011 @ 02:52 PM | in 1.0 (closed)

When running ReviseUrlLengthMigrationStep, Oracle flags the following error:

java.sql.SQLSyntaxErrorException: ORA-01735: invalid ALTER TABLE option

Oracle's native syntax for this migration step would be:

alter table endpoint modify ( scan_url varchar2(1024 char) );
alter table endpoint modify ( content_retrieval_url varchar2(1024 char) );
alter table endpoint modify ( version_generation_url varchar2(1024 char) );
alter table endpoint modify ( inbound_url varchar2(1024 char) );

N.B. if you leave the "char" keyword off, it defaults to "byte" (i.e. usually not what you want.)

If Hibernate can't handle this, BNF and railroad diagrams are available here: http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/stat...

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A Real Time Differencing Tool.

Shared Ticket Bins

People watching this ticket

Referenced by

Pages