Nice. I think this is a potential barrier to adoption that you're
taking down. Good stuff.
Rahul Thakur wrote:
Hi,
I have created a module for OpenJPA Maven plugin under Mojo sandbox:
https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/openjpa-maven-plugin/
I will put some usage notes
Hi,
I have created a module for OpenJPA Maven plugin under Mojo sandbox:
https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/openjpa-maven-plugin/
I will put some usage notes together shortly. Meanwhile, welcome any
ideas, suggestions.
Cheers,
Rahul
enhance JPQL Constructor Expressions implementation
---
Key: OPENJPA-101
URL: https://issues.apache.org/jira/browse/OPENJPA-101
Project: OpenJPA
Issue Type: Improvement
Components: qu
+1
On 1/10/07, Patrick Linskey <[EMAIL PROTECTED]> wrote:
+1
--
Patrick Linskey
BEA Systems, Inc.
___
Notice: This email message, together with any attachments, may contain
information of BEA Systems, Inc., its subsidiar
Does OpenJPA support sql batching (i.e. the jdbc addBatch api on a
prepared Statement)? The user's guide shows how to set the addBatch
limit, but it does not work. It would appear that if there was code
to do this it was removed.
I think that most ORM runtimes support this feature and we will
+1
--
Patrick Linskey
BEA Systems, Inc.
___
Notice: This email message, together with any attachments, may contain
information of BEA Systems, Inc., its subsidiaries and affiliated
entities, that may be confidential, p
I just noticed that the OpenEJB main page uses the confluence wiki
(http://incubator.apache.org/openejb/), something which I hadn't been
aware was possible.
Since the OpenJPA content is being mostly maintained via our own
wiki, what do people thing of having http://incubator.apache.org/
[
https://issues.apache.org/jira/browse/OPENJPA-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463755
]
Kevin Sutter commented on OPENJPA-98:
-
We're thinking along the same lines... The super.loadClass just ends up i
[
https://issues.apache.org/jira/browse/OPENJPA-100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Patrick Linskey resolved OPENJPA-100.
-
Resolution: Fixed
Resolved with 495028.
> entries failing to be processed for persiste
entries failing to be processed for persistence unit rooted in an EAR
Key: OPENJPA-100
URL: https://issues.apache.org/jira/browse/OPENJPA-100
Project: OpenJPA
[
https://issues.apache.org/jira/browse/OPENJPA-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463745
]
Marc Prud'hommeaux commented on OPENJPA-98:
---
I wonder what would happen if we replaced:
return Class.fo
[
https://issues.apache.org/jira/browse/OPENJPA-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463732
]
Kevin Sutter commented on OPENJPA-98:
-
Yes, I already did that printf thing. It varies on exactly which class is
[
https://issues.apache.org/jira/browse/OPENJPA-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463713
]
Marc Prud'hommeaux commented on OPENJPA-98:
---
I've never seen any problem like this. It is interesting that
Enhanced pcNewInstance redundantly clears fields
-
Key: OPENJPA-99
URL: https://issues.apache.org/jira/browse/OPENJPA-99
Project: OpenJPA
Issue Type: Bug
Components: kernel
That seems reasonable enough. Unfortunately, the JPQL query
specification disallows anything but aggregate or state field
expressions in "SELECT NEW" clauses.
It might be useful as a future extension to OpenJPA, though. Can you
file an enhancement request at http://issues.apache.org/jira/
Have you tried setting trimStackTrace to false in pom.xml? It should look
something like this :
. . .
org.apache.maven.plugins
maven-surefire-plugin
false
.
Simple things (as below) work with 0.9.7 OpenJPA
public void testSQLQuery() {
EntityManager em = getEM();
em.getTransaction().begin();
Person original = new Person();
original.setFirst("OpenJPA");
em.persist(original);
em.getTransaction().commit
Yes several instances of DeptBean were persisted before the
createNativequery was issued. I am running 0.9.7-incubating-SNAPSHOT
On 1/10/07, Pinaki Poddar <[EMAIL PROTECTED]> wrote:
> Query updateDeptName = _em.createNativeQuery(sql,"DeptBeanMapping");
If any persistence operation using DeptB
Finally got some time to dig into this. The problem was I was
attempting to create a bean that already existed (a bug in my test
case). It is possible to get the original SQL exception message out
of JPA, so I could know that I was getting a duplicate key?
-dain
On Jan 4, 2007, at 10:29
> Query updateDeptName = _em.createNativeQuery(sql,"DeptBeanMapping");
If any persistence operation using DeptBean.class preceeds this call
(e.g. _em.persist(new DeptBean())), then is there any change in
behavior?
Pinaki Poddar
BEA Systems
415.402.7317
-Original Message-
From: George
What version of OpenJPA are you using? IIRC, there were issues, but they
were resolved a little while back.
-Patrick
--
Patrick Linskey
BEA Systems, Inc.
___
Notice: This email message, together with any attachments, may cont
I tried using both a native query and it failed, has it ever been tested?
also named native query with resultSetMapping fails at runtime,
also @SqlResultSetMappings does not seem to be implemented in openjpa and
fails in the MappingTool with *java.lang.ArrayStoreException*
using
@SqlResultSetMapp
[
https://issues.apache.org/jira/browse/OPENJPA-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463636
]
Kevin Sutter commented on OPENJPA-98:
-
I'll take ownership of this report (for now, at least).
I can now reprodu
[
https://issues.apache.org/jira/browse/OPENJPA-98?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kevin Sutter reassigned OPENJPA-98:
---
Assignee: Kevin Sutter
> Java deadlock when insert in t1 and find in t2 when using IBM JVM 1.
There are two tables A and B, I need to execute sql like
"insert into A select ... from B".
I use JPQL Constructor Expressions,
select new A(...) from B, got A list then persist.
But some data of A depends on program context, not from B, for simple
example:
select new A(B.column1, 'xxx') from B,
There are two tables A and B, I need to execute sql like
"insert into A select ... from B".
I use JPQL Constructor Expressions,
select new A(...) from B, got A list then persist.
But some data of A depends on program context, not from B, for simple
example:
select new A(B.column1, 'xxx') from B,
There are two tables A and B, I need to execute sql like
"insert into A select ... from B".
I use JPQL Constructor Expressions,
select new A(...) from B, got A list then persist.
But some data of A depends on program context, not from B, for simple
example:
select new A(B.column1, 'xxx') from B,
On Jan 10, 2007, at 12:12 AM, wanyna wrote:
Hi all.
I have two questions:
1.
Here is my sql string:
select 'xxx', TABLE_A.column1 from TABLE_A;
there is a string 'xxx' as a constant value,
how to translate it to JPQL?
I don't think it is possible. Why would you need to do that?
2.
Another
Hi all.
I have two questions:
1.
Here is my sql string:
select 'xxx', TABLE_A.column1 from TABLE_A;
there is a string 'xxx' as a constant value,
how to translate it to JPQL?
2.
Another sql used under oracle:
select TABLE_A.column1 from TABLE_A where rownum<10;
how to limit range of result in JP
29 matches
Mail list logo