pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedCrystal Reports / PostgreSQL
18+ messages / 6 participants
[nested] [flat]
* Crystal Reports / PostgreSQL
@ 2005-02-09 15:23 Kenneth Hutchinson <Kenneth.Hutchinson@RealPage.com>
2005-02-09 16:43 ` Re: Crystal Reports / PostgreSQL Xavier Poinsard <xpoinsard@free.fr>
0 siblings, 1 reply; 18+ messages in thread
From: Kenneth Hutchinson @ 2005-02-09 15:23 UTC (permalink / raw)
To: pgsql-jdbc
Hello,
I am currently trying to reach a PostgreSQL database using Crystal
Reports v11. My goal is to design a simple report that I can call from
the Java viewer. Using the BO Xtreme database example everything is
fine, but when I flip the switch to remotely access a PostgreSQL db, a
connection is created in the Database Expert, but no tables are
displayed.
If I create a Command that has SQL like "select * from table XYZ", I do
get results back, but I don't understand why I have to do this if CR
designer won't show me the tables.
Also, every time I try to access my connection, it tells me that "This
method is not yet implemented". It doesn't tell me which method, though.
Can anyone shed some light on how to get PostgreSQL up and running with
Crystal Reports v11? Should I switch to v10?
Setup:
Crystal Reports v11
PostgreSQL db
PostgreSQL driver pg74.215.jdbc3.jar
jdk1.4.2_06
Thanks!
kh
This message is intended only for the use of the individual(s) or entity to which it is addressed and may contain information that is privileged, confidential, and/or proprietary to RealPage and its affiliated companies. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, forwarding or copying of this communication is prohibited without the express permission of the sender. If you have received this communication in error, please notify the sender immediately and delete the original message.
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Crystal Reports / PostgreSQL
2005-02-09 15:23 Crystal Reports / PostgreSQL Kenneth Hutchinson <Kenneth.Hutchinson@RealPage.com>
@ 2005-02-09 16:43 ` Xavier Poinsard <xpoinsard@free.fr>
2005-02-10 07:58 ` Re: Crystal Reports / PostgreSQL Kris Jurka <books@ejurka.com>
0 siblings, 1 reply; 18+ messages in thread
From: Xavier Poinsard @ 2005-02-09 16:43 UTC (permalink / raw)
To: pgsql-jdbc; +Cc: Kenneth Hutchinson <Kenneth.Hutchinson@RealPage.com>
Kenneth Hutchinson wrote:
> Also, every time I try to access my connection, it tells me that "This
> method is not yet implemented". It doesn’t tell me which method, though.
Don't you have a stack trace ?
> Can anyone shed some light on how to get PostgreSQL up and running with
> Crystal Reports v11? Should I switch to v10?
Did you try with the latest JDBC driver ?
> PostgreSQL db
Which version ?
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Crystal Reports / PostgreSQL
2005-02-09 15:23 Crystal Reports / PostgreSQL Kenneth Hutchinson <Kenneth.Hutchinson@RealPage.com>
2005-02-09 16:43 ` Re: Crystal Reports / PostgreSQL Xavier Poinsard <xpoinsard@free.fr>
@ 2005-02-10 07:58 ` Kris Jurka <books@ejurka.com>
2005-02-10 09:00 ` Re: Crystal Reports / PostgreSQL Xavier Poinsard <xpoinsard@free.fr>
0 siblings, 1 reply; 18+ messages in thread
From: Kris Jurka @ 2005-02-10 07:58 UTC (permalink / raw)
To: Kenneth Hutchinson <Kenneth.Hutchinson@realpage.com>; +Cc: Xavier Poinsard <xpoinsard@free.fr>; pgsql-jdbc
On Wed, 9 Feb 2005, Xavier Poinsard wrote:
> Kenneth Hutchinson wrote:
> > Also, every time I try to access my connection, it tells me that "This
> > method is not yet implemented". It doesnt tell me which method, though.
>
> Don't you have a stack trace ?
Right, without knowing what method is actually being called and failing it
is tough to determine if a workaround is available or how much work it
would be to implement the method.
Kris Jurka
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Crystal Reports / PostgreSQL
2005-02-09 15:23 Crystal Reports / PostgreSQL Kenneth Hutchinson <Kenneth.Hutchinson@RealPage.com>
2005-02-09 16:43 ` Re: Crystal Reports / PostgreSQL Xavier Poinsard <xpoinsard@free.fr>
2005-02-10 07:58 ` Re: Crystal Reports / PostgreSQL Kris Jurka <books@ejurka.com>
@ 2005-02-10 09:00 ` Xavier Poinsard <xpoinsard@free.fr>
2005-02-10 09:08 ` Re: Crystal Reports / PostgreSQL Kris Jurka <books@ejurka.com>
0 siblings, 1 reply; 18+ messages in thread
From: Xavier Poinsard @ 2005-02-10 09:00 UTC (permalink / raw)
To: Kris Jurka <books@ejurka.com>; +Cc: pgsql-jdbc
Kris Jurka wrote:
>
> Right, without knowing what method is actually being called and failing it
> is tough to determine if a workaround is available or how much work it
> would be to implement the method.
I read in the code that the Uninmplemented exception was designed to
reduce driver size, but would you consider a patch adding the name of
the unimplemented function to the message ?
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Crystal Reports / PostgreSQL
2005-02-09 15:23 Crystal Reports / PostgreSQL Kenneth Hutchinson <Kenneth.Hutchinson@RealPage.com>
2005-02-09 16:43 ` Re: Crystal Reports / PostgreSQL Xavier Poinsard <xpoinsard@free.fr>
2005-02-10 07:58 ` Re: Crystal Reports / PostgreSQL Kris Jurka <books@ejurka.com>
2005-02-10 09:00 ` Re: Crystal Reports / PostgreSQL Xavier Poinsard <xpoinsard@free.fr>
@ 2005-02-10 09:08 ` Kris Jurka <books@ejurka.com>
2005-02-10 16:05 ` Re: Crystal Reports / PostgreSQL Xavier Poinsard <xpoinsard@free.fr>
0 siblings, 1 reply; 18+ messages in thread
From: Kris Jurka @ 2005-02-10 09:08 UTC (permalink / raw)
To: Xavier Poinsard <xpoinsard@free.fr>; +Cc: pgsql-jdbc
On Thu, 10 Feb 2005, Xavier Poinsard wrote:
> I read in the code that the Uninmplemented exception was designed to
> reduce driver size, but would you consider a patch adding the name of
> the unimplemented function to the message ?
>
I don't know, it doesn't seem all that useful. Anyone doing real
development will surely know what function they are calling and will have
the stacktrace handy. If we find out that Crystal Reports or other
applications only return the error message with no context then we should
probably do something about it. For now I believe time would be better
spent actually implementing these methods.
Kris Jurka
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Crystal Reports / PostgreSQL
2005-02-09 15:23 Crystal Reports / PostgreSQL Kenneth Hutchinson <Kenneth.Hutchinson@RealPage.com>
2005-02-09 16:43 ` Re: Crystal Reports / PostgreSQL Xavier Poinsard <xpoinsard@free.fr>
2005-02-10 07:58 ` Re: Crystal Reports / PostgreSQL Kris Jurka <books@ejurka.com>
2005-02-10 09:00 ` Re: Crystal Reports / PostgreSQL Xavier Poinsard <xpoinsard@free.fr>
2005-02-10 09:08 ` Re: Crystal Reports / PostgreSQL Kris Jurka <books@ejurka.com>
@ 2005-02-10 16:05 ` Xavier Poinsard <xpoinsard@free.fr>
2005-02-10 17:44 ` Re: Crystal Reports / PostgreSQL Vadim Nasardinov <vadimn@redhat.com>
2005-02-10 19:13 ` Re: Crystal Reports / PostgreSQL Kris Jurka <books@ejurka.com>
0 siblings, 2 replies; 18+ messages in thread
From: Xavier Poinsard @ 2005-02-10 16:05 UTC (permalink / raw)
To: Kris Jurka <books@ejurka.com>; +Cc: pgsql-jdbc
Kris Jurka wrote:
>
> On Thu, 10 Feb 2005, Xavier Poinsard wrote:
>
>
>>I read in the code that the Uninmplemented exception was designed to
>>reduce driver size, but would you consider a patch adding the name of
>>the unimplemented function to the message ?
>>
>
>
> I don't know, it doesn't seem all that useful. Anyone doing real
> development will surely know what function they are calling and will have
> the stacktrace handy. If we find out that Crystal Reports or other
> applications only return the error message with no context then we should
> probably do something about it. For now I believe time would be better
> spent actually implementing these methods.
Sure, but they are a lot of methods to implement and if we want to fix
quickly the functions used by Crystal reports (for example), without
stack trace, it is the only simple way.
>
> Kris Jurka
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Crystal Reports / PostgreSQL
2005-02-09 15:23 Crystal Reports / PostgreSQL Kenneth Hutchinson <Kenneth.Hutchinson@RealPage.com>
2005-02-09 16:43 ` Re: Crystal Reports / PostgreSQL Xavier Poinsard <xpoinsard@free.fr>
2005-02-10 07:58 ` Re: Crystal Reports / PostgreSQL Kris Jurka <books@ejurka.com>
2005-02-10 09:00 ` Re: Crystal Reports / PostgreSQL Xavier Poinsard <xpoinsard@free.fr>
2005-02-10 09:08 ` Re: Crystal Reports / PostgreSQL Kris Jurka <books@ejurka.com>
2005-02-10 16:05 ` Re: Crystal Reports / PostgreSQL Xavier Poinsard <xpoinsard@free.fr>
@ 2005-02-10 17:44 ` Vadim Nasardinov <vadimn@redhat.com>
2005-02-10 19:15 ` Re: Crystal Reports / PostgreSQL Kris Jurka <books@ejurka.com>
1 sibling, 1 reply; 18+ messages in thread
From: Vadim Nasardinov @ 2005-02-10 17:44 UTC (permalink / raw)
To: pgsql-jdbc
On Thursday 10 February 2005 11:05, Xavier Poinsard wrote:
> > I don't know, it doesn't seem all that useful. Anyone doing real
> > development will surely know what function they are calling and
> > will have the stacktrace handy. If we find out that Crystal
> > Reports or other applications only return the error message with
> > no context then we should probably do something about it. For now
> > I believe time would be better spent actually implementing these
> > methods.
>
> Sure, but they are a lot of methods to implement and if we want to
> fix quickly the functions used by Crystal reports (for example),
> without stack trace, it is the only simple way.
I haven't been following this thread very closely. Excuse me if I'm
totally off base here.
I assume you're talking about this method in org.postgresql.Driver:
public static SQLException notImplemented()
{
return new PSQLException(GT.tr("This method is not yet implemented."), PSQLState.NOT_IMPLEMENTED);
}
I agree with Kris that there is no need to include the method name in
the exception. It is already shown in the stack trace.
However, you can easily patch this method so that it includes the
caller's method name in its error message. All you have to do is peek
one level up the stack trace.
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Crystal Reports / PostgreSQL
2005-02-09 15:23 Crystal Reports / PostgreSQL Kenneth Hutchinson <Kenneth.Hutchinson@RealPage.com>
2005-02-09 16:43 ` Re: Crystal Reports / PostgreSQL Xavier Poinsard <xpoinsard@free.fr>
2005-02-10 07:58 ` Re: Crystal Reports / PostgreSQL Kris Jurka <books@ejurka.com>
2005-02-10 09:00 ` Re: Crystal Reports / PostgreSQL Xavier Poinsard <xpoinsard@free.fr>
2005-02-10 09:08 ` Re: Crystal Reports / PostgreSQL Kris Jurka <books@ejurka.com>
2005-02-10 16:05 ` Re: Crystal Reports / PostgreSQL Xavier Poinsard <xpoinsard@free.fr>
2005-02-10 17:44 ` Re: Crystal Reports / PostgreSQL Vadim Nasardinov <vadimn@redhat.com>
@ 2005-02-10 19:15 ` Kris Jurka <books@ejurka.com>
2005-02-10 19:25 ` Re: Crystal Reports / PostgreSQL Vadim Nasardinov <vadimn@redhat.com>
0 siblings, 1 reply; 18+ messages in thread
From: Kris Jurka @ 2005-02-10 19:15 UTC (permalink / raw)
To: Vadim Nasardinov <vadimn@redhat.com>; +Cc: pgsql-jdbc
On Thu, 10 Feb 2005, Vadim Nasardinov wrote:
> However, you can easily patch this method so that it includes the
> caller's method name in its error message. All you have to do is peek
> one level up the stack trace.
>
I think this assumes you can use StackTraceElement which is a 1.4 JDK
feature. Manual parsing seems error prone and a lot of work to solve a
very minor issue.
Kris Jurka
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Crystal Reports / PostgreSQL
2005-02-09 15:23 Crystal Reports / PostgreSQL Kenneth Hutchinson <Kenneth.Hutchinson@RealPage.com>
2005-02-09 16:43 ` Re: Crystal Reports / PostgreSQL Xavier Poinsard <xpoinsard@free.fr>
2005-02-10 07:58 ` Re: Crystal Reports / PostgreSQL Kris Jurka <books@ejurka.com>
2005-02-10 09:00 ` Re: Crystal Reports / PostgreSQL Xavier Poinsard <xpoinsard@free.fr>
2005-02-10 09:08 ` Re: Crystal Reports / PostgreSQL Kris Jurka <books@ejurka.com>
2005-02-10 16:05 ` Re: Crystal Reports / PostgreSQL Xavier Poinsard <xpoinsard@free.fr>
2005-02-10 17:44 ` Re: Crystal Reports / PostgreSQL Vadim Nasardinov <vadimn@redhat.com>
2005-02-10 19:15 ` Re: Crystal Reports / PostgreSQL Kris Jurka <books@ejurka.com>
@ 2005-02-10 19:25 ` Vadim Nasardinov <vadimn@redhat.com>
2005-02-10 20:01 ` Re: Crystal Reports / PostgreSQL Kris Jurka <books@ejurka.com>
0 siblings, 1 reply; 18+ messages in thread
From: Vadim Nasardinov @ 2005-02-10 19:25 UTC (permalink / raw)
To: pgsql-jdbc
On Thursday 10 February 2005 14:15, Kris Jurka wrote:
> I think this assumes you can use StackTraceElement which is a 1.4
> JDK feature.
That would certainly help.
> Manual parsing seems error prone and a lot of work to solve a very
> minor issue.
I agree that it's not worth the effort, however minimal that effort might
be.
Out of curiousity though, what makes it error-prone?
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Crystal Reports / PostgreSQL
2005-02-09 15:23 Crystal Reports / PostgreSQL Kenneth Hutchinson <Kenneth.Hutchinson@RealPage.com>
2005-02-09 16:43 ` Re: Crystal Reports / PostgreSQL Xavier Poinsard <xpoinsard@free.fr>
2005-02-10 07:58 ` Re: Crystal Reports / PostgreSQL Kris Jurka <books@ejurka.com>
2005-02-10 09:00 ` Re: Crystal Reports / PostgreSQL Xavier Poinsard <xpoinsard@free.fr>
2005-02-10 09:08 ` Re: Crystal Reports / PostgreSQL Kris Jurka <books@ejurka.com>
2005-02-10 16:05 ` Re: Crystal Reports / PostgreSQL Xavier Poinsard <xpoinsard@free.fr>
2005-02-10 17:44 ` Re: Crystal Reports / PostgreSQL Vadim Nasardinov <vadimn@redhat.com>
2005-02-10 19:15 ` Re: Crystal Reports / PostgreSQL Kris Jurka <books@ejurka.com>
2005-02-10 19:25 ` Re: Crystal Reports / PostgreSQL Vadim Nasardinov <vadimn@redhat.com>
@ 2005-02-10 20:01 ` Kris Jurka <books@ejurka.com>
2005-02-10 21:08 ` Re: Crystal Reports / PostgreSQL Oliver Jowett <oliver@opencloud.com>
0 siblings, 1 reply; 18+ messages in thread
From: Kris Jurka @ 2005-02-10 20:01 UTC (permalink / raw)
To: Vadim Nasardinov <vadimn@redhat.com>; +Cc: pgsql-jdbc
On Thu, 10 Feb 2005, Vadim Nasardinov wrote:
> Out of curiousity though, what makes it error-prone?
>
Any ad-hoc parsing is easy to get wrong by forgetting corner cases. I'm
not saying it can't be done correctly, just that we shouldn't bother.
Kris Jurka
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Crystal Reports / PostgreSQL
2005-02-09 15:23 Crystal Reports / PostgreSQL Kenneth Hutchinson <Kenneth.Hutchinson@RealPage.com>
2005-02-09 16:43 ` Re: Crystal Reports / PostgreSQL Xavier Poinsard <xpoinsard@free.fr>
2005-02-10 07:58 ` Re: Crystal Reports / PostgreSQL Kris Jurka <books@ejurka.com>
2005-02-10 09:00 ` Re: Crystal Reports / PostgreSQL Xavier Poinsard <xpoinsard@free.fr>
2005-02-10 09:08 ` Re: Crystal Reports / PostgreSQL Kris Jurka <books@ejurka.com>
2005-02-10 16:05 ` Re: Crystal Reports / PostgreSQL Xavier Poinsard <xpoinsard@free.fr>
2005-02-10 17:44 ` Re: Crystal Reports / PostgreSQL Vadim Nasardinov <vadimn@redhat.com>
2005-02-10 19:15 ` Re: Crystal Reports / PostgreSQL Kris Jurka <books@ejurka.com>
2005-02-10 19:25 ` Re: Crystal Reports / PostgreSQL Vadim Nasardinov <vadimn@redhat.com>
2005-02-10 20:01 ` Re: Crystal Reports / PostgreSQL Kris Jurka <books@ejurka.com>
@ 2005-02-10 21:08 ` Oliver Jowett <oliver@opencloud.com>
0 siblings, 0 replies; 18+ messages in thread
From: Oliver Jowett @ 2005-02-10 21:08 UTC (permalink / raw)
To: Kris Jurka <books@ejurka.com>; +Cc: Vadim Nasardinov <vadimn@redhat.com>; pgsql-jdbc
Kris Jurka wrote:
>
> On Thu, 10 Feb 2005, Vadim Nasardinov wrote:
>
>
>>Out of curiousity though, what makes it error-prone?
>>
>
>
> Any ad-hoc parsing is easy to get wrong by forgetting corner cases. I'm
> not saying it can't be done correctly, just that we shouldn't bother.
Especially given that different JVMs format stack traces differently,
and Throwable.getStackTrace() is allowed to omit stack frames.
I think setting a DriverManager log writer is the simplest solution
here, closely followed by making notImplemented() take a method name arg.
-O
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Crystal Reports / PostgreSQL
2005-02-09 15:23 Crystal Reports / PostgreSQL Kenneth Hutchinson <Kenneth.Hutchinson@RealPage.com>
2005-02-09 16:43 ` Re: Crystal Reports / PostgreSQL Xavier Poinsard <xpoinsard@free.fr>
2005-02-10 07:58 ` Re: Crystal Reports / PostgreSQL Kris Jurka <books@ejurka.com>
2005-02-10 09:00 ` Re: Crystal Reports / PostgreSQL Xavier Poinsard <xpoinsard@free.fr>
2005-02-10 09:08 ` Re: Crystal Reports / PostgreSQL Kris Jurka <books@ejurka.com>
2005-02-10 16:05 ` Re: Crystal Reports / PostgreSQL Xavier Poinsard <xpoinsard@free.fr>
@ 2005-02-10 19:13 ` Kris Jurka <books@ejurka.com>
1 sibling, 0 replies; 18+ messages in thread
From: Kris Jurka @ 2005-02-10 19:13 UTC (permalink / raw)
To: Xavier Poinsard <xpoinsard@free.fr>; +Cc: pgsql-jdbc
On Thu, 10 Feb 2005, Xavier Poinsard wrote:
> Sure, but they are a lot of methods to implement and if we want to fix
> quickly the functions used by Crystal reports (for example), without
> stack trace, it is the only simple way.
>
Well now that we know we can't get the stack trace from crystal reports I
agree.
Kris Jurka
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Crystal Reports / PostgreSQL
@ 2005-02-09 16:51 Kenneth Hutchinson <Kenneth.Hutchinson@RealPage.com>
2005-02-09 17:04 ` Re: Crystal Reports / PostgreSQL Xavier Poinsard <xpoinsard@free.fr>
0 siblings, 1 reply; 18+ messages in thread
From: Kenneth Hutchinson @ 2005-02-09 16:51 UTC (permalink / raw)
To: Xavier Poinsard <xpoinsard@free.fr>; pgsql-jdbc
Yeah, I've tried several versions. I'm using the latest one for the
current version of PG we are running (7.4).
Right now I can ping the database in Crystal (though by using commands
instead of being able to retrieve the tables). But when I run the
report from a JSP (report viewer), the connection info doesn't work.
Don't know if this is two difference issues or if both are related to
weird driver behavior.
-----Original Message-----
From: Xavier Poinsard [mailto:xpoinsard@free.fr]
Sent: Wednesday, February 09, 2005 10:43 AM
To: pgsql-jdbc@postgresql.org
Cc: Kenneth Hutchinson
Subject: Re: [JDBC] Crystal Reports / PostgreSQL
Kenneth Hutchinson wrote:
> Also, every time I try to access my connection, it tells me that "This
> method is not yet implemented". It doesn't tell me which method,
though.
Don't you have a stack trace ?
> Can anyone shed some light on how to get PostgreSQL up and running
with
> Crystal Reports v11? Should I switch to v10?
Did you try with the latest JDBC driver ?
> PostgreSQL db
Which version ?
This message is intended only for the use of the individual(s) or entity to which it is addressed and may contain information that is privileged, confidential, and/or proprietary to RealPage and its affiliated companies. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, forwarding or copying of this communication is prohibited without the express permission of the sender. If you have received this communication in error, please notify the sender immediately and delete the original message.
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Crystal Reports / PostgreSQL
2005-02-09 16:51 Re: Crystal Reports / PostgreSQL Kenneth Hutchinson <Kenneth.Hutchinson@RealPage.com>
@ 2005-02-09 17:04 ` Xavier Poinsard <xpoinsard@free.fr>
0 siblings, 0 replies; 18+ messages in thread
From: Xavier Poinsard @ 2005-02-09 17:04 UTC (permalink / raw)
To: Kenneth Hutchinson <Kenneth.Hutchinson@RealPage.com>; +Cc: pgsql-jdbc
Kenneth Hutchinson wrote:
> Yeah, I've tried several versions. I'm using the latest one for the
> current version of PG we are running (7.4).
As stated in http://jdbc.postgresql.org/download.html :
"Much care is taken to make newer driver releases work against older
servers, so if you are having a problem and suspect it is the driver's
fault, don't hesitate to try out the latest release on an older server."
>
> Right now I can ping the database in Crystal (though by using commands
> instead of being able to retrieve the tables). But when I run the
> report from a JSP (report viewer), the connection info doesn't work.
>
> Don't know if this is two difference issues or if both are related to
> weird driver behavior.
>
> Kenneth Hutchinson wrote:
>
>>Also, every time I try to access my connection, it tells me that "This
>
>
>>method is not yet implemented". It doesn't tell me which method,
>
> though.
> Don't you have a stack trace ?
>
>
>>Can anyone shed some light on how to get PostgreSQL up and running
>
> with
>
>>Crystal Reports v11? Should I switch to v10?
>
>
> Did you try with the latest JDBC driver ?
>
>
>>PostgreSQL db
>
> Which version ?
>
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Crystal Reports / PostgreSQL
@ 2005-02-10 14:49 Kenneth Hutchinson <Kenneth.Hutchinson@RealPage.com>
2005-02-10 15:09 ` Re: Crystal Reports / PostgreSQL Markus Schaber <schabios@logi-track.com>
2005-02-10 21:01 ` Re: Crystal Reports / PostgreSQL Oliver Jowett <oliver@opencloud.com>
2005-02-15 09:08 ` Re: Crystal Reports / PostgreSQL Kris Jurka <books@ejurka.com>
0 siblings, 3 replies; 18+ messages in thread
From: Kenneth Hutchinson @ 2005-02-10 14:49 UTC (permalink / raw)
To: ; +Cc: pgsql-jdbc
Yes, please add this. Or have it write to a log or something. Usually
an app has a details button that allows you to see a trace or something
with more detail. What is provided is not sufficient.
kh
-----Original Message-----
From: pgsql-jdbc-owner@postgresql.org
[mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Xavier Poinsard
Sent: Thursday, February 10, 2005 3:01 AM
To: Kris Jurka
Cc: pgsql-jdbc@postgresql.org
Subject: Re: [JDBC] Crystal Reports / PostgreSQL
Kris Jurka wrote:
>
> Right, without knowing what method is actually being called and
failing it
> is tough to determine if a workaround is available or how much work it
> would be to implement the method.
I read in the code that the Uninmplemented exception was designed to
reduce driver size, but would you consider a patch adding the name of
the unimplemented function to the message ?
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faq
This message is intended only for the use of the individual(s) or entity to which it is addressed and may contain information that is privileged, confidential, and/or proprietary to RealPage and its affiliated companies. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, forwarding or copying of this communication is prohibited without the express permission of the sender. If you have received this communication in error, please notify the sender immediately and delete the original message.
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Crystal Reports / PostgreSQL
2005-02-10 14:49 Re: Crystal Reports / PostgreSQL Kenneth Hutchinson <Kenneth.Hutchinson@RealPage.com>
@ 2005-02-10 15:09 ` Markus Schaber <schabios@logi-track.com>
2 siblings, 0 replies; 18+ messages in thread
From: Markus Schaber @ 2005-02-10 15:09 UTC (permalink / raw)
To: Kenneth Hutchinson <Kenneth.Hutchinson@realpage.com>; +Cc: pgsql-jdbc
Hi, Kenneth,
Kenneth Hutchinson schrieb:
> Yes, please add this. Or have it write to a log or something. Usually
> an app has a details button that allows you to see a trace or something
> with more detail. What is provided is not sufficient.
I would say that it is on behalf of the app to present the Stacktrace of
the NotImplementedException to the user.
It is unwise for a driver to assume it can wildly write to stdout /
stderr or wherever.
Markus
--
markus schaber | dipl. informatiker
logi-track ag | rennweg 14-16 | ch 8001 zürich
phone +41-43-888 62 52 | fax +41-43-888 62 53
mailto:schabios@logi-track.com | www.logi-track.com
Attachments:
signature.asc (application/pgp-signature, 255B) download
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Crystal Reports / PostgreSQL
2005-02-10 14:49 Re: Crystal Reports / PostgreSQL Kenneth Hutchinson <Kenneth.Hutchinson@RealPage.com>
@ 2005-02-10 21:01 ` Oliver Jowett <oliver@opencloud.com>
2 siblings, 0 replies; 18+ messages in thread
From: Oliver Jowett @ 2005-02-10 21:01 UTC (permalink / raw)
To: Kenneth Hutchinson <Kenneth.Hutchinson@realpage.com>; +Cc: pgsql-jdbc
Kenneth Hutchinson wrote:
> Yes, please add this. Or have it write to a log or something. Usually
> an app has a details button that allows you to see a trace or something
> with more detail. What is provided is not sufficient.
If you set a log writer on java.sql.DriverManager, every
java.sql.SQLException (or subclass e.g. PSQLException) will log a stack
trace on construction. I actually find this more annoying than useful
when debugging, but it's out of our control..
-O
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Crystal Reports / PostgreSQL
2005-02-10 14:49 Re: Crystal Reports / PostgreSQL Kenneth Hutchinson <Kenneth.Hutchinson@RealPage.com>
@ 2005-02-15 09:08 ` Kris Jurka <books@ejurka.com>
2 siblings, 0 replies; 18+ messages in thread
From: Kris Jurka @ 2005-02-15 09:08 UTC (permalink / raw)
To: Kenneth Hutchinson <Kenneth.Hutchinson@realpage.com>; +Cc: pgsql-jdbc
On Thu, 10 Feb 2005, Kenneth Hutchinson wrote:
> Yes, please add this. Or have it write to a log or something. Usually
> an app has a details button that allows you to see a trace or something
> with more detail. What is provided is not sufficient.
>
Xavier Poinsard has provided a patch to do this and I've put up new
temporary jars if you'd like to retry:
http://www.ejurka.com/pgsql/jars/kh/
Kris Jurka
^ permalink raw reply [nested|flat] 18+ messages in thread
end of thread, other threads:[~2005-02-15 09:08 UTC | newest]
Thread overview: 18+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-02-09 15:23 Crystal Reports / PostgreSQL Kenneth Hutchinson <Kenneth.Hutchinson@RealPage.com>
2005-02-09 16:43 ` Xavier Poinsard <xpoinsard@free.fr>
2005-02-10 07:58 ` Kris Jurka <books@ejurka.com>
2005-02-10 09:00 ` Xavier Poinsard <xpoinsard@free.fr>
2005-02-10 09:08 ` Kris Jurka <books@ejurka.com>
2005-02-10 16:05 ` Xavier Poinsard <xpoinsard@free.fr>
2005-02-10 17:44 ` Vadim Nasardinov <vadimn@redhat.com>
2005-02-10 19:15 ` Kris Jurka <books@ejurka.com>
2005-02-10 19:25 ` Vadim Nasardinov <vadimn@redhat.com>
2005-02-10 20:01 ` Kris Jurka <books@ejurka.com>
2005-02-10 21:08 ` Oliver Jowett <oliver@opencloud.com>
2005-02-10 19:13 ` Kris Jurka <books@ejurka.com>
2005-02-09 16:51 Re: Crystal Reports / PostgreSQL Kenneth Hutchinson <Kenneth.Hutchinson@RealPage.com>
2005-02-09 17:04 ` Xavier Poinsard <xpoinsard@free.fr>
2005-02-10 14:49 Re: Crystal Reports / PostgreSQL Kenneth Hutchinson <Kenneth.Hutchinson@RealPage.com>
2005-02-10 15:09 ` Markus Schaber <schabios@logi-track.com>
2005-02-10 21:01 ` Oliver Jowett <oliver@opencloud.com>
2005-02-15 09:08 ` Kris Jurka <books@ejurka.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox