Advise on ClassIndicator, using an integer

Hi all,
the default ClassIndicator is in-class-name which generate a jdoclass column
with the entire classname string in it. If this would be an integer field,
it would not only save quite some storage space, but I assume would also be
better in performance. My questions:
- Does anyone have experience with this and if so, is there a noticable
performance increase?
- If I would use the Metadata Value Indicator, does this mean that I need to
mannually add an in integer column to each class in the .mapping file and
specificy the integer value for each class in the .jdo file, next to summing
up all classes in the kodo.PersistenceClassList?
- The manual writes about a custom class indicator. It mentions an example
in the ormmapping directory, but I cant really find this. Would it be
difficult to write an indicator that uses integers and works just like the
in-class-name indicator, so without manual intervention. I assume it would
be best to subclass InClassNameClassIndicator where I maintain a map of
class to integers?
kind regards,
Christiaan

Hi Dave,
I succeeded in creating an IntegerClassIndicator which was actually pretty
easy to do. Thanks for the info!
"Dave" <[email protected]> wrote in message
news:[email protected]...
Hi Christiaan,
I agree, it would be good to have a class extension that allows one to
specify the column name for metadata-value class indicators. I've
entered your suggestion as a feature request in Bugzilla at
http://bugzilla.solarmetric.com/show_bug.cgi?id=1232
As to the performance concern, I would not worry too much about it,
unless you have metrics that indicate that it is a problem. The
DataCache can boost performance a great deal (assuming that you use
optimistic transactions). Any hit that you take from overly long keys
is not likely to be significant.
As a rule of thumb, try to avoid early optimization unless you're
implementing a low cost, high probability optimization, a.k.a. "a best
practice."
Best wishes,
David
On Wed, 30 Nov 2005 10:48:01 +0100, "Christiaan" <[email protected]>
wrote:
Thanks for the answer Dave. I am actually not really keen on explicitly
tweaking the Mapping file, I'd rather have this entirely generated by
kodo.
I also noticed that the DataCache used the same combination of classname +
'' - " + id as a key for identifying objects, which is a pretty huge
string
which doesnt make it really performant in a HashMap. Do you know if these
two are related? So if I change the indicator to integer, the DataCache
will
use that same integer as a key.
Btw, do you know of any example of implementing a custom ClassIndicator?
"Dave" <[email protected]> wrote in message
news:[email protected]...
Hi Christiaan,
First of all, you can specify "none" as the jdbc-class-ind-name value
for any classes that are not part of an inheritance tree of data
classes. The indicator is only needed when the information loaded
from the database comes from a table (or tables) that store state for
more than one class. You can't get any faster than not having it at
all!
Second, if you use the MetaData indicator (value for
"jdbc-class-ind-name" is "metadata-value"), then you specify in the
mapping file the column in the db table that will have the indicator
constant. This works very much like the in-class-name indicator,
except that you associate a name (of your choosing) with the class in
the metadata, and you have to explicitly tweak your mapping file. See
the example in the doc at
http://www.solarmetric.com/Software/Documentation/latest/docs/ref_guide_mapping_classind.html#metadata-value
Hope this helps,
David Ezzio
If you use the Meta
On Fri, 25 Nov 2005 15:05:00 +0100, "Christiaan" <[email protected]>
wrote:
Hi all,
the default ClassIndicator is in-class-name which generate a jdoclass
column
with the entire classname string in it. If this would be an integer
field,
it would not only save quite some storage space, but I assume would also
be
better in performance. My questions:
- Does anyone have experience with this and if so, is there a noticable
performance increase?
- If I would use the Metadata Value Indicator, does this mean that I
need
to
mannually add an in integer column to each class in the .mapping file
and
specificy the integer value for each class in the .jdo file, next to
summing
up all classes in the kodo.PersistenceClassList?
- The manual writes about a custom class indicator. It mentions an
example
in the ormmapping directory, but I cant really find this. Would it be
difficult to write an indicator that uses integers and works just like
the
in-class-name indicator, so without manual intervention. I assume it
would
be best to subclass InClassNameClassIndicator where I maintain a map of
class to integers?
kind regards,
Christiaan

Similar Messages

  • Need advise : Risks of using  materialized views

    Hi -
    I need some advise on whether using a materilzied view can help in teh folloiwng scenario.
    Scenario : You have a large tables which has sy 60 million rows, This is a demand management application which accesses this data at various aggregate levels (It is not using any OLAP functionality). The worksheets that is used to display the data takes up hours to execute on.
    To solve teh above scenario I created partitions on the base table say by time and the on top I created some materialized views. This gave me tremendoud gain in performance for the worksheets.
    Question is : Will Materialzied views help in situations say where the user changes the data in the worksheet and another user tries to query the changes will the materialized view be able to show the changes or do I need enforce a fast refresh. all the standard option of enabling query rewrite and fast refresh are enabled. The parameter for query_rewrite_integrity is set to Trusted.
    Please advise what could be teh pitfalls in managing such huge data where some of it changes infrequently.

    Hi Arch,
    Will Materialzied views help in situations say where the user changes the data in the worksheet and another user tries to query the changes will the materialized view be able to show the changes or do I need enforce a fast refresh.That depends on your "stale tolerance":
    http://www.dba-oracle.com/t_materialized_view_fast_refresh_performance.htm
    pitfalls in managing such huge data where some of it changes infrequently. If it does not change frequently, then it's just a matter of extra disk space for the materializations. I have more notes here:
    http://www.dba-oracle.com/t_finding_materialized_view_contents.htm
    Hope this helps. . .
    Don Burleson
    Oracle Press author
    Author of “Oracle Tuning: The Definitive Reference”
    http://www.dba-oracle.com/bp/s_oracle_tuning_book.htm

  • I have a 2009 13"MacBook pro running on OS X 10.6.8.  How do I know whether this is leopard or mountain? What would you advise that I use as I need to be running OS X 10.7?  All help appreciated.  Thank you.

    I have a 2009 13"MacBook pro running on OS X 10.6.8. 
    How do I know whether this is leopard or mountain?
    What would you advise that I use as I need to be running OS X 10.7? 
    Also can you advise how I upgrade please?
    All help appreciated.  Thank you.

    Thank you for your response Niel.
    I do run Microsoft Office 2011 - will Snow Leopard support this?
    Finally why snow leopard and not mountain lion?

  • Express Lane advised that I use the Install Disc to fix a problem.  I inserted the disc, pressed C as advised and restarted, nothing comes up, the computer just goes on and off - any advise on starting the laptop and getting the disc out?

    Stuck in restart mode -- Express Lane advised that I use the Install Disc to fix a problem.  I inserted the disc, pressed C as advised and restarted, nothing comes up, the computer just goes on and off - any advise on starting the laptop and getting the disc out?

    You insert the disk and restart while holding down the 'c' key until you see the apple and spinning cog. Is that precisely what you did?

  • I have the key for office home and business, can anyone advise how to use it to install office on mac

    I have the key for office home and business, can anyone advise how to use it to install office on mac

    Install the software. The first time you use it you will be prompted to enter your key.

  • Multiple line item display for PAYMENT ADVISE form(script) using F110 tcode

    Dear All,
    I am currently working on PAYMENT ADVISE script ( form ) - for which i have copied the
    form F110_IN_AVIS to zform.
    I am executing the form for output through executing Tcode - F110.
    The output works for single line item entry of vendor line items - but doesnot support
    for muliple line items.
    I have checked the standard program - RFFOUS_C - which has include - RFFORI06 for remittance advice -which supports for single line item display.
    Kindly advise me for the soultion of the same.
    Regards
    HC

    Hi,
    Do you manage to fix it ?
    we experienced the same problems (mass printing smarforms F110), we would like to use one time F110, and generates all the spool, for all the line items.
    Thanks
    Any help would be grateful.
    Thomas

  • Numeric overflow error using binary integer

    Hi experts,
    I am facing issue while solving a numeric overflow error. after analyzing we came to know that in the below code BINARY_INTEGER is causing the issue as input is exceeding its range. I tried to replace BINARY_INTEGER by varchar2(20) but its saying
    "Error(580,20): PLS-00657: Implementation restriction: bulk SQL with associative arrays with VARCHAR2 key is not supported."
    We need to remove this binary_integer. I dont know how to do this. Can anybody give some idea or what code change required here ? thanks in advance. Cheers.. Below is the code,
    ===================================================
       PROCEDURE UpdateCost_
          p_Cost_typ IN OUT NOCOPY CM_t,
       IS
          TYPE ObjektIdTab_itabt IS TABLE OF ObjektId_tabt INDEX BY BINARY_INTEGER;
          v_cost_IdTab_itab ObjektIdTab_itabt;
          v_CM_ID INTEGER := p_Cost_typ.costm.CM_ID;
          BEGIN
                SELECT CAST(MULTISET
                        (SELECT Costwps.CMKostId
                          FROM CM_Pos_r NRPos,
                                CMK_z_r costzpps,
                                CMG_Cost_v Costwps
                          WHERE NRPos.CM_ID = v_CM_ID
                            AND NRPos.SNRId_G = SNRCT.SNRPos.SNRId_G
                            AND costzpps.CM_ID = NRPos.CM_ID
                            AND costzpps.CMSNRPosId = NRPos.CMSNRPosId
                            AND costzpps.Kost_s = Kost.Costnzl.Kost_s
                            AND Costwps.CMKz_Id = costzpps.CMKz_Id
                            AND Costwps.TypCode NOT IN
                                (SELECT kw.TypCode
                                   FROM TABLE(Kost.Kostwt_tab) kw
                        ) AS ObjektId_tabt )
                  BULK COLLECT
                  INTO v_cost_IdTab_itab
                  FROM TABLE(p_Cost_typ.SNR_tab) SNRCT,
                       TABLE(SNRCT.Kost_tab) Kost
             FOR v_i IN 1 .. v_cost_IdTab_itab.COUNT LOOP
                FOR v_j IN 1 .. v_cost_IdTab_itab(v_i).COUNT LOOP
                   DELETE FROM CMG_Cost_v WHERE CMKostId = v_cost_IdTab_itab(v_i)(v_j);
                END LOOP;
             END LOOP;
    END;
    ===================================================

    Thanks for your reply. I tried with INDEX by NUMBER. but oracle says its not a valid use of index by thing. and moreover I also tried with by removing INDEX BY clause. but in that case we are not at all getting any data in for loop. some people says to use extend clause. But again I am not sure How to do so. Can you please let me know code for this.
    I know you are trying to help by you need to STOP telling us what problem you have and SHOW US. Saying 'Oracle says' is useless. Post EXACTLY what code you are using, the EXACT steps you are using to compile that code and the EXACT result that you are getting.
    You also made no comment about the 'overflow' issue. A BINARY_INTEGER (PLS_INTEGER) has a very large range of values:
    http://docs.oracle.com/cd/E11882_01/appdev.112/e25519/datatypes.htm#i10726
    >
    The PLS_INTEGER data type stores signed integers in the range -2,147,483,648 through 2,147,483,647, represented in 32 bits.
    >
    If you are trying to create a collection of more than 2 BILLION of anything you have a serious problem with either WHAT you are trying to do or HOW you are trying to do it. Your 'overflow' issue is more likely a symptom that you are really running out of memory. You should ALWAYS have a LIMIT clause when you do BULK COLLECT statements.
    Also see this section in that doc: SIMPLE_INTEGER Subtype of PLS_INTEGER
    You need to address your LIMIT issue first and then address any other issues that arise from actually executing the code.
    Then see the section 'SELECT INTO Statement with BULK COLLECT Clause' in that doc
    http://docs.oracle.com/cd/E11882_01/appdev.112/e25519/tuning.htm#BABEIACI
    That section has an example that shows you do NOT need to use an INDEX BY clause to create collections as you are trying to do. So your not 'getting any data in for loop' is NOT related to the lack of that clause.
    That example also shows you that you do NOT use 'extends' when doing BULK COLLECT. The bulk collection automatically extends the collection as needed to hold the entire results (assuming you don't run out of memory for 2 BILLION things).
    Example 12-22 in that same doc shows the proper way to use a double loop and a BULK COLLECT with a LIMIT clause
    http://docs.oracle.com/cd/E11882_01/appdev.112/e25519/tuning.htm#BABCCJCB
    Here is very simple sample code you can use in the SCOTT schema to understand how the double loop and LIMIT clauses work together.
    >
    The FETCH does a BULK COLLECT of all data into 'v'. It will either get all the data or none if there isn't any.
    The LOOP construct would be used when you have a LIMIT clause so that Oracle would 'loop' back to
    get the next set of records. Run this example in the SCOTT schema and you will see how the LIMIT clause works.
    I have 14 records in my EMP table.
    DECLARE
      CURSOR c1 IS (SELECT * FROM emp);
      TYPE typ_tbl IS TABLE OF c1%rowtype;
      v typ_tbl;
    BEGIN
      OPEN c1;
      LOOP                                                 --Loop added
        FETCH c1 BULK COLLECT INTO v LIMIT 3; -- process 3 records at a time
            -- process the first 3 max records
           DBMS_OUTPUT.PUT_LINE('Processing ' || v.COUNT || ' records.');
            FOR i IN v.first..v.last LOOP
                DBMS_OUTPUT.PUT_LINE(v(i).empno);
            END LOOP; 
        EXIT WHEN c1%NOTFOUND;
      END LOOP;
      DBMS_OUTPUT.PUT_LINE('All done');
    END;
    In the FOR loop you would do any processing of the nested table you want to do
    and could use a FORALL to do an INSERT into another table.
    >
    I strongly suggest that you modify your code to work with a VERY SMALL set of data until it works properly. Then expand it to work with all of the data needed, preferably by using an appropriate LIMIT clause of no more than 1000.

  • SQL Loader Control File use of integer(n)

    Dear Gentlemen,
    I have an "ascii" file where some fields are binary of 2, 4 and 8 bytes. This file has to be loaded to oracle (8.1.7) Table using SQL Loader. According to SQL Loader documentation, for this case I must use as a field type: integer(n), where in my particular environment (Intel Windows), n may be 2, 4 or 8 according to the length of the field. Although I do not need to specify for integer(4); but, for integer(2) and integer(8), I need to specify it to get the rigth values. In the case of integer(2), it can be replaced by smallint; however for integer(8), I have to specify the number (8), and this form is not accepted as a sintactically correct statement by SQL Loader. Therefore I cannot load the correct data.
    Could you please give some advice?.
    Best regards,
    Julio Porcel.

    Hi!
    If it's not possible to implement through control file, load your data into some temporary table and then use power of SQL to do whatever you want with them.
    Regards,
    Andrew Velitchko
    BrainBench MVP for Developer/2000
    http://www.brainbench.com

  • Using BIG Integer in java

    I am trying to get the first byte from the Big integer and set
    the bits(0-127) on that byte, Can someone throw some ideas how can i do this.
    How should i define my bit array?

    Use testBit, setBit, and clearBit. Maybe you can also use toByteArray.

  • How can I use large Integer?

    I want to use a large integer with 20 or more digits. Can anyone help me? It must be something in java about big integers. Thanks!

    [java.math.BigInteger|http://java.sun.com/javase/6/docs/api/java/math/BigInteger.html]

  • TS3276 Why would Apple be advising people to use Mavericks at all?

    Since downgrading to 10.9.1, none of my email address work with Mail. Gmail won't send most of the time, or won't send Files at all, and copies everything I type a bazillion times, cloggin my Drafts, Outgoing Mails boxes.
    I found nothing on the perky Apple support pages that addresses these problems, which ostensibly nearly everyone with Mavericks who uses Mail, is having.

    To piggy back Barry, I do use Gmail as my primary personal account and I've had no problems with Gmail and Apple's Mail program since the update to 10.9.1
    Your problem with drafts may be due to your configuration. Select Preferences, choose your email account and then the Mailbox Behaviors tab. Click off the option to store drafts on the server. The only reason you'd want that feature is if you use more than once computer with that Gmail account. There is a problem with this feature but whether with some servers though I've not noticed that it affects Gmail and I'm not sure that it is Mail's fault since, as I said, I don't have this problem with Gmail and Mail.

  • I Need Some Prep Advise For Installing/Using a Wacom Bamboo-CS4

    Hi,
         I am getting a Wacom Bamboo. My first tablet, I would like to hear suggestions on what to do to get ready settings wise in CS4 and Vista x64 HP.
         I have searched and read lots on it and see there can be some difficulties.
         So far I see in control panel/pen & input devices, it has been suggested to untick everything in there and rely on Wacoms drivers. Does this sound right?
         How about in CS4?
         I am a semi pro photographer and not really deep into CS4 experience wise but will use the tablet to brush masks and use the lasso tool for starters.
         Anything you guys can toss at me to help me have a less buggy tablet install would be great.
    Thanks

    Just go ahead and install it. The instructions are pretty clear.
    Reports of problems relate to the more advanced functions of the more sophisticated Wacoms.
    The only general problem is having the pen too near the tablet when the mouse is in use and vice versa.  This can stop the painting tools from working.

  • Use a variable for the integer in Fmt offset modifier

    I'm trying to pluck values out of a long array of comma separated string
    values.
    I'm doing this within a loop and would like to use the loop interation to
    point to the starting point in the array.
    Here's what I have working so far:
    Fmt (scratch,"%s<%s[i0t44]",transmitBuf);
    Works great.
    Now if I go in and change i0 to i3 then my modifier doesn't start looking
    for a comma "," until after the 3rd character. Still working great. However....
    If I try to use an integer called "loop" instead of the literal offset
    value it blows up:
    Fmt (scratch,"%s<%s[iloopt44]",transmitBuf);
    Is there a way that I can use a variable for the integer portion of the
    offset modifer?
    Thanks All!

    Hi Roberto
    Thank you. I actually need to use a symbolic value for the interger section of the modifer vs. the specifier.
    So, in my example:
    Fmt (scratch,"%s<%s[i0t44]",transmitBuf); 
    I want to make the following substitution (Assume z=0)
    Fmt (scratch,"%s<%s[izt44]",transmitBuf);
    Some background...
    I'm looking to loop index through a long CSV string array (transmitBuf) that looks like this:
    1,PEEP,7,6,,,21,20,
    So on my first loop when I use the following:
    Fmt (scratch,"%s<%s[i0t44]",transmitBuf); 
    scratch = "1"
    ... Perfect. I now do a string length of scratch (which equals 1)
    and add 1 to it, I'm ready for my next loop which would
    literally read like this:
    Fmt (scratch,"%s<%s[i2t44]",transmitBuf); 
    However, I want to put this inside a loop, so I would like to
    increment a variable (++z) and use the following:
    Fmt (scratch,"%s<%s[izt44]",transmitBuf); ---- Ka-Boom!
    So it's the use of the variable in the modifer that blows up
    the Fmt command.
    appreciate any thoughts...
    Thanks
    Mark

  • Possible to use stored procedure to fill excel template?

    Hi,
    I want to fill a defined named range in an Excel file with a matrix of values from a stored procedure in Oracle. Is this possible?
    Today from our ASP.NET client we ask an oracle database for resultset and then rearrange and work with the resultset and print the final resultset to defined named ranges in an Excel file with the OLEDB provider. We repeatingly execute a SQL statement like "INSERT INTO [DATA_RANGE1] VALUES ('var1','var2','var3');" and for each sql statement a new row is inserted in excel file in the defined named range "DATA_RANGE1". This works fine, but is VERY time consuming!
    It would be nice writing all insert statements in one call to the excel file instead of repeatingly call the excel file.
    If I try to use sql statements separated with ";", like "INSERT INTO [DATA_RANGE1] VALUES ('var1','var2','var3'); INSERT INTO [DATA_RANGE1] VALUES ('var1','var2','var3');" in one query from the ASP.NET client I get System.Data.Oledb.OledbException "Characters found after end of SQL statement".
    Today the connectionstring look like
    _connectionExcel = NewSystem.Data.OleDb.OleDbConnection ("Provider=Microsoft.ACE.OLEDB.12.0; Data Source="+ "'" & strFullPathAndName & "';Extended Properties=Excel 12.0 Macro;")
    for Excel 2010 files and
    _connectionExcel = NewSystem.Data.OleDb.OleDbConnection ("Provider=Microsoft.Jet.OLEDB.4.0;Data Source="+ "'" & strFullPathAndName & "';Extended Properties=Excel 8.0 Macro;")
    for Excel 2003 files.
    Is there another method to solve this?
    I asked about this in an Excel forum and they advised me to use a stored procedure, but I am not sure about how to do this, and if it is possible?
    BR, Siri

    >
    Is it possible to provide a very simple example how to implement such a lock?
    >
    Funny you should ask. I wanted to check out Tubby's suggestion also so did a very simple (i.e. non-useable) example.
    -- function to get a handle - this could be in a package - the AUTONOMOUS_TRANSACTION is only needed if you care about the COMMIT that gets done.
    create or replace function get_lock_handle (p_name IN varchar2)
      return VARCHAR2 is
    --PRAGMA AUTONOMOUS_TRANSACTION;
      v_handle VARCHAR2(2000);
    begin
        DBMS_LOCK.ALLOCATE_UNIQUE (P_NAME, v_handle);
        RETURN v_handle;
    end;
    -- actual procedure you want to serialize
    create or replace procedure test_lock is
      v_handle VARCHAR2(2000);
      v_lock_result INTEGER;
       v_i INTEGER;
    begin
      v_handle := get_lock_handle('test_lock'); -- here you could pass the name of the procedure as the name of the lock
      v_lock_result := dbms_lock.request(v_handle, timeout => 2); -- only wait 2 seconds to get the lock
      if (v_lock_result = 0) then
         v_i := 1;
         loop
            if (v_i = 10) then
                 exit;
            end if;
            v_i := v_i + 1;    
        dbms_output.put_line ('procedure is executing'); 
         dbms_lock.sleep(5);
          end loop;
      else
        dbms_output.put_line('procedure is locked');
        return;
        end if;
        v_lock_result := DBMS_LOCK.RELEASE(v_handle);
       EXCEPTION
            WHEN OTHERS THEN
               v_lock_result := DBMS_LOCK.RELEASE(v_handle);
    end;Now call EXEC TEST_LOCK from two different sessions.
    The second session will time out after 2 seconds. Keep running it and once the first session releases the lock the second will execute.
    Thanks for the question - and thanks Tubby for suggesting DBMS_LOCK - I hadn't used it for this purpose before.

  • Losing carriage returns in textarea / using plpdf to generate report

    Hello,
    I'm using Apex 3.1.1 and Oracle 10g database. I would appreciate any suggestions on how I can preserve carriage returns in a textarea when sending the text to a package that generates a report. Please see example of current problem (below code). I'm using an onkeypress function to check for keycode = 13 when the Enter key is pressed -- that is working. I also created an alert to show the url value -- I can see the text on multiple lines, so that appears to be working as well. The textarea value parameter in the package is defined as varchar2. Per the support folks at plpdf.com, chr(13) indicates an explicit line break, and they told me to check my text. I don't know what I'm missing. Thank you for any suggestions you may have.
    Lisa
      function callPLPDFRep()
          var url;
          url = '#OWNER#.' + $x('P&APP_PAGE_ID._REPORT_PROCEDURE').value + '?' + build_params();
          w = open(url, "winPDFRep", "Scrollbars=1, resizable=1, width=800, height=600");
          if (w.opener == null)
            w.opener = self;
            w.focus();
       function build_params()
        var lparms;
        lparms = '';
        lparms = lparms + '&p_incorrect=' + $x('P212_INCORRECT').value;
        lparms = lparms + '&p_correct=' + $x('P212_CORRECT').value;
        return lparms;
      }Text in textarea:
    035 5768 06/15/2010
    035 5768 06/16/2010
    035 5768 06/17/2010
    Printout on report:
    035 5768 06/15/2010035 5768 06/16/2010035 5768 06/17/2010

    Hello Michael,
    Thank you for your response. After doing some researching and experimenting, here's what I have found so far.
    First, using an onkeypress function to alert the keycode, a chr(13) is being returned when I press the Enter key in the textarea.
      function check_Enter(e)
        var keynum;
        var textval = $x('P212_INCORRECT').value;
        if(document.all) 
          keynum = e.keyCode
        else
          keynum = e.which
        alert(keynum);     
      }Next, when I access the value of the textarea via javascript with $x('P212_INCORRECT').value, the chr(13) is automatically converted to the newline character (\n). In an attempt to replace the \n with a \r so plpdf will recognize the carriage return, I added a javascript replace function before sending the text to the package, and it does not work.
      function build_params()
        var lparms;
        lparms = '';
        lparms = lparms + '&p_incorrect=' + $x('P212_INCORRECT').value;
        lparms = lparms + '&p_correct=' + $x('P212_CORRECT').value;
        alert(lparms.split(/\n/g).length - 1);  // confirm that a newline character is found
        lparms = lparms.replace( new RegExp( "\n", "g" ), "\r");  // replace newline character with carriage return
        return lparms;
      }When I tried to replace the newline character (\n) with chr(13), the chr(13) is printed out like it is text instead of a special character. In order to test that I have the correct syntax for the replace function in javascript, I tried replacing \n with '...', and then in the package that generates the PDF, I replaced the '...' with chr(13). That works!
    In response to your comment about the PLPDF procedure for multi line section, I am using: plpdf.PrintMultiLineCell(180, 6, l_incorrect, '0', 0). As a newbie to javascript, I am not sure why replacing \n with \r is not working. Can you advise how to use a chr(13) in the javascript replace function and have it recognized as a special character and not text? I don't know how to view special characters in the textarea other than checking for them with javascript.
    Thanks, Lisa

Maybe you are looking for

  • Question about Midi loops and Software Instruments

    In past versions of Garage Band, I could take a Midi loop ("the green ones") and drag it onto a track with a different instrument and it would play with that instrument. For example, I could drag a loop of a piano melody onto a guitar track, and the

  • Outright USB bus power deterioration?

    2009 MacPro I'm so confounded and tired from this I'll just state the symptoms in bullet fashion • Powered Rosewill hub on one of the 3 rear USB ports: each of the 7 hub ports has been going out one after another the last 2 years. I just pull out a c

  • Problem updating CLOBs across multiple schemas

    I am having a problem trying to update CLOB data in a schema owned by a user other than the logged-in user. Suppose I have user UA who owns table TA and user UB who owns table TB, and TA and TB contain CLOB columns. TA owns a package PA and TB owns p

  • Secondes to HH:MM:SS

    Hi all, Do you know if a function exist witch takes secondes as parameter and return the time in the format HH:MM:SS? Thank you all Regards Karim

  • Error code "A valid key code to use the Business View Manager is not found"

    Hello. I am trying to resolve this message in the Business View Manager. The message of " A valid key code to use the Business View Manager is not found" appears when accessing a folder in the Repositiry Explorer. I have admin rights for View, Edit a