Jason -
First off, your loader code seems to be valid and my only suggestion would
be to bump %100 to %1000. That will help performance ... as long as your
BorderPoint object isn't huge.
> I'm using it to persist data to a table that is quite large, and
performance seemed to degrade quickly when
I'm using this method in a Repository class and was wondering if
someone could do a quick sanity check on it:
@Transactional
public void persistList(List objectList) throws
RepositoryException {
EntityManager em = entityManagerFactory.createEntityManager();
try {
In addition to Mike's question, I'd like to know what version of OpenJPA you
are using. I've seen this issue before and fixed it with JIRA OJ-1665. I
did notice your BorderPoint class uses an '@GeneratedValue' so it appears
you are using auto generated values as described in OJ-1665. This JIRA w
I'm going to ask Risk's standard question, how are you doing enhancement?
Can you narrow down the scope of the problem, e.g. does the problem happen
on every insert, or is it something that only happens when the list is
large?
-mike
On Tue, Apr 5, 2011 at 4:28 PM, Jason Ferguson wrote:
> I hav
I have two Entities: Location and BorderPoint. Location contains a
List of BorderPoint, with a bidirectional mapping between them. The
list containing the BorderPoints can be quite large (9,000 is not
unheard of). Unfortunately, the attempt to persist a list fails with
the following exception:
[ER