Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 440 invoked from network); 30 Sep 2008 07:46:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Sep 2008 07:46:40 -0000 Received: (qmail 22083 invoked by uid 500); 30 Sep 2008 07:46:37 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 22063 invoked by uid 500); 30 Sep 2008 07:46:37 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 22052 invoked by uid 99); 30 Sep 2008 07:46:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Sep 2008 00:46:37 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Sep 2008 07:45:36 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KkZvu-0002zy-7K for users@jackrabbit.apache.org; Tue, 30 Sep 2008 00:46:10 -0700 Message-ID: <19737567.post@talk.nabble.com> Date: Tue, 30 Sep 2008 00:46:10 -0700 (PDT) From: lujie To: users@jackrabbit.apache.org Subject: Re: Hybrid schemes with table and blob mapping for OCM? In-Reply-To: <3b728ee90809300008i17bd134bh95234d235e556e26@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: lj_ph@126.com References: <19734903.post@talk.nabble.com> <3b728ee90809300008i17bd134bh95234d235e556e26@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi, The question is, i have a simple java bean named customer with two fields, one is id ,the other is name. Using ocm, i can persist the bean into RDBMS, the result is a blob in the database table(bundledpersistencemanager.) So, can i persist the bean into RDBMS like hibernate does? the result should be one row in the database table with table column id and name. lujie Christophe Lombart wrote: > > Hi, > > OCM is a object mapping for a content repository based on JCR (eg. > Jackrabbit). this is not only used for binaries. It can be used for any > kind > of content. Here, we are only focusing on content repository. However, it > is > be possible to use a RDBMS and a content repo (JCR) from the same > application. > > Christophe > > On Tue, Sep 30, 2008 at 04:00, lujie wrote: > >> >> Hi, >> as far as i can see, the hibernate mapping is for database table , and >> the ocm is for database blob. And >> maybe the ocm can provide another choice that we can decide whether the >> java >> bean be saved as blob or >> hibernate entity >> any ideas? >> >> THX >> >> lujie >> -- >> View this message in context: >> http://www.nabble.com/Hybrid-schemes-with-table-and-blob-mapping-for-OCM--tp19734903p19734903.html >> Sent from the Jackrabbit - Users mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/Hybrid-schemes-with-table-and-blob-mapping-for-OCM--tp19734903p19737567.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com.