Re: Implementation classes needed!
"John V. Sichi" <[email protected]> Tue, 20 Jul 2004 11:01:10 -0700
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.devel |
|---|---|
| Message-ID | <[email protected]> |
I got a similar question a while back from someone at Versant. The low-level org.netbeans.mdr.persistence "index" interface is a very bad match for object databases. I think there's a middle level of object mapping and caching which could be made pluggable to encourage this kind of extension, but it's not trivial. Actually, even for JDBC, it would be nice to have the option of doing the mapping at the object level. The low-level index-to-table mapping is good when you just want to guarantee that your metadata is stored in a DBMS, and you only plan to access it via MDR. But the generated schema is truly a black box; attempting to query it directly via SQL is almost impossible (at least without reverse-mapping middleware like Farrago). JVS Martin Matula wrote: > Hi Eric, > I am sorry but this is not possible. If you want to store MDR objects > differently, you can create your own implementation of the storage SPI > that can be found in org.netbeans.mdr.persistence. > Currently there are 3 know implementations of this - b-tree (used by MDR > by default), memory (transient in-memory impl.) and JDBC - contributed > to the MDR project by John Sichi. > Regards, > Martin > > Eric Torreborre wrote: > >> Hi, >> >> We are currently using the MDR for the management UML Models. However >> we would like to store them in an object database, rather than in XMI >> format. >> >> In order to do this, we need to get an access to the JMI >> implementation classes (in order to enhance them with JDO). >> >> In short, we don’t need the magic of the MDR (generated bytecode). Is >> there any standard way to achieve this? >> >> Thanks a lot for any lead,… >> >> Eric. >> >> >> -------------------------------------------------- >> Eric Torreborre >> LTG UML - Product Manager >> Leirios Technologies >> tel: 33(0)6.61.48.57.65/33(0)3.81.88.62.02 >> e-mail: [email protected] >> -------------------------------------------------- >> >> ------------------------------------------------------------------------ >> Créez gratuitement votre Yahoo! Mail avec *100 Mo de stockage !* >> Créez votre Yahoo! Mail >> <http://fr.rd.yahoo.com/mail/taglines/*http://fr.rd.yahoo.com/evt=25917/*http://fr.rd.yahoo.com/mail/mail_taglines_100/default/*http://fr.benefits.yahoo.com/> >> >> >> Yahoo! Messenger >> <http://fr.rd.yahoo.com/mail/taglines/*http://fr.rd.yahoo.com/evt=26111/*http://fr.rd.yahoo.com/messenger/mail_taglines/default/*http://fr.messenger.yahoo.com>: >> dialoguez instantanément avec vos amis - c'est * gratuit !* > > > > >