Re: OpenJPA graduation news

2007-05-19 Thread Jacek Laskowski
won't be separated with a dash in the mailing list names) Jacek -- Jacek Laskowski http://www.JacekLaskowski.pl

Re: manual.pdf

2007-04-22 Thread Jacek Laskowski
-- Jacek Laskowski http://www.JacekLaskowski.pl

BigDecimal, PostgreSQL 8.2 and @Column elements - precision and scale

2007-04-20 Thread Jacek Laskowski
to the jira? Jacek -- Jacek Laskowski http://www.JacekLaskowski.pl

Re: Open JPA error-Could not locate metadata for the class using alias

2007-04-20 Thread Jacek Laskowski
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

Re: Named query created in error

2007-04-19 Thread Jacek Laskowski
execution? Jacek -- Jacek Laskowski http://www.JacekLaskowski.pl

Re: @ElementDependent and cascade-delete

2007-04-19 Thread Jacek Laskowski
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

Re: Named query created in error

2007-04-19 Thread Jacek Laskowski
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

Re: Named query created in error

2007-04-19 Thread Jacek Laskowski
. 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

[jira] Commented: (OPENJPA-224) columnDefinition on @Column doesn't work

2007-04-19 Thread Jacek Laskowski (JIRA)
[ 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

Re: Duplicate query

2007-04-19 Thread Jacek Laskowski
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

Re: Duplicate query

2007-04-19 Thread Jacek Laskowski
=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

Re: Named query created in error

2007-04-18 Thread Jacek Laskowski
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

Re: Duplicate query

2007-04-17 Thread Jacek Laskowski
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

Re: Duplicate query

2007-04-16 Thread Jacek Laskowski
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

[jira] Created: (OPENJPA-216) ArgumentException when no identification variable given in UPDATE clause

2007-04-13 Thread Jacek Laskowski (JIRA)
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

Re: (No)existing table in SQL server

2007-04-13 Thread Jacek Laskowski
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

Re: (No)existing table in SQL server

2007-04-12 Thread Jacek Laskowski
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

Re: (No)existing table in SQL server

2007-04-12 Thread Jacek Laskowski
differences between these JPA providers yet they (are to) support the same spec. Jacek -- Jacek Laskowski http://www.JacekLaskowski.pl

Re: Open JPA error-Could not locate metadata for the class using alias

2007-04-11 Thread Jacek Laskowski
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

Re: PCEnhance

2007-04-10 Thread Jacek Laskowski
to digest. Jacek -- Jacek Laskowski http://www.JacekLaskowski.pl

Re: Testing an OpenJPA module

2007-04-10 Thread Jacek Laskowski
- 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

Re: @Column with precision and scale - how does it work?

2007-04-10 Thread Jacek Laskowski
are not used at all. Jacek -- Jacek Laskowski http://www.JacekLaskowski.pl

Re: PCEnhance

2007-04-10 Thread Jacek Laskowski
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

Re: Testing an OpenJPA module

2007-04-10 Thread Jacek Laskowski
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

[jira] Created: (OPENJPA-213) @Column with precision and scale should result in NUMERIC(precision, scale)

2007-04-10 Thread Jacek Laskowski (JIRA)
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

Re: @Column with precision and scale - how does it work?

2007-04-10 Thread Jacek Laskowski
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

YAT - Yet another test to moderate me through...

2007-04-03 Thread Jacek Laskowski
Please disregard. Craig's helping me to get through. Jacek -- Jacek Laskowski http://www.JacekLaskowski.pl

[jira] Created: (OPENJPA-197) @Version property doesn't ensure integrity when performing the merge operation

2007-04-02 Thread Jacek Laskowski (JIRA)
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

[jira] Commented: (OPENJPA-197) @Version property doesn't ensure integrity when performing the merge operation

2007-04-02 Thread Jacek Laskowski (JIRA)
[ 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

[jira] Commented: (OPENJPA-197) @Version property doesn't ensure integrity when performing the merge operation

2007-04-02 Thread Jacek Laskowski (JIRA)
[ 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

[jira] Commented: (OPENJPA-197) @Version property doesn't ensure integrity when performing the merge operation

2007-04-02 Thread Jacek Laskowski (JIRA)
[ 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

[jira] Created: (OPENJPA-195) Add failonerror=true to the java task example at enhancingwithmaven.html

2007-04-01 Thread Jacek Laskowski (JIRA)
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

[jira] Created: (OPENJPA-186) Build failure of OpenJPA sources from trunk

2007-03-28 Thread Jacek Laskowski (JIRA)
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

[jira] Created: (OPENJPA-187) MEMBER OF query fails on OpenJPA, but works fine with TopLink and Hibernate EM

2007-03-28 Thread Jacek Laskowski (JIRA)
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

[jira] Created: (OPENJPA-188) Positional parameters (in)order within query and query.setParameter (in)order

2007-03-28 Thread Jacek Laskowski (JIRA)
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

[jira] Created: (OPENJPA-189) EXISTS conditional operator and subquery don't return values, but they do exist

2007-03-28 Thread Jacek Laskowski (JIRA)
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

[jira] Commented: (OPENJPA-186) Build failure of OpenJPA sources from trunk

2007-03-28 Thread Jacek Laskowski (JIRA)
[ 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

[jira] Updated: (OPENJPA-186) Build failure of OpenJPA sources from trunk

2007-03-28 Thread Jacek Laskowski (JIRA)
[ 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

[jira] Reopened: (OPENJPA-186) Build failure of OpenJPA sources from trunk

2007-03-28 Thread Jacek Laskowski (JIRA)
[ 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

[jira] Updated: (OPENJPA-186) Build failure of OpenJPA sources from trunk

2007-03-28 Thread Jacek Laskowski (JIRA)
[ 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

[jira] Updated: (OPENJPA-190) org.apache.openjpa.persistence.ArgumentException when using query SELECT t FROM Teacher t, IN(t.courses) c WHERE c = ?1

2007-03-28 Thread Jacek Laskowski (JIRA)
[ 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

[jira] Commented: (OPENJPA-186) Build failure of OpenJPA sources from trunk

2007-03-28 Thread Jacek Laskowski (JIRA)
[ 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

[jira] Commented: (OPENJPA-186) Build failure of OpenJPA sources from trunk

2007-03-28 Thread Jacek Laskowski (JIRA)
[ 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

Re: svn commit: r441158 [1/5] - in /incubator/openjpa/trunk: openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/ openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/exps/ openjpa-jdbc/src

2006-09-07 Thread Jacek Laskowski
\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