Hi Ariel, > first: of course I read the API! it's just that these questions are not > answered there (at least for my understanding :-( ; for example in the > description for the param. Destination of the constructor, it is not > clear that there MUST be an ODB).
Ooops, you're right, I added to my TODO list to update this doc part. Thanks for pointing out. > second: thanks to NetBeans IDE code completion, I find out that you > forgot the *second constructor* in the reference: > CopyTableWizard.createWithInteractionHandler() Ehm - just downloaded the version from Nov. 20th - it is documented there. Not sure whether we have a version problem here, but anyway: The most recent documentation contains it, including an extra chapter about interactions, explaining which interaction handler is used for what. > third: although you don't like my exclamations with the "1" key ;-) hehe > CONGRATULATIONS!!!!!!! I've done 5 test (HSQLDB embedded, 2000 records > in seconds, client application, no GUI, I didn't even open an ODB! ... > [no, here also exclamations because I find this great - again: I didn't > even open an ODB!!!!!!!!!!]), and worked OK! Thanks, nice to hear that. > Finally, I didn't success with the attr. > XCopyTableWizard::NewPrimaryKey, but sure it's my fault because I think > it's the first time I work with a ::com::sun::star::beans::Optional< > string >. Hmm. I was too lazy too write a Java program, and I am not sure templates have an equivalent in the Basic language binding. (Sounds like time to submit Yet Another Issue for unsupported UNO features in Basic.) > I passed an CopyTableOperation.CopyDefinitionAndData, so that the attr. > won't be ignored, and in the Java bridge for this I wrote: > xCopyTableWizard.setCreatePrimaryKey(new Optional<String>(true, > "ID_CUSTOMER")); > What am I missing? Hmm - look good to me, need to check. Will do on Monday. > On the weekend I'll test with MySQL and PostgreSQL, dbase, etc. and I > let you know. Thanks a lot, you gave the kind of feedback I was hoping for! Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
