HURRAY, the example is working!
But making the same changes to my PDE TestCases fails. I am pretty
sure this is because of different class loaders.
Is it possible to also specify a distinct class loader for each
entity class?
Background:
I am running in an OSGi environment in which the code
Hi,
let's assume this object model:
* a person has a address (one-to-one)
* a person has many bankaccounts (one-to-many)
Let's say person1 and bankaccount1 are persistent entities of their
respective types.
This query works like a charm:
Query query = entityManager.createQuery("SELECT p FROM Per
Try "SELECT p FROM Person p WHERE :account member of p.bankAccounts".
Should work.
Cheers,
Matthias
[EMAIL PROTECTED] wrote:
Hi,
let's assume this object model:
* a person has a address (one-to-one)
* a person has many bankaccounts (one-to-many)
Let's say person1 and bankaccount1 are persist
Hi,
Configuring a ClassResolver[1] with MultiLoaderClassResolver[2] may be
your answer.
[1]
http://openjpa.apache.org/docs/latest/manual/manual.html#openjpa.ClassResolver
[2]
http://openjpa.apache.org/docs/latest/javadoc/org/apache/openjpa/util/MultiLoaderClassResolver.html
--
View this mess
Hi,
Is there a way to connect to a db that's already running without attempt
to reboot it.
I have two services and I would like my second service to connect to the
db that already running.
But I get the following errors each time my second service attempts to
run.
Caused by: java.
Hi!
I get a strange exception from time to time at start-up of my
application. Sometimes the same code works without problem. What does
the exception mean? I do not understand why NavPoint is not recognised
as the error-message says that NavPoint is a known entity name?
SCHWERWIEGEND [org.openide
I have changed this to share a db and use the client/server db model and
it
Seems to do what I want.
Thanks, Edell.
-Original Message-
From: Nolan, Edell [mailto:[EMAIL PROTECTED]
Sent: 29 May 2008 15:08
To: users@openjpa.apache.org
Subject: connecting to the db
Hi,
Is there a way
Hi I just noticed that some one recently removed the openjpa 1.1.0
snapshot repositories and published then in the main repositories as
non-snapshots
(i.e. http://repo1.maven.org/maven2/org/apache/openjpa/openjpa/1.1.0)
I'm having a problem with it in that the pom in openjpa/1.1.0 appears to
Hi Valentin,
Did you enhance your entity class NavPoint before executing your query?
--- On Thu, 5/29/08, Valentin BUERGEL <[EMAIL PROTECTED]> wrote:
> From: Valentin BUERGEL <[EMAIL PROTECTED]>
> Subject: ArgumentException
> To: users@openjpa.apache.org
> Date: Thursday, May 29, 2008, 6:54 AM
Hi,
again, your documentation is good, and your support as well. It's
just me too dumb to read it. Sorry for bothering you, this I
could've found out myself.
But now for something completely different (hopefully not again a
not-read-documentation-issue;)
I get the stack trace below when co
Hi,
To narrow the problem, I will suggest to suppress/remove IProject to see
if that changes anything.
Are the following statements true for your environment?
1. the persistent classes are not specified at tag of
persistence.xml but specified as Map before construction of EMF.
2. The persisten
11 matches
Mail list logo