Hi,
I got this in an error message :
Enable the org.apache.openjpa.jdbc.Schema logging category to see messages
about schema data.
I can't find what to add in the persistence.xml if it is there something should
be added...
I already added the following line but I feel it is something else :
JIRA done : https://issues.apache.org/jira/browse/OPENJPA-1956
Sorry for not being able to add a patch.
On 5 mars 2011, at 23:41, Rick Curtis wrote:
+1 gets my vote.
Go ahead an open a JIRA and a patch would be nice. :)
Thanks,
Rick
On Sat, Mar 5, 2011 at 2:46 PM, Jean-Baptiste
Hi,
2 persistent classes :
A
B extends A.
A have the primary key : id.
I was using fetch plan to include id but with the wrong class.
I badly added a fetch plan for B.class, id.
id was null, because it was finally not included in the fetch plan.
This is OK but when I build the fetch plan, why
into doing a manual build.
Sorry this took so long, I'll reply to this thread when I know it's in the
maven repo.
-mike
On Wed, Feb 9, 2011 at 7:30 AM, Jean-Baptiste BRIAUD -- Novlog
j-b.bri...@novlog.com wrote:
Would it be in the 2.0 branch trunk currently ?
In other words, if I
Hi the list,
I got the following exception :
Caused by: openjpa-2.0.1-r422266:989424 nonfatal user error
org.apache.openjpa.persistence.ArgumentException: cant-set-value
at
org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy.insert(HandlerFieldStrategy.java:132)
at
Yes.
On 8 nov. 2010, at 21:51, Rick Curtis wrote:
do you have connection pooling configured?
Thanks,
Rick
On Mon, Nov 8, 2010 at 2:21 PM, Jean-Baptiste BRIAUD -- Novlog
j-b.bri...@novlog.com wrote:
Hi,
http://bugs.mysql.com/bug.php?id=50174
This MySQL bug is quite annoying
Hi,
http://bugs.mysql.com/bug.php?id=50174
This MySQL bug is quite annoying :
Under certain CPU load level (witch is unknown) under *nix (any unix
apparently), the connection to the DB failed.
This bug is tagged by MySQL as low priority because there is a workaround.
The only workaround is to
I would add some (obvious ? if yes, sorry) things :
0. Yes, you're playing with fire, but that's really fun and very powerful as
long as you don't start a forest fire :-)
1. Ensure connection is at last closed or put back in the pool.
2. Test with and without a pool (or adjust value on pool) to
+1
On 26 août 2010, at 17:55, Donald Woods wrote:
I've staged a release candidate for OpenJPA 2.0.1 with the following
artifacts up for a vote:
SVN source tag (r989424) made from the 2.0.x branch:
https://svn.apache.org/repos/asf/openjpa/tags/2.0.1/
Source release:
It works fine ! I can now choose the persistence unit for enhancing at
build-time.
Thanks.
On 17 août 2010, at 15:42, Pinaki Poddar wrote:
I'm unable to find the information about how to specify the persistence
unit to use from ant.
It might not be possible.
path
On 10 août 2010, at 18:16, Rick Curtis wrote:
bin is managed by Eclipse : src/META-INF should be OK if I manage to have
only one persistence.xml file.
Correct. Eclipse will automatically move src/META-INF to bin.
Very good idea, but how to tell openjpac with persistence unit to use ??
I
Hi,
I'm using Enhance for a while now, but still have questions :
* Why do enhance need persistence.xml, no DB connection should be done during
enhance, right ?
* Why enhance allow/need to specify .java files, only .class are enhance, and
.class must be there before enhancement, right ?
*
...@gmail.comwrote:
Hi,
I think you mean the command line PCEnhancer. If you're referring to one of
the other tools (Eclipse / Maven plugin) my answers probably aren't right.
On Thu, Aug 12, 2010 at 6:07 AM, Jean-Baptiste BRIAUD -- Novlog
j-b.bri...@novlog.com wrote:
Hi,
I'm using Enhance
On 12 août 2010, at 15:19, Jean-Baptiste BRIAUD -- Novlog wrote:
Yes, I try the # syntax without success from ant file.
The error message is can't found file blabla/persistance.xml#p2
Also, I have a persistence.xml file with several persistence uni,
enhance task do the job, no way to know
Hi,
I'm trying to set an OpenJPA project with Eclipse (I'm currently using
IntelliJ).
I checked that page :
http://openjpa.apache.org/enhancement-with-eclipse.html
and decided to go with custom Ant builder.
Where is the persistent.xml file ?
Unfortunately, the file is not mentioned in the
confirmed.
On 10 août 2010, at 17:42, Christiaan wrote:
The links under Pre-packaged binaries for SNAPSHOT releases are available in
the snapshot repository at the following locations :
on http://openjpa.apache.org/downloads.html
don't work for me.
kind regards,
Christiaan
--
openjpac with persistence unit to use ??
Thanks,
Rick
On Tue, Aug 10, 2010 at 9:55 AM, Jean-Baptiste BRIAUD -- Novlog
j-b.bri...@novlog.com wrote:
Hi,
I'm trying to set an OpenJPA project with Eclipse (I'm currently using
IntelliJ).
I checked that page :
http
Hi David,
Very interesting !
In fact, one stack trace per class not found is enough, no need to repeat the
error.
A cache (a simple Map ?) should be OK.
On 20 juil. 2010, at 21:08, David Minor wrote:
Hi,
In some performance analysis (via periodic thread dumps), we've
noticed that roughly
3. Yes, it is possible to activate fetchplan dynamically, for only one request
if you want.
2. No idea, I simply forbid lazy, why would you leave a lazy attribute ? It
will cause an extra request that has a cost ...
1. I'm not sure in your exact context because we annotate at attribute level
Hi,
I got mailling list permanent error this morning.
I'm even not sure this message will reach the list ...
JBB.
Hi Marc,
Lazy is static in the mapping (either annotation or xml file).
This behavior can be amended at runtime, thanks to fetchplan.
This is why OpenJPA really rocks, because the way to define what we want is
dynamic by nature and lazy is a bad answer to that good dynamic need.
This has
Hi Marc,
Lazy is static in the mapping (either annotation or xml file).
This behavior can be amended at runtime, thanks to fetchplan.
This is why OpenJPA really rocks, because the way to define what we want is
dynamic by nature and lazy is a bad answer to that good dynamic need.
This has
OK it is not a permanent address error,
my answer to Re: How to get selective columns only is considered as spam !!!
In fact, any answer is now considered as spam, I have to write a new message in
order to send it to the list.
What can I do ?
choose : either fetchplan, either from query, both work but when it come to
complex relation and not basic attributs, fetchplan is better.
Fetchplan overide query : nothing in the query with a fetchplan that filter
some attributes will do the filter even with a query without filter.
On 20
Enhance at build-time, not at run-time.
Search the archive, I gave an ant script to do it.
I'm not sure what out of the box really mean.
I suggest you use high volume data and then an average time so you'll have the
cruise speed only.
I would also ensure any cache is disabled.
On 13 juil. 2010,
Hi,
Class A, has one attribute like the following :
@ManyToOne(optional = true, cascade = CascadeType.ALL)
@JoinColumn(name = B_ID)
private B b = null;
Not surprisingly, this is producing, in the table A, a column like the
following :
B_ID bigint(20) Yes NULL
Note that the column
Hi Michael,
It works exactly as you explained.
I didn't spot that difference between optional and nullable before.
Thanks.
On 13 juil. 2010, at 20:09, Michael Dick wrote:
Hi Jean-Baptiste,
I think what you want is
@Column(nullable=false) instead of marking it as optional=false.
add more database over time.
What do you think ?
On 5 juin 2010, at 13:26, Jean-Baptiste BRIAUD -- Novlog wrote:
OK, let's imagine we'll have to do it.
How will we describe it in OpenJPA ?
Should we have some technical annotation like @NativeTrigger or should we
have higher level
I know what do you mean but I really need to do that from Java like the =
DBA would do in your scenario.
I would love to do that using annotation with OpenJPA mappingtool.
In fact native query are not portable by nature and also, trigger is =
more static than dynamic like database schema is.
way OpenJPA code already use to detect
database and have some branch in the code (command pattern rather than lots of
if) so we could add more database over time.
What do you think ?
On 5 juin 2010, at 09:21, Jean-Baptiste BRIAUD -- Novlog wrote:
I know what do you mean but I really need
Thanks for the pointer. Unfortunately, the implementation doesn't rely on
native database triggers.
There is only one things that could unlock the use of lifecycle for a legal
audit system : the abilty to catch modification on entity done outside the JVM.
I don't think this is possible = native
Unfortunately, lifecycle in JPA will not answer to the direct need of that
triggers.
I need triggers because our customer asked for *secure* audit trail.
That audit trail must be operational for any data access, from or not from the
Java application server.
That must be done very strictly for
Hi,
Is there a way to use JPA abstraction from Java code to manipulate database
instances, triggers, stored procedure ?
Before going to the complex scenario, simple things first : How can I create a
database instance in a Java way : dev once, run everywhere ?
I had to write some SQL to create
Hi,
I thought the persistent.xml file should be in the META-INF folder of .war file
due to some JPA/JEE normalization but it I do not place it in the classes
folder of my war file, it doesn't work.
Any idea or explanation ?
Thanks.
If it can helps, here is a repost of the ant macrodef I use to enhance at
buildtime.
There is a weird thing around copying the persistence.xml as it was mentioned
in the doc to do it knowing the writer didn't know why :-)
So I did it too ...
macrodef is really (really really) powerfull ant
How do you generate classes dynamically (at runtime) in Java ???
Did you meant modifying the mapping at runtime for existing classes or did you
meant producing new classes at runtime and using it just after that and still
in the same JVM ?
We are using OpenJPA 2.0 and are generating classes,
Enhance at buildtime.
Enhancing at runtime might be OK to start learning as it quicker to start
coding but it comes with lots of problems and limitations.
I would say enhancing at build time is not an option for any serious
developments.
Finally, enhancing at build time is only a matter of one
Hi,
I just noticed that on the SQL file produced by OpenJPA to install DB schema,
there are no integrity referential constraints.
In other words, on relationship, there is no indication that one column is a
foreign key.
primary key are there but not foreign keys.
Is it a problem (I didn't
The only code I had to change is the method detach on the entityManager, it now
return void, the object passed as a parameter is no more returned but changed
by address.
On Mar 22, 2010, at 21:12 , Kevin Sutter wrote:
Hi Russell,
There should be no reason to change code as you move from
Hi
What are the differences between @ElementCollection and @PersistentCollection ?
I'm already using @PersistentCollection but I encountred @ElementCollection in
the examples folder of OpenJPA 2.0.0 beta 2 in a embedded folder.
At the end, I'm not sure to see a difference ... so I'm puzzled.
Found a workaround.
https://issues.apache.org/jira/browse/OPENJPA-1410
On Mar 11, 2010, at 07:50 , Jean-Baptiste BRIAUD -- Novlog wrote:
OK.
On Mar 10, 2010, at 17:58 , Donald Woods wrote:
The Fix Version is used to track which release(s) we are targeting a fix
for while the status
https://issues.apache.org/jira/browse/OPENJPA-1410
Added a comments : can reproduce using 2.0.0 Beta2 on Linux, not on OSX.
This bug is tagged as opened which is right but fixed in version 2.0.0 which is
wrong.
One mote detail : 32 or 64 bits JDK doesn't change anything.
I was using MySQL 5.1.x
On Mar 10, 2010, at 17:22 , Jean-Baptiste BRIAUD -- Novlog wrote:
https://issues.apache.org/jira/browse/OPENJPA-1410
Added a comments : can reproduce using 2.0.0 Beta2 on Linux, not on OSX.
This bug
, then the Fix Version denotes where it was actually
fixed.
If no one is actively or planning to work on an issue for a given
release(s), then the Fix Version will be unknown/none, which means it is
in the backlog/wish-list.
-Donald
On 3/10/10 11:22 AM, Jean-Baptiste BRIAUD -- Novlog
. The
BetaX releases should not be required to have certain JIRAs fixed. Unless
we're talking about regressions. But, in this case, the problem has been
around for a while and, thus, should not hold up a BetaX release.
Kevin
On Mon, Mar 1, 2010 at 10:17 AM, Jean-Baptiste BRIAUD -- Novlog
j
Leung. Maybe we can hook up
Ted with a committer to get this resolved.
Kevin
On Thu, Feb 25, 2010 at 3:59 AM, Jean-Baptiste BRIAUD -- Novlog
j-b.bri...@novlog.com wrote:
This bug doesn't look like to be corrected :
http://issues.apache.org/jira/browse/OPENJPA-1020
Could you please
This bug doesn't look like to be corrected :
http://issues.apache.org/jira/browse/OPENJPA-1020
Could you please confirm the status of than OPENJPA-1020 ?
I would be tempted to vote -1 as that bug is very annoying
On Feb 24, 2010, at 23:55 , Donald Woods wrote:
I've staged a release candidate
What do you mean by toolchains ?
On Feb 24, 2010, at 23:48 , Stephen Connolly wrote:
Have you considered using toolchains to help dancing within the different
jdk versions
On 24 February 2010 22:40, Donald Woods dwo...@apache.org wrote:
We've backtracked some on OPENJPA-1520 and no
noticed that both a testcase
and a potential patch have been provided by Ted Leung. Maybe we can hook up
Ted with a committer to get this resolved.
Kevin
On Thu, Feb 25, 2010 at 3:59 AM, Jean-Baptiste BRIAUD -- Novlog
j-b.bri...@novlog.com wrote:
This bug doesn't look like
Maybe a classpath issue in the IDE project's config ?
On Jan 18, 2010, at 02:15 , Thomas Polliard wrote:
Doing an example trying to learn OpenJPA and JPA I ran into a strange problem.
java.lang.ClassNotFoundException: com.arjuna.jta.JTA_TransactionManager
java.lang.ClassNotFoundException:
That fix is in the trunk, will it be in the 1.2.2 branch ?
On Jan 5, 2010, at 09:26 , Jean-Baptiste BRIAUD -- Novlog wrote:
Thanks a lot.
Unfortunately, I'm afraid the trunk would be too risky for production, isn't
it ?
That problem is now corrected in the trunk but I'll probably found new
for this problem in the trunk.
Regards,
Fay
- Original Message
From: Jean-Baptiste BRIAUD -- Novlog j-b.bri...@novlog.com
To: users@openjpa.apache.org
Sent: Mon, January 4, 2010 4:43:59 AM
Subject: Re: PersistentCollection bug. OpenJPA version to use.
Any advices
Hi,
I'm facing a ClassCastException in the context of a PersistentCollection.
It sound like exactly the behavior described here :
http://issues.apache.org/jira/browse/OPENJPA-1020
This bug look like fix but without any OpenJPA fix version.
Any news ?
I'm using a 1.2.2 snapshot from september.
there for OpenJPA : should the enhance process detect
that redundancy ? Should it fails on error for that ?
If yes, than it is a bug, if no, then it is a workaround :-)
On Dec 11, 2009, at 18:22 , Jean-Baptiste BRIAUD -- Novlog wrote:
Hi the list,
On my DEV machine I'm using MySQL, I use
In fact, I'm just thinking the point 2 is not in any issue, I'm not sure it
should be but I don't see why a unique constraint would make sense on primary
key, so an error should be raised in that case.
On Dec 13, 2009, at 21:38 , Jean-Baptiste BRIAUD -- Novlog wrote:
Exactly the issues !
I'm
Hi the list,
On my DEV machine I'm using MySQL, I use the MappingTool Ant task and its all
OK.
I produce the ddl sql file (for human reading) and also directly inject the
schema using the MappingTool to the database (not using the generated sql file).
On PROD, I have to deal with SQLServer. I
there for OpenJPA : should the enhance process detect
that redundancy ? Should it fails on error for that ?
If yes, than it is a bug, if no, then it is a workaround :-)
On Dec 11, 2009, at 18:22 , Jean-Baptiste BRIAUD -- Novlog wrote:
Hi the list,
On my DEV machine I'm using MySQL, I use the MappingTool Ant
with the find(id) method ?
Something like that : em.createQuery(SELECT blablabla ...); ??
On Dec 7, 2009, at 15:20 , Jean-Baptiste BRIAUD -- Novlog wrote:
I call this 2 methods before adding the fields I want but still it doesn't
behave like expected.
On Dec 7, 2009, at 13:00 , Michael Vorburger wrote
On Dec 7, 2009, at 18:57 , Michael Vorburger wrote:
Jean-Baptiste,
Hi Michael,
I realized that in our own in-house framework to simply to the max the
use of fetchPlan (just like yours... and ours?) we must be doing the
same
we may share some ideas or some directions ...
, so I refereshed
:
On Mon, Dec 7, 2009 at 3:48 PM, Jean-Baptiste BRIAUD -- Novlog
j-b.bri...@novlog.com wrote:
Now, thanks to you, I'm doing the following :
final FetchPlan fetchPlan = entityManager.getFetchPlan();
fetchPlan.clearFetchGroups();
fetchPlan.clearFields
HI Craig,
Wow, that fetchPlan API is just far more powerful than I thought. I'll have to
dig that, I'm sure our OpenJPA layer need improvements :-)
OpenJPA really rocks !
On Dec 7, 2009, at 22:59 , Craig L Russell wrote:
On Dec 7, 2009, at 1:44 PM, Jean-Baptiste BRIAUD -- Novlog wrote
to be
persist, not the other one before means that you only want the changes from
after the tran begins to be persistent... If that assumption is correct,
you'll need to get a new instance of ooo to make the changes on.
--
Thanks,
Rick
On Thu, Dec 3, 2009 at 8:49 AM, Jean-Baptiste BRIAUD
Hi,
I'm a big fan of fetch plan but there is something I don't understand.
I have a root class with many link or relation.
I'm using annotation and only annotation. Mose of the link are set with EAGER
fetching and cascade ALL.
This is done so by default, fetch will be eager and action will
Hi the list,
Am i right on the following pseudo code ?
// Note the detach.
// getFullById come back with an instance of MyObject from the
primary key
final MyObject ooo = detach(getFullById(cc
Here I modify (a lot) ooo but don't wan't the
On Oct 21, 2009, at 16:52 , C N Davies wrote:
It's disappeared!
Yes, from here too ...
I saved it in PDF, here's the file :
[CUT]
I managed to find the new URL :
http://www.ibm.com/developerworks/websphere/techjournal/0909_col_sutter/0909_col_sutter.html
Apparently, they just changed it ...
On Oct 23, 2009, at 10:48 , Jean-Baptiste BRIAUD -- Novlog wrote:
On Oct 21, 2009, at 16:52 , C N Davies wrote:
It's
Hi the list !
I can't resist to share that information with you.
We presented yesterday afternoon our Novlog project to the board of
examiners of the Reseau Entreprendre, a French private organization of
entrepreneur.
We were selected, so Novlog is one of the award-winnning 2009 from
Reseau
Hi the list !
I'd like to share Kevin Sutter's article :
http://www.ibm.com/developerworks/websphere/techjournal/0909_col_sutter/0909_col_sutter.html?ca=dgr-jw22S_TACT=105AGX59S_CMP=grjw22
Thanks Kevin (he's on the list).
JBB.
, Aug 4, 2009 at 11:10 AM, Jean-Baptiste BRIAUD -- Novlog
j-b.bri...@novlog.com wrote:
I can tell OpenJPA rocks, what I did had been tested impossible to
do with
other frameworks.
Can we quote you on that? :-) Thanks so much for vote of
confidence. Much
appreciated.
Kevin
Thanks
Hi,
I'm encoutering that exact bug :
https://issues.apache.org/jira/browse/OPENJPA-673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12619733
#action_12619733
Apparently, it is stil open since August 2008. Any news or status
about that ?
Any
You might gain some reusability and better Ant code by using macrodef.
http://ant.apache.org/manual/CoreTasks/macrodef.html
Here is the macrodef I'm using for example :
macrodef name=enhance
description=This will enhance annotated Java entity
classes.
attribute
OK, so is there a way to have add pool behavior with only JDBC
(without J2EE) ?
On Sep 28, 2009, at 05:04 , C N Davies wrote:
The doc says:
EntityManagerFactory instances are heavyweight objects. Each
factory might
maintain a metadata cache, object state
cache, EntityManager pool,
in a
JEE
environment. Checkout this blog post [1] that I wrote about this
very issue
a few months back.
-Rick
[1]
http://webspherepersistence.blogspot.com/2009/01/jpa-connection-pooling.html
On Mon, Sep 28, 2009 at 3:53 AM, Jean-Baptiste BRIAUD -- Novlog
j-b.bri...@novlog.com wrote:
OK, so
Thanks.
On Sep 28, 2009, at 16:18 , Rick Curtis wrote:
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
Great ! as usual, OpenJPA rocks :-)
On Sep 23, 2009, at 11:22 , Loïc Bresson -- Novlog wrote:
J Grassel wrote:
Hi, the problem you described sounds much like one I fixed in
OPENJPA-1061. I see you are using openjpa-1.2.1-r752877:753278 --
can you move up to
OpenJPA 1.2.x r791644 or later
Hi,
the version of Geronimo look older in OpenJPA 2 compared to OpenJPA
1.2.1 ...
One can found geronimo-jpa_2.0_spec-1.0-EA8-20090902.182716-4.jar in
OpenJPA 2
and geronimo-jpa_3.0_spec-1.0.jar in OpenJPA 1.2.1.
Is it normal ? What are the differences ?
Hi,
I'm trying to use the SchemaTool.
I read in the doc all the needed information to make it work from XML
to the database and also from database to XML but what about from
annotated classes to the database ?
If I found a way to go from annotated classed to XML, I can go back to
well
Think I got it here :
http://openjpa.apache.org/builds/1.0.2/apache-openjpa-1.0.2/docs/manual/ref_guide_mapping.html#ref_guide_mapping_mappingtool_examples
On Sep 21, 2009, at 21:59 , Jean-Baptiste BRIAUD -- Novlog wrote:
Hi,
I'm trying to use the SchemaTool.
I read in the doc all the needed
up !
I really want to understand, please, explain me :-)
On Sep 9, 2009, at 10:11 , Jean-Baptiste BRIAUD -- Novlog wrote:
Hi the list,
As soon as I try to use openjpac with ant to have built-time
enhancement, it had worked fine.
I try after that to have an learning/optimisation phase where
Hi the list,
As soon as I try to use openjpac with ant to have built-time
enhancement, it had worked fine.
I try after that to have an learning/optimisation phase where I could
reduce classpath and dependency to the stric minimum.
Basically, its working but I'd like to understand why :-)
Hi,
I read here
http://openjpa.apache.org/builds/1.0.2/apache-openjpa-1.0.2/docs/manual/ref_guide_integration.html
more precisely in that paragraphs :
Example 12.6. Invoking the Enhancer from Ant
Example 12.7. Invoking the Application Identity Tool from Ant
This doesn't seem to have changed
Did you try GenerationType.IDENTITY ?
@GeneratedValue(strategy = GenerationType.IDENTITY)
I think it should work with int but I prefer long instead.
On Sep 8, 2009, at 10:56 , B.L. Zeebub wrote:
Hi
I have attached my entity definition below. This was created over a
pre-existing database. I
Here's the URL :
http://www.linkedin.com/groups?about=gid=723trk=anet_ug_grppro
On Sep 3, 2009, at 14:16 , Jean-Baptiste BRIAUD -- Novlog wrote:
Hi,
for those interested, there is an OpenJPA group on LinkedIn,
just to be pround of OpenJPA logo on your profile !
I hope this could help
Hi,
for those interested, there is an OpenJPA group on LinkedIn,
just to be pround of OpenJPA logo on your profile !
I hope this could help promoting the techno.
OpenJPA power ... :-)
Hi Jason,
How are you enhancing your POJOs ?
If you are not enhancing them at build time, please do it and give us
some news.
On Aug 21, 2009, at 05:38 , jason.m.hanna wrote:
Hi All,
I'm having some trouble with my OpenJPA application and could use
some help.
I've got a web-based
Are you sure the object is attached or at least merged and only after
that you set the date to null ?
In fact, I'm not, yet:-), OpenJPA expert but it look like the
modification happened when detached and so is ignored.
On Aug 21, 2009, at 13:37 , Jason Hanna wrote:
Yes. Classes are enhanced
Sorry, but it is not clear at all to me.
Apparently, the date is set to null outside the JVM ... am I right ?
If yes, did you try to force it to null after and before the merge
inside the JVM ?
This test will answer is the problem is in the JVM or outside.
It will also clearout OpenJPA
Ok, it sound like you don't want my advice ... I won't bother you more.
set to null your field in Java code, remove the problem from your
serialization/flex/other glue and prove the bug instead of trying to
guess.
On Aug 21, 2009, at 15:26 , Jason Hanna wrote:
Yes, the date is set null
up : any advice on that point ?
On Aug 8, 2009, at 08:57 , Jean-Baptiste BRIAUD -- Novlog wrote:
Hi,
say I have one instance to delete, an instance of B knowing that A
contains one to many B.
Should I merge A with one less B, that should delete the required B
or should I explicitly
Hi,
say I have one instance to delete, an instance of B knowing that A
contains one to many B.
Should I merge A with one less B, that should delete the required B or
should I explicitly delete that B with a delete by query or should I
use the remove(thatB) API ?
What are the differences
did you had a look on that method on the EntityManager :
setMultithreaded(boolean multi)
Whether the entity manager or its managed instances are
used in a multithreaded environment.
It sound like EntityManager has to know wheter or not it is used with
threads.
Probably the
+1
Java 5 for 1.0.x and 1.3.x
Java 6 for 2.x
I think this could better for OpenJPA adoption.
Concerning my own usage, I'm no more using Java 5 ... so I would be
pleased with everything Java 6.
On Aug 6, 2009, at 16:11 , Donald Woods wrote:
Craig L Russell wrote:
Database users are
I already read that blog post and that's after reading it that I
decided to try OpenJPA.
I spent a lot of time as a consultant, in previous life, to educate
people to that concept in the early 2002-2003.
It was with OJB (as far as I remember) and I didn't know how to name
that thing.
That
The need is simple : get trees of partially valuated business object
instances from the big graph of possible linked business classes.
The fact came from old SQooL (a bad IT joke from old school and old
SQL) :
1. only get back from DB what you need.
2. the other thing is to try to make as few
Any comments on that vision ?
On Aug 5, 2009, at 16:33 , Jean-Baptiste BRIAUD -- Novlog wrote:
The need is simple : get trees of partially valuated business object
instances from the big graph of possible linked business classes.
The fact came from old SQooL (a bad IT joke from old school
relationship, for example, one can
specify a
Fetch Plan to traverse the child-to-parent a fixed number of times
-- a
notion neither supported in SQL nor in JPA based FETCH JOIN.
Jean-Baptiste BRIAUD -- Novlog wrote:
Any comments on that vision ?
On Aug 5, 2009, at 16:33 , Jean-Baptiste BRIAUD
, big big thanks !
-mike
Jean-Baptiste BRIAUD -- Novlog wrote:
Hi,
My question is is there simpler things to do ?
Please, review that idea and don't hesitate to comment ...
Step 1 : I want partial object, not hashtables. It could be a Person
with only some attributes having values.
this concern
)
at
org.apache.openjpa.kernel.StateManagerImpl.fetch(StateManagerImpl.java:
740)
at org.apache.openjpa.enhance.RedefinitionHelper
$1.invoke(RedefinitionHelper.java:230)
at $Proxy21.size(Unknown Source)
On Aug 4, 2009, at 14:41 , Jean-Baptiste BRIAUD -- Novlog wrote:
it is still failling
Hi,
Suddenly, I'm wondering if OpenJPA version 1.2.1 is the lattest stable
version or the dev version that will implement JPA 2.0 ?
In other words, witch one is the stable production ready version :
1.2.1 or 1.1.0 ?
Sorry, I got the confirmation on the site : 1.2.1 is the lattest
stable version witch I'm trying to use.
Version 1.3.0 is the dev version that will correct bugd and version
2.0 is in millestone 8 for JPA 2.
On Aug 4, 2009, at 15:05 , Jean-Baptiste BRIAUD -- Novlog wrote:
Hi,
Suddenly, I'm
1 - 100 of 117 matches
Mail list logo