Does anyone has experience for changing postgreSQL to oracle database for confluence?
I exported .xml file in confluence with postgreSQL database and imported to the same version confluence but with empty database (oracle), the import failed with error:
Caused by: java.sql.SQLException: ORA-12899: value too large for column "CONFUSER"."ATTACHMENTS"."ATTACHMENT_COMMENT" (actual: 259, maximum: 255)
I checked the data in postgreSQL database, the comment do have 255 characters, but why it became 259 characters in Oracle?
I ran the following SQL and returned is UTF8:
SELECT pg_encoding_to_char(encoding) FROM pg_database WHERE datname = 'confluence';
The new oracle database is using UTF8 encoding.
Anyone can help? Thanks
It is possible that certain special characters in the comment take up more than 1 value, causing the total value to go over the maximum of 255. Please have a look at this page to see if it contains any useful information for you.
Thanks, Mick. The cause of the problem is more than that, some of the special characters have to be changed OR the value of the comment fields need to be shorten.
Hope this information help others.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.