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

Similar Messages

  • 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

  • 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 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

  • 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

  • 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.

  • 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         |
        |       |----------------------------|
         |                         |

  • Cannot change Application Identity service to automatic.

    I am running Windows Technical Preview for Enterprise and when I try to change the startup Application Identity service to automatic, I always get access
    is denied and I cannot change the Application Identity service to startup automatically.
    Here is the screenshot of my error:

    Are you facing this problem with all services or only this one?
    Are you able to change it to different state?
    Make sure report this issue using Feedback App too.
    PS: You could directly add screenshot in this post by clicking on image icon and add the image.

  • 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

  • Persistence By reachability issue Application Identity

    When I Persist the base object it tries to create the related objects
    ParamRuleCondition has Collection of ParamRuleConditionExp and
    ParamRuleConditionExp has Collection of ParametricExpValue
    ParamRuleConditionExp has composite Primary Key with two keys
    (ParamRuleCondition , ParametricFeature)
    ParametricExpValue has composite Primary Key with three keys one of them
    (ExpValue) is a String (ParamRuleCondition , ParametricFeature , ExpValue)
    On saving ParamRuleCondition,
    it create ParamRuleCondition and ParamRuelConditionExp properly
    but tries to insert null in ParametricExpValue
    The error is listed at the end
    To define composite primary key for ParamRuleConditionExp
    I have two extra attribute 'Id' and 'paramFeatureId'
    Is this the right way of doing it?
    The Pk were generated using the
    com.solarmetric.kodo.enhance.ApplicationIdTool class
    Thanks for your Help
    -Paresh
    I have the following object hirearchy
    Class RuleCondition {
    private Long Id
    Class ParamRuleCondition extends RuleCondition {
    private Collection paramRuleConditionExps;
    class ParamRuleConditionExp {
    private ParamRuleCondition paramRuleCondition;
    private Long id;
    private ParametricFeature parametricFeature;
    private Long paramFeatureId;
    private Collection expressionValues;
    Class ParametricFeature {
    private Long paramFeatureId;
    private String parametricFeatureCode;
    Class ParametricExpValue {
    private String expValue;
    private ParamRuleConditionExp paramRuleCondExp;
    private Long id;
    private Long paramFeatureId;
    The system.jdo is as follows
    <jdo>
    <package name="com.paresh">
    <class
    objectid-class="com.international.core.pk.RuleConditionPK"
    identity-type="application" name="RuleCondition">
    <field name="id" primary-key="true">
    <extension key="data-column" value="RULE_COND_ID"
    vendor-name="kodo"/>
    </field>
    <extension key="class-column" value="TYPE" vendor-name="kodo"/>
    <extension key="subclass-provider"
    value="com.solarmetric.kodo.impl.jdbc.ormapping.IntegerSubclassProvider"
    vendor-name="kodo"/>
    <extension key="subclass-indicator-value" value="0"
    vendor-name="kodo"/>
    <extension key="table" value="RULE_CONDITION"
    vendor-name="kodo"/>
    <extension key="lock-column" value="none" vendor-name="kodo"/>
    </class>
    <class identity-type="application" name="ParamRuleCondition"
    persistence-capable-superclass="RuleCondition">
    <field name="paramRuleConditionExp">
    <collection element-type="ParamRuleConditionExp"/>
    <extension key="inverse" value="paramRuleCondition"
    vendor-name="kodo"/>
    </field>
    <extension key="subclass-indicator-value" value="3"
    vendor-name="kodo"/>
    <extension key="table" value="RULE_CONDITION"
    vendor-name="kodo"/>
    <extension key="lock-column" value="none" vendor-name="kodo"/>
    </class>
    <class
    objectid-class="com.international.core.pk.ParamRuleConditionExpPK"
    identity-type="application" name="ParamRuleConditionExp">
    <field name="id" primary-key="true">
    <extension key="data-column" value="RULE_COND_ID"
    vendor-name="kodo"/>
    </field>
    <field name="paramRuleCondition">
    <extension key="id-data-column" value="RULE_COND_ID"
    vendor-name="kodo"/>
    </field>
    <field name="paramFeatureId" primary-key="true">
    <extension key="data-column" value="PARAM_FETR_ID"
    vendor-name="kodo"/>
    </field>
    <field name="parametricFeature">
    <extension key="paramFeatureId-data-column"
    value="PARAM_FETR_ID" vendor-name="kodo"/>
    </field>
    <field name="expressionValues">
    <collection element-type="ParametricExpValue"/>
    <extension key="inverse" value="paramRuleCondExp"
    vendor-name="kodo"/>
    </field>
    <extension key="class-column" value="none" vendor-name="kodo"/>
    <extension key="table" value="PARAM_RULE_CONDITION_EXP"
    vendor-name="kodo"/>
    <extension key="lock-column" value="none" vendor-name="kodo"/>
    </class>
    <class
    objectid-class="com.international.core.pk.ParametricFeaturePK"
    identity-type="application" name="ParametricFeature">
    <field name="paramFeatureId" primary-key="true">
    <extension key="data-column" value="PARAM_FETR_ID"
    vendor-name="kodo"/>
    </field>
    <field name="parametricFeatureCode">
    <extension key="data-column" value="PARAM_FETR_CD"
    vendor-name="kodo"/>
    </field>
    <extension key="class-column" value="none" vendor-name="kodo"/>
    <extension key="table" value="PARAMETRIC_FEATURE"
    vendor-name="kodo"/>
    <extension key="lock-column" value="none" vendor-name="kodo"/>
    </class>
    <class
    objectid-class="com.international.core.pk.ParametricExpValuePK"
    identity-type="application" name="ParametricExpValue">
    <field name="expValue" primary-key="true">
    <extension key="data-column" value="EXP_VAL"
    vendor-name="kodo"/>
    </field>
    <field name="id" primary-key="true">
    <extension key="data-column" value="RULE_COND_ID"
    vendor-name="kodo"/>
    </field>
    <field name="paramFeatureId" primary-key="true">
    <extension key="data-column" value="PARAM_FETR_ID"
    vendor-name="kodo"/>
    </field>
    <field name="paramRuleCondExp">
    <extension key="id-data-column" value="RULE_COND_ID"
    vendor-name="kodo"/>
    <extension key="paramFeatureId-data-column"
    value="PARAM_FETR_ID" vendor-name="kodo"/>
    </field>
    <extension key="class-column" value="none" vendor-name="kodo"/>
    <extension key="table" value="PARAMETRIC_EXP_VALUE"
    vendor-name="kodo"/>
    <extension key="lock-column" value="none" vendor-name="kodo"/>
    </class>
    </jdo>
    </package>
    THe error is something like
    [9/25/03 10:42:12:797 GMT+05:30] 44501d6f ExceptionUtil E CNTR0020E:
    Non-application exception occurred while processing method
    "createParamRuleCondition" on bean
    "BeanId(CdmsDeploy#cdms-ejb.jar#Validation, null)". Exception data:
    com.solarmetric.kodo.runtime.FatalDataStoreException:
    com.solarmetric.kodo.impl.jdbc.sql.SQLExceptionWrapper:
    [SQL=INSERT INTO PARAMETRIC_EXP_VALUE(EXP_VAL, PARAM_FETR_ID,
    RULE_COND_ID) VALUES ('100', null, null)]
    [PRE=INSERT INTO PARAMETRIC_EXP_VALUE(EXP_VAL, PARAM_FETR_ID,
    RULE_COND_ID) VALUES (?, ?, ?)]
    ORA-01400: cannot insert NULL into
    ("PARESH"."PARAMETRIC_EXP_VALUE"."RULE_COND_ID")
    [code=1400;state=23000]

    It sounds like your "PARAMETRIC_EXP_VALUE" table's "RULE_COND_ID" field
    does not allow nulls. Did you create this table? If so, did you
    explicitely disallow nulls from being inserted into the table?Yes nulls are disallowed for column "RULE_COND_ID" as it is part of the
    composite primary key for PARAMETRIC_EXP_VALUE table.
    I don't understand what you mean here. Do you mean that you are trying
    to set the ID "just before it is persisted"? How are you doing this
    (e.g., in the jdoPreStore method)?It is not done in jdoPreStore method.
    I call paramRuleCondition.setId(new Long(<value>))
    just before calling pm.makePersistent(paramRuleCondition)
    Thanks
    -Paresh
    Marc Prud'hommeaux wrote:
    Paresh-
    It sounds like your "PARAMETRIC_EXP_VALUE" table's "RULE_COND_ID" field
    does not allow nulls. Did you create this table? If so, did you
    explicitely disallow nulls from being inserted into the table?
    One thing I would like to add is that ParamRuleCondition's id has a 'null'
    value until just before it is persisted.
    I don't understand what you mean here. Do you mean that you are trying
    to set the ID "just before it is persisted"? How are you doing this
    (e.g., in the jdoPreStore method)?
    In article <[email protected]>, Paresh wrote:
    Thanks for your help Stephen
    I changed the business object method to set the id
    But now I am getting a different error
    The new error is listed below
    One thing I would like to add is that ParamRuleCondition's id has a 'null'
    value until just before it is persisted.
    But even then the Id is propogated to ParamRuleConditionExp, from where I
    would expect it to go to the ParametricExpValue. But it doesn't happen.
    Is my expectation right or is there a gap in my understanding of the way
    KODO works?
    Thanks for your help
    -Paresh
    Exception data: com.solarmetric.kodo.runtime.FatalDataStoreException:
    com.solarmetric.kodo.impl.jdbc.sql.SQLExceptionWrapper:
    [SQL=INSERT INTO PARAMETRIC_EXP_VALUE(EXP_VAL, PARAM_FETR_ID,
    RULE_COND_ID) VALUES ('100', 3, null)]
    [PRE=INSERT INTO PARAMETRIC_EXP_VALUE(EXP_VAL, PARAM_FETR_ID,
    RULE_COND_ID) VALUES (?, ?, ?)]
    ORA-01400: cannot insert NULL into
    ("CDMS2"."PARAMETRIC_EXP_VALUE"."RULE_COND_ID")
    Stephen Kim wrote:
    When attempting to do what you want to do (a persistent class column as
    part of the pk), you have to set both the pk field and the relation.
    i.e. yourClass.setFeatureId (feature.getId ());
    yourClass.setFeature (feature);
    Of course that logic can be encapsulated in your business objects.
    Paresh wrote:
    When I Persist the base object it tries to create the related objects
    ParamRuleCondition has Collection of ParamRuleConditionExp and
    ParamRuleConditionExp has Collection of ParametricExpValue
    ParamRuleConditionExp has composite Primary Key with two keys
    (ParamRuleCondition , ParametricFeature)
    ParametricExpValue has composite Primary Key with three keys one of them
    (ExpValue) is a String (ParamRuleCondition , ParametricFeature ,
    ExpValue)
    >>>>
    On saving ParamRuleCondition,
    it create ParamRuleCondition and ParamRuelConditionExp properly
    but tries to insert null in ParametricExpValue
    The error is listed at the end
    To define composite primary key for ParamRuleConditionExp
    I have two extra attribute 'Id' and 'paramFeatureId'
    Is this the right way of doing it?
    The Pk were generated using the
    com.solarmetric.kodo.enhance.ApplicationIdTool class
    Thanks for your Help
    -Paresh
    I have the following object hirearchy
    Class RuleCondition {
    private Long Id
    Class ParamRuleCondition extends RuleCondition {
    private Collection paramRuleConditionExps;
    class ParamRuleConditionExp {
    private ParamRuleCondition paramRuleCondition;
    private Long id;
    private ParametricFeature parametricFeature;
    private Long paramFeatureId;
    private Collection expressionValues;
    Class ParametricFeature {
    private Long paramFeatureId;
    private String parametricFeatureCode;
    Class ParametricExpValue {
    private String expValue;
    private ParamRuleConditionExp paramRuleCondExp;
    private Long id;
    private Long paramFeatureId;
    The system.jdo is as follows
    <jdo>
    <package name="com.paresh">
    <class
    objectid-class="com.international.core.pk.RuleConditionPK"
    identity-type="application" name="RuleCondition">
    <field name="id" primary-key="true">
    <extension key="data-column" value="RULE_COND_ID"
    vendor-name="kodo"/>
    </field>
    <extension key="class-column" value="TYPE"vendor-name="kodo"/>
    <extension key="subclass-provider"
    value="com.solarmetric.kodo.impl.jdbc.ormapping.IntegerSubclassProvider"
    vendor-name="kodo"/>
    <extension key="subclass-indicator-value" value="0"
    vendor-name="kodo"/>
    <extension key="table" value="RULE_CONDITION"
    vendor-name="kodo"/>
    <extension key="lock-column" value="none"vendor-name="kodo"/>
    </class>
    <class identity-type="application" name="ParamRuleCondition"
    persistence-capable-superclass="RuleCondition">
    <field name="paramRuleConditionExp">
    <collection element-type="ParamRuleConditionExp"/>
    <extension key="inverse" value="paramRuleCondition"
    vendor-name="kodo"/>
    </field>
    <extension key="subclass-indicator-value" value="3"
    vendor-name="kodo"/>
    <extension key="table" value="RULE_CONDITION"
    vendor-name="kodo"/>
    <extension key="lock-column" value="none"vendor-name="kodo"/>
    </class>
    <class
    objectid-class="com.international.core.pk.ParamRuleConditionExpPK"
    identity-type="application" name="ParamRuleConditionExp">
    <field name="id" primary-key="true">
    <extension key="data-column" value="RULE_COND_ID"
    vendor-name="kodo"/>
    </field>
    <field name="paramRuleCondition">
    <extension key="id-data-column" value="RULE_COND_ID"
    vendor-name="kodo"/>
    </field>
    <field name="paramFeatureId" primary-key="true">
    <extension key="data-column" value="PARAM_FETR_ID"
    vendor-name="kodo"/>
    </field>
    <field name="parametricFeature">
    <extension key="paramFeatureId-data-column"
    value="PARAM_FETR_ID" vendor-name="kodo"/>
    </field>
    <field name="expressionValues">
    <collection element-type="ParametricExpValue"/>
    <extension key="inverse" value="paramRuleCondExp"
    vendor-name="kodo"/>
    </field>
    <extension key="class-column" value="none"vendor-name="kodo"/>
    <extension key="table" value="PARAM_RULE_CONDITION_EXP"
    vendor-name="kodo"/>
    <extension key="lock-column" value="none"vendor-name="kodo"/>
    </class>
    <class
    objectid-class="com.international.core.pk.ParametricFeaturePK"
    identity-type="application" name="ParametricFeature">
    <field name="paramFeatureId" primary-key="true">
    <extension key="data-column" value="PARAM_FETR_ID"
    vendor-name="kodo"/>
    </field>
    <field name="parametricFeatureCode">
    <extension key="data-column" value="PARAM_FETR_CD"
    vendor-name="kodo"/>
    </field>
    <extension key="class-column" value="none"vendor-name="kodo"/>
    <extension key="table" value="PARAMETRIC_FEATURE"
    vendor-name="kodo"/>
    <extension key="lock-column" value="none"vendor-name="kodo"/>
    </class>
    <class
    objectid-class="com.international.core.pk.ParametricExpValuePK"
    identity-type="application" name="ParametricExpValue">
    <field name="expValue" primary-key="true">
    <extension key="data-column" value="EXP_VAL"
    vendor-name="kodo"/>
    </field>
    <field name="id" primary-key="true">
    <extension key="data-column" value="RULE_COND_ID"
    vendor-name="kodo"/>
    </field>
    <field name="paramFeatureId" primary-key="true">
    <extension key="data-column" value="PARAM_FETR_ID"
    vendor-name="kodo"/>
    </field>
    <field name="paramRuleCondExp">
    <extension key="id-data-column" value="RULE_COND_ID"
    vendor-name="kodo"/>
    <extension key="paramFeatureId-data-column"
    value="PARAM_FETR_ID" vendor-name="kodo"/>
    </field>
    <extension key="class-column" value="none"vendor-name="kodo"/>
    <extension key="table" value="PARAMETRIC_EXP_VALUE"
    vendor-name="kodo"/>
    <extension key="lock-column" value="none"vendor-name="kodo"/>
    </class>
    </jdo>
    </package>
    THe error is something like
    [9/25/03 10:42:12:797 GMT+05:30] 44501d6f ExceptionUtil E CNTR0020E:
    Non-application exception occurred while processing method
    "createParamRuleCondition" on bean
    "BeanId(CdmsDeploy#cdms-ejb.jar#Validation, null)". Exception data:
    com.solarmetric.kodo.runtime.FatalDataStoreException:
    com.solarmetric.kodo.impl.jdbc.sql.SQLExceptionWrapper:
    [SQL=INSERT INTO PARAMETRIC_EXP_VALUE(EXP_VAL, PARAM_FETR_ID,
    RULE_COND_ID) VALUES ('100', null, null)]
    [PRE=INSERT INTO PARAMETRIC_EXP_VALUE(EXP_VAL, PARAM_FETR_ID,
    RULE_COND_ID) VALUES (?, ?, ?)]
    ORA-01400: cannot insert NULL into
    ("PARESH"."PARAMETRIC_EXP_VALUE"."RULE_COND_ID")
    [code=1400;state=23000]
    Steve Kim
    [email protected]
    SolarMetric Inc.
    http://www.solarmetric.com
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • Realm of my application for identity and access

    I plan to replace Azure cloud services’ provided subdomain (myapp.cloudapp.net) with our own domain, customDomain.com. I eventually find out that I cannot do that. I have to configure a custom domain name to route traffic to myapp.cloudapp.net. Why does
    not Azure allow me to replace myapp.cloudapp.net with my own custom domain? I end up having two domains for one site. Please look at this site:
    http://azure.microsoft.com/en-us/documentation/articles/cloud-services-custom-domain-name/
    That custom domain name also has an SSL certificate from a CA. In addition to that, I also use single sign on for my application (Identity and Access). In this case, I configure the Identity and Access (realm of my application) with my custom domain name.
    Is this the right way? It does not make sense to configure this with myapp.cloudapp.net. I currently have issues with ADFS but I could not figure out why. 

    Hi,
    Here providing article might helpful for your case.
    Domain mapping, Domain forwarding, SSL certificate for Windows Azure
    http://blogs.msdn.com/b/sriharsha/archive/2012/02/25/domain-mapping-on-windows-azure.aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Domain and realm of my application for identity and access

    I plan to replace Azure cloud services’ provided subdomain (myapp.cloudapp.net) with our own domain, customDomain.com. I eventually find out that I cannot do that. I have to configure a custom domain name to route traffic to myapp.cloudapp.net. Why does
    not Azure allow me to replace myapp.cloudapp.net with my own custom domain? I end up having two domains for one site. Please look at this site:
    http://azure.microsoft.com/en-us/documentation/articles/cloud-services-custom-domain-name/
    That custom domain name also has an SSL certificate from a CA. In addition to that, I also use single sign on for my application (Identity and Access). In this case, I configure the Identity and Access (realm of my application) with my custom domain name.
    Is this the right way? It does not make sense to configure this with myapp.cloudapp.net. 

    Hi,
    If you want to configure SSL for azure cloud service, I think this article will help you:
    http://azure.microsoft.com/en-gb/documentation/articles/cloud-services-configure-ssl-certificate/, if you want to ask some issues related to Identity and Access, I would suggest you move to azure Active Directory forum:
    https://social.msdn.microsoft.com/Forums/en-US/home?forum=WindowsAzureAD
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Problem with application id and extents

    Hi, I've run into what may be a bug, so I wanted to run it by your group.
    I have a class that is using application identity and contains a
    collection of strings. When I load each instance of the class, the
    collection is filled in, however, when I load all the instances using
    getExtent(), the collections are not filled in.
    Thanks
    The relevant part of the .jdo file is:
    <class name="KeywordInfo" objectid-class="KeywordInfo$KeywordInfoJDOId">
    <extension vendor-name="kodo" key="detachable" value="true"/>
    <field name="idstr" primary-key="true" default-fetch-group="true"/>
    </field>
    <field name="jdoChoices" default-fetch-group="true">
    <collection element-type="String"/>
    <extension vendor-name="kodo" key="element-dependent" value="true"/>
    </field>
    </class>
    The .mapping file is:
    <class name="KeywordInfo">
    <jdbc-class-map type="base" table="CATADMIN.MPM_KEY_INFO"/>
    <jdbc-version-ind type="version-number" column="JDOLOCKX"/>
    <field name="idstr">
    <jdbc-field-map type="value" column="IDSTR"/>
    </field>
    <field name="jdoChoices">
    <jdbc-field-map type="collection" element-column="ELEMENT"
    order-column="JDOCHOICES_ORDER" ref-column.IDSTR="IDSTR"
    table="CATADMIN.MPM_K_JDOCHOICES"/>
    </field>
    </class>
    When I load a single instance, I get the following sql trace:
    SELECT t0.JDOLOCKX, t0.DBIDX, t0.DESCRIPTIONX, t0.HASUNITSX, t0.IDSTR,
    t0.ISDATAKEYWORDX, t0.ISDISPLAYABLEX, t0.ISEDITABLEX, t0.ISFACTOR,
    t0.ISNULLVALUEALLOWEDX, t0.ISREQVALUEINCHOICESX, t0.JDODEFAULTVALUEX,
    t0.JDOUNITX, t0.JDOVALUETYPEX, t0.KEYWORDX, t0.KEYWORDTYPEX, t0.REGEXP,
    t1.IDSTR, t1.JDOCHOICES_ORDER, t1.ELEMENT FROM CATADMIN.MPM_KEY_INFO t0,
    CATADMIN.MPM_K_JDOCHOICES t1 WHERE t0.IDSTR = ? AND t0.IDSTR = t1.IDSTR(+)
    ORDER BY t1.IDSTR ASC, t1.JDOCHOICES_ORDER ASC [params=(String)
    BDT:test111b]
    When I load the extent, I get the following:
    6549 DEBUG [main] jdbc.SQL - <t 6151022, conn 9992755> [0 ms] executing
    prepstmnt 19940306 SELECT DISTINCT t0.IDSTR, t1.JDOCHOICES_ORDER,
    t1.ELEMENT FROM CATADMIN.MPM_KEY_INFO t0, CATADMIN.MPM_K_JDOCHOICES t1
    WHERE t0.IDSTR IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) AND t0.IDSTR = t1.IDSTR
    ORDER BY t0.IDSTR ASC, t1.JDOCHOICES_ORDER ASC [params=(String)
    BDT:13303055, (String) BDT:test111b, (String) BDT:5606643, (String)
    BDT:5606644, (String) BDT:5606645, (String) BDT:5606646, (String)
    BDT:5606647, (String) BDT:5606648, (String) BDT:5606649, (String)
    BDT:5606650] [reused=8]

    Just tried it and got the same SQL (below).
    SELECT DISTINCT t0.IDSTR, t1.JDOCHOICES_ORDER, t1.ELEMENT FROM
    CATADMIN.MPM_KEY_INFO t0, CATADMIN.MPM_K_JDOCHOICES t1 WHERE t0.IDSTR IN
    (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) AND t0.IDSTR = t1.IDSTR ORDER BY t0.IDSTR
    ASC, t1.JDOCHOICES_ORDER ASC [params=(String) BDT:13303055, (String)
    BDT:test111b, (String) BDT:5606643, (String) BDT:5606644, (String)
    BDT:5606645, (String) BDT:5606646, (String) BDT:5606647, (String)
    BDT:5606648, (String) BDT:5606649, (String) BDT:5606650]
    Stephen Kim wrote:
    Extent iteration is slightly different than other fetching. Does using
    an empty query pm.newQuery (Person.class, "") change the SQL?
    Charles Schmitt wrote:
    Hi, I've run into what may be a bug, so I wanted to run it by your group.
    I have a class that is using application identity and contains a
    collection of strings. When I load each instance of the class, the
    collection is filled in, however, when I load all the instances using
    getExtent(), the collections are not filled in.
    Thanks
    The relevant part of the .jdo file is:
    <class name="KeywordInfo" objectid-class="KeywordInfo$KeywordInfoJDOId">
    <extension vendor-name="kodo" key="detachable" value="true"/>
    <field name="idstr" primary-key="true" default-fetch-group="true"/>
    </field>
    <field name="jdoChoices" default-fetch-group="true">
    <collection element-type="String"/>
    <extension vendor-name="kodo" key="element-dependent" value="true"/>
    </field>
    </class>
    The .mapping file is:
    <class name="KeywordInfo">
    <jdbc-class-map type="base" table="CATADMIN.MPM_KEY_INFO"/>
    <jdbc-version-ind type="version-number" column="JDOLOCKX"/>
    <field name="idstr">
    <jdbc-field-map type="value" column="IDSTR"/>
    </field>
    <field name="jdoChoices">
    <jdbc-field-map type="collection" element-column="ELEMENT"
    order-column="JDOCHOICES_ORDER" ref-column.IDSTR="IDSTR"
    table="CATADMIN.MPM_K_JDOCHOICES"/>
    </field>
    </class>
    When I load a single instance, I get the following sql trace:
    SELECT t0.JDOLOCKX, t0.DBIDX, t0.DESCRIPTIONX, t0.HASUNITSX, t0.IDSTR,
    t0.ISDATAKEYWORDX, t0.ISDISPLAYABLEX, t0.ISEDITABLEX, t0.ISFACTOR,
    t0.ISNULLVALUEALLOWEDX, t0.ISREQVALUEINCHOICESX, t0.JDODEFAULTVALUEX,
    t0.JDOUNITX, t0.JDOVALUETYPEX, t0.KEYWORDX, t0.KEYWORDTYPEX, t0.REGEXP,
    t1.IDSTR, t1.JDOCHOICES_ORDER, t1.ELEMENT FROM CATADMIN.MPM_KEY_INFO t0,
    CATADMIN.MPM_K_JDOCHOICES t1 WHERE t0.IDSTR = ? AND t0.IDSTR = t1.IDSTR(+)
    ORDER BY t1.IDSTR ASC, t1.JDOCHOICES_ORDER ASC [params=(String)
    BDT:test111b]
    When I load the extent, I get the following:
    6549 DEBUG [main] jdbc.SQL - <t 6151022, conn 9992755> [0 ms] executing
    prepstmnt 19940306 SELECT DISTINCT t0.IDSTR, t1.JDOCHOICES_ORDER,
    t1.ELEMENT FROM CATADMIN.MPM_KEY_INFO t0, CATADMIN.MPM_K_JDOCHOICES t1
    WHERE t0.IDSTR IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) AND t0.IDSTR = t1.IDSTR
    ORDER BY t0.IDSTR ASC, t1.JDOCHOICES_ORDER ASC [params=(String)
    BDT:13303055, (String) BDT:test111b, (String) BDT:5606643, (String)
    BDT:5606644, (String) BDT:5606645, (String) BDT:5606646, (String)
    BDT:5606647, (String) BDT:5606648, (String) BDT:5606649, (String)
    BDT:5606650] [reused=8]
    Steve Kim
    [email protected]
    SolarMetric Inc.
    http://www.solarmetric.com

  • ClickOnce: Reference in the manifest does not match the identity of the downloaded assembly Office.dll

    I have WPF application, which has the excel component reference. I have the deployment issue when i user Office 2007 installed on my server and try to access the application i get Reference in the manifest does not match the identity of the downloaded assembly Office.dll , but when office 2003 is installed there is no issue deplying.
    Below is the detail of the issue.
    PLATFORM VERSION INFO
        Windows             : 5.1.2600.131072 (Win32NT)
        Common Language Runtime     : 2.0.50727.3082
        System.Deployment.dll         : 2.0.50727.3053 (netfxsp.050727-3000)
        mscorwks.dll             : 2.0.50727.3082 (QFE.050727-3000)
        dfshim.dll             : 2.0.50727.3053 (netfxsp.050727-3000)
    SOURCES
        Deployment url            : http://<Server>/VFOLDER/pages.xbap
        Application url            : http://Server/VFOLDER/Application%20Files/pages_1_0_0_3/pages.exe.manifest
    IDENTITIES
        Deployment Identity        : pages.xbap, Version=1.0.0.3, Culture=neutral, PublicKeyToken=70c49c4ca21b317d, processorArchitecture=msil
        Application Identity        : pages.exe, Version=1.0.0.3, Culture=neutral, PublicKeyToken=70c49c4ca21b317d, processorArchitecture=msil, type=win32
    APPLICATION SUMMARY
        * Online only application.
        * Browser-hosted application.
    ERROR SUMMARY
        Below is a summary of the errors, details of these errors are listed later in the log.
        * An exception occurred while downloading the application. Following failure messages were detected:
            + Reference in the manifest does not match the identity of the downloaded assembly Office.dll.
    COMPONENT STORE TRANSACTION FAILURE SUMMARY
        No transaction error was detected.
    WARNINGS
        There were no warnings during this operation.
    OPERATION PROGRESS STATUS
        No phase information is available.
    ERROR DETAILS
        Following errors were detected during this operation.
        * [6/22/2009 5:43:31 PM] System.Deployment.Application.InvalidDeploymentException (RefDefValidation)
            - Reference in the manifest does not match the identity of the downloaded assembly Office.dll.
            - Source: System.Deployment
            - Stack trace:
                at System.Deployment.Application.DownloadManager.ProcessDownloadedFile(Object sender, DownloadEventArgs e)
                at System.Deployment.Application.FileDownloader.DownloadModifiedEventHandler.Invoke(Object sender, DownloadEventArgs e)
                at System.Deployment.Application.FileDownloader.OnModified()
                at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
                at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
                at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
                at System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)
                at System.Deployment.Application.DeploymentManager.SynchronizeCore(Boolean blocking)
                at System.Deployment.Application.DeploymentManager.SynchronizeAsyncWorker()
    COMPONENT STORE TRANSACTION DETAILS
        No transaction information is available.
    Any one has faced the problem... any help will be very grateful.
    Thanks in Advance.
    Sunil

    Thanks for the reply Robin, here is some of the observation, hope you can provide some solution from your end.
    1. When Publish my build, in the Manifest file dependentAssembly has two reference to Office.dll one with version 11.0.0.0 and another with version 7.0.3300.0.
    2. In the pages_1_0_0_4 Published folder has one office.dll with version 11.0.5530.0
    3. In the root folder of the virtual directory has one office.dll with version 7.0.9466.0
    Can you please give your thoughts, what exactly wrong with the deployment, i feel its a assembly mismatch.  where in the application files i have set the required assembly. please provide your useful solution.
    Thanks in Advance.
    Sunil

Maybe you are looking for

  • MS Access: Oracle9i: How To: Open an Oracle "VIEW" in a DAO Database ???

    NEWBIE Alert! Esteemed Forum Participants and Lurkers: =============================== I have successfully opened an Access (2002) DAO Database from a remote Oracle database and fetched all of the TableDefs (all 534 of them!), but I'm told that what

  • Trying to use my I-photo burned CD to play as slide show on windows lap top

    I burned a folder on a cd. It plays perfectly as a slide show on my e-mac. We want to take the Sony windows laptop to show my parents our construction project tomorrow. It goes into the Sony family photos, but it repeated the photos at least 4 times

  • How to pass a presentation variable to a stored procedure?

    Hi All, We have a complex security model to emulate. In order to achieve that, we need to find a way for OBI to run and pass parameter to a stored procedure (SP). "APlus_BI_EmplName2" is the name of the stored procedure. This SP requires a param and

  • Interactive PDF Not Working On Other Computers

    Hi, I created an interactive pdf from an Indesign file on my personal computer. I put the file on another computer but it doesn't work? What could be the problem? Thank you, Kristie

  • Designing D

    Hi, where can i get an application to design my dabatase structure ? Like a flowchart...to insert Tables, Fields, relations,... so that i can print it and include in the proposal to my client. Thanks, Pedro MG null