Error by using DEREF() of the object in oracle 9i

Dear All,
We are moving our VB6.0 / oracle8i application to oracle9i and we are facing a problem wherever we have used the below SQL.
SELECT deref(ref_OBJECT_name) into exx_collection_object from dual
And the error we are getting is
ORA-00600: internal error code, arguments: [ktsircinfo_num1],[120],[437],[2571624],[],[],[],[]
Basically we are deferencing the REF object to get some value. But his code working fine in oracle8i.
Please let me know anybody has come across such error or
does oracle 9i doesnot support the deref()???
Thanks in advance
-sheki

Did you check if the upgrade of the software and the DB went fine and there were no issues with it?
In all probability, as stated above, you must contact Oracle support for this.

Similar Messages

  • Error when using PPR in the OA page developed.

    HI,
    We are encountering an error when using PPR for the custom OA page being developed. I am using JDeveloper version 9.0.3.5(Build 1437) and Oracle Applications version 11.5.10.CU2. The scenario we are using PPR and the steps to reproduce the issue is mentioned below,
    Scenario:
    1) PPR is enabled for a custom OA page that is developed.
    2) The PPR is being used to enable or disable a particular field based on the
    selection of a value in a poplist in the same OA Page.
    Error replication steps:
    1) The user enters a value in the primary mandatory field which has to have
    unique value.
    2) The user selects a value from the poplist of a field which has PPR associated.
    3) The user enters data in all other mandatory fields in the OA page except one
    and tries to save the form and is shown a error message saying that all
    mandatory fields are not entered(This is correct). Now the page gets
    automatically refreshed and so the entered values are wiped off.
    4) Now if the user again enters a value in the primary mandatory field (as in
    step1) and if that value happens to be already existing value and then select
    a value from the poplist which has PPR enabled then immediately the error
    "Please enter a unique value" is entered, though we did not save the record.
    The unique record validation would happen only at the time of saving the
    record as per out business logic.
    5) But if in Step 4 if i had entered a unique value again then the above said error
    does not happen. There are few more similar kind of issues happening in the
    same page because PPR is enabled.
    Please note that this issue happens only when the page is deployed in a oracle
    applications instance and not in JDeveloper.
    Would this issue because of some cacheing problem? If Yes then how do we resolve it? Or would it be some other problem caused by our internal coding.
    Any inputs for resolving this issue would be highly appreciated.
    Thanks, Raja.

    What works in Jdeveloper should work when deployed in iAS as well.
    And PPR is an old feature given quite enough time to mature, so before we suspect OA we should investigate the code. What I do not understand is how the page refreshes in Step 3 and why does the user have to re-enter the fields just because he missed entering one mandatory field the last time.
    Mandatory field validations are client validations set by making the fields 'Required'. You obviously have client validations turned off on your PPR, otherwise you would be stuck with a javascript popup on PPR. The only way you can get the "Please enter unique..." error on PPR is Server Validation. So where have you placed this validation? If it is not in the EO, is it in the AM? And are you unconditionally calling the AM validation method in your processFormRequest? The PPR will also go through processFormRequest so I hope the PPR event is in a different if-else block.

  • Error Individual check for creating the object WBS Element required

    Hi Expert,
    I've a requirement to create WBS elements using BAPI. And I am using BAPIs in the following manner.
    CALL FUNCTION 'BAPI_PS_INITIALIZATION'
    CALL FUNCTION 'BAPI_BUS2054_CREATE_MULTI'
    EXPORTING
    i_project_definition = g_pdwbs
    TABLES
    it_wbs_element = it_wbs_element
    et_return = it_return
    EXTENSIONIN =
    EXTENSIONOUT =
    CALL FUNCTION 'BAPI_PS_PRECOMMIT'
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    When I do so I am getting the below errors. Please suggest.
    "Individual check for creating the object WBS Element C-497082 required ".
    "Individual check for creating the object WBS Element C-497082-0001 required".
    Please suggest how to correct this error.

    Hi Karthikeya,
    I think the project profile which you are using has a different mask and the WBS element you are passing is different to the BAPI.
    Are you able to create manually from CJ01 using the same WBS element?
    Create a project manually and it will give the list of the mandatory fields set in the config. Using that list populate the BAPI struture accordingly.
    Hope this helps.
    Thanks
    Lakshman.

  • Error Illustrator-"Cna't paste the objects."

    Our designer is using Illustrator 10, OS - Window XP Professional, HP core 2 duo, 2GB RAM, 20 GB free disk space. After using the software for a while it will give an error message when the graphic artist tries to "PLACE" a tiff file on the Illustrator software. The graphis artist also use Photoshop and is also open when this error occurs.
    The exact error message is "Can't paste the objects. The requested transformation would make some objects fall completely out of the drawing area. "
    We have another artist, the same exact installation. But does not have this problem. Please help because I cant find out why this happens. They have the same specs of computer and version of the software used. They both have different ACtions which they made for he graphic design that they do.

    Try scaling the view size down to 6% or so and then do a Select All. See if there are objects off the artboard which may be causing this error. Most often you will see this if there were guides dragged from a ruler which were selected by dragging the white arrow and then deleted. This leaves the anchor points at the edge of the work area.

  • Error while using TXDataSource with Weblogic 6.1 & Oracle 8.1.6

    Hi,
    I am using Weblogic 6.1 and Oracle 8.1.6.
    I have configured JDBC XA Connection Pool with Oracle thin driver. These are my settings...
    Connection Pool:
    Name - myXAPool
    URL - jdbc:oracle:thin:@myServer:1521:myDb
    DriverClassname - oracle.jdbc.xa.client.OracleXADataSource
    TXDataSource:
    Name - myXADS
    JNDIName - myXADS
    PoolName - myXAPool
    I get the following error when I try to lookup the datasource. I am not sure where the problem is as I have configured Connection Pool and TXDataSource as mentioned in the documentation.
    java.sql.SQLException: XA error: XAER_RMERR : A resource manager error has occured in the transaction branch start() failed on resource 'myXAPool' Unexpected error during start for XAResource 'myXAPool': null
    It would be really great if you can help me out.
    Thanks in Advance,
    Sudhir.

    Hi Sudhir,
    If you do not know if upgrade or not, have a look here :
    http://e-docs.bea.com/wls/docs61/notes/bugfixes2.html
    Note that at the end of June SP3 will be released...
    Sergi
    "Sudhir Babu" <[email protected]> wrote:
    >
    Hi Sergi,
    Thanks a lot for the class file, I figured out what the problem was. Actually
    the
    database version I was working with was 8.0.6.0. The Oracle driver doesn't
    work with
    this but the JDriver worked. This is the output of running CheckDriver..
    DatabaseProductName : Oracle
    DatabaseProductVersion : Oracle8 Enterprise Edition Release 8.0.6.0.0 -
    Production
    With the Partitioning and Objects options
    PL/SQL Release 8.0.6.0.0 - Production
    DriverName : Oracle JDBC driver
    DriverVersion : 8.1.7.1.0
    Then I tried on using the Oracle Driver on another instance which has the
    version
    8.1.7.1.0 and it worked. The JDriver and Oracle driver both work with this
    database.
    The output of CheckDriver for this Oracle instance is..
    DatabaseProductName : Oracle
    DatabaseProductVersion : Oracle8i Enterprise Edition Release 8.1.7.1.0 -
    Production
    With the Partitioning option
    JServer Release 8.1.7.1.0 - Production
    DriverName : Oracle JDBC driver
    DriverVersion : 8.1.7.0.0
    By the way I am working on WLS 6.1 SP1. What is the advantage of SP2 ? Should
    I upgrade
    Thanks once again,
    Sudhir.
    "Sergi Vaz" <[email protected]> wrote:
    Hi Sudhir ,
    JDriver works well, you can work with it.
    Just for curiosity, can you run the class I attached using the "exact"classpath
    of your WL instance (with Oracle drivers in front of weblogic.jar) ? What
    is the
    output ?
    On which platform are you running your WLSP2 ?
    Thanks
    Sergi
    "Sudhir Babu" <[email protected]> wrote:
    Hi Sergi,
    I just checked the things you mentioned. The connection pool starts correctly
    without
    any errors. I also made sure SELECT previlege was granted to DBA_PENDING_TRANSACTIONS.
    I do have the JAVA_XA package installed and it has EXECUTE permission
    to
    PUBLIC.
    I actually tried using the Weblogic JDriver (weblogic.jdbc.oci.xa.XADataSource)
    and
    it works perfect without any issue. The only consideration is that itis
    a Type 2
    Driver and needs to have the Oracle Client installed. But right now Ido
    have it
    installed on the same machine.
    Do you know any known issues with Weblogic JDriver. Do you think it'sa
    good idea
    to go with it ?
    Thanks,
    Sudhir.
    "Sergi Vaz" <[email protected]> wrote:
    Hi Sudhir,
    does your connection pool start correctly ?
    Check the setup of your Oracle server too:
    1) grant select on DBA_PENDING_TRANSACTIONS table to PUBLIC
    2) package JAVA_XA installed (with grant execute to PUBLIC)
    Sergi
    "Sudhir Babu" <[email protected]> wrote:
    Hi Sergi,
    Thanks for the response. I downloaded the driver for 8.1.7 from Oraclesite
    and put
    it in classpath in front of weblogic.jar. I still get the same problem.
    Is there
    another location where we can download the Oracle driver with the bug
    fixed
    Regards, Sudhir.
    "Sergi Vaz" <[email protected]> wrote:
    Hi Sudhir,
    I think you are using Oracle JDBC drivers 8.1.6.
    They have a bug, they do not accept a foreign XID.
    Use 8.1.7 or higher to solve this problem.
    Sergi
    Sudhir Babu <[email protected]> wrote:
    Hi,
    I am using Weblogic 6.1 and Oracle 8.1.6.
    I have configured JDBC XA Connection Pool with Oracle thin driver.
    These
    are my settings...
    Connection Pool:
    Name - myXAPool
    URL - jdbc:oracle:thin:@myServer:1521:myDb
    DriverClassname - oracle.jdbc.xa.client.OracleXADataSource
    TXDataSource:
    Name - myXADS
    JNDIName - myXADS
    PoolName - myXAPool
    I get the following error when I try to lookup the datasource. I amnot
    sure where the problem is as I have configured Connection Pool and
    TXDataSource
    as mentioned in the documentation.
    java.sql.SQLException: XA error: XAER_RMERR : A resource manager errorhas
    occured in the transaction branch start() failed on resource 'myXAPool'
    Unexpected error during start for XAResource 'myXAPool': null
    It would be really great if you can help me out.
    Thanks in Advance,
    Sudhir.

  • How to recompile the objects in oracle apps

    i used adadmin and compiled the apps schema .. but still i am getting INVALID objects .. how to compile these objects ?
    Below is the output after running adadmin .. suggest
    select owner,object_type,status from dba_objects where status='INVALID'
    SQL> /
    OWNER OBJECT_TYPE STATUS
    FLOWS_010500 JAVA SOURCE INVALID
    FLOWS_010500 JAVA CLASS INVALID
    PUBLIC SYNONYM INVALID
    PUBLIC SYNONYM INVALID
    PUBLIC SYNONYM INVALID
    PUBLIC SYNONYM INVALID
    RE PACKAGE BODY INVALID
    HERMAN TABLE INVALID
    APPS PACKAGE BODY INVALID
    APPS PACKAGE BODY INVALID
    APPS PACKAGE BODY INVALID
    OWNER OBJECT_TYPE STATUS
    APPS PACKAGE BODY INVALID
    APPS MATERIALIZED VIEW INVALID
    CA TABLE INVALID
    CA TABLE INVALID
    Thanks in advance

    i have 12.1.1 instance on Linux OS
    there is no adcompsc.pls file in $AD_TOP/sql .. i can see only adcompsc.sql You are on R12, and this script is no longer available -- See (Invalid Objects In Oracle Applications FAQs [ID 104457.1]), 10. How can I recompile all my invalid objects using ADCOMPSC.pls?
    Below is the error when i try to run the adcompsc.pls file .. please help
    [oaebiz@oracle sql]$ sqlplus @adcompsc.pls apps apps %
    SQL*Plus: Release 10.1.0.5.0 - Production on Tue Jan 4 08:36:03 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SP2-0310: unable to open file "adcompsc.pls"
    Enter User-name :Use adcompsc.sql instead.
    Thanks,
    Hussein

  • Error in using CF_UT_UNIT_CONVERSION in the enhancement of Master data

    Hi ,
    Can anyone please help me in debugging the run time error.
    This is the Run time error i am getting -
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was
    not caught in
    procedure "Z_BWL_EXIT_0CUSTOMER_ATTR" "(FUNCTION)", nor was it propagated by a
    RAISING clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    The call to the function module "CF_UT_UNIT_CONVERSION" is incorrect:
    The function module interface allows you to specify only
    fields of a particular type under "UNIT_OLD_IMP".The field "V_MASUN" specified here is a different
    field type
    Missing RAISING Clause in Interface
        Program                                 SAPLZCA_FG_EXITS
        Include                                 LZCA_FG_EXITSU02
        Row                                     1
        Module type                             (FUNCTION)
        Module Name                             Z_BWL_EXIT_0CUSTOMER_ATTR
    Trigger Location of Exception
        Program                                 SAPLZCA_FG_EXITS
        Include                                 LZCA_FG_EXITSU02
        Row                                     113
        Module type                             (FUNCTION)
        Module Name                             Z_BWL_EXIT_0CUSTOMER_ATTR
    Thanks in Advance,
    sravani Kandy

    Which version you are using ?
    This fm doesnt exists in my system.

  • Help!  SAP-LSO - LSO-AE "A Read-Write Error Occurred when checking in the Object"

    Using version 14 of LSO-AE
    WBT publishes fine
    Error occurs during check-in to Master Repository
    It seems to be a 3rd party WBT created by the NTSB, so I only have the SCORM 1.2 package, no source files unfortunately.
    Thanks in advance for any advice that is offered!

    Figured it out.  Not that this forum helped!  But here is the answer should anyone else have a similar problem on check-in.  The standard setting for the LSO Repository is 100MB.  Trying to check in anything larger than this, caused the above error.  Increasing the configuration setting fixed the issue and allowed successful course check in without the above error.

  • Errors when using LoadRunner with the Portal (eventQueue)

    Hi,
    I'm trying to script up a basic load test of the SAP Portal using Load Runner HTTP/HTML protocol. I've dome some correlation but I'm finding the web_submit_data functions seem to be passsing garbage for the eventQueue (see below).
    "Name=eventQueue", "Value=BUTTONCLICKîx80u201AIdîx80u201AaaabLDOL.VcRfwIFrameView.PrevButtonTopîx80u201ACurrentFocusIdîx80u201AaaabLDOL.VcRfwIFrameView.PrevButtonTop", ENDITEM,
    My Question is what kind of data is passed in the eventQueue. I'm trying to navigate through payslips and expecting a pdf document to appear within the portal.
    Let me know if you need anymore info.
    Thanks
    Gavin

    Although this might be a late reply, im sure a lot of people are going to view it as a useful resource
    Yes, this means that you about to test an SAP application written in Webdynpro, which means that there are some content that you need to convert in your code
    the HP loadrunner script will look something like this
    web_submit_data("sap-ext-sid_2",
      "Action=http://www.example.com:8000/sap/bc/webdynpro/SAP/ERC_A_WORKCENTER/;sap-ext-sid=",
      "Method=POST",
      "TargetFrame=",
      "RecContentType=text/html",
      "Referer=http://www.example.com:8000/sap/bc/webdynpro/SAP/ERC_A_WORKCENTER/;sap-ext-sid=",
      "Snapshot=t18.inf",
      "Mode=HTML",
      ITEMDATA,
      "Name=SAPEVENTQUEUE", "Value=Custom_ClientInfosE002IdE004WD01E005WindowOpenerExistsE004falseE005ClientURLE004http003A002F002Fwww.example.com003A8000002Fsap002Fbc002Fwebdynpro002FSAP002FERC_A_WORKCENTER002F003Bsap-ext-sid003DzuUt57Mx_3JozG7pOff002AEgU_0j6OHCaCQurUN1Pimp1QE003E002ClientActionE004enqueueE005ResponseDataE004deltaE003E002E003E001TimeTrigger_TriggerE002IdE004WDE4E003E002ResponseDataE004deltaE005ClientActionE004submitE003E002E003", ENDITEM,
      "Name=sap-charset", "Value=utf-8", ENDITEM,
      "Name=_client_url_", "Value=", ENDITEM,
      LAST);
    when loadrunner executes the script, this kind of data transferred to SAP is not recognized, so you will need to plug in the below code and run the script and before that block of loadrunner recorded script, you will need to pass the sapqueueevent as a string
    Use the below code
    // This function replaces unreserved characters in a string with their encoded values.
    // Encoding is in the style of SAP Web Dynpro. E.g. "abd*def" becomes "abc~002Adef".
    // Reserved/unreserved characters are according to RFC3986 (http://tools.ietf.org/html/rfc3986)
    // This function returns a pointer to the start of the encoded string (buf).
    // Note that buf must be big enough to hold original string plus all converted entities.
    char* dynpro_encode(char* plain_string, char* buf) {
      int len = strlen(plain_string);
      int i,j;
      char hex_value[3];
      if (plain_string == NULL) {
        lr_error_message("Input string is empty.");
        return NULL;
      for (i=0, j=0; i<len; i++) {
        // Check if character is in list of allowed characters.
        // A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
        // a b c d e f g h i j k l m n o p q r s t u v w x y z
        // 0 1 2 3 4 5 6 7 8 9 - _ . ~
        if ( (plain_string<i> >= 'A' && plain_string<i> <= 'Z') ||
             (plain_string<i> >= 'a' && plain_string<i> <= 'z') ||
             (plain_string<i> >= '0' && plain_string<i> <= '9') ||
             (plain_string<i> == '-') ||
             (plain_string<i> == '_') ||
             (plain_string<i> == '.') ||
             (plain_string<i> == '~') ) {
          buf[j++] = plain_string<i>;
        } else if ( (plain_string<i> < 32 ) || (plain_string<i> > 126) ) {
          lr_error_message("Input string contains non-printable or non-ASCII character %c at position: %d", plain_string<i>, i);
          return NULL;
        } else {
          // The unicode value for use in url encoding is the same as the hex value for the ASCII character
          itoa(plain_string<i>, hex_value, 16);
          buf[j++] = '~';
          buf[j++] = '0';
          buf[j++] = '0';
          buf[j++] = toupper(hex_value[0]);
          buf[j++] = toupper(hex_value[1]);
      buf[j] = NULL; // terminate the string
      return buf;
    Hope that helps
    Thanks

  • ERROR 1607 using windows XP the fix is different

    The error 1607 needs to have a second part for windows xp because it is different on XP than on most OS'S and i just found that out today and it angered me to find that...
    1601 Fix - courtesy of Curtis
    1. Click START, and then click RUN.
    2. In the OPEN box, Type msiexec /unreg, and then click OK
    3. When this process is complete, click START,and then click RUN.
    4. In the OPEN box, type msiexec /regserver, and then click OK.
    Another Possible Fix for 1601 - courtesy of Curtis
    1. Open a command prompt. (Start/Run; type "CMD.EXE" or "command")
    2. Type msiexec /unregister and press Enter.
    3. Type msiexec /regserver and press Enter.

    Error 1607 or error 1601? You mention both.
    The fix for error 1607 is listed here.
    Error 1607.

  • Error while trying to expand the frame in oracle report...

    Hello
    I have standard report "Material Account Distribution Detail" in 11.5.10 in INV module and I want to customize the report which i want to add few more fields.
    Current width and height of the"Main Section" under Layout Model is 15 and 8.5.
    What I tried is i increased the width of the Main Section to 20 and I tried to run the report and it error out saying the error as "REP-1219: 'M_value_range1' has no size -- length or width is zero." I have not touch the any frame, I just tried to increase the width to see whether it works or not...
    How to fix this issue and how to increase the frame size so that I can able to add few more fields...
    Note: Concurrent program output print style is 'BACS'
    Thanks!!!

    Hi
    Try to increase just by 1.. and see what causing the problem
    If any page number - remove and do it again.
    However try below
    ERR REP-1219: 'R_1' has no size -- length or width is zero.

  • LCM: "Download files associated the object" error

    All,
    I am testing on how I can use LCM in my QA process. I was creating a brand new WebI report in development environment and successfully promoted that report to test environment. Then, I modified that WebI report in development. Next, I wanted to promote that modified report into test. However, this time, LCM is giving an error "Download files associated with the object" error. I am puzzled because I haven't changed any permissions, I only added a new column in the report.
    I have enabled the "Download files associated with the object" everywhere and still to no avail....
    Can anyone give me a pointer what could have gone wrong?
    Similar error was thrown out for Cyrstal report when I tried to promote a modified report but was not happening for a brand new report.
    Any help will be appreciated.

    Hi,
    what version of LCm are you using?
    - maheshwar

  • Attachment in the Services for the object  (Transaction PA30)

    Dear Friends
                  i have uploaded a file (from my desktop)using Services for the object in PA30 transaction for a particular personnel no. . The services for the object is just above the Create Icon in PA30 Transaction.
    Now i would like to know where this file is being saved which was upload from my desktop .   Later if i remove the file from my desktop even then i can see that file
    still being there in the attachment when i click the Services for the object.
    Please could any one let me know.
    Regards
    syamala

    Hi,
    Have a look at this thread.
    attachment in PA30
    Regards,
    Manoj.

  • Topink 9.0.4 not generating an update statement, if the object was changed.

    I have 2 tables T_Objects and T_Categories.
    T_Objects stores images as a BLOB field. T_Categories stores the details of an article category and references the pictogram in T_Objects via a FK.
    I have 2 webpages. One which is used to load the pictogram in T_Objects and the other which is used to maintain details of the category in T_Categories. As soon as the image is uploaded and is displayed on the screen, user fills in the category details and saves them.
    Each of these operations is performed in a seperate HTTP Request (and consequently seperate UOW). The idea is that the user first uploads an image, checks the image on the screen and the decides to associate it with a category.
    The database is Oracle 9i. Driver used is OCI 8. Binary Steam Binding is enabled for BLOB fields. DatabasePlatform is Oracle9Platform.
    The descriptors of both the tables use SoftCacheWeakIdentity and the cache size is 100. Both tables use Optimistic Locking based on a version field using TimestampLockingPolicy.
    Coming to the problem, if the delay between the upload of the image and saving of the category details is large (say 20 seconds or so) Toplink generates a Update query to update the details in T_Categories. If the delay is smaller than that then Toplink fails to generate an update query even if the object was changed. Upon debugging I find that just before the commit, the BO being committed has all the correct details including the new PK of the uploaded image.
    Assuming that the BO pointing to T_Objects may not be in Cache (owing to images of size 200+ KB) I did an explicit read of this object before attempting to save details to T_Categories. Even that does not seem to help.
    Any ideas on what is happening here?

    Chris. Thanks for your reply. I did not get your point. However these are the steps being done.
    Can you please go through the code and check what could be wrong?
    Steps
    1) createContent(VmTObjectsVO vo) is called to insert into VM_T_OBJECTS.
    This internally calls create ( Object obj, UnitOfWork uow, boolean commitChanges )
    2) update( VmSubcategoriesVO vo ) is called to update a sub-category details to VM_T_SUBCATEGORIES.
    This internally calls save( Object bo, UnitOfWork uow, boolean commitChanges )
    In the save method at the time of uow.commitAndResume() no update statement is getting generated.
    These core methods are used for almost all tables in the application and all of them work.
    It is only in this use case I have a problem.
    * Creates a new entry for storing the image/document in VM_T_OBJECTS.
    * @param vo the content to be stored.
    * @return the sequence assigned to this object.
    public Long createContent(VmTObjectsVO vo){
    VmTObjectsVO voSaved = null;
    Long lnContentId = null;
    if(vo != null){
    VmTObjectsBO bo = new VmTObjectsBO();
    /* copy the properties from the VO to the BO. */
    ObjectAssembler.vo2bo((BaseVO)vo, bo);
    /* Create the content */
    lnContentId = create(bo);
    return lnContentId;
    * updates a subcategory to VM_T_SUBCATEGORIES
    * @param vo VmSubcategoriesVO to update.
    * @ return updated VmSubcategoriesVO
    public VmSubcategoriesVO update( VmSubcategoriesVO vo ) {
    VmSubcategoriesBO boSaved = null;
    VmSubcategoriesVO voSaved = null;
    VmSubcategoriesBO bo = new VmSubcategoriesBO( );
    /* Copy the properties in the VO to the BO */
    ObjectAssembler.vo2bo( vo, bo );
    /* Save the changed object */
    save( bo );
    return voSaved;
    * Stores the new object in the database and
    * returns the primary key identifier with which it was created.
    * @param obj The object to be created.
    * @param uow Use this unit of work for performing the insert.
    * @param commitChanges Should commit changes upon insertion?
    * If the client wants to perform the commit operation across several others
    * operations, then the value should be set to false.
    * @return Primary key of the object created.
    public Long create ( Object obj, UnitOfWork uow, boolean commitChanges ) {
    Object cacheObj = null;
    Long lnSequenceAssigned = null;
    if ( obj == null ) {
    throw new ObjectNotFoundException( null, null, null, null );
    try {
    if (uow == null) {
         /* create a new unit of work if necesasry */
         uow = getUnitOfWork( dbSession );
    /* Assign a sequence number */
    uow.assignSequenceNumber( obj );
    /* Get the descriptor associated with this object */
    Descriptor descriptor = uow.getDescriptor(obj);
    /* Get the sequence assigned */
    lnSequenceAssigned = (Long)descriptor.getObjectBuilder().getBaseValueForField(descriptor.getSequenceNumberField(),obj);
    /* Register the object */
    uow.registerObject( obj );
    if(commitChanges){
    /* Commit the changes */
    uow.commitAndResume();
    } finally {
    return lnSequenceAssigned;
    * Saves changes to an existing object to the data store.
    * Has only been tested for flat-objects. Objects that reference other
    * persistent objects have not been tested.
    * @param bo The object to be saved.
    * @param uow The UnitOfWork to use for saving the object.
    * @param commitChanges whether the changes should be committed.
    * If the client wants to perform the commit operation across several others
    * operations, then the value should be set to false.
    public void save( Object bo, UnitOfWork uow, boolean commitChanges ) {
    if ( bo == null ){
    throw new IllegalArgumentException(
    "Object is invalid" );
    try {
    /* Register the object supposed to be existing */
    Object clone = uow.registerExistingObject( bo );
    /* This object does not exist */
    if ( clone == null ) {
    throw new ObjectNotFoundException( "object not found", "dao", bo.getClass().getName(), bo.toString());
    /* Copy the properties from the object to the clone, to ensure that
    * the intended properties have not been overwritten in the object from
    * the cache
    ObjectAssembler.copy( bo, clone );
    /* Commit the changes. */
    if(commitChanges){
    uow.commitAndResume();
    } finally {
    dbSession.release( );
    }

  • Need support to document the object

    Hi gurus
    I am supposed to document the InfoCube which i have modelled. I would like to know is there any proper documentation tool which can be used to document the object. Or if anybody is using any documentation template to document the object please forward it to my mail id
           [email protected]
    thanks in advance for your help
    regards
    vijaykumar

    I would be very interested in obtaining these templates, as well as other documentation templates you may have available.  Could you please send me a copy at [email protected]?
    Thank you very much!

Maybe you are looking for