Drifter wrote:
Dear All ..
i have four fieild that exist in all tables ..i want to use
@MapperSuperClass .I test and I found that when there is a extended class
that have IdClass PCEnhancer cuase null pointer exception. I use
OpenJPA.1.2
in other cases there is no problem. in the
Gianny -
I see in a later post that you figured out that your persistence.xml file
wasn't in your classpath, but I'm wondering how this problem was manifesting
itself? ie: What were the error messages that you were seeing? Also, what
JDK are you running on.
Thanks,
Rick
Gianny Damour wrote:
I'm putting together a set of examples that show the different ways to use
enhancement and I'm wondering if there is a recommended way to run the
enhancer with maven? So far I've found the
http://mojo.codehaus.org/openjpa-maven-plugin/usage.html OpenJPA Maven
Plugin ,
? Or, possibly bringing into our svn?
On Wed, Feb 11, 2009 at 4:08 PM, Rick Curtis curti...@gmail.com wrote:
Dave -
I struggled with this very problem yesterday and never did get it to
work
properly. I ended up using the ant-run plugin to invoke the OpenJPA
enhancer
task.
Rick
David
Nick -
Is the persistence.xml file in the classpath?
Rick
nick_j_m...@uk.ibm.com wrote:
Doing something like this...
Options opts = new Options();
String[] toolArgs = opts.setFromCmdLine(options);
MappingTool.run(conf, toolArgs,opts);
conf contains the
Henry -
I don't have experience with MS Access DB or Foxpro, but I would think your
first step would be to create a simple java application that is able to
successfully access your database. At that point, take those database
connection properties and put them into your persistence.xml file.
IMHO, Spring should be logging the warning message, not OpenJPA. Registering
a class transformer is defined explicitly by the spec and OpenJPA shouldn't
be catching exceptions coming from 'Spring features' (The spec is pretty
huge, so please correct me if I'm wrong).
Also, I don't think that it
Annette -
How are you enhancing your Entities?
-Rick
Scherer, Annette wrote:
Hi,
unfortunately this approach does not lead to desired behaviour. When
instantiating our implemented class with ParameterListeAtomar pc = new
ParameterListeAtomarImpl(...) as suggested, we receive another
Ram -
When you want to write your detached Entity back to the DB, are you using
EntityManager.merge(..)? If not, I'd give that a try.
-Rick
Ram.sankar wrote:
Hi,
In my application i have a requirement that eventhough i change the values
of persistent objects available in the session
.
=
-Ursprüngliche Nachricht-
Von: Rick Curtis [mailto:curti...@gmail.com]
Gesendet: Montag, 9. März 2009 14:24
An: users@openjpa.apache.org
Betreff: Re: AW: ManagedInterfaces
Annette -
How are you enhancing your Entities?
-Rick
Scherer, Annette wrote:
Hi
In addition to the manual, I wrote a post about connection pooling
http://webspherepersistence.blogspot.com/2009/01/jpa-connection-pooling.html
here .
Pinaki Poddar wrote:
Hi,
I ran the Wearhouse-StorageCategory model you have posted (thank you for
a clean test). Against 500 categories
Would it be possible to have you zip up your entire directory structure and
upload that? Make sure that everything is compiled and enhanced... hopefully
that will shed some more light on what is going on.
-Rick
Shubbis wrote:
Pinaki Poddar wrote:
I do not find anything obvious in the
Paul -
I quickly looked through the javadoc for the
http://java.sun.com/javase/6/docs/api/javax/xml/parsers/SAXParserFactory.html#newInstance()
SAXParserFactory and I'm thinking that your problem is something specific
to your environment.? I was able to run the examples on my box without
adding
;javax.xml.parsers.DocumentBuilderFactoryquot;
brvalue=quot;com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImplquot;/gt;
brbrThere is some classloader subtlety that I don't fully understand here.
brbr- Paul
brbrOn 3/23/2009 8:17 AM, Rick Curtis wrote:
brgt; Paul -
brgt; I quickly looked
xercesImpl.jar so that adds to the mystery.
- Paul
On 3/23/2009 11:42 AM, Rick Curtis wrote:
Paul-
brIf you still are unable to figure out what's going on, feel free to zip
up your simple test app and I'll take a look at it.
brbr-Rick
brblockquote class=quote light-black dark-border-colordiv class
Ravi -
Can we get a full testcase?
Thanks,
Rick
Hi all,
I have a question regarding evicting an embedded object.
When I call an evict on a persistent non-transactional object and if I call
isPersistent() before and after evict then both returns true.
When I do the same for an embedded
With my vague understanding of what's going on here, it appears that you are
asking the same question just in a different context.
Unfortunately I don't have a good enough understanding of OpenJPA to decide how
this should work. Maybe someone else wants to take a look at this one, and
Kaayan -
We're going to need a more detailed description of your scenario to figure out
whats going on.
-Rick
Hello, I have a similar problem here.
My DB is MySQL, and was running JBoss(which uses Hibernate as Persistence
Provider), and with some data in DB.
Now I have switched to 'tomcat
I'm unable to recreate your failure, can you try a newer view of OpenJPA? ...I
tested with 1.2 and 2.0.
-Rick
--
View this message in context:
http://n2.nabble.com/same-%40Id-on-mapped-superclass-tp2435374p2576289.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.
Daryl -
Did you ever hear back from the MyEclipse people?
-Rick
On Mon, Feb 23, 2009 at 1:31 PM, Pinaki Poddar ppod...@apache.org wrote:
What is the status of this request?
I just submitted it in response to your message today. I'll let you know if
I hear anything.
--
Daryl Stultz
Try changing your keys from primitive long to java.lang.Long.
-Rick
I'm having some problems with the Property 'openjpa.Compatibility' and the
Value StrictIdentityValues=false.We are using IBM Websphere 6.1 incl. EJB3
Feature Pack (openJPA 1.0.4-SNAPSHOT) which by default sets this value to
Can you post a simple TestCase? I wasn't able to recreate the problem you're
seeing.
One thought I had is that maybe your DB key columns are defined as int as
opposed to long or something like that? What DB are you using?
--
View this message in context:
We will need to see your build file to figure out what is going on. I assume
you're running the enhancer from the command line?
-Rick
Chris Gage wrote:
I am trying to run the enhancer in an ant script, and I am getting
ClassNotFoundException for a class that is one of the compiled classes,
I assume you've already figured this out... but you'll need to configure your
database connection before Dali will generate your entities.
-Rick
jklcom99 wrote:
Hi,
Have you found any tutorial or example on using Dali OpenJPA?
I'm trying to generate entities from tables and it's
When you fix your mapping, does the connection leak stop? Also, how are you
confirming that there is a connection leak?
-Rick
--
View this message in context:
http://n2.nabble.com/connection-leak-after-sql-exception-tp2695171p2744532.html
Sent from the OpenJPA Users mailing list archive at
Will you post the entire stack for the NPE?
-Rick
ashishpaliwal wrote:
Hi,
Guys, I got my test cases run without problem. But still that
example.hellojpa is giving NullPointerException. Probably I need to
specify some properties somewhere. Happy that something atleast ran.
Thanks a
I figured that is what you were going to say. For whatever reason, your
persistence.xml file isn't being found... I'm not sure why the
persistence.xml file was on my classpath, but not yours.
To fix the NPE, make sure that the META-INF/persistence.xml file is in your
target/classes directory.
Ashish -
You are correct that the persistence.xml file isn't being copied from src/
over to target/. I must have inadvertently done that when I was writing the
instructions for you previously.
-Rick
--
View this message in context:
Good to hear you figured out what was going on! I dug through the code/tested
yesterday and didn't see anywhere that OpenJPA would leak a connection.
-Rick
Julian Graham wrote:
Hi all,
Actually after some concerted debugging and digging around in the
code, it looks like this is
Here are the known MySQL issues --
http://openjpa.apache.org/builds/latest/docs/manual/manual.html#dbsupport_mysql_issues.
-Rick
Martin Dirichs wrote:
Hi,
wondering why OpenJPA's MappingTool refused to add a foreign key
constraint to the database (error message: openjpa.jdbc.Schema -
Anurag-
What is the exact command that you are running, and from where? I wasn't
able to recreate what you're seeing.
-Rick
--
View this message in context:
http://n2.nabble.com/Problems-in-setting-up-the-work-enviroment.-tp2668172p2798995.html
Sent from the OpenJPA Users mailing list archive
Peter -
What kind of problems are you having? An exception or stack trace would be
very helpful.
-Rick
Peter Henderson wrote:
...
If I don't manually call em.detach() I get lots of problems
when hessian tries to serialize the object for wire transfer.
...
--
View this message in
Is it possible that only a portion of your Entities are being enhanced by the
build script? How are you invoking the ant build script?
-Rick
--
View this message in context:
http://n2.nabble.com/Runtime-Enhancement%3A-Problems-with-Ant-Task-in-Eclipse-tp2932839p2933295.html
Sent from the
-Marc
Any luck with the suggestion that David made?
David Beer-2 wrote:
On Sat, 16 May 2009 15:32:36 +0200
Marc Logemann l...@logemann.org wrote:
Hi Marc
Can't seem that it is OpenJDK 6 related as I use it here for both my
development and continous build system (hudson under
click on the
enhance task and choosing run as - Ant build).
-Naomi
Original-Nachricht
Datum: Mon, 18 May 2009 07:06:16 -0700 (PDT)
Von: Rick Curtis curti...@gmail.com
An: users@openjpa.apache.org
Betreff: Re: Runtime Enhancement: Problems with Ant Task in Eclipse
(PDT)
Von: Rick Curtis curti...@gmail.com
An: users@openjpa.apache.org
Betreff: Re: Runtime Enhancement: Problems with Ant Task in Eclipse
Is it possible that only a portion of your Entities are being enhanced
by
the
build script? How are you invoking the ant build script?
-Rick
Michael -
When you define your openjpac task, you're missing some of the required
classes. You could change your
openjpac taskdef to something like:
taskdef
classpath=${jpa.lib}/openjpa-1.2.1.jar;${jpa.lib}/commons-lang-2.1.jar;commons-collections-3.2.jar
name=openjpac
Jan -
Have you enhanced your Entities? What is the environment that you are
running in?
-Rick
Janek-2 wrote:
Hi,
I have performance problem with queries on uncommited data.
I run huge import, with commit at each 1 items. During import I
make lot of selection queries (to protect
it?) and I started it manually (right click
on the
enhance task and choosing run as - Ant build).
-Naomi
Original-Nachricht
Datum: Mon, 18 May 2009 07:06:16 -0700 (PDT)
Von: Rick Curtis curti...@gmail.com
An: users@openjpa.apache.org
Betreff: Re: Runtime Enhancement: Problems
It would appear that the class org.w3c.dom.svg.SVGDocument isn't on the
classpath when you run the enhancer.
-Rick
Prodoc wrote:
Fixed now. A simple later calling of the enhance target did the trick.
I'm now back at the 'NoClassDefFoundError' error. Any idea what the cause
of this could
:17 -0700 (PDT)
Von: Rick Curtis curti...@gmail.com
An: users@openjpa.apache.org
Betreff: Re: Runtime Enhancement: Problems with Ant Task in Eclipse
Naomi --
I've spent the better part of my morning trying to figure out what was
going
on and I finally have an answer for you. Please don't
Roger -
Can you just add a getId() method to your Entity and call that after you
persist your Entity?
-Rick
On Mon, Jun 8, 2009 at 7:06 AM, Roger roger.var...@googlemail.com wrote:
Hi
I'm writing my first application using the javax.persistence framework with
openJPA as it's implementation
Udi -
I wasn't able to find any changes from 1.0.1 - 1.2.0 that would affect your
application, can you post some more information?
Are you using buildtime or runtime enhancement? When you are enhancing, is
it possible that you are setting addDefaultConstructor to false?
-Rick
Udi wrote:
This looks similar to https://issues.apache.org/jira/browse/OPENJPA-1121.
-Rick
--
View this message in context:
http://n2.nabble.com/Enhancing-entities-fails-when-there-is-an-enum-field-in-the-entity-tp3077176p3086982.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.
that in some
point
the enhancer makes parsed.parse() for each peristence.xml.
When the parsing ends, only the last parse is taking in count (within the
parser._result) and that is the wrong persistence.xml in my case.. I'm
pretty sure it's a bug..
On Tue, Jun 16, 2009 at 6:06 PM, Rick Curtis (via
I don't think many (if any) people around here have NetBeans experience... so
it sounds like you're blazing a trail. I spent an hour this morning trying
NB out, and I can't get things working... please let us know if/when you
figure out what's going on.
Is there a particular reason that you're
László -
OpenJPA does support running with unenhanced classes but it's not
recommended. There are a number of known issues and there have been many
discussions on disabling the support for running with unenhanced classes. I
would suggest either using the -javaagent or buildtime enhancement to
David-
If I remember correctly, there is little to no documentation about the
methods that are added by the enhancement processing(someone please correct
me if I've missed something). Previously as an academic exercise I
decompiled an enhanced class to see what was added... that may be your best
Roger -
I'd highly recommend the Pro EJB 3 book [1].
-Rick
[1] http://www.amazon.com/Pro-EJB-Java-Persistence-API/dp/1590596455
On Thu, Jun 25, 2009 at 12:07 PM, Roger roger.var...@googlemail.com wrote:
On Thursday 25 June 2009 16:27:20 Daryl Stultz wrote:
On Wed, Jun 24, 2009 at 4:22 PM,
I'm running on trunk and I wasn't able to recreate the problem. Can you try
running on trunk to see if the problem exists only on the 1.2.1 branch? If
you can't get it working on trunk, please post a more thorough example of
the scenario that you are running into the problem with. A full stack
John -
It looks like you annotated your Person.id to be unique, but you didn't
specify a value... I'm assuming that you're using an AI column for your id.
I see you're running on MySQL, so try adding the annotation
@GeneratedValue(strategy=GenerationType.IDENTITY) to your id column. If that
I don't think the @PreRemove annotation will do what you're looking to do. I
assume you want your application to be able to blindly remove an Entity and
have the logic in your @PreRemove method decide whether or not the remove
should happen?
I don't see any mention of stopping a remove
Simon -
Any luck with trying out that patch? I'm looking into removing the
synchronization of the MetaDataRepository (As documented by OPENJPA-250) and
would like to know how this exercise went for you.
-Rick
Simon Droscher wrote:
I'm trying out the synchronization changes in
Chris-
You may want to try adding a @Version field to your Entity.
-Rick
On Wed, Jul 8, 2009 at 1:43 AM, coloradoflyer open...@parallelsw.comwrote:
Hi all,
I'm working on a very simple setting from
openejb(3.1)/openjpa(1.2.1)/Postgres-8.3
I can retrieve a persistent object without
Simon -
I started looking at the patch you attached to OPENJPA-250 today and I'm
wondering if you had to make any additional changes to get it working
properly in your environment? I applied the patch and I ran a fairly simple
scenario with a number of threads going and I ran into some issues
2
-Rick
On Wed, Jul 15, 2009 at 8:20 AM, Donald Woods dwo...@apache.org wrote:
After the second round of voting, we have a tie between two logos, so we'll
start a run-off round that runs through midnight July 21.
Please post your votes to the wiki page below [1] or reply to this email
It sounds like your META-INF/persistence.xml file isn't found on your
classpath when running your RCP application. I really wish that
createEntityManagerFactory would do something other than return null if a
persistence unit isn't found.
I'd suggest taking a close look at the classpath for your
Can you post snippets of your Entities and your persistence.xml file?
-Rick
On Mon, Jul 27, 2009 at 7:47 AM, pdd pbar...@gmail.com wrote:
Everything works with EclipseLink and TopLink but fails with OpenJPA.
Tried with runtime as well as build time enhancement. The problem is the
entity
After looking at the spec, it looks like you should be using the
mapped-superclass XML descriptor on the UserModelBaseImpl class and
com.example.model.impl.UserModelImpl needs to be added to your list of
persistent classes. See section 2.11 - 'Inheritance' for more details. Let
me know how it
Claudio -
This is a bit of a stretch, but do you have a Version field [1] on each of
your Entities?
- Rick
[1]
http://openjpa.apache.org/builds/latest/docs/manual/manual.html#jpa_overview_pc_version
Claudio Di Vita wrote:
Hi to all,
I'm having some troubles using OpenJPA in a
Udi wrote:
Hey,
I have this case:
class Book{
@id
protected long id;
private static number = 0;
@prePersist
private void makeSomeID(){
id = ++number;
}
}
class Persister{
public static void main(...){
while (true){
Illhan -
In your application initialization I believe you could do something like
this to get a reference to the EntityManagerFactory
OpenJPAEntityManager oem = OpenJPAPersistence.cast(em);
OpenJPAEntityManagerFactory oemf =
Yu Wang -
OPENJPA-1089[1] wasn't your exact problem, but I want you to be aware that a
change was made.
Thanks -
Rick
[1] https://issues.apache.org/jira/browse/OPENJPA-1089
--
View this message in context:
Chris -
I built my 1.2.x workspace and found it in the openjpa-all jar. I also
checked in the binary download from the openjpa website and the class was
there also.
/org/apache/openjpa/jdbc/meta/ClassStrategy.class
-Rick
On Fri, Aug 7, 2009 at 2:43 AM, C N Davies c...@cndavies.com wrote:
the openjpa-1.2.x.jar file.
-Donald
Rick Curtis wrote:
Chris -
I built my 1.2.x workspace and found it in the openjpa-all jar. I also
checked in the binary download from the openjpa website and the class was
there also.
/org/apache/openjpa/jdbc/meta/ClassStrategy.class
-Rick
by the
JEE contianer.I think the LifecycleListener could be set in
persistent.xml,not only used by java code.
Thanks Rick.
illhan
Rick Curtis wrote:
Illhan -
In your application initialization I believe you could do something like
this to get a reference to the EntityManagerFactory
Another option would be to enhance your classes at build time. That would
ensure that you are running with enhanced Entities.
-Rick
http://openjpa.apache.org/entity-enhancement.html -- Checkout the Build Time
Enhancement section.
--
View this message in context:
Kevin -
I'm willing to bet that the problem you're running into is a result of not
enhancing your Entities. Take a read through the 'Entity Enhancement' page
[1] and let us know how it goes.
Thanks,
Rick
[1] http://openjpa.apache.org/entity-enhancement.html
On Tue, Aug 25, 2009 at 9:24 AM,
Try turning on SQL trace to see what SQL is being generated from your
JPQL.
Rick
On Sep 8, 2009, at 3:54 AM, B.L. Zeebub
roger.var...@googlemail.com wrote:
Jean-Baptiste BRIAUD -- Novlog wrote:
Did you try GenerationType.IDENTITY ?
@GeneratedValue(strategy =
What do you mean by eclipse project? It sounds like you may have
already tried the Eclipse OpenJPA plugin and ran into problems?
Normally I setup an ant builder[1] when running in Eclipse.
Rick
[1]
http://webspherepersistence.blogspot.com/2009/04/openjpa-enhancement-eclipse-builder.html
Chris -
Yes it looks like the -javaagent did not work. As a starting point to debug
this problem, I'd suggest setting
openjpa.RuntimeUnenhancedClasses=unsupported in your persistence.xml file to
disable the subclassing enhancement.
Let us know what you come up with.
-Rick
On Tue, Sep 15, 2009
The javadoc for org.apache.openjpa.event.RemoteCommitProvider states A
remote commit provider must not fire remote events for commits that
originated with a local broker ...so, if you are operating against a
single EMF, your remote events won't ever be invoked. Hopefully this helps.?
-
http://commons.apache.org/dbcp/configuration.html
Jean-Baptiste BRIAUD -- Novlog wrote:
OK, it works but I'd like to set more options in the persistence.xml
like the pool size. I didn't find how to set that up. Any link ?
Thanks.
On Sep 28, 2009, at 15:32 , Rick Curtis wrote:
I'd
David-
I'm not quire sure whats going on, but do you have a stack showing the
failure?
Thanks,
Rick
On Sun, Oct 11, 2009 at 6:18 PM, David Beer david.m.b...@googlemail.comwrote:
Hi All
I am trying to create an application using HSQLDB 1.8.1. I have created
a server database for testing.
sriram-
To use OpenJPA you will need to do either build time or runtime enhancement.
The DynamicEnhancement that you disabled is something that OpenJPA added to
try to automagically hook up the enhancer, but it isn't perfect by any
means. I'd suggest reading through the OpenJPA docs/manual [1]
Adam -
What is the reason that you want to disable AutoDetach?
--
Thanks,
Rick
On Mon, Nov 16, 2009 at 11:16 AM, Adam Borkowski borkos.de...@gmail.comwrote:
I tried to turn off auto detaching after commit or entity manager closing
by
setting
openjpa.AutoDetach property to false or to
Marc -
In the case where you call em.find(...) and it takes 500ms how long does
that operation take if the result doesn't need to be detached? The reason I
ask is that I've been doing some performance work and we found that in some
instances we are spending way too much time detaching Entities.
When you call cc.merge(ooo); any changes made to that instance while it was
detached will be persisted to the DB.
I assume your comment Here I modify the ooo but I want this modif to be
persist, not the other one before means that you only want the changes from
after the tran begins to be
Tao -
Can you post a simple testcase demonstrating the problem?
--
Thanks,
Rick
On Thu, Dec 3, 2009 at 3:38 PM, Javatao taolu2...@gmail.com wrote:
Hi, Experts,
I am having an issue with detached object in OpenJPA.
Setter method of relationship field does not work.
Setter method of
David-
Per the JPA spec --
The entity class must have a no-arg constructor. The entity class may have
other constructors as well.
The no-arg constructor must be public or protected.
...so if your Entity doesn't have one, OpenJPA will do it for you.
--
Thanks,
Rick
On Fri, Dec 4, 2009 at 1:29
Adam -
Have you tried setting the javaagent without the =properties=persis ?
Another option would be build/package time enhancement?
Thanks,
Rick
Adam Hardy-4 wrote:
I'm using the Eclipse Galileo and WTP to run an embedded instance of
tomcat in
Eclipse and I am trying to run
This probably would have helped earlier in debugging try setting
openjpa.RuntimeUnenhancedClasses=unsupported in your persistence.xml. This
will cause OpenJPA throw an exception when an unenhanced in encountered by
the runtime.
--
Thanks,
Rick
On Tue, Dec 15, 2009 at 4:51 PM, KARR, DAVID
Try setting property name=openjpa.Log value=DefaultLevel=TRACE / and
upload the trace somewhere that should give us some more info. To
reiterate a previous question, what application server are you running with?
--
Thanks,
Rick
alvaroCab wrote:
Hi, thank you for your answers. The
I'm guessing that you are missing some of the openjpa jars. If you look at
the lib dir of a 1.0.x binary download, you'll notice that there are more
than just commons-lang, commons-collections, serp, and the openjpa jars.
Maybe you could try putting all of those on your classpath?
Thanks,
Rick
I found that care needs to be taken when using Floats, Doubles, BigDecimal,
etc... OpenJPA seemed to work in most cases when I was using existing table
definitions but I can't say that OpenJPA always generated the proper tables
when using synchronize mappings. One oddity/problem I came across had
Daryl -
Check out org.apache.openjpa.lib.jdbc.JDBCListener or
org.apache.openjpa.lib.jdbc.AbstractJDBCListener.
On Mon, Jan 11, 2010 at 10:30 AM, Daryl Stultz da...@6degrees.com wrote:
Hello,
I'm writing a very simple tool to run queries from a text file. I'd like to
show the generated SQL.
http://n2.nabble.com/How-to-remove-an-entity-from-a-result-list-error-result-list-is-read-only-td209686.html
On Tue, Jan 12, 2010 at 8:41 AM, racarlson racarl...@mediacomcc.com wrote:
I switched one query to JPAQL but still got the same messages, then I
listed
out each class in
Udi -
You're really going to need to post more information than this for anyone to
figure out what is going on I understand you don't want to post your
application call stack, what about posting a filtered call stack? That might
be a good starting point.
You say you are enhancing your
Kevin - Close, but no cigar. NoLock=true isn't valid.
I'll get the docs fully updated today or tomorrow.
--
Thanks,
Rick
On Thu, Jan 21, 2010 at 2:41 PM, Kevin Sutter kwsut...@gmail.com wrote:
Rick is the expert here, but the 1.2.2 release contains an improvement to
do the metadata
Are you listing your persistent types in the p.xml file?
On Thu, Jan 21, 2010 at 3:43 PM, KARR, DAVID (ATTCINW) dk0...@att.comwrote:
After replacing 1.2.1 with 1.2.2 and turning on the metadata preload, I
got a nonsensical column that is not compatible error. I then tried
removing the
Will you post the trace to http://filebin.ca/ so we can take a look at it?
Thanks,
Rick
2010/1/22 Håkon Sagehaug hakon.sageh...@uni.no
Hi all,
I still got his problem and can't seem to resolve it so I'll try again to
see if anyone has any tips. set up is like this I've got a web service
KARR, DAVID (ATTCINW) wrote:
No. I never have. I only list the orm.xml files.
Can you try listing your persistent types in the p.xml file to see if this
problem goes away? If that doesn't work, can you turn on trace and post it
to filebin so I can take a look at it?
Thanks,
Rick
--
David -
I looked at the files that you uploaded and I'm somewhat confused... it
appears that the trace is from when you ran the enhancer, not when you ran
the actual test case. By any chance can you boil this down to a simple unit
test that I can use to recreate on my system?
Thanks,
Rick
On
Go ahead and open a JIRA. I'll try to find a few cycles this afternoon to
look at it.
--
Thanks,
Rick
On Tue, Jan 26, 2010 at 11:26 AM, KARR, DAVID (ATTCINW) dk0...@att.comwrote:
-Original Message-
From: Rick Curtis [mailto:curti...@gmail.com]
Sent: Friday, January 22, 2010 9:41
Have you looked at the EntityManager interface [1]?
[1]
http://java.sun.com/javaee/5/docs/api/javax/persistence/EntityManager.html#remove%28java.lang.Object%29
--
Thanks,
Rick
On Mon, Feb 8, 2010 at 7:39 AM, mlounnaci mlounn...@hb-technologies.dzwrote:
Hello friends
I have an entity
Cheng -
http://openjpa.apache.org/builds/latest/docs/manual/manual.html#ref_guide_pc_enhance_dynamic
Can describe the environment that you are running in? How are you enhancing
your Entities?
--
Thanks,
Rick
On Wed, Mar 10, 2010 at 1:31 PM, Cheng Zhang chzh...@yahoo-inc.com wrote:
Hi,
I
+1
On Tue, Mar 23, 2010 at 9:36 PM, Donald Woods dwo...@apache.org wrote:
I've staged a release candidate for OpenJPA 2.0.0 Beta 3 based on
r926797 of the code in the 2.0.x branch, which was tagged in svn to:
https://svn.apache.org/repos/asf/openjpa/tags/2.0.0-beta3/
Release Notes:
I think Daryl hit it spot on. I was able to reproduce the exception from the
previous email and I believe that OpenJPA should be throwing an exception as
pasted below, rather then the one that you are seeing.
...
Caused by: openjpa-2.1.0-SNAPSHOT-r422266:930721M nonfatal user error
multiple persistence contexts so having two threads sharing the same entity
should be a non issue... unless we were to fix/allow that.
--
Thanks,
Rick
On Mon, Apr 5, 2010 at 2:15 PM, Daryl Stultz da...@6degrees.com wrote:
On Mon, Apr 5, 2010 at 2:45 PM, Rick Curtis curti...@gmail.com wrote:
I
this scenario isn't valid if getEmFromFactory() returns the
same instance to two different threads.
--
Thanks,
Rick
On Mon, Apr 5, 2010 at 3:28 PM, Daryl Stultz da...@6degrees.com wrote:
On Mon, Apr 5, 2010 at 4:05 PM, Rick Curtis curti...@gmail.com wrote:
Daryl I'm not entirely sure I
1 - 100 of 587 matches
Mail list logo