pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
contrib/ltree
2+ messages / 2 participants
[nested] [flat]

* contrib/ltree
@ 2003-09-09 17:45  floyds@4peakstech.com
  0 siblings, 1 reply; 2+ messages in thread

From: floyds@4peakstech.com @ 2003-09-09 17:45 UTC (permalink / raw)
  To: pgsql-sql; Pgsql-Jdbc <pgsql-jdbc@postgresql.org>; +Cc: Gregory S. Dodson <greg@truckmaster.com>; Josh Wardle <josh@truckmaster.com>


how do i get jdbc to recognize the ltree type that comes with the
contrib/ltree extension?

This:

  Object object = resultSet.getObject(columnNumber);

generates the following exception:

  Exception caused by: No class found for ltree
 	at
org.postgresql.jdbc1.AbstractJdbc1Connection.getObject(AbstractJdbc1Connecti
on.java:693)
 	at
org.postgresql.jdbc2.AbstractJdbc2Connection.getObject(AbstractJdbc2Connecti
on.java:117)
 	at
org.postgresql.jdbc2.AbstractJdbc2ResultSet.getObject(AbstractJdbc2ResultSet
.java:147)
      ...


Regards,

Floyd Shackelford
4 Peaks Technology Group, Inc.
VOICE: 334.735.9428
FAX:   702.995.6462
EMAIL: FloydS@4PeaksTech.com
ICQ #: 161371538
PGP Key ID: 0x2E84F2F2
PGP Fone available on request at private.fwshackelford.com

Shackelford Motto: ACTA NON VERBA - Actions, not words

Alabama State Motto: AUDEMUS JURA NOSTRA DEFENDERE - We Dare Defend Our
Rights

The Philosophy of Liberty: http://www.isil.org/resources/introduction.swf

"We have allowed our constitutional republic to deteriorate into a virtually
unchecked direct democracy. Today's political process is nothing more than a
street fight between various groups seeking to vote themselves other
people's money. Individual voters tend to support the candidate that
promises them the most federal loot in whatever form, rather than the
candidate who will uphold the rule of law." --Rep. Ron Paul




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: contrib/ltree
@ 2003-09-10 00:27  Barry Lind <blind@xythos.com>
  parent: floyds@4peakstech.com
  0 siblings, 0 replies; 2+ messages in thread

From: Barry Lind @ 2003-09-10 00:27 UTC (permalink / raw)
  To: floyds@4peakstech.com; +Cc: pgsql-sql; Pgsql-Jdbc <pgsql-jdbc@postgresql.org>; Gregory S. Dodson <greg@truckmaster.com>; Josh Wardle <josh@truckmaster.com>

I would recommend using getString()/setString().  You will need to 
marshall the data into the correct format, but you will at least be able 
to get and set the values.

--Barry

floyds@4peakstech.com wrote:
> how do i get jdbc to recognize the ltree type that comes with the
> contrib/ltree extension?
> 
> This:
> 
>   Object object = resultSet.getObject(columnNumber);
> 
> generates the following exception:
> 
>   Exception caused by: No class found for ltree
>  	at
> org.postgresql.jdbc1.AbstractJdbc1Connection.getObject(AbstractJdbc1Connecti
> on.java:693)
>  	at
> org.postgresql.jdbc2.AbstractJdbc2Connection.getObject(AbstractJdbc2Connecti
> on.java:117)
>  	at
> org.postgresql.jdbc2.AbstractJdbc2ResultSet.getObject(AbstractJdbc2ResultSet
> .java:147)
>       ...
> 
> 
> Regards,
> 
> Floyd Shackelford
> 4 Peaks Technology Group, Inc.
> VOICE: 334.735.9428
> FAX:   702.995.6462
> EMAIL: FloydS@4PeaksTech.com
> ICQ #: 161371538
> PGP Key ID: 0x2E84F2F2
> PGP Fone available on request at private.fwshackelford.com
> 
> Shackelford Motto: ACTA NON VERBA - Actions, not words
> 
> Alabama State Motto: AUDEMUS JURA NOSTRA DEFENDERE - We Dare Defend Our
> Rights
> 
> The Philosophy of Liberty: http://www.isil.org/resources/introduction.swf
> 
> "We have allowed our constitutional republic to deteriorate into a virtually
> unchecked direct democracy. Today's political process is nothing more than a
> street fight between various groups seeking to vote themselves other
> people's money. Individual voters tend to support the candidate that
> promises them the most federal loot in whatever form, rather than the
> candidate who will uphold the rule of law." --Rep. Ron Paul
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
> 






^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2003-09-10 00:27 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-09-09 17:45 contrib/ltree floyds@4peakstech.com
2003-09-10 00:27 ` Barry Lind <blind@xythos.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