Issue 3978: Some others ways to get an abstract storage type reference (pss-ftf) Source: (, ) Nature: Enhancement Severity: Summary: At this time, the PSDL mapping does not provide a way to create an object and to directly get its reference. It means that if you want to have an abstract storage type reference, you only have to solution : - to use the _create operation from the storage home ( not very flexible ) - to find an storage type thanks to a find_ref_by_xxx from the abstract storage home I think that the "factory" mapping should be changed : Currently : ( PSS spec, p 56 ) factory create( accno ); // it's like // Account create( in string accno ) After changes : factory create( accno ); <pre> // it's like // Account create( in string accno ); // ref<Account> create_ref( in string accno ); </pre> Moreover, the catalog currently provides : StorageObject find_by_pid( byte [] pid ); It should be very useful to provide another method : StorageObjectRef find_ref_by_pid( byte [] pid ); Resolution: accepted Revised Text: Change the Java mapping for ref<> to be a pid (i.e. byte[]). Revised Text: See http://cgi.omg.org/pub/pss_ftf/proposals.pdf (color RED) Actions taken: October 23, 2000: received issue October 3, 2001: closed issue Discussion: End of Annotations:===== From: "Jerome DANIEL" To: Subject: PSS Issue : Some others ways to get an abstract storage type reference Date: Fri, 20 Oct 2000 16:49:27 -0700 Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Content-Type: text/plain; charset="iso-8859-1" X-UIDL: #$nd9Q7/!!GBW!!e$$e9 SOURCE : Jerome DANIEL ( INTALIO Inc ) NATURE : Enhancement We intensively use the PSS ( with OpenORB - www.openorb.orb - ) to provide a high flexibility for the OpenORB Services. To be able to use several connectors without any changes into the source code, we need to use abstract descriptions. At this time, the PSDL mapping does not provide a way to create an object and to directly get its reference. It means that if you want to have an abstract storage type reference, you only have to solution : - to use the _create operation from the storage home ( not very flexible ) - to find an storage type thanks to a find_ref_by_xxx from the abstract storage home I think that the "factory" mapping should be changed : Currently : ( PSS spec, p 56 ) factory create( accno ); // it's like // Account create( in string accno ) After changes : factory create( accno ); // it's like // Account create( in string accno ); // ref create_ref( in string accno ); Moreover, the catalog currently provides : StorageObject find_by_pid( byte [] pid ); It should be very useful to provide another method : StorageObjectRef find_ref_by_pid( byte [] pid );