Element Object version Number

Where can I get the object version number of an element. I cant seem to find it in any of the element tables
Thanks

If I correctly understood you:
SQL> INSERT INTO checkpoint VALUES
  2  ( 1
  3  , person_typ('Ignat'));
1 row created.
SQL> INSERT INTO checkpoint VALUES
  2  ( 2
  3  , employee_typ ( 'Scott', 111 ) );
1 row created.
SQL> INSERT INTO checkpoint VALUES
  2  ( 3
  3  , visitor_typ ( 'Adams', 333 ) );
1 row created.
SQL> column person format a30
SQL> select  id,
  2          person,
  3          sys_typeid(person)
  4    from  checkpoint
  5  /
        ID PERSON(NAME)                   SYS_TYPEID(PERSON)
         1 PERSON_TYP('Ignat')            01
         2 EMPLOYEE_TYP('Scott', 111)     02
         3 VISITOR_TYP('Adams', 333)      03
SQL> As you can see, function sys_typeid gives you type "version" number. Now, how to trace that "version" number to type name? Unfortunately, data dictionary views do not provide that. This is another example of DD inefficiency. If you check SYS.TYPE$ table:
SQL> desc sys.type$
Name                                                                     Null?    Type
TOID                                                                     NOT NULL RAW(16)
VERSION#                                                                 NOT NULL NUMBER
VERSION                                                                  NOT NULL VARCHAR2(30)
TVOID                                                                    NOT NULL RAW(16)
TYPECODE                                                                 NOT NULL NUMBER
PROPERTIES                                                               NOT NULL NUMBER
ATTRIBUTES                                                                        NUMBER
METHODS                                                                           NUMBER
HIDDENMETHODS                                                                     NUMBER
SUPERTYPES                                                                        NUMBER
SUBTYPES                                                                          NUMBER
EXTERNTYPE                                                                        NUMBER
EXTERNNAME                                                                        VARCHAR2(4000)
HELPERCLASSNAME                                                                   VARCHAR2(4000)
LOCAL_ATTRS                                                                       NUMBER
LOCAL_METHODS                                                                     NUMBER
TYPEID                                                                            RAW(16)
ROOTTOID                                                                          RAW(16)
SPARE1                                                                            NUMBER
SPARE2                                                                            NUMBER
SPARE3                                                                            NUMBER
SUPERTOID                                                                         RAW(16)
HASHCODE                                                                          RAW(17)
SQL> you'll notice ROOTTOID which is, unfortunately, not mapped into DD XXX_TYPE views. What you can do is something like:
SQL> CREATE OR REPLACE
  2    TYPE TRAINEE_TYP UNDER EMPLOYEE_TYP(trainee_id NUMBER)
  3      NOT FINAL
  4  /
Type created.
SQL> set linesize 132
SQL> column owner format a5
SQL> column root_type_owner format a15
SQL> column supertype_owner format a15
SQL> column type_name format a15
SQL> column root_type_name format a15
SQL> column supertype_name format a15
SQL> column typeid format a6
SQL> select  tc.owner,
  2          tc.type_name,
  3          tc.typeid,
  4          roottoid,
  5          tc.supertype_owner,
  6          tc.supertype_name,
  7          tp.owner root_type_owner,
  8          tp.type_name root_type_name
  9    from  dba_types tc,
10          sys.type$ t,
11          dba_types tp
12    where t.toid = tc.type_oid
13      and tp.type_oid = nvl(t.roottoid,t.toid)
14      and tc.owner = 'SCOTT'
15      and tc.type_name in ('PERSON_TYP','EMPLOYEE_TYP','VISITOR_TYP','TRAINEE_TYP')
16    order by tc.typeid
17  /
OWNER TYPE_NAME       TYPEID ROOTTOID                         SUPERTYPE_OWNER SUPERTYPE_NAME  ROOT_TYPE_OWNER ROOT_TYPE_NAME
SCOTT PERSON_TYP      01                                                                      SCOTT           PERSON_TYP
SCOTT EMPLOYEE_TYP    02     33A90A8C974E4BF4B369D443E27A83B9 SCOTT           PERSON_TYP      SCOTT           PERSON_TYP
SCOTT VISITOR_TYP     03     33A90A8C974E4BF4B369D443E27A83B9 SCOTT           PERSON_TYP      SCOTT           PERSON_TYP
SCOTT TRAINEE_TYP     04     33A90A8C974E4BF4B369D443E27A83B9 SCOTT           EMPLOYEE_TYP    SCOTT           PERSON_TYP
SQL> SY.

Similar Messages

  • The same Object Version Number for the same person id multiple times

    Hello all,
    I am currently facing an issue with HRMS tables and the object version number for employees. I am trying to write a report but due to the same object version number for the same person appearing in several row i am getting duplicate information. For example,
    person id 91 object version number 32 is on 4 rows and i have no idea why...help please guys, I'm at a lost so far 50 people are facing the same issue.

    Hi Baal666bobo,
    The person table is date-tracked, so the PK has effective start and end dates as well.
    Get the correct record with sysdate(or any particular date) and then check the OVN.
    Cheers,
    Vignesh

  • Time_building_block_id and object version number

    Hello,
    could someone help me out with an explanation how the time_building_block_id and object version number to be interpreted?
    Are these independent? What actions create new ID and new ovn?
    My first idea was that one ID can have different instances in the table with different object version numbers. However I found cases belonging to the same parent buildingblock where both the id and ovn are different.
    So based on this only one of the columns could be primary.
    However for the joins both are used typically at the same time, suggesting that the two together constitutes a primary key.
    Are the DETAIL level records belonding to the same DAY level record to be treated as co-existing entries and their measure to be summarized? Or only the latest (bigger ovn?) to be considered, so it is an updated version of the record with the previous ovn?
    thanks!

    The version number in the TC Building blocks is used to identify changes to timecard building blocks. It is not the same as an object version number on a record in a table.
    OTL keeps an audit history of all changes to the timecard, at whatever level they occur. It uses this in retropay processes to identify the 'true' hours to use.
    TC Building blocks have a 'scope', for example there are building blocks at these levels:
    Timecard
    Period / Application
    Day
    Detail
    If you entered 8 hours on a new timecard for Monday 07/09/09 it would create a building block record for that date and call it version 1.
    If you later make a change to that DAY, OTL will create a new record with version 2. Say this one shows 7 hours.
    OTL can then interpret this as -8 + 7 = -1 and make the appropriate adjustment.
    Hope that helps explain it!
    Regards
    Tim

  • Object Version Number  column

    Hi all,
    In the OAF dev guide,they have given some information on object version number column which can be used to store the version of the row data entered.
    This can be achieved by mapping a attribute to ObjectVersionNumber attribute.
    I tried mapping it i didn't see any attribute with the name ObjectVersionNumber in the BC4j EO wizard.
    Can somebody please give more information on this
    And do correct me if i gone wrong somewhere
    Thanks in advance
    Ashwini

    Another use of this column is to maintain the history record. So each time you update the record, another record with same primary key, but with an increased OVN.
    --Shiv                                                                                                                                                                                                                                                                                                                                                       

  • I need help in downloading and installing a previously purchased version of Photoshop Elements 12: Serial number removed by moderator

    I need help in downloading and installing a previously purchased version of Photoshop Elements 12: <Serial number removed by moderator>

    Hi There,
    Kindly try: Troubleshoot installation | Photoshop Elements, Premiere Elements | Windows
    Thanks,
    Atul Saini

  • OptimisticLockException, no version number in identity map

    A project using TopLink is getting the following exception randomly. Any suggestion on what might cause the exception?
    Local Exception Stack:
    Exception [TOPLINK-5004] (OracleAS TopLink - 10g (9.0.4.4) (Build 040627)):
    oracle.toplink.exceptions.OptimisticLockException
    Exception Description: An attempt was made to update the object
    [com.ford.mss.wdmo.wiqs.business.model.VehicleConfigurationOptionEconomics
    (CR Key: 0; Row Num: 0; Code: ; Desc: ;)], but it has no version number in the
    identity map.
    It may not have been read before the update was attempted.
    Class> com.ford.mss.wdmo.wiqs.business.model.VehicleConfigurationOptionEconomics
    Primary Key> [null, 0] The problem seems to occur after certain sequence of operation: update an object
    in a graph and commit; update another object in a graph and commit; fails in
    commit when trying to update the graph by inserting a new object in the graph.
    The problem does not occur whey only trying to update the graph by inserting the
    new object in the graph.
    It appears that some 'empty object' (i.e. PK null, other attributes not set) got
    registered in the UnitOfWork, though we have not determined how it happened.
    Just wondering if anyone has experienced the exception or knows what can cause the exception...
    I appreciate your comments.
    Haiwei

    Worked with the project and solved the problem.
    The exception was caused by some unwanted 'empty object' (i.e. object whose PK is null) in the object graph that's registered with UnitOfWork. It appears that the cached object graph was corrupted with the 'empty object' for some user execution sequences. After removing the original source where an 'empty object' was created/added to object graph, the problem has not been seen.
    Thanks.
    Haiwei

  • Java error message - Bad version number in .class file

    I get the  error noted below in Safari, Firefox, and Chrome when I try to view java containing web pages.
    Specifically this page: http://aviationweather.gov/adds/tafs/java/
    My Java Preferences are as follows
    My OS is 10.5.8
    Thanks!
    Java Plug-in 1.6.0_26
    Using JRE version 1.5.0_30-b03-389-9M3425 Java HotSpot(TM) Client VM
    User home directory = /Users/ernest
    c:   clear console window
    f:   finalize objects on finalization queue
    g:   garbage collect
    h:   display this help message
    l:   dump classloader list
    m:   print memory usage
    o:   trigger logging
    q:   hide console
    r:   reload policy configuration
    s:   dump system and deployment properties
    t:   dump thread list
    v:   dump thread stack
    x:   clear classloader cache
    0-5: set trace level to <n>
    java.lang.UnsupportedClassVersionError: Bad version number in .class file
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)
        at java.lang.reflect.Method.invoke(Method.java:592)
        at sun.plugin2.applet.Plugin2ClassLoader.defineClassHelper(Plugin2ClassLoader.java :1014)
        at sun.plugin2.applet.Plugin2ClassLoader.access$100(Plugin2ClassLoader.java:69)
        at sun.plugin2.applet.Plugin2ClassLoader$2.run(Plugin2ClassLoader.java:991)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Plugin2ClassLoader.java:9 55)
        at sun.plugin2.applet.Applet2ClassLoader.findClass(Applet2ClassLoader.java:134)
        at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Plugin2ClassLoader.java:250)
        at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:180)
        at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:161)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Plugin2ClassLoader.java:675)
        at sun.plugin2.applet.Plugin2Manager.createApplet(Plugin2Manager.java:3046)
        at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.ja va:1498)
        at java.lang.Thread.run(Thread.java:655)
    Exception: java.lang.UnsupportedClassVersionError: Bad version number in .class file

    Hi, thank you for the reply.  However, java is definitely enabled on my computer, on all my browsers.  In fact, if I go to the SUN website and run the java test, I get that all is OK.
    I think it may have something to do with the .class (maybe in .jar-file) compiled with a higher version of java than the virtual machine trying to run it. 
    The example I found (google search) is .class-file that is compiled with JDK 6 and I am trying to run it with 1.4 JVM.
    There is some software error going on somewhere... but I do not know enough to fix it.
    Many thanks for all your help

  • Object range number not exist in production

    Hi guys,
    I have a problem where I had created an object range number in development server. The object works fine in development server. However , when I transported the object to the production server, the object did not exist eventhough the transport process was successful. Can anybody kindly explain to me why does this happen? TQ.

    Hi eric,
    Actually when I look again at the transport log for the particular object, I found that it actually had an error like below. Are you familiar with this error?. Anyway thanks again.
    Screen 1:
    =======
    DEVK913659    ZFICHKPOSN-Number Range Objects for Rece 02.01.2008 16:42
    --   DEV DBKL Development
    ADO export                02.01.2008 16:42:36 Ended OK               (0)
    Export                    02.01.2008 16:42:44 Ended OK               (0)
      ---   PRD DBKL Production
    Import                    02.01.2008 17:03:54 Ended OK               (0)
    ADO import                02.01.2008 17:03:58 Cancelled             (12)
    ==============================================
    Later, when I click at 'Cancelled'..
    Screen 2:
    =======
    Log file:                /usr/sap/trans/log/DEVD913659.PRD
    Import application-defined objects
    Transport request___: DEVK913659
    System______________: PRD
    tp path             : tp
    Version and Release: 252.08.36 40B
    Import application-defined objects
    End date and time___: 20080102170358
    Ended with return code:  ===> 12 <===

  • CS6 returns wrong  version number?

    Hi all,
    In Javascript, "apps" global object return "photoshop-60.032".
    alert(apps);
    result is below...
    fireworks-10.0,fireworks-11.0,fireworks-12.0,aftereffects-11.0,ame-4.0,ame-5.0,ame-6.0,aud ition-5.0,bridge-2.0,bridge-3.0,bridge-4.0,bridge-5.064,devicecentral-1.0,devicecentral-2. 0,devicecentral-3.0,dreamweaver-10.0,dreamweaver-11.0,dreamweaver-12.0,dreamweaver-9.0,enc ore-6.0,estoolkit-2.0,estoolkit-3.0,estoolkit-3.5,estoolkit-3.8,exman-2.0,exman-5.0,exman- 6.0,flash-10.0,flash-11.0,flash-12.0,flash-9.0,flashbuilder-4.5,flashcatalyst-1.0,illustra tor-13.0,illustrator-14.0,illustrator-15.0,illustrator-16.064,incopy-8.0,indesign-5.0,inde sign-6.0,indesign-7.0,indesign-8.0,photoshop-10.0,photoshop-11.032,photoshop-12.032,photoshop-60.032,prelude-1.0,premierepro-6.0,stockphotos-1.5,switchboard-2.0
    Is this correct?
    Ten

    Thank you for your rely.
    But in this time, I need to access specifier to use BridgeTalk. And I need to know It is only me or not. (something wrong in my installation or not? )
    After that, I read some documents, and find this version number in Javascript tool guides. It's correct response and maybe Adobes mistake.
    Ten

  • Elements 10 serial number

    I have a Photoshop Elements 10 serial number, but it won't let me download Photoshop Elements 10 anymore because there's a new version of Photoshop Elements. Could I still use the serial number?

    Download the trial version of Photoshop Elements 10 from
    http://prodesigntools.com/photoshop-elements-10-direct-download-links-pse-premiere-pre.htm l
    Ensure that you follow the Very Important Instructions on that page first otherwise the links will not work.
    When you launch the trial, enter your serial number to convert it to a full version.

  • Adobe premiere elements trial version

    in my adobe premiere elements the text 'premiere elements trial version' stays in the videodisplay, how can I remove this?

    marrithoekstra
    Just in case notes that may sometimes get overlooked.....
    1. After purchase of the Premiere Elements, you can remove the Adobe watermark from a project file (project.prel) that you created during the tryout. But, you cannot remove the Adobe watermark that exists in one of the exports from the tryout project.prel file (even after you get a purchased serial number and are working from the purchased program).
    a. The classical answer to getting rid of the Adobe watermark from your tryout project.prel files after you purchase the product is to delete the rendered files of the trial project.prel which is opened in the purchased program.
    b. However, I and others have found the often just opening the trial project.prel into the purchased program removes the Adobe watermark automatically with no need to delete any rendered files.
    See what works for you. Please let us know the outcome.
    Thank you.
    ATR

  • Bad major version number! Help please ;-)

    I have been writing applets using the Forte 3.0 sdk.
    I don't as yet use Swing, but rather the standard AWT elements.
    These applets work fine in IE 5, but when I try to view them in Netscape Communicator 4.79, the applet fails to appear and I see the following error message "Applet Editor Error:java.lang.ClassFormatError: Bad major version number"
    I have searched the net and this is some advice I found: "The javac by default compiles for 1.2 compatible vm's. To compile an application to be compatible for both 1.1 and 1.2 vm's use:
    javac -target 1.1 foo.java"
    I'm guessing Netscape isn't 1.2 compatble, despite that the java plugins for 1.4.0 are enabled ( I have checked.).
    So my question is:
    How do I force 1.1 compatability in the Forte IDE?
    I have looked through all the options and cannot find any switches for compatability.
    I'm not using command-line so I can't directly add -target 1.1
    Thank you in advance.

    In Forte go to menu Project->Settings. Open Compiler Types->External Compilation, there you have a property called "External Compiler", click on the value and there you can edit the arguments that are sent to the compiler...
    //Anders =)

  • How I can log Sequence File version number to database?

    Hi,
    As in the subject.
    How I can log Sequence File version number to database?
    There is nothing like that under Logging object.

    Do you need it in a separate field in the databse?
    One option is to just add it as an additional result in a step in your sequence file. 
    RunState.SequenceFile.AsPropertyObjectFile.Version
    Hope this helps,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Premiere Pro CS3  Vs Premiere Element  (latest version)

    Hi there,
    I need need help on whether to buy Premiere Pro CS3 or Premiere Element (latest version) ?
    1. Can the Element run multiple videos at the same time ? For example, I wanted to run say 4 videos at the same time on different part of the screen.
    2. Can Premiere Pro CS3 create a 3D words say "Adobe" and do the following effect:
    i) a 3D alphablelt of "A" appear from inside the screen them zoom out, and as it zoom out, it rotates along the Y-axis then stop. This followed by "D" then "O" then "B" then followed by "E". By the time E stops, you will have the words ADOBE
    Thanks

    Cool3D is a much more powerful program for creating the effects you described then After Effects. The 3D layers in AE have no depth: they are like postcards that you can move in 3D space. The objects (and words) that you create in Cool 3D are three-dimensional. They have depth and you can see their thickness when moving them through 3D space. Like in AE you can use multiple light sources of different colors and types. The program is easy to use if you limit yourself to the presets provided. The program has not been updated to make use of multiple processors so rendering takes a long time. But the results are superb. Just make sure that you render to "Uncompressed AVI with 32 bits" to get the alpha channel. (In Ulead lingo "Field Order A" is lower field first.)
    Don't get me wrong. Cool 3D is very limited in its capability. It is not After Effects. But what it does it does very well.

  • DBD::mysql object version 4.013 does not match bootstrap parameter 4.005

    The issue is with XServe running 10.6.2.
    Out of the box Perl doesn't come with DBM::MySQL module installed. To be able to install it, I first had to download MySQL libraries (instructions and link to the file are here: http://support.apple.com/kb/HT4006 ).
    After that I was able to install (manually with "make") the latest module DBD-mysql-4.013 which Perl now acknowledges. However, when module is called, following error is thrown:
    "install_driver(mysql) failed: DBD::mysql object version 4.013 does not match bootstrap parameter 4.005 at /System/Library/Perl/5.10.0/darwin-thread-multi-2level/DynaLoader.pm line 230.
    Compilation failed in require at (eval 3) line 3."
    Suspecting that Perl is looking for a 3-year old version 4.005, I did try removing 4.013 and installing 4.005 instead (as I couldn't find any other clear solution) but 4.005 failed to pass "make test" - not very surprisingly as it is that old - so I chose not to try installing it and put 4.013 back in and still got same error.
    If somebody could kindly provide/direct me to clear instructions to resolve this problem your help will be much appreciated! Thanks in advance.

    Unfortunately, I didn't document right away what I did to get this resolved but this is what I remember. This is a hack, I found a suggestion online that lead me to this. However, a FAIR WARNING - this is dangerous for the system.
    I went into the module file mysql.pm located here:
    cd /Library/Perl/5.10.0/darwin-thread-multi-2level/DBD
    vi mysql.pm
    I commented out the line that specifies version of the file, 4.013, and put 4.005 line instead:
    #$VERSION = '4.013';
    $VERSION = '4.005';
    If server is not rebooted, this doesn't change anything, error will still be thrown. So I rebooted the server from command line.
    This reboot did not go well, server went into some kind of intermediate state, I lost web access. We had to do a hard reboot by cycling power physically on the server itself. After that server came back up, log was full of all kinds of errors. Now all of a sudden the error "object version 4.013 does not match bootstrap parameter 4.005" wasn't thrown anymore. Apparently, version of this module is not read from the module .pm file itself every time module is called, it is instead stored somewhere else and is looked up there, wherever "there" may be. I suspect one of the files used during boot got confused when version number didn't match and it caused chain reaction and a bad reboot.
    Later on I went back into the file and changed version number back to 4.013 as it is supposed to be, and commented the other line out:
    $VERSION = '4.013';
    #$VERSION = '4.005';
    MySQL on Perl functioned fine since then.
    Server has been rebooted weeks later during 10.6.3 upgrade and this time it didn't cause any problems with the module. Still works.

Maybe you are looking for

  • Hi I'm just wondering if someone can tell me how to specify a different location for my iphone backups in itunes on my pc?

    Hi, I have a pc laptop with a partitioned hard drive, and my iphone back ups automoatically save to the C drive.  I need them to save to the D drive instead, but dont know how to change the location of the backups. Can anyone help? Thanks, Mel

  • Syslinux resolution help

    Problem: Trying to get a graphical menu with a background image at a 1920x1080 resolution, but nothing seems to be working as I get black borders around the screen. It's just like BIOS and won't scale properly probably because it's a 16:9 aspect rati

  • DTS 2000 Short date error in Windows 7 (64 bit)

    When using the DTS 2000 Package Designer in 2008 SQL Server Management Studio in Windows 7 (64 bit), and when trying to use the Build Query functionality, I get the following error message: An unexpected error occurred. [MS Visual Database Tools] - S

  • Cannot Search Corportate Directory in Phone App

    Hi, I have been running 8.1 for a month or so and have run into an slight usability issue that cannot seem to resolve. In Windows Mobile 8.0 I was able to search my corporate directory (Office365) from directly within the Phone application to locate

  • I have tried several methods and can NOT reset my 2 home pages?

    I used your method to reset my 2 home pages. It's the first one I want to change - I inadvertently set it to www.google.ca/advanced search. I really want www.google.com, but it always reverts back to the.ca version.