Hi,
I'm working with Apache Geronimo 2.1.3.
I've an embedded object in my entity class.
Making the entity persistent is no problem, the embedded object works fine,
but when this object is part of a query's where clause it does not work,
it's converted to "WHERE (1 <> 1)" which (IMHO)
Hi,
yes, I think this will work for openJPA, I've tried this already.
But it's a workaround (valid only for openJPA ?) with some disadvantages:
- maybe this is not portable (I'm sorry for that, but our application needs
to run on Apache Geronimo and at least on JBoss without openJPA)
- I don't w
Hi,
how do I "reset" (set foreign key field to NULL) a assocation in a OneToOne
relationship ?
I tried to set it to "null" and then execute merge, but the UPDATE command
does not include this.
e.g.
//
@Entity
class M
{
@Id
long id ;
}
// --
Hi,
I use the merge because the object is modified while detached (client <=>
server/ejb).
-Ursprüngliche Nachricht-
Von: Norbert Rieger [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 13. November 2008 14:38
An: users@openjpa.apache.org
Betreff: Setting NULL value on OneToOne m
length of the response, I hope it helps to clear up your
options.
-mike
[1]
http://openjpa.apache.org/builds/latest/docs/manual/ref_guide_remote.html#re
f_guide_detach_graph
On Thu, Nov 13, 2008 at 8:04 AM, Norbert Rieger <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I use the merge becau
Hi,
for some reason I need a sequence generator, used to create unique keys
explicitly.
Is there any kind of "standalone" TableGenerator available in JPA ?
What I want to do is something like that:
"TableGenerator" genId = new "TableGenerator" (em, "XX") ;
Long next = genId.getNext () ;
myEnt
Hello,
when looking at my openEjb log file, I can see some updates I've never done
:-)
It looks like the entity is updated with the same values as stored already
in the database, the entity object was not modified.
This is what I do:
Bti ent ;
tx.begin () ;
Hi,
until now I specified my jdbc connection in persistence.xml:
MD
When using a database connection pool (with