Re: Generating classes for tables of a data base
From: hilz (no.w_at_y.com)
Date: 12/14/04
- Previous message: Hans Eichel: "Problems to fetch autoincrement values from firebird, hsqldb and postgres via jdbc and openoffice as backend"
- In reply to: Robert Semmering: "Generating classes for tables of a data base"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 14 Dec 2004 12:08:34 -0500
"Robert Semmering" <robert.koepferl@sonorys.at> wrote in message
news:41bd9bc9$0$29838$9b4e6d93@newsread2.arcor-online.net...
> Hi,
> I've got an already existing data base (Postgres) which consists of a
> couple of tables and connections. There exist also some stored
> procedures. Now, how can I get java-classes generated of this
> information? Which tool can do this?
>
> I would like to see a class for each table and methods to call stored
> procedures or to locate records by their key.
>
>
> PS. this must be done for c++, too.
I don't know about c++, but if we're talking about java, Hibernate is the
best solution.
Hibernate is a complete framework for OR Mapping.
If you want a simpler way of doing that, check out the Apache Torque
(subproject of the DB project)
http://db.apache.org/torque/
good luck
hilz
- Previous message: Hans Eichel: "Problems to fetch autoincrement values from firebird, hsqldb and postgres via jdbc and openoffice as backend"
- In reply to: Robert Semmering: "Generating classes for tables of a data base"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|