Hi,
Check out the source code [1]
Follow the instructions [2] to build.
If you encounter difficulty, post with stack trace/build log
[1] http://openjpa.apache.org/source-code.html
[2] http://openjpa.apache.org/building-openjpa.html
ashishpaliwal wrote:
>
> Hello,
>
> I am new GSOC guy
Hi,
> it was tracked down to using an @EmbeddedId in the model class
Thanks for the clue. I will take a look.
Tedman Leung wrote:
>
> 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
>
Hello,
I'm currently trying to build a native query for ORACLE that combines
several columns of different tables in a complex JOIN/UNION way including
some ORACLE specific things that do not allow me to redesign it for
JPA-native querys. However, I'm having trouble to understand how to handle
Tried setting this:
jdbcFetchPlan.setFetchBatchSize( -1 )
.setMaxFetchDepth( -1 )
.setEagerFetchMode( FetchMode.PARALLEL );
and this:
but no difference...
My data store is PostgreSQL. Driver is org.postgresql.jdbc3 v 8.3.603.
Cheers,
=David
On Mon, 2009-04-20 at 18:43 +0900, Dav
Hi,
I downloaded the source code from the site and was trying to build it.
While giving the command mvn install, my build fails because it says
that "might not be this projects POM". Do I need to change the POM.xml
file or run mvn install from somewhere else first.
My stack trace is attached here
On Mon, Apr 20, 2009 at 5:18 PM, Pinaki Poddar (via Nabble) <
ml-user+12775-135...@n2.nabble.com
> wrote:
> 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 {
>
In another project I work on, I have exactly this usage (well with Integer)
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id=null;
and with this project, I do not get the sequence table.
> On Mon, Apr 20, 2009 at 5:18 PM, Pinaki Poddar (via Nabb
Hi Jim,
It looks like there are inconsistencies in the manual and provider. I was
able use the em.find() operation with a mapped superclass, but could not run
a JPQL query which used one. To perform the find operation, OpenJPA queried
known entity subclasses of the mapped superclass until it fou
Just found that in JPA 2.0 Proposed Final Draft (March 13, 2009):
Spec 2.11.2:
A mapped superclass, unlike an entity, is not queryable and cannot be passed as
an argument to EntityManager or Query operations.
--- On Tue, 4/21/09, Jeremy Bauer wrote:
> From: Jeremy Bauer
> Subject: Re: Can'
Hi Fay,
The JPA 1.0 and 2.0 draft spec clearly state that this isn't a requirement
of JPA, but a note in the OpenJPA documentation (section 1.3) seems to
indicate that OpenJPA does support it as an OpenJPA extension.
Unlike true entities, you cannot query a mapped superclass, pass a mapped
supe
Hi,
Here is a simple example:
(1) EntityA.java:
package queryTest;
import javax.persistence.*;
@SqlResultSetMapping(name="ResultCMapping",
entitie...@entityresult(entityClass=ResultC.class)}
)
@NamedNativeQuery(
name="nativefindAandB",
query="SELECT a.id, a.name,
Ya, this apparently is an inconsistency...
--- On Tue, 4/21/09, Jeremy Bauer wrote:
> From: Jeremy Bauer
> Subject: Re: Can't query against a MappedSuperclass
> To: users@openjpa.apache.org
> Date: Tuesday, April 21, 2009, 9:53 AM
> Hi Fay,
>
> The JPA 1.0 and 2.0 draft spec clearly state tha
Hi,
Do I need to make any changes in my conf.xml file for maven. I have
already specified the proxy settings there. I am stuck with this
problem for a while now and not able to figure what is the problem.
Can anyone please suggest what is the problem or any changes that I
need to make in either Po
Can you get it to work without Maven and without Eclipse first? You
should be able to (1) download OpenJPA 1.2.1, (2) cd to
examples/hellojpa, (3) type "ant"
That should be all you have to do. If that does not end in "BUILD
SUCCESSFUL" please send the output to this list.
Once you have tha
Hi Ashish,
It looks like the Apache parent pom is corrupted. Could you try removing the
C:\Documents and Settings\ashish\.m2\reposi
tory\org\apache\apache\4\ directory and re-running your maven build?
Here's what I'm keying off of :
Caused by: org.apache.maven.project.
InvalidProjectModelExcepti
Can you post a simple TestCase? I wasn't able to recreate the problem you're
seeing.
One thought I had is that maybe your DB key columns are defined as int as
opposed to long or something like that? What DB are you using?
--
View this message in context:
http://n2.nabble.com/StrictIdentityValu
Hi,
Thanks guys, I got my build succesful with ant but now I am stuck with
another (silly) problem. After build succesful when I am trying to run
the program it is not able to find the Persistence class file. Is
there some specific way in which I got to run the file. The error that
I received is a
17 matches
Mail list logo