won't be separated with a dash in
the mailing list names)
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
--
Jacek Laskowski
http://www.JacekLaskowski.pl
to the jira?
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
used @MappedSuperclass so I can't comment on it. Could you
present your persistence.xml (and orm.xml if used)?
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
execution?
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
be another
way to work it out as it's noted as 'one way' ;-)
[1]
http://incubator.apache.org/openjpa/docs/latest/manual/manual.html#ref_guide_orphan
--
Jacek Laskowski
http://www.JacekLaskowski.pl
the duplicate query exception suddenly showing up,
It's because you use class and no exclude-unlisted-classes in
persistence.xml. You should either remove the class elements or add
exclude-unlisted-classes and the Ignoring. warning message should go
away.
Jacek
--
Jacek Laskowski
http
. It's easy to read so highly recommended to
read (before you crash after struggling with setting up OpenJPA ;-))
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
[
https://issues.apache.org/jira/browse/OPENJPA-224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490094
]
Jacek Laskowski commented on OPENJPA-224:
-
What database do you use? I ran a test case with an entity
On 4/19/07, Jacek Laskowski [EMAIL PROTECTED] wrote:
I assume you're working with Java SE environment, aren't you? I'm
asking as the exclude-unlisted-classes is only intended for javase env
not javaee.
Wrong, wrong, wrong! Sorry for messing simple things up. I meant that
exclude-unlisted
=managed/
property name=openjpa.Multithreaded value=true/
property name=openjpa.ManagedRuntime
value=jndi(TransactionManagerName=java:comp/UserTransaction) /
Did you configure it by purpose? These are settings I have never used
so I doubt if I help much.
Jacek
--
Jacek Laskowski
http
On 4/18/07, Phill Moran [EMAIL PROTECTED] wrote:
The exception I get is null pointer from this line:
ListPerson results = (ListPerson) q.getResultList();
Could you show the query creation and the stack trace you're getting?
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
to the persistence.xml file to
tell OpenJPA that listed classes only are to be managed (highly
recommended).
I think it should help avoiding the message - openjpa.MetaData -
Found duplicate query PositionLog.byId in class
com.lbslogics.ims.model.PositionLog. Ignoring.
Jacek
--
Jacek Laskowski
http
duplicate query PositionLog.byId in class
com.lbslogics.ims.model.PositionLog. Ignoring.
Could you show the PositionLog entity and the corresponding
persistence.xml file with other referenced files (like orm.xml and
other mapping files if such exist)?
Jacek
--
Jacek Laskowski
http
Type: Bug
Components: query
Affects Versions: 0.9.8
Reporter: Jacek Laskowski
According to the spec - 4.10 Bulk Update and Delete Operations page 104:
update_statement ::= update_clause [where_clause]
update_clause ::= UPDATE abstract_schema_name
On 4/13/07, armad [EMAIL PROTECTED] wrote:
I can't send you the application :(
Is there a way to trim the application so that the issue still exists,
but you don't need to share the whole app? It would be of great help
if we reproduced the issue.
Jacek
--
Jacek Laskowski
http
mistaken. Thanks
Kevin!
I'd bet that he uses defaults and the class name doesn't correspond to
the table name or worse yet, the application doesn't connect to the
appropriate schema.
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
differences between
these JPA providers yet they (are to) support the same spec.
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
it and put
the enhanced classes in the application classloader.
Consider sending the files - AbstractItemEntity.java and
persistence.xml and how you run the app - with javaagent or you
PCEnhance the entities.
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
to digest.
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
- No Persistence provider for
EntityManager named ode-store is just a JPA version of
NoClassDefFoundError in pure Java.
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
are not used
at all.
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
your apps in Eclipse with the following setting in the
VM arguments panel of the Run configuration of your choice.
-javaagent:c:/.m2/org/apache/openjpa/openjpa-all/0.9.7-incubating-SNAPSHOT/openjpa-all-0.9.7-incubating-SNAPSHOT.jar
You should change the path to your M2 repo, though.
Jacek
--
Jacek
because I'm a mere developer so the only answer I'd have
given would've been c) yet I knew others were possible too (just I
don't see them so often).
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
Issue Type: Improvement
Components: jpa
Affects Versions: 0.9.7
Reporter: Jacek Laskowski
@Column provides the precision and scale attributes, but there's no (easy) way
to figure out how it affects the way OpenJPA works if any. It looks like
OpenJPA reads the type
On 4/10/07, Michael Dick [EMAIL PROTECTED] wrote:
Would you mind opening a JIRA report for the problem?
http://issues.apache.org/jira/browse/OPENJPA
https://issues.apache.org/jira/browse/OPENJPA-213
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
Please disregard. Craig's helping me to get through.
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
Issue Type: Bug
Components: jpa
Affects Versions: 0.9.7
Reporter: Jacek Laskowski
See the simple test case:
{
Query query = em.createQuery(SELECT o FROM Osoba o WHERE o.imie =
'Jacek' AND o.nazwisko = 'Laskowski');
final Osoba
[
https://issues.apache.org/jira/browse/OPENJPA-197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12486087
]
Jacek Laskowski commented on OPENJPA-197:
-
Hibernate and TopLink will fail once you get rid
[
https://issues.apache.org/jira/browse/OPENJPA-197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12486089
]
Jacek Laskowski commented on OPENJPA-197:
-
As I'm unable to write to the dev mailing list I'm responding
[
https://issues.apache.org/jira/browse/OPENJPA-197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12486112
]
Jacek Laskowski commented on OPENJPA-197:
-
Please close the issue with WON'T FIX or alike due
Issue Type: Improvement
Components: docs
Affects Versions: 0.9.7
Reporter: Jacek Laskowski
Add failonerror=true to the java task for PCEnhancer as presented at
http://incubator.apache.org/openjpa/enhancingwithmaven.html.
When PCEnhancer fails, M2 will go on and eventually
Affects Versions: 0.9.7
Reporter: Jacek Laskowski
(I have sent it to the mailing list on March 26th, but it didn't get through)
As I'm not alone with the build failure, see
http://www.nabble.com/error-building-openjpa-tf3478705.html, here goes the
issue report.
I've been trying
Issue Type: Bug
Components: query
Affects Versions: 0.9.7
Reporter: Jacek Laskowski
What's wrong with the following query?
Query query = em.createQuery(SELECT DISTINCT o FROM Osoba o WHERE :projekt
MEMBER OF o.projekty);
query.setParameter(projekt, new
Issue Type: Bug
Components: query
Affects Versions: 0.9.7
Reporter: Jacek Laskowski
According to the JPA 1.0 spec - 4.6.4.1 Positional Parameters - p. 90:
Note that the same parameter can be used more than once in the query string and
that the ordering of the use
Issue Type: Bug
Components: query
Affects Versions: 0.9.7
Reporter: Jacek Laskowski
The test says it all. When the line where the condition is checked is removed
the test fails with Apache OpenJPA 0.9.7-SNAPSHOT.
public void testExists() {
Query query
[
https://issues.apache.org/jira/browse/OPENJPA-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484823
]
Jacek Laskowski commented on OPENJPA-186:
-
What?! Please appologize my lack of understanding, but comments
[
https://issues.apache.org/jira/browse/OPENJPA-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jacek Laskowski updated OPENJPA-186:
Attachment: OPENJPA-186.buildfailure.txt
Build failure of OpenJPA sources from trunk
[
https://issues.apache.org/jira/browse/OPENJPA-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jacek Laskowski reopened OPENJPA-186:
-
Alas, the build went further, but still fails. See the attached output of 'mvn
clean
[
https://issues.apache.org/jira/browse/OPENJPA-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jacek Laskowski updated OPENJPA-186:
Attachment: OPENJPA-186-builderror-2.txt
Build failure of OpenJPA sources from trunk
[
https://issues.apache.org/jira/browse/OPENJPA-190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jacek Laskowski updated OPENJPA-190:
Summary: org.apache.openjpa.persistence.ArgumentException when using query
SELECT t FROM
[
https://issues.apache.org/jira/browse/OPENJPA-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484972
]
Jacek Laskowski commented on OPENJPA-186:
-
It's something pertaining to the way Ant is executed from within
[
https://issues.apache.org/jira/browse/OPENJPA-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12485012
]
Jacek Laskowski commented on OPENJPA-186:
-
mvn package -Dtest=false did the trick. mvn clean package works
\openjpa-jdbc\src\main\java\org\apache\openjpa\jdbc\kernel\exps\Exp.java:[48,53]
cannot find symbol
symbol : class ExpState
location: interface org.apache.openjpa.jdbc.kernel.exps.Exp
...
Jacek
--
Jacek Laskowski
http://www.laskowski.net.pl
44 matches
Mail list logo