Re: Cayenne POJO inheritance

2009-08-17 Thread Gilberto C. Andrade
On Sun, Aug 16, 2009 at 3:21 AM, Aristedes Maniatis wrote: > On 15/08/09 5:41 AM, Gilberto C. Andrade wrote: >> >> Ok, after a good read on [1] and [2], I could understand that what I >> want to do [3], right now, is not implemented in cayenne.  Cayenne >> only suppl

Re: Cayenne POJO inheritance

2009-08-14 Thread Gilberto C. Andrade
/doc/modeling-inheritance.html [3] http://edocs.bea.com/kodo/docs324/img/inheritance-vertical.png On Mon, Aug 10, 2009 at 2:49 PM, Gilberto C. Andrade wrote: > Thanks Tore, but my initial problem is understand Andrus's tips: > 3 Run class generator to generate the _Xyz superclasses. >

Re: Maven 2 Modeler - Configuration

2009-08-12 Thread Gilberto C. Andrade
On Wed, Aug 12, 2009 at 1:25 PM, Kevin Menard wrote: > Hi Gilberto, > > The plugin should launch the modeler with the current project open. > If it's not, that is a regression; please file a JIRA. Done: https://issues.apache.org/jira/browse/CAY-1255 > > As for the second part, the modeler maintai

Re: Cayenne POJO inheritance

2009-08-10 Thread Gilberto C. Andrade
Thanks Tore, but my initial problem is understand Andrus's tips: 3 Run class generator to generate the _Xyz superclasses. 4 Change the existing classes by hand to inherit from _Xyz counterpart. 5 Remove existing persistence fields, and use superclass getters and setters to access them. * Change the

Maven 2 Modeler - Configuration

2009-08-06 Thread Gilberto C. Andrade
Hi, I need more information about this plugin. Until now, this [1] is only source I've could find. Can I setup my database on pom.xml file? For example: [code] org.apache.cayenne.plugins maven-cayenne-modele

Re: Maven 2 Modeler - dependences problem

2009-08-05 Thread Gilberto C. Andrade
> Don't know where Objectstyle repo had gone, but now everything seems to > build OK. I don't think so (new setup, zero cofing) : gilbe...@sugep-dmasi:~/dev/eclipse-config/workspace/osu-park> mvn cayenne-modeler:run [INFO] Scanning for projects... [INFO] Searching repository for plugin with pref

Maven 2 Modeler - dependences problem

2009-08-04 Thread Gilberto C. Andrade
Hi, I'm back! Hope this time I can stick with cayenne and contribute as well. [code] gilbe...@minhacasa /cygdrive/e/tools/workspace/osu-park $ mvn cayenne-modeler:run [INFO] Scanning for projects... [INFO] [INFO] Building osu

Re: jpa provider

2008-01-02 Thread Gilberto C Andrade
Hi, hope everyone is ok! (OBS.: I think this post is report e not a request! And sorry, it is a little long. ) We are doing tests with annotated POJO and using orm (I mean using xml). This is done with the following persistence.xml file: > > http://java.sun.com/xml/ns/persistence"; > x

Re: jpa provider

2007-12-18 Thread Gilberto C Andrade
Would you mind to take a look at the InventarioServiceTest? That's my first try on TDD and almost always I don't know to make a test(the correct one, I must say!) for a specific function. Thanks, Gilberto www.secad.to.gov.br > > Thanks > Andrus > > > On Dec 18, 2007, at 3:32 PM, Gi

Re: [SOLVED] Re: jpa provider

2007-12-18 Thread Gilberto C Andrade
> Ok, switching Surefire to 2.2 and the unit test to JUnit 3 actually > resulted in a successful run. So I went back to that old thread and > actually read it :-) > > http://objectstyle.org/cayenne/lists/cayenne-devel/2007/03/0065.html > > and it turns out that we need this for the surefire plug

Re: jpa provider

2007-12-17 Thread Gilberto C Andrade
Andrus Adamchik wrote: > No... Didn't have time to take a look yet. There's million of different > things going on at the same time. Ok! Don't worry, no stress! Rs,rs,rs PS.: Happy Christmas and a prosperous new year! Gilberto

Re: jpa provider

2007-12-17 Thread Gilberto C Andrade
Andrus Adamchik wrote: > I will. Thanks! > > Andrus > > On Dec 11, 2007, at 7:48 PM, Gilberto C Andrade wrote: > >> Would you mind check my project?(attach) >> >> Gilberto >> > > Any progress on my case? Right now we are using TopLink an

Re: jpa provider

2007-12-11 Thread Gilberto C Andrade
Would you mind check my project?(attach) Gilberto core.tar.gz Description: GNU Zip compressed data

Re: jpa provider

2007-12-11 Thread Gilberto C Andrade
Andrus Adamchik wrote: > Are you seeing this line in the logs prior to the unit tests? > > *** CayenneAgent starting... > Yes! Here: > [EMAIL PROTECTED]:~/dev/netbeans-config/workspace/gfi/core> mvn test -Pcayenne > [INFO] Scanning for projects... > [INFO] > ---

Re: jpa provider

2007-12-10 Thread Gilberto C Andrade
> So is it the same error as before or something else? > > Andrus Yes, it is the same one! >>> --- >>> T E S T S >>> --- >>> Running com.gilbertoca.gfi.service.PessoaServiceTest >>> Dec 10, 2

Re: jpa provider

2007-12-10 Thread Gilberto C Andrade
Andrus Adamchik wrote: > maven-specific advice - configuration we are using from our own > integration tests: > > > org.apache.maven.plugins > maven-surefire-plugin > > > once > > > -javaagent:${settings.localRepository}/org/apache/cayenne/cayenne-ag

Re: jpa provider

2007-12-07 Thread Gilberto C Andrade
After put those dependences: asm asm 3.0 asm asm-commons 3.0 I'm getting: > --- > Test set: com.gilbertoca.gfi.service

Re: jpa provider

2007-12-07 Thread Gilberto C Andrade
Andrus Adamchik wrote: > Rather a dependency of the aggregate "cayenne-server" module (the one > you should be using in your app), and this is exactly what I fixed > earlier today: > >http://svn.apache.org/viewvc?view=rev&revision=602126 > Ok, I'm using it! Other thing, do you recommends the

Re: jpa provider

2007-12-07 Thread Gilberto C Andrade
x27;m using maven, shouldn't it be a cayenne-jpa dependence? Thanks, Gilberto > > Andrus > > > > On Dec 7, 2007, at 3:53 PM, Gilberto C Andrade wrote: > >> Cayenne 3.0M2 >> [EMAIL PROTECTED]:~> java -version >> java version "1.5.0_13"

jpa provider

2007-12-07 Thread Gilberto C Andrade
Cayenne 3.0M2 [EMAIL PROTECTED]:~> java -version java version "1.5.0_13" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05) Java HotSpot(TM) Client VM (build 1.5.0_13-b05, mixed mode) [EMAIL PROTECTED]:~> cat /etc/issue Welcome to openSUSE 10.3 (i586) - Kernel \r (\l). I'm get

Re: Cayenne POJO enhancer

2007-10-25 Thread Gilberto C Andrade
>> Will the cayenne modeler support the ability to add Persistent Types >> (Entities, etc) to the ORM XML? > > It does not at the moment, only Cayenne XML format. In the future - > possibly. But if I build that file (orm.xml) by hand or with other tool, cayenne will recognize it? Will I be able t

Re: Cayenne POJO enhancer

2007-10-25 Thread Gilberto C Andrade
Andrus Adamchik wrote: > > On Oct 25, 2007, at 7:36 PM, Gilberto C Andrade wrote: >>> In other words if that's an offer to work together with Cayenne >>> developers to address the things missing or broken in the JPA provider, >>> we will gladly accept suc

Re: Cayenne POJO enhancer

2007-10-25 Thread Gilberto C Andrade
; > Note that Cayenne's JPA support is still incomplete at the moment, but > is getting better every day thanks to Andrus. > > On 10/25/07, Gilberto C Andrade <[EMAIL PROTECTED]> wrote: >> Andrus Adamchik wrote:

Re: Cayenne POJO enhancer

2007-10-25 Thread Gilberto C Andrade
First, sorry for double post (we have some problems with firewall) > > Hehe, of course I'll suggest to help Cayenne, but you've been warned ;-) > > In other words if that's an offer to work together with Cayenne > developers to address the things missing or broken in the JPA provider, > we will g

Cayenne POJO enhancer

2007-10-25 Thread Gilberto C Andrade
Hi all, I've been searching on docs/maillist about how to persist an already existent pojo, but have no luck. Let me explain: we have two old projects build with hibernate 2.1.8 and all model are marked with hibernate tag on doc area in java source [1]. But now we want to use those models with cay

Re: Cayenne POJO enhancer

2007-10-25 Thread Gilberto C Andrade
g classes by hand to inherit from _Xyz counterpart. > * Remove existing persistence fields, and use superclass getters and > setters to access them. > * Change the API throughout the code to use Cayenne ObjectContext and > Queries. > > Andrus > > > On Oct 24, 2007, at 10:17 P

Cayenne POJO enhancer

2007-10-24 Thread Gilberto C Andrade
[This is second email I send, I think the first one get lost] Hi all, I've been searching on docs/maillist about how to persist an already existent pojo, but have no luck. Let me explain: we have two old projects build with hibernate 2.1.8 and all model are marked with hibernate tag on doc area in

Re: [POLL]: Cayenne 3.0 -- Java 1.4 or 5 support?

2007-09-14 Thread Gilberto C Andrade
Andrus Adamchik wrote: > > On Aug 20, 2007, at 4:32 AM, Gilberto Caetano de Andrade wrote: > >> >> First I have to say something. It has some time that I have attempted >> to introduce cayenne here in our department and one of the main >> arguments that hasimpeded me was the support to the progra

Re: Postgresql 8.2 and cayenne 2.0.3 - idle connections

2007-09-10 Thread Gilberto C Andrade
Michael Gentry wrote: > Yeah, that doesn't really surprise me, either. You didn't restart > JBoss, did you? Yes! After that we did an undeploy e deploy of the app. But it didn't matter as you could see! > > /dev/mrg > > > On 9/10/07, Gilberto C Andrade &

Re: Postgresql 8.2 and cayenne 2.0.3 - idle connections

2007-09-10 Thread Gilberto C Andrade
or you to use JBoss's connection pools for your > production deployment. This page discusses how to use a JNDI-provided > connection pools from the container (even if not JBoss-specific): > > http://cayenne.apache.org/doc20/using-jndi.html > > Hope that he

Postgresql 8.2 and cayenne 2.0.3 - idle connections

2007-09-06 Thread Gilberto C Andrade
Hi all! After following some tips from here: http://article.gmane.org/gmane.comp.java.cayenne.user/8360, we finally put our webapp in production: server: jboss-4.0.2 server: postgresql 8.2 PesquisaDataDominioNode.driver.xml: While using the application we see that the conn

Re: [POLL]: Cayenne 3.0 -- Java 1.4 or 5 support?

2007-08-17 Thread Gilberto C Andrade
Steve Wells wrote: > [ ] Java 1.4 support > [X] Java 5 support > > I'm on Java 6 > >> >> > Hi, I'm new on the list. I'm from Brazil (www.secad.to.gov.br) and using cayenne 3.0 for some time (we're replacing old java webapp made with jdbc by cayenne). Here we will stay with java 1.4 for sometime