Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 5763 invoked from network); 2 Feb 2002 07:54:46 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 2 Feb 2002 07:54:46 -0000 Received: (qmail 22736 invoked by uid 97); 2 Feb 2002 07:54:54 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 22689 invoked by uid 97); 2 Feb 2002 07:54:53 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 22678 invoked from network); 2 Feb 2002 07:54:53 -0000 Message-Id: <5.0.2.1.0.20020202094603.02a0e918@taurus.mediaworks.lt> X-Sender: baliuka@taurus.mediaworks.lt X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Sat, 02 Feb 2002 10:03:02 +0100 To: "Jakarta Commons Developers List" From: Juozas Baliuka Subject: Re: Bean storage in database In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, this work will be started today. It will be simplestore samples. I will try to clear my code, it is very dirty and have a lot of bugs at this time. I decided to implement this for my current project, but I see it can be useful in some more common situations. I think it is more example for simplestore usage, not any kind of framework. It will be very limited, but it always possible to enhance. I will use this for "readonly" data. like : CREATE VIEW MY_STAT AS ( SELECT ID, SUM( SOMETHING ) , COUNT(SOMETHING), MAX(SOMETHING) FROM MY_TABLE, ...... WHERE ........ GROUP BY ID HAVING ..... ORDER BY .... ) I have plans to support "Stored Procedures" , Transactions, Finders, Relations .......... . But it is not very trivial to implement this stuff on this weekend :) At 05:44 PM 2/1/2002 +0100, you wrote: >Hi folks! > >The J2EE discussion on the general list has raised some interesting >questions. Is there any possible replacement for entity EJBs in Jakarta >land? I'm thinking about a straight mapping from a JavaBean to a database, >which can be useful in many simple-usage situations. > >The idea is: you have a bean, you want to store it in the database, every >attribute in a field. References to included beans would be solved with >foreign keys. A special "primary key" field is used to read it back. > >There are some pieces that could be used: Torque to insert XML in a >database, and probably Digester to turn a bean into XML. But I don't know >much about either. > >Is there any interest in something like this? -- To unsubscribe, e-mail: For additional commands, e-mail: