Application Identity classes

Does the application identity class used for each persistent class
(hierarchy) have to be a unique class?
If so, can you please state why.
Thanks,
Paula

Yes, each hierarchy has to use its own application identity class. Otherwise, what are we to do in the PersistenceManager.getObjectById (Object oid, ...) method? Query the tables used by all the various inheritance hierachies the for the matching PK, and then do an additional query to load the data once we find the right table? Obviously it could be done, but it would be very inefficient. Also, if separate inheritance hierachies (and therefore separate tables) are allowed to have to same app id class, what's to stop two object of different hierachies from having the same primary key values, and therefore the exact same application identity object? Again, there are various inefficient ways around this problem, too, but all things considered, it seems much simpler to just require each hierachy to have its own identity class.

Similar Messages

  • Application identity tool error

    I'm getting the following error when I run the appidtool from ant (kodo
    3.0.1):
    kodo.util.FatalUserException: Type "class
    com.correlat.intranet.news.NewsItem" does not have metadata, does not use
    application identity, or inherits the identity class from its superclass.
    My jdo definitions are:
    <package name="com.correlat.intranet.news">
    <class name="NewsItem"
    persistence-capable-superclass="net.sundog.news.NewsItem"
    identity-type="application">
    <extension vendor-name="kodo" key="jdbc-class-map"
    value="flat"/>
    <field name="postedBy">
    <extension vendor-name="kodo" key="jdbc-field-map"
    value="one-one">
    <extension vendor-name="kodo" key="column.id_i"
    value="postedby_person_id_i"/>
    </extension>
    </field>
    <field name="lastUpdatedBy">
    <extension vendor-name="kodo" key="jdbc-field-map"
    value="one-one">
    <extension vendor-name="kodo" key="column.id_i"
    value="lastupdatedby_person_id_i"/>
    </extension>
    </field>
    <field name="relevantOrganizations">
    <collection
    element-type="com.correlat.intranet.directory.Organization"/>
    <extension vendor-name="kodo" key="jdbc-field-map"
    value="many-many">
    <extension vendor-name="kodo" key="element-column.id_i"
    value="organization_id_i"/>
    <extension vendor-name="kodo" key="table"
    value="t_map_newsitem_organization"/>
    <extension vendor-name="kodo" key="ref-column.id_i"
    value="newsitem_id_i"/>
    </extension>
    </field>
    </class>
    AND
    <package name="net.sundog.news">
    <class name="NewsItem" objectid-class="NewsItemId">
    <extension vendor-name="kodo" key="jdbc-class-map" value="base">
    <extension vendor-name="kodo" key="table" value="t_news"/>
    <extension vendor-name="kodo" key="pk-column" value="id_i"/>
    </extension>
    <extension vendor-name="kodo" key="jdbc-version-ind"
    value="version-number">
    <extension vendor-name="kodo" key="column"
    value="rowversion_i"/>
    </extension>
    <extension vendor-name="kodo" key="jdbc-class-ind"
    value="in-class-name">
    <extension vendor-name="kodo" key="column"
    value="classtype_id_vc"/>
    </extension>
    <field name="id" primary-key="true">
    <extension vendor-name="kodo" key="jdbc-field-map"
    value="value">
    <extension vendor-name="kodo" key="column"
    value="id_i"/>
    </extension>
    </field>
    <field name="title">
    <extension vendor-name="kodo" key="jdbc-field-map"
    value="value">
    <extension vendor-name="kodo" key="column"
    value="title_vc"/>
    </extension>
    </field>
    <field name="summary">
    <extension vendor-name="kodo" key="jdbc-size" value="-1"/>
    <extension vendor-name="kodo" key="jdbc-field-map"
    value="clob">
    <extension vendor-name="kodo" key="column"
    value="summary_clob"/>
    </extension>
    </field>
    <field name="text">
    <extension vendor-name="kodo" key="jdbc-size" value="-1"/>
    <extension vendor-name="kodo" key="jdbc-field-map"
    value="clob">
    <extension vendor-name="kodo" key="column"
    value="text_clob"/>
    </extension>
    </field>
    <field name="newsDate">
    <extension vendor-name="kodo" key="jdbc-field-map"
    value="value">
    <extension vendor-name="kodo" key="column"
    value="newsdate_dt"/>
    </extension>
    </field>
    <field name="lastUpdated">
    <extension vendor-name="kodo" key="jdbc-field-map"
    value="value">
    <extension vendor-name="kodo" key="column"
    value="lastupdated_dt"/>
    </extension>
    </field>
    <field name="relatedUrl">
    <extension vendor-name="kodo" key="jdbc-field-map"
    value="value">
    <extension vendor-name="kodo" key="column"
    value="relatedurl_vc"/>
    </extension>
    </field>
    <field name="active">
    <extension vendor-name="kodo" key="jdbc-field-map"
    value="value">
    <extension vendor-name="kodo" key="column"
    value="active_b"/>
    </extension>
    </field>
    <field name="image">
    <extension vendor-name="kodo" key="jdbc-field-map"
    value="blob">
    <extension vendor-name="kodo" key="column"
    value="image_blob"/>
    </extension>
    </field>
    <field name="imageMimeType">
    <extension vendor-name="kodo" key="jdbc-field-map"
    value="value">
    <extension vendor-name="kodo" key="column"
    value="imagemimetype_vc"/>
    </extension>
    </field>
    </class>
    My ant task is:
    <taskdef name="appidtool" classname="kodo.ant.ApplicationIdToolTask">
    <classpath path="${base.classpath}"/>
    </taskdef>
    <appidtool ignoreErrors="false" directory="${src.dir}/java">
    <fileset dir="src/java">
    <include name="**/*.jdo"/>
    </fileset>
    <codeformat spaceBeforeParen="true" braceOnSameLine="false"/>
    <config licenseKey="${kodo.license}"/>
    </appidtool>
    Nathan

    I don't think using ant's filesets would work because I have one .jdo file
    per package. There are multiple class definitions in each .jdo file, some
    of which inherit while others don't.
    Nathan
    "Marc Prud'hommeaux" <[email protected]> wrote in message
    news:[email protected]..
    Nathan-
    Is there any other errors that won't be listed now that actually are
    errors?
    >
    There are other possible error conditions that will be ignored if
    ignoreErrors is true.
    We recommend keeping ignoreErrors to false, and only running the tool on
    those classes for which you really do want the appid classes to be
    generated. ant's fileset directives are pretty flexible; there are
    many different ways you can configure it to include only those files you
    want.
    In article <bu8re6$u2e$[email protected]>, Nathan Voxland wrote:
    That solves it, thanks.
    Is there any other errors that won't be listed now that actually are
    errors?
    >>
    Nathan
    "Abe White" <[email protected]> wrote in message
    news:bu76si$nct$[email protected]..
    Running the task on a class that doens't use application identity or
    inherits its application identity class (and therefore doesn't need one
    gernated) is considered an error. By setting the task's "ignoreError"
    property to "false", you're telling it to throw an exception when it
    encounters such a case.
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • Application identity multi-colum PK problem

    Hello,
    I am having problem with application identity in case of multi-colum PK when
    componente of OID class are themselve percistent classes.
    OrgUnitTypeRole class identified by OrgUnitType and Role which are both
    persistent classes.
    Attached are OrgUnitTypeRole and OrgUnitTypeRoleOid classes
    I am getting following exception:
    javax.jdo.JDOFatalDataStoreException: The registered class
    "peacetech.gao.usorg.jdo.OrgUnitTypeRole" is not compiled or not longer
    exists. If the class has been deleted, unregister it before proceeding.
    NestedThrowables:
    java.lang.VerifyError: (class: peacetech/gao/usorg/jdo/OrgUnitTypeRole,
    method: jdoCopyKeyFieldsToObjectId signature:
    (Ljavax/jdo/PersistenceCapable$ObjectIdFieldManager;Ljava/lang/Object;)V)
    Bad type in putfield/putstatic
    at com.solarmetric.kodo.impl.jdbc.schema.DB.getPersistentTypes(DB.java:270)
    at
    com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory.setup(JDBCPersi
    stenceManagerFactory.java:170)
    at
    com.solarmetric.kodo.runtime.PersistenceManagerFactoryImpl.privateSetup(Pers
    istenceManagerFactoryImpl.java:501)
    at
    com.solarmetric.kodo.runtime.PersistenceManagerFactoryImpl.getPersistenceMan
    ager(PersistenceManagerFactoryImpl.java:61)
    at
    com.solarmetric.kodo.runtime.PersistenceManagerFactoryImpl.getPersistenceMan
    ager(PersistenceManagerFactoryImpl.java:50)
    at
    peacetech.gao.usorg.jdo.JDOFactory.getPersistenceManager(JDOFactory.java:70)
    at peacetech.gao.usorg.gui.BrowserFrame.<init>(BrowserFrame.java:158)
    at peacetech.gao.usorg.gui.Browser.<init>(Browser.java:23)
    at peacetech.gao.usorg.gui.Browser.main(Browser.java:85)
    Thank you very much in advance
    Alex
    begin 666 OrgUnitTypeRoleOid.java
    M"B\J*@H@*B!#;W!Y<FEG:'0@*&,I(#(P,# L(%!E86-E(%1E8VAN;VQO9WDL
    M($EN8RX*("H@)$%U=&AO<B0*("H@)%)E=FES:6]N)"P@)$1A=&4D"B J("1.
    M;TME>7=O<F1S) H@*B\*"G!A8VMA9V4@<&5A8V5T96-H+F=A;RYU<V]R9RYJ
    M9&\N;VED.PH*:6UP;W)T('!E86-E=&5C:"YG86\N=7-O<F<N:F1O+D]R9U5N
    M:714>7!E.PII;7!O<G0@<&5A8V5T96-H+F=A;RYU<V]R9RYJ9&\N4F]L93L*
    M"G!U8FQI8R!C;&%S<R!/<F=5;FET5'EP95)O;&5/:60@:6UP;&5M96YT<R!J
    M879A+FEO+E-E<FEA;&EZ86)L92!["B @<'5B;&EC($]R9U5N:714>7!E(&]R
    M9U5N:714>7!E.PH@('!U8FQI8R!2;VQE(')O;&4["@H@('!U8FQI8R!/<F=5
    M;FET5'EP95)O;&5/:60H*2![?0H*("!P=6)L:6,@3W)G56YI=%1Y<&52;VQE
    M3VED*$]R9U5N:714>7!E(&]R9U5N:714>7!E+"!2;VQE(')O;&4I('L*(" @
    M('1H:7,N;W)G56YI=%1Y<&4@/2!O<F=5;FET5'EP93L*(" @('1H:7,N<F]L
    M92 ](')O;&4["B @?0H*("!P=6)L:6,@:6YT(&AA<VA#;V1E*"D@>PH@(" @
    M<F5T=7)N(&]R9U5N:714>7!E+FAA<VA#;V1E*"D["B @?0H*("!P=6)L:6,@
    M8F]O;&5A;B!E<75A;',H3V)J96-T(&\I('L*(" @(&EF("AO(#T]('1H:7,I
    M('L*(" @(" @<F5T=7)N('1R=64["B @("!](&5L<V4@:68@*&\@:6YS=&%N
    M8V5O9B!/<F=5;FET5'EP95)O;&5/:60I('L*(" @(" @3W)G56YI=%1Y<&52
    M;VQE3VED(&]T:&5R(#T@*$]R9U5N:714>7!E4F]L94]I9"EO.PH@(" @("!R
    M971U<FX@*&]R9U5N:714>7!E+F5Q=6%L<RAO=&AE<BYO<F=5;FET5'EP92D@
    M)B8@<F]L92YE<75A;',H;W1H97(N<F]L92DI.PH@(" @?2!E;'-E('L*(" @
    =(" @<F5T=7)N(&9A;'-E.PH@(" @?0H@('T*?0H`
    `
    end
    begin 666 OrgUnitTypeRole.java
    M+RHJ"B J($-O<'ER:6=H=" H8RD@,C P,"P@4&5A8V4@5&5C:&YO;&]G>2P@
    M26YC+@H@*B D075T:&]R.B!2;WET;6%N+"!!;&5X) H@*B D4F5V:7-I;VXZ
    M(#0D+" D1&%[email protected]\R-R\R,# Q(#<Z,C0Z,S8@4$TD"B J("1.;TME>7=O
    M<F1S) H@*B\*"B\J"DE.4T525"!)3E1/(&]R9U]U;FET7W1Y<&5?<F]L92 H
    M;W)G7W5N:71?='EP95]R;VQE7VED+"!O<F=?=6YI=%]T>7!E+"!R;VQE7VED
    M+"!H;VYO<FEF:6,I(%9!3%5%4R H,2P@,3$X+" Q+" G4V5N+B<I.PI)3E-%
    M4E0@24Y43R!O<F=?=6YI=%]T>7!E7W)O;&4@*&]R9U]U;FET7W1Y<&5?<F]L
    M95]I9"P@;W)G7W5N:71?='EP92P@<F]L95]I9"P@:&]N;W)I9FEC*2!604Q5
    M15,@*#(L(#(Q."P@,BP@)U)E<"XG*3L*"FEN<V5R="!I;G1O(&]R9U]U;FET
    M7W1Y<&5?<F]L92 H;W)G7W5N:71?='EP95]R;VQE7VED+"!O<F=?=6YI=%]T
    M>7!E+"!R;VQE7VED+"!H;VYO<FEF:6,I"G-E;&5C="!R;W=N=6T@*R Q,"P@
    M="XJ("!F<F]M("@*<V5L96-T(&]R9U]U;FET7W1Y<&4L(')O;&5?:60L("=3
    M96XN)PIF<F]M(&]R9U]U;FET7W1Y<&4L(')O;&4*=VAE<F4@;W)G7W5N:71?
    M='EP92!B971W965N(#$S,"!A;F0@,3@P("!A;F0@(')O;&5?:60@/B R"G5N
    M:6]N"G-E;&5C="!O<F=?=6YI=%]T>7!E+"!R;VQE7VED+" G4F5P+B<*9G)O
    M;2!O<F=?=6YI=%]T>7!E+"!R;VQE"G=H97)E(&]R9U]U;FET7W1Y<&4@8F5T
    M=V5E;B R,S @86YD(#(X," @86YD("!R;VQE7VED(#X@,@IU;FEO;@IS96QE
    M8W0@;W)G7W5N:71?='EP92P@<F]L95]I9"P@;G5L; IF<F]M(&]R9U]U;FET
    M7W1Y<&4L(')O;&4*=VAE<F4@;W)G7W5N:71?='EP92!B971W965N(#,S,"!A
    M;F0@,S@P("!A;F0@(')O;&5?:60@/B R"BD@= H*24Y315)4($E.5$\@;W)G
    M7W5N:71?='EP95]R;VQE("AO<F=?=6YI=%]T>7!E7W)O;&5?:60L(&]R9U]U
    M;FET7W1Y<&4L(')O;&5?:60L(&AO;F]R:69I8RD@5D%,5453("@Q+" Q,3 L
    M(#$L("=396YA=&]R)RD["DE.4T525"!)3E1/(&]R9U]U;FET7W1Y<&5?<F]L
    M92 H;W)G7W5N:71?='EP95]R;VQE7VED+"!O<F=?=6YI=%]T>7!E+"!R;VQE
    M7VED+"!H;VYO<FEF:6,I(%9!3%5%4R H,BP@,3$P+" R+" G4V5N871O<B<I
    M.PI)3E-%4E0@24Y43R!O<F=?=6YI=%]T>7!E7W)O;&4@*&]R9U]U;FET7W1Y
    M<&5?<F]L95]I9"P@;W)G7W5N:71?='EP92P@<F]L95]I9"P@:&]N;W)I9FEC
    M*2!604Q515,@*#,L(#$Q,"P@,RP@)U-E;F%T;W(G*3L*24Y315)4($E.5$\@
    M;W)G7W5N:71?='EP95]R;VQE("AO<F=?=6YI=%]T>7!E7W)O;&5?:60L(&]R
    M9U]U;FET7W1Y<&4L(')O;&5?:60L(&AO;F]R:69I8RD@5D%,5453("@T+" Q
    M,3 L(#0L("=396YA=&]R)RD["DE.4T525"!)3E1/(&]R9U]U;FET7W1Y<&5?
    M<F]L92 H;W)G7W5N:71?='EP95]R;VQE7VED+"!O<F=?=6YI=%]T>7!E+"!R
    M;VQE7VED+"!H;VYO<FEF:6,I(%9!3%5%4R H-2P@,34P+" Q+" G4V5N871O
    M<B<I.PI)3E-%4E0@24Y43R!O<F=?=6YI=%]T>7!E7W)O;&4@*&]R9U]U;FET
    M7W1Y<&5?<F]L95]I9"P@;W)G7W5N:71?='EP92P@<F]L95]I9"P@:&]N;W)I
    M9FEC*2!604Q515,@*#8L(#$U,"P@,BP@)U-E;F%T;W(G*3L*24Y315)4($E.
    M5$\@;W)G7W5N:71?='EP95]R;VQE("AO<F=?=6YI=%]T>7!E7W)O;&5?:60L
    M(&]R9U]U;FET7W1Y<&4L(')O;&5?:60L(&AO;F]R:69I8RD@5D%,5453("@W
    M+" Q-3 L(#,L("=396YA=&]R)RD["DE.4T525"!)3E1/(&]R9U]U;FET7W1Y
    M<&5?<F]L92 H;W)G7W5N:71?='EP95]R;VQE7VED+"!O<F=?=6YI=%]T>7!E
    M+"!R;VQE7VED+"!H;VYO<FEF:6,I(%9!3%5%4R H."P@,34P+" T+" G4V5N
    M871O<B<I.PI)3E-%4E0@24Y43R!O<F=?=6YI=%]T>7!E7W)O;&4@*&]R9U]U
    M;FET7W1Y<&5?<F]L95]I9"P@;W)G7W5N:71?='EP92P@<F]L95]I9"P@:&]N
    M;W)I9FEC*2!604Q515,@*#DL(#$P.2P@,RP@)U-E;F%T;W(G*3L*"DE.4T52
    M5"!)3E1/(&]R9U]U;FET7W1Y<&5?<F]L92 H;W)G7W5N:71?='EP95]R;VQE
    M7VED+"!O<F=?=6YI=%]T>7!E+"!R;VQE7VED+"!H;VYO<FEF:6,I(%9!3%5%
    M4R H,3$L(#(Q,"P@,2P@)U)E<')E<V5N=&%T:79E)RD["DE.4T525"!)3E1/
    M(&]R9U]U;FET7W1Y<&5?<F]L92 H;W)G7W5N:71?='EP95]R;VQE7VED+"!O
    M<F=?=6YI=%]T>7!E+"!R;VQE7VED+"!H;VYO<FEF:6,I(%9!3%5%4R H,3(L
    M(#(Q,"P@,BP@)U)E<')E<V5N=&%T:79E)RD["DE.4T525"!)3E1/(&]R9U]U
    M;FET7W1Y<&5?<F]L92 H;W)G7W5N:71?='EP95]R;VQE7VED+"!O<F=?=6YI
    M=%]T>7!E+"!R;VQE7VED+"!H;VYO<FEF:6,I(%9!3%5%4R H,3,L(#(Q,"P@
    M,RP@)U)E<')E<V5N=&%T:79E)RD["DE.4T525"!)3E1/(&]R9U]U;FET7W1Y
    M<&5?<F]L92 H;W)G7W5N:71?='EP95]R;VQE7VED+"!O<F=?=6YI=%]T>7!E
    M+"!R;VQE7VED+"!H;VYO<FEF:6,I(%9!3%5%4R H,30L(#(Q,"P@-"P@)U)E
    M<')E<V5N=&%T:79E)RD["DE.4T525"!)3E1/(&]R9U]U;FET7W1Y<&5?<F]L
    M92 H;W)G7W5N:71?='EP95]R;VQE7VED+"!O<F=?=6YI=%]T>7!E+"!R;VQE
    M7VED+"!H;VYO<FEF:6,I(%9!3%5%4R H,34L(#(U,"P@,2P@)U)E<')E<V5N
    M=&%T:79E)RD["DE.4T525"!)3E1/(&]R9U]U;FET7W1Y<&5?<F]L92 H;W)G
    M7W5N:71?='EP95]R;VQE7VED+"!O<F=?=6YI=%]T>7!E+"!R;VQE7VED+"!H
    M;VYO<FEF:6,I(%9!3%5%4R H,38L(#(U,"P@,BP@)U)E<')E<V5N=&%T:79E
    M)RD["DE.4T525"!)3E1/(&]R9U]U;FET7W1Y<&5?<F]L92 H;W)G7W5N:71?
    M='EP95]R;VQE7VED+"!O<F=?=6YI=%]T>7!E+"!R;VQE7VED+"!H;VYO<FEF
    M:6,I(%9!3%5%4R H,3<L(#(U,"P@,RP@)U)E<')E<V5N=&%T:79E)RD["DE.
    M4T525"!)3E1/(&]R9U]U;FET7W1Y<&5?<F]L92 H;W)G7W5N:71?='EP95]R
    M;VQE7VED+"!O<F=?=6YI=%]T>7!E+"!R;VQE7VED+"!H;VYO<FEF:6,I(%9!
    M3%5%4R H,3@L(#(U,"P@-"P@)U)E<')E<V5N=&%T:79E)RD["DE.4T525"!)
    M3E1/(&]R9U]U;FET7W1Y<&5?<F]L92 H;W)G7W5N:71?='EP95]R;VQE7VED
    M+"!O<F=?=6YI=%]T>7!E+"!R;VQE7VED+"!H;VYO<FEF:6,I(%9!3%5%4R H
    M,3DL(#(P.2P@,RP@)U)E<')E<V5N=&%T:79E)RD["BHO"@H*<&%C:V%G92!P
    M96%C971E8V@N9V%O+G5S;W)G+FID;SL*"G!U8FQI8R!C;&%S<R!/<F=5;FET
    M5'EP95)O;&4@>PH@('!R:79A=&4@3W)G56YI=%1Y<&4@;W)G56YI=%1Y<&4[
    M"B @<')I=F%T92!2;VQE(')O;&4["B @<')I=F%T92!3=')I;F<@:&]N;W)I
    M9FEC.PH*("!P=6)L:6,@3W)G56YI=%1Y<&52;VQE*"D@>WT*"B @<'5B;&EC
    M($]R9U5N:714>7!E(&=E=$]R9U5N:714>7!E*"D@>PH@(" @<F5T=7)N(&]R
    M9U5N:714>7!E.PH@('T*"B @<'5B;&EC('9O:60@<V5T3W)G56YI=%1Y<&4H
    M3W)G56YI=%1Y<&4@;W)G56YI=%1Y<&4I('L*(" @('1H:7,N;W)G56YI=%1Y
    M<&4@/2!O<F=5;FET5'EP93L*("!]"@H@('!U8FQI8R!V;VED('-E=%)O;&4H
    M4F]L92!R;VQE*2!["B @("!T:&ES+G)O;&4@/2!R;VQE.PH@('T*"B @<'5B
    M;&EC(%)O;&4@9V5T4F]L92@I('L*(" @(')E='5R;B!R;VQE.PH@('T*"B @
    M<'5B;&EC('9O:60@<V5T2&]N;W)I9FEC*%-T<FEN9R!H;VYO<FEF:6,I('L*
    M(" @('1H:7,N:&]N;W)I9FEC(#T@:&]N;W)I9FEC.PH@('T*"B @<'5B;&EC
    M(%-T<FEN9R!G971(;VYO<FEF:6,H*2!["B @("!R971U<FX@:&]N;W)I9FEC
    M.PH@('T*"B @<'5B;&EC(&EN="!H87-H0V]D92@I('L*(" @(')E='5R;B!O
    M<F=5;FET5'EP92YH87-H0V][email protected]@('T*"B @<'5B;&EC(&)O;VQE86X@
    M97%U86QS*$]B:F5C="!O*2!["B @("!I9B H;R ]/2!T:&ES*2!["B @(" @
    M(')E='5R;B!T<G5E.PH@(" @?2!E;'-E(&EF("AO(&EN<W1A;F-E;V8@3W)G
    M56YI=%1Y<&52;VQE*2!["B @(" @($]R9U5N:714>7!E4F]L92!O=&AE<B ]
    M("A/<F=5;FET5'EP95)O;&4I;SL*(" @(" @<F5T=7)N("AO<F=5;FET5'EP
    M92YE<75A;',H;W1H97(N;W)G56YI=%1Y<&4I("8F(')O;&4N97%U86QS*&]T
    M:&5R+G)O;&4I*3L*(" @('T@96QS92!["B @(" @(')E='5R;B!F86QS93L*
    -(" @('T*("!]"@I]"@``
    `
    end

    Hello,
    I am having problem with application identity in case of multi-colum PK when
    componente of OID class are themselve percistent classes.
    OrgUnitTypeRole class identified by OrgUnitType and Role which are both
    persistent classes.
    Attached are OrgUnitTypeRole and OrgUnitTypeRoleOid classes
    I am getting following exception:
    javax.jdo.JDOFatalDataStoreException: The registered class
    "peacetech.gao.usorg.jdo.OrgUnitTypeRole" is not compiled or not longer
    exists. If the class has been deleted, unregister it before proceeding.
    NestedThrowables:
    java.lang.VerifyError: (class: peacetech/gao/usorg/jdo/OrgUnitTypeRole,
    method: jdoCopyKeyFieldsToObjectId signature:
    (Ljavax/jdo/PersistenceCapable$ObjectIdFieldManager;Ljava/lang/Object;)V)
    Bad type in putfield/putstatic
    at com.solarmetric.kodo.impl.jdbc.schema.DB.getPersistentTypes(DB.java:270)
    at
    com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory.setup(JDBCPersi
    stenceManagerFactory.java:170)
    at
    com.solarmetric.kodo.runtime.PersistenceManagerFactoryImpl.privateSetup(Pers
    istenceManagerFactoryImpl.java:501)
    at
    com.solarmetric.kodo.runtime.PersistenceManagerFactoryImpl.getPersistenceMan
    ager(PersistenceManagerFactoryImpl.java:61)
    at
    com.solarmetric.kodo.runtime.PersistenceManagerFactoryImpl.getPersistenceMan
    ager(PersistenceManagerFactoryImpl.java:50)
    at
    peacetech.gao.usorg.jdo.JDOFactory.getPersistenceManager(JDOFactory.java:70)
    at peacetech.gao.usorg.gui.BrowserFrame.<init>(BrowserFrame.java:158)
    at peacetech.gao.usorg.gui.Browser.<init>(Browser.java:23)
    at peacetech.gao.usorg.gui.Browser.main(Browser.java:85)
    Thank you very much in advance
    Alex
    begin 666 OrgUnitTypeRoleOid.java
    M"B\J*@H@*B!#;W!Y<FEG:'0@*&,I(#(P,# L(%!E86-E(%1E8VAN;VQO9WDL
    M($EN8RX*("H@)$%U=&AO<B0*("H@)%)E=FES:6]N)"P@)$1A=&4D"B J("1.
    M;TME>7=O<F1S) H@*B\*"G!A8VMA9V4@<&5A8V5T96-H+F=A;RYU<V]R9RYJ
    M9&\N;VED.PH*:6UP;W)T('!E86-E=&5C:"YG86\N=7-O<F<N:F1O+D]R9U5N
    M:714>7!E.PII;7!O<G0@<&5A8V5T96-H+F=A;RYU<V]R9RYJ9&\N4F]L93L*
    M"G!U8FQI8R!C;&%S<R!/<F=5;FET5'EP95)O;&5/:60@:6UP;&5M96YT<R!J
    M879A+FEO+E-E<FEA;&EZ86)L92!["B @<'5B;&EC($]R9U5N:714>7!E(&]R
    M9U5N:714>7!E.PH@('!U8FQI8R!2;VQE(')O;&4["@H@('!U8FQI8R!/<F=5
    M;FET5'EP95)O;&5/:60H*2![?0H*("!P=6)L:6,@3W)G56YI=%1Y<&52;VQE
    M3VED*$]R9U5N:714>7!E(&]R9U5N:714>7!E+"!2;VQE(')O;&4I('L*(" @
    M('1H:7,N;W)G56YI=%1Y<&4@/2!O<F=5;FET5'EP93L*(" @('1H:7,N<F]L
    M92 ](')O;&4["B @?0H*("!P=6)L:6,@:6YT(&AA<VA#;V1E*"D@>PH@(" @
    M<F5T=7)N(&]R9U5N:714>7!E+FAA<VA#;V1E*"D["B @?0H*("!P=6)L:6,@
    M8F]O;&5A;B!E<75A;',H3V)J96-T(&\I('L*(" @(&EF("AO(#T]('1H:7,I
    M('L*(" @(" @<F5T=7)N('1R=64["B @("!](&5L<V4@:68@*&\@:6YS=&%N
    M8V5O9B!/<F=5;FET5'EP95)O;&5/:60I('L*(" @(" @3W)G56YI=%1Y<&52
    M;VQE3VED(&]T:&5R(#T@*$]R9U5N:714>7!E4F]L94]I9"EO.PH@(" @("!R
    M971U<FX@*&]R9U5N:714>7!E+F5Q=6%L<RAO=&AE<BYO<F=5;FET5'EP92D@
    M)B8@<F]L92YE<75A;',H;W1H97(N<F]L92DI.PH@(" @?2!E;'-E('L*(" @
    =(" @<F5T=7)N(&9A;'-E.PH@(" @?0H@('T*?0H`
    `
    end
    begin 666 OrgUnitTypeRole.java
    M+RHJ"B J($-O<'ER:6=H=" H8RD@,C P,"P@4&5A8V4@5&5C:&YO;&]G>2P@
    M26YC+@H@*B D075T:&]R.B!2;WET;6%N+"!!;&5X) H@*B D4F5V:7-I;VXZ
    M(#0D+" D1&%[email protected]\R-R\R,# Q(#<Z,C0Z,S8@4$TD"B J("1.;TME>7=O
    M<F1S) H@*B\*"B\J"DE.4T525"!)3E1/(&]R9U]U;FET7W1Y<&5?<F]L92 H
    M;W)G7W5N:71?='EP95]R;VQE7VED+"!O<F=?=6YI=%]T>7!E+"!R;VQE7VED
    M+"!H;VYO<FEF:6,I(%9!3%5%4R H,2P@,3$X+" Q+" G4V5N+B<I.PI)3E-%
    M4E0@24Y43R!O<F=?=6YI=%]T>7!E7W)O;&4@*&]R9U]U;FET7W1Y<&5?<F]L
    M95]I9"P@;W)G7W5N:71?='EP92P@<F]L95]I9"P@:&]N;W)I9FEC*2!604Q5
    M15,@*#(L(#(Q."P@,BP@)U)E<"XG*3L*"FEN<V5R="!I;G1O(&]R9U]U;FET
    M7W1Y<&5?<F]L92 H;W)G7W5N:71?='EP95]R;VQE7VED+"!O<F=?=6YI=%]T
    M>7!E+"!R;VQE7VED+"!H;VYO<FEF:6,I"G-E;&5C="!R;W=N=6T@*R Q,"P@
    M="XJ("!F<F]M("@*<V5L96-T(&]R9U]U;FET7W1Y<&4L(')O;&5?:60L("=3
    M96XN)PIF<F]M(&]R9U]U;FET7W1Y<&4L(')O;&4*=VAE<F4@;W)G7W5N:71?
    M='EP92!B971W965N(#$S,"!A;F0@,3@P("!A;F0@(')O;&5?:60@/B R"G5N
    M:6]N"G-E;&5C="!O<F=?=6YI=%]T>7!E+"!R;VQE7VED+" G4F5P+B<*9G)O
    M;2!O<F=?=6YI=%]T>7!E+"!R;VQE"G=H97)E(&]R9U]U;FET7W1Y<&4@8F5T
    M=V5E;B R,S @86YD(#(X," @86YD("!R;VQE7VED(#X@,@IU;FEO;@IS96QE
    M8W0@;W)G7W5N:71?='EP92P@<F]L95]I9"P@;G5L; IF<F]M(&]R9U]U;FET
    M7W1Y<&4L(')O;&4*=VAE<F4@;W)G7W5N:71?='EP92!B971W965N(#,S,"!A
    M;F0@,S@P("!A;F0@(')O;&5?:60@/B R"BD@= H*24Y315)4($E.5$\@;W)G
    M7W5N:71?='EP95]R;VQE("AO<F=?=6YI=%]T>7!E7W)O;&5?:60L(&]R9U]U
    M;FET7W1Y<&4L(')O;&5?:60L(&AO;F]R:69I8RD@5D%,5453("@Q+" Q,3 L
    M(#$L("=396YA=&]R)RD["DE.4T525"!)3E1/(&]R9U]U;FET7W1Y<&5?<F]L
    M92 H;W)G7W5N:71?='EP95]R;VQE7VED+"!O<F=?=6YI=%]T>7!E+"!R;VQE
    M7VED+"!H;VYO<FEF:6,I(%9!3%5%4R H,BP@,3$P+" R+" G4V5N871O<B<I
    M.PI)3E-%4E0@24Y43R!O<F=?=6YI=%]T>7!E7W)O;&4@*&]R9U]U;FET7W1Y
    M<&5?<F]L95]I9"P@;W)G7W5N:71?='EP92P@<F]L95]I9"P@:&]N;W)I9FEC
    M*2!604Q515,@*#,L(#$Q,"P@,RP@)U-E;F%T;W(G*3L*24Y315)4($E.5$\@
    M;W)G7W5N:71?='EP95]R;VQE("AO<F=?=6YI=%]T>7!E7W)O;&5?:60L(&]R
    M9U]U;FET7W1Y<&4L(')O;&5?:60L(&AO;F]R:69I8RD@5D%,5453("@T+" Q
    M,3 L(#0L("=396YA=&]R)RD["DE.4T525"!)3E1/(&]R9U]U;FET7W1Y<&5?
    M<F]L92 H;W)G7W5N:71?='EP95]R;VQE7VED+"!O<F=?=6YI=%]T>7!E+"!R
    M;VQE7VED+"!H;VYO<FEF:6,I(%9!3%5%4R H-2P@,34P+" Q+" G4V5N871O
    M<B<I.PI)3E-%4E0@24Y43R!O<F=?=6YI=%]T>7!E7W)O;&4@*&]R9U]U;FET
    M7W1Y<&5?<F]L95]I9"P@;W)G7W5N:71?='EP92P@<F]L95]I9"P@:&]N;W)I
    M9FEC*2!604Q515,@*#8L(#$U,"P@,BP@)U-E;F%T;W(G*3L*24Y315)4($E.
    M5$\@;W)G7W5N:71?='EP95]R;VQE("AO<F=?=6YI=%]T>7!E7W)O;&5?:60L
    M(&]R9U]U;FET7W1Y<&4L(')O;&5?:60L(&AO;F]R:69I8RD@5D%,5453("@W
    M+" Q-3 L(#,L("=396YA=&]R)RD["DE.4T525"!)3E1/(&]R9U]U;FET7W1Y
    M<&5?<F]L92 H;W)G7W5N:71?='EP95]R;VQE7VED+"!O<F=?=6YI=%]T>7!E
    M+"!R;VQE7VED+"!H;VYO<FEF:6,I(%9!3%5%4R H."P@,34P+" T+" G4V5N
    M871O<B<I.PI)3E-%4E0@24Y43R!O<F=?=6YI=%]T>7!E7W)O;&4@*&]R9U]U
    M;FET7W1Y<&5?<F]L95]I9"P@;W)G7W5N:71?='EP92P@<F]L95]I9"P@:&]N
    M;W)I9FEC*2!604Q515,@*#DL(#$P.2P@,RP@)U-E;F%T;W(G*3L*"DE.4T52
    M5"!)3E1/(&]R9U]U;FET7W1Y<&5?<F]L92 H;W)G7W5N:71?='EP95]R;VQE
    M7VED+"!O<F=?=6YI=%]T>7!E+"!R;VQE7VED+"!H;VYO<FEF:6,I(%9!3%5%
    M4R H,3$L(#(Q,"P@,2P@)U)E<')E<V5N=&%T:79E)RD["DE.4T525"!)3E1/
    M(&]R9U]U;FET7W1Y<&5?<F]L92 H;W)G7W5N:71?='EP95]R;VQE7VED+"!O
    M<F=?=6YI=%]T>7!E+"!R;VQE7VED+"!H;VYO<FEF:6,I(%9!3%5%4R H,3(L
    M(#(Q,"P@,BP@)U)E<')E<V5N=&%T:79E)RD["DE.4T525"!)3E1/(&]R9U]U
    M;FET7W1Y<&5?<F]L92 H;W)G7W5N:71?='EP95]R;VQE7VED+"!O<F=?=6YI
    M=%]T>7!E+"!R;VQE7VED+"!H;VYO<FEF:6,I(%9!3%5%4R H,3,L(#(Q,"P@
    M,RP@)U)E<')E<V5N=&%T:79E)RD["DE.4T525"!)3E1/(&]R9U]U;FET7W1Y
    M<&5?<F]L92 H;W)G7W5N:71?='EP95]R;VQE7VED+"!O<F=?=6YI=%]T>7!E
    M+"!R;VQE7VED+"!H;VYO<FEF:6,I(%9!3%5%4R H,30L(#(Q,"P@-"P@)U)E
    M<')E<V5N=&%T:79E)RD["DE.4T525"!)3E1/(&]R9U]U;FET7W1Y<&5?<F]L
    M92 H;W)G7W5N:71?='EP95]R;VQE7VED+"!O<F=?=6YI=%]T>7!E+"!R;VQE
    M7VED+"!H;VYO<FEF:6,I(%9!3%5%4R H,34L(#(U,"P@,2P@)U)E<')E<V5N
    M=&%T:79E)RD["DE.4T525"!)3E1/(&]R9U]U;FET7W1Y<&5?<F]L92 H;W)G
    M7W5N:71?='EP95]R;VQE7VED+"!O<F=?=6YI=%]T>7!E+"!R;VQE7VED+"!H
    M;VYO<FEF:6,I(%9!3%5%4R H,38L(#(U,"P@,BP@)U)E<')E<V5N=&%T:79E
    M)RD["DE.4T525"!)3E1/(&]R9U]U;FET7W1Y<&5?<F]L92 H;W)G7W5N:71?
    M='EP95]R;VQE7VED+"!O<F=?=6YI=%]T>7!E+"!R;VQE7VED+"!H;VYO<FEF
    M:6,I(%9!3%5%4R H,3<L(#(U,"P@,RP@)U)E<')E<V5N=&%T:79E)RD["DE.
    M4T525"!)3E1/(&]R9U]U;FET7W1Y<&5?<F]L92 H;W)G7W5N:71?='EP95]R
    M;VQE7VED+"!O<F=?=6YI=%]T>7!E+"!R;VQE7VED+"!H;VYO<FEF:6,I(%9!
    M3%5%4R H,3@L(#(U,"P@-"P@)U)E<')E<V5N=&%T:79E)RD["DE.4T525"!)
    M3E1/(&]R9U]U;FET7W1Y<&5?<F]L92 H;W)G7W5N:71?='EP95]R;VQE7VED
    M+"!O<F=?=6YI=%]T>7!E+"!R;VQE7VED+"!H;VYO<FEF:6,I(%9!3%5%4R H
    M,3DL(#(P.2P@,RP@)U)E<')E<V5N=&%T:79E)RD["BHO"@H*<&%C:V%G92!P
    M96%C971E8V@N9V%O+G5S;W)G+FID;SL*"G!U8FQI8R!C;&%S<R!/<F=5;FET
    M5'EP95)O;&4@>PH@('!R:79A=&4@3W)G56YI=%1Y<&4@;W)G56YI=%1Y<&4[
    M"B @<')I=F%T92!2;VQE(')O;&4["B @<')I=F%T92!3=')I;F<@:&]N;W)I
    M9FEC.PH*("!P=6)L:6,@3W)G56YI=%1Y<&52;VQE*"D@>WT*"B @<'5B;&EC
    M($]R9U5N:714>7!E(&=E=$]R9U5N:714>7!E*"D@>PH@(" @<F5T=7)N(&]R
    M9U5N:714>7!E.PH@('T*"B @<'5B;&EC('9O:60@<V5T3W)G56YI=%1Y<&4H
    M3W)G56YI=%1Y<&4@;W)G56YI=%1Y<&4I('L*(" @('1H:7,N;W)G56YI=%1Y
    M<&4@/2!O<F=5;FET5'EP93L*("!]"@H@('!U8FQI8R!V;VED('-E=%)O;&4H
    M4F]L92!R;VQE*2!["B @("!T:&ES+G)O;&4@/2!R;VQE.PH@('T*"B @<'5B
    M;&EC(%)O;&4@9V5T4F]L92@I('L*(" @(')E='5R;B!R;VQE.PH@('T*"B @
    M<'5B;&EC('9O:60@<V5T2&]N;W)I9FEC*%-T<FEN9R!H;VYO<FEF:6,I('L*
    M(" @('1H:7,N:&]N;W)I9FEC(#T@:&]N;W)I9FEC.PH@('T*"B @<'5B;&EC
    M(%-T<FEN9R!G971(;VYO<FEF:6,H*2!["B @("!R971U<FX@:&]N;W)I9FEC
    M.PH@('T*"B @<'5B;&EC(&EN="!H87-H0V]D92@I('L*(" @(')E='5R;B!O
    M<F=5;FET5'EP92YH87-H0V][email protected]@('T*"B @<'5B;&EC(&)O;VQE86X@
    M97%U86QS*$]B:F5C="!O*2!["B @("!I9B H;R ]/2!T:&ES*2!["B @(" @
    M(')E='5R;B!T<G5E.PH@(" @?2!E;'-E(&EF("AO(&EN<W1A;F-E;V8@3W)G
    M56YI=%1Y<&52;VQE*2!["B @(" @($]R9U5N:714>7!E4F]L92!O=&AE<B ]
    M("A/<F=5;FET5'EP95)O;&4I;SL*(" @(" @<F5T=7)N("AO<F=5;FET5'EP
    M92YE<75A;',H;W1H97(N;W)G56YI=%1Y<&4I("8F(')O;&4N97%U86QS*&]T
    M:&5R+G)O;&4I*3L*(" @('T@96QS92!["B @(" @(')E='5R;B!F86QS93L*
    -(" @('T*("!]"@I]"@``
    `
    end

  • Auto populating application identity primary key?

    I'm sure this has been asked before but I couldn't find anything by many
    searches.
    I have some classes with int or long as their primary key. I prefer using
    application identity so the application can have direct access to the
    primary key.
    I would like to have the primary key automatically populated by Kodo from
    a sequence such that I can do:
    MyObject test = new MyObject();
    pm.makePersistent(test);
    assertTrue(test.getId() > 0);
    Is this possible in Kodo? I haven't been able to find it. I know I can do
    it with datastore identity but I would really like to avoid that.
    Thank you,
    Joel Shellman

    Hi Joel,
    before you may consider to use auto-incremented appid PK's let me tell
    some things from my own experience.
    If you have auto-incremented primary key fields you have consider that
    their values will be finally set when you commit the transaction.
    So if you access the pk fields during a transaction their values will be
    NOT set until you call explicitly KodoPersistenceManager.flush() or commit
    the transaction.
    If you use applications identity and if you have a compound PK's which one
    its fields presents a foreign key from a relation, you have to consider
    this behavior and maybe run into problems.
    I had many problems with it and finally build a wrapper around the
    sequence generator instance from KodoHelper.getSequenceHelper ().
    Greetings,
    Matthias
    Stephen Kim wrote:
    Joel, there is not, unless you are using auto-incrementing primary keys.
    You can do it in application code by calling
    KodoHelper.getSequenceHelper (). Note that you should not have this in
    an empty constructor as it may interfere with integration with JDO's
    registration system.
    Joel Shellman wrote:
    I'm sure this has been asked before but I couldn't find anything by many
    searches.
    I have some classes with int or long as their primary key. I prefer using
    application identity so the application can have direct access to the
    primary key.
    I would like to have the primary key automatically populated by Kodo from
    a sequence such that I can do:
    MyObject test = new MyObject();
    pm.makePersistent(test);
    assertTrue(test.getId() > 0);
    Is this possible in Kodo? I haven't been able to find it. I know I can do
    it with datastore identity but I would really like to avoid that.
    Thank you,
    Joel Shellman
    Steve Kim
    [email protected]
    SolarMetric Inc.
    http://www.solarmetric.com

  • About Application Identity

    Hi,All
    I have a problem about application Identity.
    If table has numberic primary key columns,when reversemapping,it will be
    mapped to built-in data type like "long","int".But I want it be wrapped
    class like "Long","Integer".How to do?
    Regards,
    Jia shunlin

    See our documentation on customizing reverse mapping.
    http://www.solarmetric.com/Software/Documentation/latest/docs/ref_guide_pc_reverse.html#ref_guide_pc_reverse_custom

  • How to verify client application identity?

    Hello,
    I would appreciate some guidance from senior security people in this forum. Here is what I am trying to do:
    1- I am responsible for partial development of a TECHNICAL FRAMEWORK, which will end-up packaged as a signed jar file: i.e., "signedFramework.jar".
    2- The purpose of the framework is, of course, to be used by different BUSINESS APPLICATIONS.
    3- These business applications are typically packaged as war files, and embed the above "signedFramework.jar" with them, allowing them to make direct calls to some framework operations/classes (so, no networking involved).
    3- Each business application has its own certificate that will be used to sign its own package.
    ==> Given the situation above, can anyone help (high-level description) with the following:
    - Whenever framework sensitive operations get called, I would like to be able to verify the calling application identity: To do that, I was thinking of retrieving the certificate from the calling application. By comparing info from the retrieved certificate with a "trusted keystore" , I'd be able to authenticate the client application and allow or deny the operation.
    Is this common practice? Any hint?
    Thanks for your help and time,
    MD

    or... from DAA.
    1. client sends U to server
    2. server creates a nonce n and encrypts with the public key of the client
    3. client decrypts n and computes hash(U||n) and sends to server
    4. server computes hash(U||n) and compares it with the value received from the client
    This may take place over a public network iff U can be made public.
         C                         S
         |---------U-------->|
         |                         |
         |<------{n}_PK------|
         |                         |
         |----hash(U||n)---->|
         |          ____________|________________
         |          | Server computes hash(U||n) |
         |       | and compares it to value   |
         |          | supplied by client         |
        |       |----------------------------|
         |                         |

  • Doc for Application Identity?

    All,
    I notice that in the release notes, application identity is supported as of beta 2.20, and I know
    that several people here are using the functionality, but in looking though the documentation, I
    didn't find a section on application identity. Would someone point me in the right direction?
    TIA
    David

    David Ezzio <[email protected]> writes:
    All,
    I notice that in the release notes, application identity is supported as of beta 2.20, and I know
    that several people here are using the functionality, but in looking though the documentation, I
    didn't find a section on application identity. Would someone point me in the right direction?David,
    What problems in particular are you having? There is really only one
    aspect of Kodo JDO's application identity system that requires special
    documentation. The mechanism for providing a custom schema mapping is
    slightly different when using application identity than when using data
    store identity. See docs/existing-schema.html for details.
    Aside from this situation, you should be able to just specify the
    'identity-type' and 'objectid-class' attributes of the 'class' element
    to 'application'. For example, the XML below could be a valid
    package.jdo entry for the tutorial.Animal class if it had two fields
    called 'pk1' and 'pk2' which constituted the application-managed object
    id. Note that you must create your own object id class for Animal
    (identified as 'AnimalID' in the example). You may want to use
    com.solarmetric.kodo.tools.appid.ApplicationIDTool to auto-generate a
    template Java file.
    <?xml version="1.0"?>
    <jdo>
         <package name="tutorial">
              <class name="Animal" identity-type="application"
    objectid-class="AnimalID" >
                   <field name="pk1" primary-key="true"/>
                   <field name="pk2" primary-key="true"/>
    </class>
         </package>
    </jdo>
    Good luck, and let me know if you need further assistance.
    -Patrick
    Patrick Linskey [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • Automate Customization of "Application customization class name" in BPM

    Hi,
    I am from BPM Process Accelerators team.
    We are trying to automate the "Process Accelerator" install process in DTE.
    As part of PA post install tasks, we have to add the value *"oracle.bpmpa.global.model.WorkspaceExternalApp"* against the *"Application customization class name"* field in Application Preferences page in BPM.
    We have to automate this activity by writing appropriate script/code.
    Any suggestions on how we can achieve this ?
    Thanks,
    MD

    Hi Madhusudan,
    See if this might help: http://java.net/downloads/oraclebpmsuite11g/Samples/bpm-CustomizingWorkspace/BPM-CustomizingWS.pdf
    Dan

  • Why don't I see any of my application's classes in Mission Control?

    Hi Forum,
    My system: JRockit JVM version R28.0.0-679-130297-1.6.0_17-20100312-2123-windows-ia32, Oracle® JRockit Mission Control 4.0.0 (M4.0.0-20, 130319); JAX-WS annotated Web Services; EJB 3.0 annotated SLSBs;
    When either analyzing the live remote WLS/OSB server through JRMC's management console, or viewing a previously-dumped jfr file in JRMC, how come I don't see any of my application's classes in any of the various traces (memory, gc, events, etc.)?
    The application's architecture is basically:
                             OSB
         (proxies, xquery transformations, biz svcs)
                              |
                             WLS
               (jms, jax-ws, ejb, jdbc, jaxb)                         I've created and viewed a couple dozen jfr recordings. I've patiently trawled the management console traces. But I've yet to see any of my application's classes; nor any of the classes from the apis I've listed in my "WLS" layer above (jms, jax-ws, ejb, jdbc, jaxb).
    All I ever see in JRMC's management console or in my flight recordings are either classes at the OSB infrastructure-related, or WLS container-related classes. Plus, of course, the usual JDK classes.
    Based on the "Shows classes that take up more than 0.5% of the heap..." label I've seen displayed on the "Object Statistics/Heap Contents" tab, I've been assuming that my applications classes (plus those other api classes above) just don't take up more than half a percent of the heap. Is that right? If so, then that's "a good thing"! Right?
    If I've assumed incorrectly, please can anybody fill me in on where to look, or how to see more application-related classes?
    Thanks in advance for your help.

    Hi,
    That sounds really strange, I can't imagine how some classes could be filtered out. There is no filtering mechanism built into the JVM, the Management Console or Flight Recorder.
    Are you 100.00% sure you are connected to the right JVM and that your application has loaded correctly?
    I've been assuming that my applications classes (plus those other api classes above) just don't take up more than half a percent of the heap. Is that right? If so, then that's "a good thing"! Right?
    There is a cut off around 0.5%, if it's good or bad thing depends on what your application is supposed to do :)
    If you want to see all classes with the exact count you can use the Memory Leak Detector, but you have to go to Window -> Preferences-> JRockit Mission Control->Memory Leak Detector->Trend and set the instance count threshold to zero.
    Best regards
    Erik

  • Modify Application Customization Class Name in BPM Workspace

    Hi,
    We are working on automating the installation of BPM PAs and execution of MATS tests from DTE topo. One of the post install tasks (after installing BPM PA) involves modifying the value of Application Customization Class Name in BPM Workspace.
    Steps to modify it are as below :
    1.Login to BPM workspace
    2.Navigate to Administration -> Application Preferences
    3.Modify the Application Customization Class Name
    4.Restart the application.
    I am looking for info on how to automate the above steps. Any Java APIs that can be of use ?
    Any suggestions would be helpful.
    Thanks,
    Madhusudan

    Hi Madhusudan,
    See if this might help: http://java.net/downloads/oraclebpmsuite11g/Samples/bpm-CustomizingWorkspace/BPM-CustomizingWS.pdf
    Dan

  • Utilizing auto-increment/identity fields for primary key with "application" identity

    Is it possible to utilise an auto-increment (identity in MS SQL Server)
    field for the primary key field when using "application" identity?

    To the best of my knowledge, you cannot use auto-increment. Due to the
    differences in the way that identities are generated at the datastore
    (upon insert) vs. JDO (upon makePersistent), this feature of SQLServer is
    not supported yet.
    However, we do provide a variety of other ways of generating identity
    which may provide a closer fit to what you want, and
    our users may have some experience in solving your problem.
    On Tue, 28 Jan 2003 09:56:08 +0000, Sean Ryan wrote:
    Is it possible to utilise an auto-increment (identity in MS SQL Server)
    field for the primary key field when using "application" identity?--
    Stephen Kim
    [email protected]
    SolarMetric, Inc.
    http://www.solarmetric.com

  • Application Identity

    I am wondering how you can set an application identity? When you publish and create an ADOBE AIR application from FC, where do you set the identity so that when you sent the application to someone who wants to install it, can see it is from you and not anybody else. I thought I would find this in the publish settings but it is no where to find. Any ideas?
    Thanks in advance!

    Hi Hisham,
    You would need to set this in Flash Builder.   Import the fxp into Fb and the 'sign' the application as you export it to an AIR release build.  There is some documentation here:
    http://help.adobe.com/en_US/flashbuilder/using/WS6f97d7caa66ef6eb1e63e3d11b6c4d0d21-7f99.h tml
    Tanya

  • Updating table rows in Application Module class

    How can I update table rows in Application Module class?
    I'm using JDev 10.1.3 ADF BC, not JSF!
    Thanks.

    There are plenty of examples of doing this in the new ADF Developer's Guide for Forms/4GL Developers on the ADF Learning Center. No need to use raw JDBC.
    http://www.oracle.com/technology/products/adf/learnadf.html
    See Chapters 5 and 6 for a start.

  • NullPointerException while Invoking the Application Client class

    I am trying to use Application Client Testing Tool in WSAD 5.0. Getting NullPointerException while the class is getting invoked. Could somebody help me...
    IBM WebSphere Application Server, Release 5.0
    J2EE Application Client Tool
    Copyright IBM Corp., 1997-2002
    WSCL0012I: Processing command line arguments.
    WSCL0001I: Command line, property file, and system property arguments resolved to:
    File to launch = D:/test/TestEAR
    CC Property File = null
    Client Jar File = <default>
    Alternate DD = null
    BootstrapHost = hostxyz
    BootstrapPort = <default>
    Trace enabled = false
    Tracefile = null
    Init only = false
    Classpath Parameter = null
    Security Manager = disable
    Security Manager Class = Not used. -CCsecurityManager=disable
    Security Manager Policy = Not used. -CCsecurityManager=disable
    Exit VM = false
    Soap Connector Port = null
    Application Parameters =
    WSCL0013I: Initializing the J2EE Application Client Environment.
    WSCL0600I: Binding HandleDelegate object.
    WSCL0031I: The object was bound successfully.
    WSCL0900I: Initializing and starting components.
    WSCL0910I: Initializing component: com.ibm.ws.activity.ActivityServiceComponentImpl
    WSCL0911I: Component initialized successfully.
    WSCL0901I: Component initialization completed successfully.
    WSCL0035I: Initialization of the J2EE Application Client Environment has completed.
    WSCL0014I: Invoking the Application Client class TestMDB
    WSCL0100E: Exception received: java.lang.NullPointerException     at java.lang.reflect.Method.invoke(Native Method)
         at com.ibm.websphere.client.applicationclient.launchClient.createContainerAndLaunchApp(launchClient.java:616)
         at com.ibm.websphere.client.applicationclient.launchClient.main(launchClient.java:420)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)

    Some more info:
    This is in ApplicationClientModule of TestEAR. This EAR has an EJBModule. ApplicationClientModule invokes one of the EJBs. Selected TestEAR as Enterprise Application.

  • Deploying application with class files compiled using ojspc

    Hi,
    I want to deploy the application having class files compiled using ojspc in Oracle9iAS Release 2 rather than having JSP pages.
    Thanks,
    Pritam

    Hi Manoj,
    I have tried doing something like this.
    If you want to try this out running on a NW2004s.You need to first download the entire project from perforce branch (
    tc\webdynpro\clientserver)for NWDS 7.0 and then build the project locally in your java perspective.
    During the local build of the project.It will also point out the dependent projects required by this project(clientserevr).
    Once the project is build.
    Create seperate external jars of the clientserver project and its dependent projects and save them locally.
    Open your SDM manager,pick up this jar file from there and deploy it.
    Once the deployment is over, the server is ready to run the application you created.
    But this make your NWDS2004s to behave jus like NWDS7.0 .
    Just a small suggestion ,instead of going through this tedious process you can shift to NWDS7.0 itself.
    regards
    aarthi mathivanan

Maybe you are looking for

  • Creative Cloud special offer

    Hi there I've ordered Photoshop+Lightroom in frame of speciall offer. After I installed Creative Cloud I found that Lightroom is out of the list inside application. So I installed only Photoshop. Can you please help me with Lightroom installation? Ju

  • How to get the line type of a table type

    Hi,   i want to indetify the line type of a table type dynamically in my program. how to do? For example: data: lv_ttype type type ROLLNAME value 'PRXCTRLTAB'. how to identify line type of lv_ttype in the program. Thanks, johnney.

  • Why are audio units not showing up?

    I'm just about out of my mind with this one- I've downloaded a number of plugins, namely DCAM synth squad, Flux Stereo Tool and Magnus Ambience Reverb, but no matter what I do I can't get them to show up. They claim they're 64 bit so that shouldn't b

  • How do I use this darn thing

    Ok, well, I am a software junky. There is not much I do not know about my pc. Refused to cosider a mac ever, and then I got an ipod. That made me a little less doubtful of apple. Then BF saw the 24" flat panel intel processor imac, and I said he coul

  • JProgressBar look and feel

    Hi, I have a JProgressBar running in indeterminate mode in my application, however I don't really like the look of it (it kinda looks like a paddle moving back and forth like in one of those games). Anyway is there some way of changing the style or l