Re: OpenJPA

2023-10-15 Thread Benoit TELLIER
Hello Matthieu. This looks interesting. Do you think you can provide a little pet exemple in the James context? --  Best regards, Benoit TELLIER General manager of Linagora VIETNAM. Product owner for Team-Mail product. Chairman of the Apache James project. Mail: btell...@linagora.com Tel: (0

Re: OpenJPA

2023-10-15 Thread Benoit TELLIER
Hello Jean, Thanks for the suggestion! So far, we started playing with R2DBC ( https://r2dbc.io/ ), and wrote a simple mapper for it: https://github.com/vttranlina/james-project/commits/postgres_lab  We also have the plan to investigate Jooq and do the same kind of proof of concept with it. F

Re: OpenJPA

2023-10-14 Thread Matthieu Baechler
Hi, What about using Scala Doobie (https://tpolecat.github.io/doobie/) as it allows to write actual SQL with the comfort of a compiler and to bind results to case class quite easily? Cheers, -- Matthieu --- Original Message --- On Saturday, October 14th, 2023 at 16:48, Jean Helou wr

Re: OpenJPA usage at Apache James

2010-06-24 Thread Eric Charles
Hi Pinaki, OpenJPA 2.1.0-SNAPSHOT didn't help. I also made a separate sample with a Message, AbstractMessage and Header (a message has many headers). I defined: - @OneToMany(mappedBy...) with type Header on the AbstractMessage - @ManyToOne with type AbstractMessage on the Header. With that conf

Re: OpenJPA usage at Apache James

2010-06-23 Thread Eric Charles
Hi Pinaki, We use the maven downloaded jar release 422266:935683 from 22-Apr-2010, so we don't have the patch for the MappedSuperClass. I didn't find a recent 2.0.0-SNAPSHOT on http://people.apache.org/maven-snapshot-repository/ nor on https://repository.apache.org/index.html. Will try with

Re: [COMPLETE] Re: OpenJPA IMAP integration into JAMES

2010-01-11 Thread Robert Burrell Donkin
On Mon, Jan 11, 2010 at 12:20 PM, Norman Maurer wrote: > Exactly what I was thinking... Maybe I don't made it clear. > > So when I remove it from servers build how you would mantain your > Build to be able to use torque ? you should be able to just drop the jar into the lib and then alter the spr

Re: [COMPLETE] Re: OpenJPA IMAP integration into JAMES

2010-01-11 Thread Norman Maurer
Exactly what I was thinking... Maybe I don't made it clear. So when I remove it from servers build how you would mantain your Build to be able to use torque ? Bye Norman 2010/1/10, Robert Burrell Donkin : > On Sun, Jan 10, 2010 at 8:59 AM, Norman Maurer wrote: >> Hi all, >> >> OpenJPA IMAP integ

Re: [COMPLETE] Re: OpenJPA IMAP integration into JAMES

2010-01-10 Thread Robert Burrell Donkin
On Sun, Jan 10, 2010 at 8:59 AM, Norman Maurer wrote: > Hi all, > > OpenJPA IMAP integration into JAMES is now complete. Its workin here > without probs and is really fast compared to the torque > implementation. should run faster if someone took on the asynchronous IO and streamed message storag

[COMPLETE] Re: OpenJPA IMAP integration into JAMES

2010-01-10 Thread Norman Maurer
Hi all, OpenJPA IMAP integration into JAMES is now complete. Its workin here without probs and is really fast compared to the torque implementation. I would be in favor to remove the whole torque implementation if everything works out and try to get some JCR based and File (Maildir) based Mailbox

Re: OpenJPA IMAP integration into JAMES

2010-01-09 Thread Norman Maurer
Hmm, >From what I understood I should have everything setup correctly. I will commit the changes later when I have have svn access again. Maybe someone can spot the error then thx, Norman 2010/1/9, Robert Burrell Donkin : > On Sat, Jan 9, 2010 at 6:48 PM, Norman Maurer wrote: >> Hi Robert, >> >>

Re: OpenJPA IMAP integration into JAMES

2010-01-09 Thread Robert Burrell Donkin
On Sat, Jan 9, 2010 at 6:48 PM, Norman Maurer wrote: > Hi Robert, > > I just tried to integrate OpenJPA MailboxManager into JAMES. It > starting ok but when I login via imap I get: > > INFO  19:38:56,293 | james.imapserver | [IMAPHandler-1] Fatal > exception during connection from localhost. (0:0: