Join with a constant value

2011-09-30 Thread Michael Spiro
Hi, I've got a problem with OpenJPA trying to make a join with a constant value. According to the documentation, one can specify a constant value for a join column, so that only records with this value in this column will be joined. The constant value should be specified in the attribute

Re: Join with a constant value

2011-09-30 Thread Rick Curtis
Can you post a stack trace of the failure? Thanks, Rick On Fri, Sep 30, 2011 at 8:35 AM, Michael Spiro m.sp...@dcs-caesar.dewrote: Hi, I've got a problem with OpenJPA trying to make a join with a constant value. According to the documentation, one can specify a constant value for a

AW: Join with a constant value

2011-09-30 Thread Michael Spiro
I tried it with the numeric constant, the problem ist almost the same - with that difference that now there are TWO pairs of extra quotes! Here is the stack trace: openjpa-2.1.0-r422266:1071316 fatal user error org.apache.openjpa.persistence.ArgumentException:

Postgres V9.1 issue with LIKE clause and Escape Strings

2011-09-30 Thread Andrew Hastie
Hi, Noticed an issue with the Postgres DBDictionary definition after updating Postgres from version 8.4 to 9.1:- Here's what you get in the Postgres trace file when executing some JPA driven queries where an SQL LIKE is involved:- 2011-09-30 14:29:41 BST ERROR: invalid escape string

AW: Join with a constant value

2011-09-30 Thread Michael Spiro
Hi, a Jira issue OPENJPA-2054 is created for this error. https://issues.apache.org/jira/browse/OPENJPA-2054 Kind regards, Michael Spiro

Re: OpenMeetings refactored from Hibernate to openJPA completed and released

2011-09-30 Thread Pinaki Poddar
Hello Sebastian, yet another Open Source project powered by Apache OpenJPA! That is wonderful news. We, at OpenJPA, appreciate your kind gesture of posting the message. - Pinaki Poddar Chair, Apache OpenJPA Project -- View this message in context:

Re: Antwort: Re: OpenJPA 1.2: EntityExistsException on em.persist() for Entity that is no longer present in DB

2011-09-30 Thread Pinaki Poddar
Hello Heiko, Please tell me few things 1. Does the Lock object declare a reference to the entity it is supposed to lock? 2. Can the entities declare a reference to a Lock object? The above questions basically to understand whether the persistent domain model will allow a relationship