pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Problem with PostgreSQL JDBC driver
2+ messages / 2 participants
[nested] [flat]

* Problem with PostgreSQL JDBC driver
@ 2004-10-17 18:27 Németh György <gyorgy.nemeth@eduware.hu>
  2004-10-17 20:31 ` Re: Problem with PostgreSQL JDBC driver Oliver Jowett <oliver@opencloud.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Németh György @ 2004-10-17 18:27 UTC (permalink / raw)
  To: pgsql-jdbc

Hi all!


Firstly I'd like to apologize for my bad English.

Secondly I have a serious problem. I use Eclipse 3.1M2, JDK 1.4, Hibernate
Synchronizer, PostgreSQL 8.0 beta 3 server. And the problem is:

I have a database with 264 tables and many connections between the tables. I
use hibernate synchronizer to generate hbm.xml files and from them the java
classes. I tried 5 or 6 JDBC drivers to generate the hbm.xml files but all
the time I encountered a bad generation of <set> tags of the xmls. It seems
to me that synchronizer generates random amount of <set> tags and leaving
out few one-to-many connections. I should have exactly 38 sets (references
between tables) but after the generation I had only 8 or 11 or 16 <set>
tags. As I said if I regenerate with the same parameters (no changes
applied) then I would get a different amount of <set> tags. I don't know
really what's the reason of this misterious error. Maybe someone knows the
answer. I hope you understand my problem. :)

Thanks for reading (and answering as well)


György Németh

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.776 / Virus Database: 523 - Release Date: 2004.10.12.
 




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

* Re: Problem with PostgreSQL JDBC driver
  2004-10-17 18:27 Problem with PostgreSQL JDBC driver Németh György <gyorgy.nemeth@eduware.hu>
@ 2004-10-17 20:31 ` Oliver Jowett <oliver@opencloud.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Oliver Jowett @ 2004-10-17 20:31 UTC (permalink / raw)
  To: Németh György <gyorgy.nemeth@eduware.hu>; +Cc: pgsql-jdbc

Németh György wrote:

> I have a database with 264 tables and many connections between the tables. I
> use hibernate synchronizer to generate hbm.xml files and from them the java
> classes. I tried 5 or 6 JDBC drivers to generate the hbm.xml files but all
> the time I encountered a bad generation of <set> tags of the xmls. It seems
> to me that synchronizer generates random amount of <set> tags and leaving
> out few one-to-many connections.

It sounds like you should be asking this on the Hibernate lists.. from 
your description, it sounds like a problem in Hibernate, not a problem 
with the driver.

If you do think it is a driver problem, we'll need a description of 
exactly what the driver is doing wrong at the JDBC level.

-O



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


end of thread, other threads:[~2004-10-17 20:31 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-10-17 18:27 Problem with PostgreSQL JDBC driver Németh György <gyorgy.nemeth@eduware.hu>
2004-10-17 20:31 ` Oliver Jowett <oliver@opencloud.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