Ok, now I see why!
findAll( Class, Collection )
actually executes one transaction for each PK in the collection!!
Here is an excerpt of the log.
8428 openjpa TRACE [$Proxy26:1240220275057:task1] openjpa.jdbc.SQL -
t 27011334, conn 15221176 executing prepstmnt 30712384 SELECT
t0.value,
I have the following:
@MappedSuperclass class A { }
@Entity class B extends A { }
@Entity class C extends A { }
and I try to do this type of query: SELECT a FROM A a
I receive error message An error occurred while parsing the query filter
SELECT a FROM A a. Error message: The name A is not
In the same documentation the following is stated and this was always
my definition of querying mappedSC.
Section 1.3
A mapped superclass is a non-entity class that can define persistent
state and mapping information for entity subclasses. Mapped
superclasses are usually abstract. Unlike
1. To verify that OPENJPA_SEQUENCE_TABLE is not getting created by another
entity, can you run the application with a single simple class such as
@Entity
public class PObject {
@Id
@GeneratedValue(strategy=GenerationType.IDENTITY)
private long id;
public
I should briefly mention that I had the same problem using the MySql
database.
I'm sure I'm not using the SEQUENCE table because I manually created my
database tables and I was just migrating to using the schema generator.
In my case it was tracked down to using an @EmbeddedId in the model
Hello,
I am new GSOC guy and I will be working on the Slice module. I was
trying to set up my development environment and downloaded the 1.2.1
release for the same. I was trying to compile the hellojpa program
given in example folder but it is not able to find javax.persistence
package. Actually