Re: openjpa-examples compilation error

2010-05-21 Thread Donald Woods
Since you're using Eclipse, are you using "mvn eclipse:clean" and "mvn eclipse:eclipse" to update the Eclipse files? Trunk is now 2.1.0-SNAPSHOT and we've upgraded to commons-lang-2.4 and geronimo-jpa_2.0_spec-1.1 levels of jars. -Donald On 5/21/10 3:22 PM, Miłosz Tylenda wrote: > Hello Al

Re: openjpa-examples compilation error

2010-05-21 Thread Michael Dick
Hi Milosz, I just tried building openjpa-examples. It worked for me with this mvn --version : java full version "1.6.0_18-b07" Apache Maven 2.2.1 (r801777; 2009-08-06 14:16:01-0500) Java version: 1.6.0_18 Java home: /home/mikedd/programs/java/sun/jdk6_18/jre Default locale: en_US, platform encodi

Re: JPA and Scala

2010-05-21 Thread Kevin Sutter
Hi Christopher, I took a quick look at your links. Interesting ideas. Of course, the easiest way to allow for Scala Buffers is if Buffer extended Collection. I don't know anything about your Buffer architecture or implementation, so I don't know if this is even a doable question or not. As long

openjpa-examples compilation error

2010-05-21 Thread Miłosz Tylenda
Hello All! After some break I am trying to do a build from trunk. The ZIP packages are created but the build fails while compiling examples. It looks like the compiler can't see JPA packages: [INFO] Compiling 10 source files to /alt/eclipse322/workspace/open-jpa/openjpa-examples/target/classes

JPA and Scala

2010-05-21 Thread Christopher Schmidt
Hi all, I am working on a JPA wrapper for Scala and I think that I have found an elegant way to use some ideas of JPA. I managed to wrap EntityManager, EntitiyManagerFactory and Query. Unfortunately, there is no simple and elegant way to use Scala's collections. Using Scala classes as entities wor

Re: persistence.xml properties defined

2010-05-21 Thread Pinaki Poddar
Post in user forum -- not in developer forum. - Pinaki -- View this message in context: http://openjpa.208410.n2.nabble.com/persistence-xml-properties-defined-tp5058473p5084392.html Sent from the OpenJPA Developers mailing list archive at Nabble.com.

Re: Tests are ignored

2010-05-21 Thread Rick Curtis
Hmm... when you checked out trunk, you must have checked it out into a directory with a name other than openjpa-parent. When I refer to openjpa-parent, that is the directory where the root pom.xml file is located. Are you running 'mvn test' from that directory?

persistence configuration in test suites

2010-05-21 Thread Web developer
A big problem is that no meter if any overrides take place in running tests - the resulting, flatten config, which would show the equivalent, is not reported. And tests reports does not really show if the test is ignored or overrides are ignored. John

Log4j

2010-05-21 Thread Web developer
I still can't understand how to get log4j work for, say, enhancer, which does not throw any exceptions. Please help me. John

Re: persistence.xml properties defined

2010-05-21 Thread Web developer
And what does it change? The same thing: 396 embeddables INFO [main] openjpa.Runtime - Starting OpenJPA 2.0.0-beta3 733 embeddables INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.HSQLDictionary". Exception in thread "main" org.apache.openjpa.persistenc

Re: Tests are ignored

2010-05-21 Thread Web developer
> > cd trunk/openjpa-parent > Interesting, and where is that directory in trunk?! I haven't found any... > mvn surefire-report:report-only -Daggregate=true > -- The results of this run can be found at > trunk/openjpa-parent/target/site/surefire-report.html > Surfire report gave me a page with zer

Re: [jira] Updated: (OPENJPA-1659) OpenJPA 2.0.0 annotation processor causes plain old Java compilation to fail

2010-05-21 Thread Kevin Sutter
Nice detective work, Matthew. Getting Sun and/or IBM to fix problems in the JDK can be a pain. Good luck! :-) Does it seem to fail when compiling any annotation interfaces? Or, just certain ones like the two you have posted already? Thanks, Kevin On Thu, May 20, 2010 at 10:23 AM, Matthew T.

Re: persistence.xml properties defined

2010-05-21 Thread Kevin Sutter
Albert's point is that you should be using the openjpa prefix like this... -Dopenjpa.ConnectionDriverName=org.hsqldb.jdbc.JDBCDriver -Dopenjpa.ConnectionURL=jdbc:hsqldb:file:/tmp/persist_bacend -Dopenjpa.DynamicEnhancementAgent=false -Dopenjpa.RuntimeUnenhancedClasses=unsupported Kevin On Fri, M

Re: persistence.xml properties defined

2010-05-21 Thread Web developer
I am passing that parameters threw JVM arguments: -DConnectionDriverName=org.hsqldb.jdbc.JDBCDriver -DConnectionURL=jdbc:hsqldb:file:/tmp/persist_bacend -DDynamicEnhancementAgent=false -DRuntimeUnenhancedClasses=unsupported 2010/5/20 Albert Lee > Shouldn't you be using "openjpa." prefix for the