Re: Trouble understanding JOINs

2007-11-29 Thread plinskey
Hi Jacek, Based on that description, it sounds like a bug in OpenJPA's list handling somewhere. Do the SQL statements issued differ? -Patrick On 11/28/07, Jacek Laskowski <[EMAIL PROTECTED]> wrote: > Hi, > > I've got two entities: Osoba (Whole) and Konto (Part) in OneToMany > association. Each

Re: Update by query and MySQL

2007-11-29 Thread plinskey
Hi, I don't have access to source right now, but you might be able to do something with a setter on Select, which I believe is responsible for creating the string (well, the SQLBuffer) for the WHERE and FROM clauses. (As you may have noticed, the Select interface has evolved into something more li

Re: Hooray - this works ! - Re: OpenJPA MySQL Environment: NamedQuery always returns null for @Enumerated column types

2007-11-28 Thread plinskey
Great. FTR I agree that it should be eager by default. I thought we fixed this recently. -Patrick On 11/28/07, gav <[EMAIL PROTECTED]> wrote: > > Dah ! thankyou ...the following works > (for the record i assumed Eager loading was default for Enum since > one-to-one mapping?!) > > @Column( na

Re: OpenJPA MySQL Environment: NamedQuery always returns null for @Enumerated column types

2007-11-28 Thread plinskey
Hi, Are you using the OpenJPA enhancer? What happens if you explicitly set the fetch mode to eager in the @Enumerated annotation? -Patrick On 11/28/07, gav <[EMAIL PROTECTED]> wrote: > > Hello, i have a WebsphereCE application environment (OpenEJB/OpenJPA > 1.0.0/MySQL 5.0.27 with JDBC driver 3.

Re: Update by query and MySQL

2007-11-28 Thread plinskey
Funny, there was a thread yesterday in which I mentioned the inefficency that necessitates the subquery in your example. It sounds like a bug to me. -Patrick On 11/28/07, Ognjen Blagojevic <[EMAIL PROTECTED]> wrote: > I try to do an update by query like this > > em = emf.createEntityManager();

Re: MappedSuperClass ancestors not being seen in web application

2007-11-16 Thread plinskey
Hi, Can you post your persistence.xml? Does it list out your persistent types explicitly, including the mapped superclasses? -Patrick On 11/16/07, John M VanAntwerp <[EMAIL PROTECTED]> wrote: > > We're using 1.0.0 and are having a problem with entities that inherit from > abstract classes marked

Re: JCR backend for OpenJPA

2007-11-16 Thread plinskey
Hi, You should look at the AbstractStoreManager. The XML store is a (simplistic) example of how to use the abstract store. -Patrick On 11/16/07, Jukka Zitting <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to figure out if and how I could make OpenJPA work on top > of a JCR content repository l

Re: [jira] Commented: (OPENJPA-364) maven build order is incorrect

2007-09-11 Thread plinskey
Based on catalina's description, it sounds like her change will re-introduce the dependency issue. I'm guessing that we either need to work out the phases correctly or do some trickery / duplication in the profiles. -Patrick On 9/11/07, Kevin Sutter <[EMAIL PROTECTED]> wrote: > On 9/11/07, Craig

Re: Post-1.0.0 release actions

2007-08-30 Thread plinskey
FWIW, I have a teamcity instance running that builds, tests, runs the tck, and uploads 1.0.x whenever there's a svn checkin. -Patrick On 8/30/07, Brett Porter <[EMAIL PROTECTED]> wrote: > Can you ask continuum-users or -dev? > > The branch support in Continuum is quite new and I don't have a lot

Re: multiple xml mapping files found on classpath

2007-08-29 Thread plinskey
Yes, but here is no portale way to disambiguate in the non-container enment (that I am aware of, at least). If the user has so configured the classpath, and wants isolation, the manual specification of orm.xml files is always available. Things are different, of course, in the in-container case. -

Re: OpenJPA snapshots

2007-08-28 Thread plinskey
Hi, They might just be victims of copying and pasting the commands execite as expected. -Patrick On 8/28/07, Craig L Russell <[EMAIL PROTECTED]> wrote: > Hi Patrick, > > I think you might need a few more "\" to connect the mvn command line > fragments. > > Aside from that, I have no idea if

Re: svn commit: r569253 - in /openjpa/branches/1.0.0/openjpa-kernel/src/main: java/org/apache/openjpa/enhance/PCEnhancer.java resources/org/apache/openjpa/enhance/localizer.properties

2007-08-26 Thread plinskey
Why? It seems like if the commiters are responsible about only committing things that would belong on the maintenance branch eventually anyways, then that's good enough. The benefit is that if the release does need to be rebuilt, then the additional tweaks automagically get picked up. Bear in mind

Re: Problems migrating to 1.0

2007-08-22 Thread plinskey
Hi, Yeah, I didn't fix the problem, I just made it a warning. We probably need to do some ClassLoader experimentation to figure out why the PersistenceCapable check is failing. -Patrick On 8/22/07, Prashant Bhat <[EMAIL PROTECTED]> wrote: > Hi, > > Thanks, It's working now with openjpa.RuntimeUn

Re: [RESCIND VOTE] Approve OpenJPA 1.0.0 release (2nd attempt)

2007-08-22 Thread plinskey
Hi, I think that it's fair game for hardening / bugfix changes, but I don't think that we should hold up the release for everything. Note that a new candidate build will be kicking off in the next 30 mins or so (if it hasn't already). Do you think that this issue is worth holding things up for,

Re: [VOTE] OpenJPA 1.0.0 feature/bugfix cutoff on August 20, 2007

2007-08-07 Thread plinskey
+1 On 8/7/07, Marc Prud'hommeaux <[EMAIL PROTECTED]> wrote: > > I'm going to turn this into a vote, just to get the ball rolling a > little faster. > > The vote in question is to whether we will cut a release and begin > the release voting process on Monday, August 20th, 2007 (with the > ultimate

Re: Kodo 4 JDO Mappingtool - propagation of jdbc-type info

2007-07-10 Thread plinskey
FYI, the reason that you're not seeing the updates is because those extensions are only consulted when doing the initial mapping generation, not on subsequent updates. -Patrick On 7/10/07, David Ezzio (asmtp) <[EMAIL PROTECTED]> wrote: Hi Frank, I would approach your problem in a somewhat diff

Re: Allow overrides of @GeneratedValue?

2007-07-10 Thread plinskey
I think that the benefit is that it let's the user code take control when it wants / needs to. Certainly, the behavior should be (and is currently) the same for annotations and XML. If we do decide that generated values should not be user-settable, then we must guarantee this in code with a good

Re: in-person meeting

2007-07-09 Thread plinskey
It's certainly possible, but I had assumed that people would rather do a weekday. Does anyone have strong preferences? -Patrick On 7/9/07, Aditi Das <[EMAIL PROTECTED]> wrote: Is it not possible to have the meeting on a saturday? From: Michael Dick [EM

Re: in-person meeting

2007-07-09 Thread plinskey
Sounds good to me. -Patrick On 7/9/07, Craig L Russell <[EMAIL PROTECTED]> wrote: The dates are fine with me. I have an agenda item for the meeting. Bill Pugh (who develops FindBugs) is in town and would be able to talk to us about how to use FindBugs to not only scrub the existing code base (