Went ahead and restored the previous behavior where the QueryImpl
itself checks for non-uniqueness and throws the expected exception.
That breaks the single result optimization that was added for
OPENJPA-168 when getSingleResult() is called. There was a reason we
moved the validation to
[
https://issues.apache.org/jira/browse/OPENJPA-201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12487565
]
Abe White commented on OPENJPA-201:
---
The primary table for what entity? The primary table for the entity shown
CLONE -java.lang.VerifyError on websphere 6.1 with Spring 2.0.3 and OpenJpa 0.96
Key: OPENJPA-211
URL: https://issues.apache.org/jira/browse/OPENJPA-211
Project: OpenJPA
[
https://issues.apache.org/jira/browse/OPENJPA-208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marc Prud'hommeaux reopened OPENJPA-208:
From Abe on mailing list: That breaks the single result optimization that was
added
Happily, the next release won't have the pesky word 'all' in the jar,
which will hopefully help stave off the perception that that jar
contains everything needed to use OpenJPA.
-Patrick
--
Patrick Linskey
BEA Systems, Inc.
Troubles continue Any suggestions for this problem in eclipse???
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'personFactory' defined in file
[C:\BidSpec\emall\development\emall\target\classes\applicationContext.xml]:
Initialization of bean failed;
Hi,
I'm a bit concerned about the lack of unit tests being put into OpenJPA
as new features are added. I understand that often, creating unit tests
are anticlimactic compared to implementing the feature itself, but at
least basic happy-path testing of new features is pretty essential if we
want
Hmm. It sounds like maybe the Persistable class hasn't been enhanced.
It's a surprising error, but it looks like OpenJPA hasn't really gotten
into the loop at this point, which would explain why you're not seeing
anything more informative.
Could this explain the situation?
-Patrick
--
Patrick
It should be part of the commit acceptance process.
I agree that it should be part of the process, but I hope that with
sufficient discipline and attention, we can avoid having to enforce this
via automated rules. I definitely make changes that don't merit unit
tests, such as changes to
Eclipse clean workspace
Import Maven generate project (eclipse:eclispe)
Build all
-- Error
The same POM builds fine externally through mvn package
Other interesting points:
I was getting a NPE from maven build so I turn off the maven builder but that
had no effect.
Have also tried clean then
[
https://issues.apache.org/jira/browse/OPENJPA-208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marc Prud'hommeaux resolved OPENJPA-208.
Resolution: Fixed
Fix Version/s: (was: 0.9.7)
0.9.8
Matthieu-
Note that there shouldn't be any problem with running against a
directory versus a jar (I do it all the time), so there is probably
some environment issue.
Can you post your persistence.xml? If you write a little main()
method that just does:
The System.out gives me the correct path to the URL:
file:/home/dusty/Dev/Projects/ode/bpel-store/target/classes/META-INF/persistence.xml
The corresponding file contains:
persistence xmlns=http://java.sun.com/xml/ns/persistence;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
Matthieu-
Hmm ... the persistence.xml file is fine (I just tried it locally). I
think the error No Persistence provider for EntityManager named ode-
store is coming from javax.persistence.Persistence not being able to
load org.apache.openjpa.persistence.PersistenceProviderImpl.
Are you
How are you invoking the enhancer? Setting the default log level to
TRACE will probably give you quite a bit of data.
-Patrick
--
Patrick Linskey
BEA Systems, Inc.
___
Notice: This email message, together with any
I thought I had OpenJPA correctly placed but actually it wasn't copied at
the right place. Thanks for the hint!
Matthieu
On 4/9/07, Marc Prud'hommeaux [EMAIL PROTECTED] wrote:
Matthieu-
Hmm ... the persistence.xml file is fine (I just tried it locally). I
think the error No Persistence
[
https://issues.apache.org/jira/browse/OPENJPA-211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12487646
]
david zhang commented on OPENJPA-211:
-
In org.apache.openjpa.kernel.Bootstrap.java, line 117: return
[
https://issues.apache.org/jira/browse/OPENJPA-211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12487650
]
Patrick Linskey commented on OPENJPA-211:
-
Provided that meth is a static method, this method should run
[
https://issues.apache.org/jira/browse/OPENJPA-211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12487651
]
david zhang commented on OPENJPA-211:
-
Sorry, forget my previous comment. Yes, the first parameter can be null
[
https://issues.apache.org/jira/browse/OPENJPA-211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12487664
]
david zhang commented on OPENJPA-211:
-
I've posted my config files. I'm using JTA, why I get a
[
https://issues.apache.org/jira/browse/OPENJPA-211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12487677
]
david zhang commented on OPENJPA-211:
-
Resolved referring http://issues.apache.org/jira/browse/OPENJPA-40.
21 matches
Mail list logo