Replication Question

2009-03-16 Thread Teodoro Cue
Hi, I'm using org.apache.openjpa.slice.ReplicationPolicy.Default to replicate all my entities into a backup DB. Here is my class structure with flat inheritance strategy: Interface C @Entity @Replicated Abstract Class AC implements C @Entity @Replicated Class A extends AC @OneToMany

Re: postgres : storing binary data using OID

2009-03-16 Thread MiƂosz Tylenda
Andiqo, You could try using the so called streaming LOB support. However, this needs using InsputStream instead of byte[] I think. There is a section on it in the manual [1]. Also, there is a test case which can help you too [2]. Greetings, Milosz [1]

EhCache size

2009-03-16 Thread Georgi Naplatanov
Hello, Craig. OPENJPA-980 is a good job, but how I can configure query's data cache size ? Best regards Georgi

Re: Replication Question

2009-03-16 Thread Pinaki Poddar
Hi, A will have its list field contain many instances of class X. When I persist it, the first DB contains the complete number of X instances and the A instance that's holding the list. The second DB on the other hand, only contains the A entity without the X entities. This is a

Re: postgres : storing binary data using OID

2009-03-16 Thread andiqo
Hi Milosz, LOB support using InputStream looks great in OpenJpa. But I would like to conform to JPA-2 specifications... Is there a way to directly specify JDBC connection properties with OpenJPA, as 'compatible' parameter could do the trick

Postgres supported versions

2009-03-16 Thread Paul Copeland
I would like to use Postgres 8.2 (latest 8.2 minor version is 8.2.13). The openJPA manual lists Postgres 8.1.5 as a supported database in Appendix 2. The openJPA reference guide section 4 Database Support says OpenJPA can take advantage of any JDBC 2.x compliant driver and then points to the

Re: Postgres supported versions

2009-03-16 Thread Judes Tumuhairwe
I'm using Postgres 8.2 with no problems. Judes On Mon, Mar 16, 2009 at 5:16 PM, Paul Copeland t...@jotobjects.com wrote: I should add that I am using openJPA 1.2 (as it appears to be the stable version and this project is intended for production use). My question is how to tell if openJPA

Re: Replication Question

2009-03-16 Thread Teodoro Cue
Hi, Thanks for the reply! It took me a while(about a day) testing various solutions to realize that it must be some sort of a bug. As long as it builds on Maven, I don't have problems working with bleeding edge technology. I'll just checkout the source code and update it on a daily basis. :)