JDO and OJB mappings

2004-02-18 Thread Daniel R. Ambrosio
Hello everyone, I was looking at the OJB tutorial and realized that two mapping files are provided for the same Table-Class. - Situation 1 . in the package org.apache.ojb there is the usual OJB.properties, and this file sets the also usual repository.xml as the mapping file. . the

Re: JDO Tutorial

2004-02-17 Thread Daniel R. Ambrosio
Daniel R. Ambrosio wrote: Hello everybody, I could not find any reference to the following problem in the OJB Knowledge Base. I am trying to execute the Tutorial number 5 thati ships with the src distribution of OJB, but I am running into trouble. I did the prepare-tutorials step

Re: Druid, was: Re: Reposit

2003-11-19 Thread Daniel R. Ambrosio
Hi Gallardo, Thanks for the help!! :) []s Daniel Antonio Gallardo wrote: Daniel R. Ambrosio dijo: Hello Guys, Hi Daniels, I am forwarding your request to Druid maillist. The internals of JDBC connection is out of my knowledges in Druid. It is also very new stuff in Druid. But I am sure

Re: Druid, was: Re: Reposit

2003-11-19 Thread Daniel R. Ambrosio
Hello Guys, The problem of insufficient privilieges I had was solved with using: exp im_full_database. thank you Antonio for your help! Daniel Daniel R. Ambrosio wrote: Hi Gallardo, Thanks for the help!! :) []s Daniel Antonio Gallardo wrote: Daniel R. Ambrosio dijo: Hello Guys, Hi

Re: Druid, was: Re: Reposit

2003-11-18 Thread Daniel R. Ambrosio
Hello Guys, I keep getting the message: ORA-01031: Insuficient Privileges?? What structure from the DB does Druit try to access while importing Entities?? Which privileges should I have. I use the same user I am trying now to connect to Druid in SQL Navigator, and there, I can see the tablesĀ“

Refresh attribute

2003-11-10 Thread Daniel R. Ambrosio
Hello Everyone, Does the attribute refresh used in the class descriptor tag works only for the CachePerClass or does it work for all the provided Cache implementations that ships with OJB rc3?? thanks in advance for any help, Daniel

Re: Smart Count

2003-11-10 Thread Daniel R. Ambrosio
Hi Olli, Thanks a lot! ThatĀ“s exactly what I needed! :) Cheers [EMAIL PROTECTED] wrote: Hello Daniel, -Original Message- From: Daniel R. Ambrosio [mailto:[EMAIL PROTECTED] What would be the smarter way to do a count on an entity based on a criteria? I believe that getting

Smart Count

2003-11-06 Thread Daniel R. Ambrosio
Hello everyone, What would be the smarter way to do a count on an entity based on a criteria? I believe that getting the Collection (using getCollectionByQuery()) and then size() is not the best way to that using OJB is it? Cheers, Dani

Re: Cascading insert [SOLVED]

2003-09-25 Thread Daniel R. Ambrosio
Never mind!! I found a bug in one of my support classes! Thanks anyway, Daniel Daniel R. Ambrosio wrote: Hello guys, I am using OJB rc3. I pasted the mapping I use in my application below. The problem is the following: when I try to created an entry of ObligatoryProfileEntity I would expect

Mock and OJB

2003-09-04 Thread Daniel R. Ambrosio
Hello everyone, I am writing some JUnit tests to test some automagically generated classes and repository for OJB. The purpose of my tests was just to write and read back each entity, comparing the values written (and read) to the DB with the ones I told the entities to write. I was wondering

DataType in OJB rc3

2003-08-30 Thread Daniel R. Ambrosio
Hello everyone, I was just sitting a whole day to find out the following issue about data types: I am quite new to OJB and I am using an internal tool from our company that builds the repository automatically based on the DDL. This script, apparently was built to some DB other than Oracle,