|
|
|
Would it be possible to store the files as lob in the database, instead of varchar2?
Pierre,
It's possible, but I think the problem with LOBs was that the code becomes unportable across different databases. We'll have to investigate. You solved the problem with comment fields being too big. Isn't that code resuable here?
As far as I know, the comment field is still limited to 4000 characters in Oracle?
Something else that may be (somewhat helpful)... Another bug (feature?) in JIRA allows one to build workflows in an Oracle database and export the XML, even if the WF is larger than 4000 characters.
When you exceed the 4000 char limit, you may notice that returning to your Steps page for your workflow, the item you just added is displayed – as if the data was stored somewhere. So, basically, the cache is out of sync w/ the database. Usually, this is a bad thing, but it can help in this case. Keep editing your workflow and ignoring the error messages, periodically exporting the workflow to XML as you go. As long as the server doesn't get restarted, you can keep working and building your workflow. Of course, all future modifications must occur directly in the XML, but you can at least get started. I think we've (at least some helpful users) have found a solution to this - the Oracle 10g driver has an option to allow varchars to be stored as CLOBs (without Oracle-specific code). See:
http://jira.atlassian.com/browse/JRA-5297?page=comments#action_28039 I was reading the Confluence page on this issue: http://confluence.atlassian.com/display/JIRA/Large+text+fields+in+Oracle
It said that the file atlassian-jira/WEB-INF/classes/entitydefs/fieldtype-oracle.xml had been updated since V3.2 so that the problematice lines read: <field-type-def type="very-long" sql-type="CLOB" java-type="String"></field-type-def> But my copy of this file still show them described as VARCHAR2(4000). And my copy of fieldtype-oracle10g.xml shows that the datatype "very-long" is still VARCHAR2(4000). I hope this helps! Hi Stew,
If you are still having a problem getting JIRA (version??) to work with Oracle (version??). Please post an issue at https://support.atlassian.com Regards, |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
http://confluence.atlassian.com/display/JIRA/JIRA+3+workflows+in+Oracle