Hi. My persistence.xml contained ConnectionDriverName and ConnectionURL
properties defined for the unit that was not in use. But even when I added
tags into config for another unit - the effect is the same. John
It looks like the tool reports about successful creation of sequence table
in hsqldb database. I found the database files in targeted directory. But
when I executed this:
select TABLE_NAME from INFORMATION_SCHEMA.TABLES;
I haven't found a table with name "OPENJPA_SEQUENCE_TABLE".
I used jdbc:hs
I still have trouble with log4j. Here are my arguments:
-Dlog4j.appender.console=org.apache.log4j.ConsoleAppender
-Dopenjpa.Log=log4j -Dlog4j.category.openjpa.Enhance=TRACE
-Dlog4j.appender.console=org.apache.log4j.ConsoleAppender
-Dopenjpa.Log=log4j -Dlog4j.category.openjpa.Enhance.MetaData=TRAC
Hi. I opened that hsqldb datbase with a database manager. It looks like the
tool reports about creation of a table. But sequence related table is not
created. John
Here is a trace of tests:
439887 xml-persistence-unit WARN [main] openjpa.Enhance - Type "class
org.apache.openjpa.persistence.jdbc.schema.TestSchemaGenerator" loaded by
org.apache.openjpa.lib.util.temporaryclassloa...@390472f9 has no metadata;
enhancing as persistence aware. If you intended f
Got the following notice when trying to run tests:
enhance.all.entities:
[echo] running enhancer
160 WARN [main] openjpa.Runtime - The configuration property named
"openjpa.loglevel" was not recognized and will be ignored, although the name
closely matches a valid property called "openjpa
One more thing:
ce-capable, then this means that OpenJPA could not find any metadata for
"class
org.apache.openjpa.persistence.jdbc.schema.TestSequenceGeneratorEnsureCapacityCall".
This can happen if the directory containing your metadata is not in your
CLASSPATH, or if your metadata files are not
I have the following exception in junit tests:
enhance.all.entities:
[echo] running enhancer
283 WARN [main] openjpa.Runtime - The configuration property named
"openjpa.loglevel" was not recognized and will be ignored, although the name
closely matches a valid property called "openjpa.Log
People, please help me anyone with data store problems that I mentioned.
Thanks. John
version of one of the pom.xml files it might still show up though.
>
> FWIW the changes were done under
> OPENJPA-1557<https://issues.apache.org/jira/browse/OPENJPA-1557>
> .
>
> -mike
>
> On Mon, May 17, 2010 at 5:54 AM, Web developer >wrote:
>
&g
nning? What do the Entities look like that you're using?
>
> ... please post enough information to help us help you. :)
>
> Thanks,
> Rick
>
> On Mon, May 17, 2010 at 5:24 AM, Web developer >wrote:
>
> > Hi. I opened that hsqldb datbase with a database manager. It looks like
> the
> > tool reports about creation of a table. But sequence related table is not
> > created. John
> >
>
es for revision
> 923929<http://svn.apache.org/viewcvs?view=rev&rev=923929> back
> to your copy of the source if you want - that should fix the problem.
>
> Regards,
> -mike
>
> On Mon, May 17, 2010 at 9:54 AM, Web developer >wrote:
>
> > My version is 2.0
ecify the persistence unit name when you create the entity manager
> factory? If not, you may be picking up the default persistence unit which
> likely has those properties defined. If you do specify the PU name could
> you post your persistence.xml and the version of OpenJPA you are usi
I checked out the latest build from general svn trunk. Here what I got:
[WARNING]
/root/openjpa/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/nullity/TestBasicFieldNullity.java:[29,45]
com.sun.corba.se.spi.legacy.connection.GetEndPointInfoAgainException is Sun
proprietary A
Here is the end of trace output:
5957 xml-persistence-unit WARN [main] openjpa.MetaData - Found duplicate
metadata or mapping for "class
org.apache.openjpa.persistence.access.xml.XMLPropertySub". Ignoring.
5958 xml-persistence-unit WARN [main] openjpa.MetaData - Found duplicate
metadata o
ge is
> benign
> and can safely be ignored. You could merge the changes for revision
> 923929<http://svn.apache.org/viewcvs?view=rev&rev=923929> back
> to your copy of the source if you want - that should fix the problem.
>
> Regards,
> -mike
>
> On Mon, May 1
." prefix for the property names? e.g.
> openjpa.ConnectionDriverName=.
>
> Albert Lee.
>
> On Mon, May 17, 2010 at 10:20 AM, Web developer >wrote:
>
> > Here what I use:
> >
> > EntityManagerFactory emf =
> > Persistence.cre
report gave me a page with zeros in all columns of a report table.
John
>
>
> On Mon, May 17, 2010 at 11:57 AM, Web developer >wrote:
>
> > Here is the end of trace output:
> >
> > /root/openjpa/openjpa-integration/validation/target/surefire-reports
> >
>
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
>
>
I still can't understand how to get log4j work for, say, enhancer, which
does not throw any exceptions. Please help me. John
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
I usually go to my ~ directory, make checkout from svn trunk:
svn checkout http://svn.apache.org/repos/asf/openjpa/trunk openjpa
After checkout is finished - I cd to 'openjpa' dub-dir. And make 'mvn test
...' from ~/openjpa, respectively under root (to have rights for 'ulimit -n
1'). John
201
Interesting, and what is a practical purpose of application(s) that you
develop? John
2010/5/21 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, EntitiyManagerFactor
Who will use your application? What process it automates? John
2010/5/22 Christopher Schmidt
> Just to be sure: what do you mean with practical purpose?
>
> Christopher
>
> Am 22.05.2010 13:49 schrieb "Web developer" :
>
> Interesting, and what is a practical pur
w one can be generated for you.
File "Token.java" does not exist. Will create one.
File "JavaCharStream.java" does not exist. Will create one.
Parser generated with 0 errors and 3 warnings.
John
>
> -Donald
>
>
> On 5/22/10 7:45 AM, Web developer wrote:
>
export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m"
>
>
> -Donald
>
>
> On 5/24/10 12:54 PM, Web developer wrote:
> > 2010/5/24 Donald Woods
> >
> >> I always use "mvn clean install" which will build and run all of the
> >> tests b
192 or greater? If not, you'll
>> need to up the file handle limits.
>>
>> Also, you need to set some heap sizes before running Maven -
>>export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m"
>>
>>
>> -Donald
>>
>>
>> On 5/24/10
> Nothing unexpected. Normal maven stuff.
>
> -Donald
>
>
> On 5/25/10 11:40 AM, Web developer wrote:
> > While using a "surfire-report:report-only" the following info came up:
> >
> > Set
-- Пересланное сообщение --
От кого: Web developer
Дата: 27 мая 2010 г. 15:27
Тема: Re: Test run
Кому: Rick Curtis
>Since there are multiple persistence units defined in the p.xml file that
you specified, we incorrectly try to create the >OPENJPA_SEQUENCE_TABLE
multiple
I still can't understand how to force a proper generation of sequence table.
I can't understand why sequence table could not be found in my HSQLDB
database. I added external builder to Eclipse (forces mapping tool to
execute). Here goes:
-classpath
/home/webautomator/openjpa-all-2.0.0-beta3.jar:${
; Please describe what you are trying to do?
>
> 2010/5/27 Web developer
>
>> Here is how I changed the runner configuration:
>>
>> -Dopenjpa.jdbc.SynchronizeMappings=buildSchema
>> -Dopenjpa.ConnectionDriverName=org.h2.Driver
>>
>>
I tried to generate ant artifacts in project via "ant:ant" command.
"eclipse:eclipse" would not help with dependencies. Currently "ant test"
gives an acceptable testing run. I examined retrieved testing snapshots from
inet. It looks like persistence.xml and other files are in META-INF
sub-folder in
I still can't understand how to correctly activate log4j logger. Can someone
help me? John
It looks like test are running via ant. Or not? How to initiate testing
without Maven? John
Hi. I have figured out that there will be a training against HP related
hardware/software in my town, start November 15th. There will also be a Xen
related material. I am curious about:
1. Live migration of domU in PV mode with running instance(s) of OpenJPA
based application
2. Multiple domUs on
35 matches
Mail list logo