Re: [dba-dev] writing a new SDBC(X) driver, similar to the MySQL driver

2008-05-28 Thread Ocke Janssen

Moin Micha,

Michael Strobel wrote:

Moin Ocke,

  

When you call at the metadata the getTypeInfo method which results do
you get? You could for example use the code in the qa folder as
template.



I wrote a small test program that calls getTypeInfo and shows the
result. Used NetBeans for this, very cool :) The value is actually set
to the string supplied with the Properties, but as before there is no
change in Open Office. Unexpected values as the string null don't
produce any errors?
  
What do you want to achieve with the TypeDescriptionInfo? May be your 
Double type doesn't need any parameters, just a guess.
  
Currently null is not recognized as keyword, you have to adjust the 
RowFunctionParser.cxx when you don't want to appear the word null as

the column value.



So this is necessary to set a value in the result to null, because so
far only substitution of values is possible?
  
When null is really needed, may be should could change the 
RowFunctionParser to accept null as well. It's not that complicated ;-)
  

Freeze is not good. Does this happen also with other dbs? Sometimes we
are calling getObject(xx) and some methods are not handled well.
It depends on the column which method is called, may a look in
ORowSetValue might help or dbtools.cxx



No, it doesn't happen with MySQL at least. As far as I could see OOo
uses LOB locators to retrieve LOB values from the DBMs. What happens if
LOB locators are not supported? I think Ingres supports them in the
version I'm using. Maybe our JDBC driver developer can give more hints. 
  

You have an own JDBC driver? Then change the getTypeInfo there :-)

Best regards,

Ocke

Best regards,
Micha

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  



--
Ocke Janssen  Tel: +49 40 23646 661, x1
Dipl. Inf(FH) Fax: +49 40 23646 550
Sun Microsystems Inc.
Nagelsweg 55 mailto:[EMAIL PROTECTED]
D-20097 Hamburg   http://www.sun.com/staroffice

Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1, 
D-85551 Kirchheim-Heimstetten

Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering



[dba-dev] rptchart2 issue?

2008-05-28 Thread Reizinger Zoltán
I downloaded new version marked as 080528
 (ftp://qa-upload.services.openoffice.org/rptchart02/) of rptchart2, and SRB 
with upload date 080528, installs as 1.0.3, from the same place installed on 
openSuSE 10.3 x86_64, java 1.6_05.
My first question, this is the version which need to be tested? 
if yes I found that, file in issue 89365 (OOo30RPT_1_0_3_first.odb) cause 
crash when I tried to edit or open existing reports.
After that I deleted all reports, closed file and OOo, opened again, tried to 
create report on More3 table, I put three filed into main area, and tried to 
insert chart into report footer, and this caused crash.
Best regards, 
Zoltan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [dba-dev] writing a new SDBC(X) driver, similar to the MySQL driver

2008-05-28 Thread Michael Strobel

Moin Ocke,

 What do you want to achieve with the TypeDescriptionInfo? May be your
 Double type doesn't need any parameters, just a guess.

 You have an own JDBC driver? Then change the getTypeInfo there :-)

Right, the Ingres double type doesn't expect any parameters. It's
definitely a bug in the getTypeInfo() method of our JDBC driver. Just
thought I can fix it that way, until our JDBC driver guy fixed it in the
JDBC driver :)

The LOB thing is strange. It turned out that I used an old version of
the JDBC driver and the newest version doesn't cause Open Office to
freeze, but it's still neither possible to read nor to write LOBs.
A small test program written in NetBeans showed, that calling getClob()
on a XRow doesn't return an XClob as expected, while doing getClob() on
a Row in Java with the JDBC driver returns a Clob. Possibly a problem
with passing the LOB reference from Java to C++? If I call getString()
on XRow for a CLOB column I get the string. Confusing...

Best regards,
Micha

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dba-dev] New cws rptchart02 for testing purpose

2008-05-28 Thread Ocke Janssen

Ariel Constenla-Haile wrote:

Hi Ocke,

Ocke Janssen escribió:

Moin all,

now it's time for 2nd release. I fixed all reported issues but may be 
there are more unknown inside. So please test this version also :-)

It is build on a DEV300.m13


where can we download it?

Moin Ariel,

sorry I missed that :-) Same location as before.

ftp://qa-upload.services.openoffice.org/

- oj


Regards
Ariel.





--
Ocke Janssen  Tel: +49 40 23646 661, x1
Dipl. Inf(FH) Fax: +49 40 23646 550
Sun Microsystems Inc.
Nagelsweg 55 mailto:[EMAIL PROTECTED]
D-20097 Hamburg   http://www.sun.com/staroffice

Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1, 
D-85551 Kirchheim-Heimstetten

Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]