I'm trying to generate annotated classes using a database using the
reverse-mapper included with OpenJPA.
I have two tables, a and b, that are paired using a many to many
association table in between (a_b_junction).
Is it possible, using the reverse-mapper task, to customize the generated
classes
Hi Roger,
If you are able to use the OpenJPA interfaces directly (as opposed to
purely using the implementation agnostic JPA interfaces) you can use
the OpenJPA SPI to get the pu name from the emf. Here is some sample
code:
EntityManagerFactory emf =
Persistence.createEntityManagerFactor
Hello
we have a requirement of using DES encrypted passwords in openjpa
persistence.xml file. So before we create an actual connection we want
to decrypt the encrypted form. To do that ,
1) I need to read the encrypted password value from persistence.xml
2) supply the decrypted form before creatin
Hibernate JPA does this well with a custom annotation @CollectionOfElements
Maybe something similar can be done for OpenJPA.
- Brill Pappin
On Tue, May 6, 2008 at 5:10 AM, Michael Vorburger
<[EMAIL PROTECTED]> wrote:
> Amit,
>
>> I imagine I do not need a join table, but a child table that has th
We are planing to attend from 24 to 26
maybe see there.
Andrea
> Hello,
>
> Is anybody "here" may be attending the http://jazoon.com/
> conference (in Zurich/Switzerland, in late June) ?
>
> I'll be there and it could be fun to meet-up with other
> OpenJPA folks from near or far.
>
> Regards,
>
Hi Michael,
thank you for the response! I'm afraid that this won't help much. It's
about notification. If I get notified I still have to synchronize.
Further it "allows a subset of the information available through
OpenJPA's transaction events to be broadcast to remote listeners". And
"...th
Amit,
> I imagine I do not need a join table, but a child table that has the
owner entity ID, Enumerated
> String Value and a Sequence, but I do not know how to represent that
in a @OneToMany annotation.
This looks a bit like my "Re: One-Sided One-Many Mapping, but to
different tables - missing @
Hello,
Is anybody "here" may be attending the http://jazoon.com/ conference (in
Zurich/Switzerland, in late June) ?
I'll be there and it could be fun to meet-up with other OpenJPA folks
from near or far.
Regards,
Michael
_
Michael Vorburger, Odyssey Financial Tech
Jonas,
I wonder if the OpenJPA "Remote and Offline Operation" stuff
(http://openjpa.apache.org/docs/latest/manual/ref_guide_event.html) may
allow you to build what you're after...
Regards,
Michael
-Original Message-
From: Andy Schlaikjer [mailto:[EMAIL PROTECTED]
Sent: jeudi, 1. mai 20