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
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]
Hello, Craig.
OPENJPA-980 is a good job, but how I can configure query's data cache size ?
Best regards
Georgi
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
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
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
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
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. :)