Re: exception from merging

2008-04-08 Thread Adam Hardy
OK, here it is: https://issues.apache.org/jira/browse/OPENJPA-560 Hopefully that makes it plain where and when it is happening. regards Adam Michael Dick on 08/04/08 16:17, wrote: Hi Adam, Please do open a JIRA. If you wouldn't mind including a testcase that demonstrates the problem that wou

Re: exception from merging

2008-04-08 Thread Michael Dick
Hi Adam, Please do open a JIRA. If you wouldn't mind including a testcase that demonstrates the problem that would be much appreciated too. -Mike On Tue, Apr 8, 2008 at 7:16 AM, Adam Hardy <[EMAIL PROTECTED]> wrote: > I have reduced this to a stand-alone unit test and also tested it against > T

Re: How to get I get to the read JDBC Connection object...

2008-04-08 Thread Ignacio Andreu
Hi, Thanks for the information, I will see what will be the best way to integrate your code into the PosgresDictionary to support Streams. On Tue, Apr 8, 2008 at 4:48 PM, David Goodenough < [EMAIL PROTECTED]> wrote: > On Friday 04 April 2008, Ignacio Andreu wrote: > > I review the conversation I

Re: How to get I get to the read JDBC Connection object...

2008-04-08 Thread David Goodenough
On Friday 04 April 2008, Ignacio Andreu wrote: > I review the conversation If you're using PostgreSQL, the actual > InputStream / Reader don't have support for PostgreSQL, although if you've > a good solution for Large Object in PostgreSQL please e-mail me. > > > - Ignacio > > On Fri, Apr 4, 2008 a

Re: persisting an entity and JPA behaviour with referenced entities

2008-04-08 Thread Michael Dick
Hi Adam, If you call merge on a new entity it will act identically to persist - ie we'll generate an insert statement instead of an update. Unless OpenJPA detects a matching row in the database in which case we'll update that row. hth -Mike On Mon, Apr 7, 2008 at 6:09 PM, Adam Hardy <[EMAIL PRO

Re: problems with ESCAPE function

2008-04-08 Thread Georgi Naplatanov
Hello, I forgot to say that OpenJPA version which I use is 1.0.2. Best regards Georgi Georgi Naplatanov wrote: > Hello, everybody. > > I tried to run the following JPQL query: > SELECT x From MyObject x WHERE x.path LIKE ?1 ESCAPE '|' > > but following exceptions occur: > > > org.apache.open

Re: exception from merging

2008-04-08 Thread Adam Hardy
I have reduced this to a stand-alone unit test and also tested it against Toplink and Hibernate, with which it works. So I'm looking at a pure OpenJPA issue here. Here is the low-down: - Parent - child entities mapped using XML as opposed to annotations - both inherit a mapped superclass - bot

problems with ESCAPE function

2008-04-08 Thread Georgi Naplatanov
Hello, everybody. I tried to run the following JPQL query: SELECT x From MyObject x WHERE x.path LIKE ?1 ESCAPE '|' but following exceptions occur: org.apache.openjpa.persistence.ArgumentException: An error occurred while parsing the query filter 'SELECT x From MyObject x WHERE x.path LIKE ?1 E