Re: Generating classes for tables of a data base

From: hilz (no.w_at_y.com)
Date: 12/14/04

  • Next message: Maciej Andreas Bednarz: "db4o for free"
    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


  • Next message: Maciej Andreas Bednarz: "db4o for free"

    Relevant Pages

    • Generating classes for tables of a data base
      ... I've got an already existing data base (Postgres) which consists of a ... couple of tables and connections. ...
      (comp.lang.java.databases)
    • Re: Generating classes for tables of a data base
      ... > I've got an already existing data base (Postgres) which consists of a ... > couple of tables and connections. ... There exist also some stored procedures. ...
      (comp.lang.java.databases)
    • Re: Bug in SP2 -- Wireless networks
      ... connections; email web or anything else unless I reboot. ... However I had this problem before I installed SP2 ... I have found when I go into hibernate or sleep, ... >> and does not find my wireless network. ...
      (microsoft.public.windowsxp.network_web)
    • Re: hibernation
      ... Hibernate, has it's benefits but also you should consider that, unlike ... with hibernate you will loose any "dial-up" connections whereas ... hibernate takes a wee bit longer to go into than standby mode. ... If your computer accidentally becomes disconnected from the power ...
      (microsoft.public.windowsxp.general)
    • Hibernate and Transactions
      ... I am using JBoss 4.2.2 with hibernate3 and SEAM 2.0.1 over an Postgres ... database. ... While working in an transaction I create objects and make them ... I would like to find this objects using hibernate. ...
      (comp.lang.java.beans)