Rick,
I tried closeAll() but still got ora-00604 if the loop times is numberous.
I think it proves it is not an issue of openJPA and I will find the
solution from Oracle JDBC driver or datapase parameters directions.
Anyway, I appreciate your prompt help a lot.
Regards,
Yu Wang
On Tue, Mar 11,
If you are trying to persist an Entity that has a relationship to an
(readonly) Entity that already exists in your DB, you should ensure that
the existing Entity is a part of your persistence context (ie managed).
OpenJPA is most likely complaining because we encountered an unmanaged
field when per
Hello,
We are running into issues with saving entities with fields that reference
read only data. If the entity has a field mapped with 'insertable = false'
and/or 'updatable = false' for @Column or @JoinColumn,
OpenJPA still tries to do an insert into the read only entity. It also
complains that
http://ci.apache.org/projects/openjpa/trunk/docbook/manual.html#ref_guide_cache_conf
On Tue, Mar 11, 2014 at 11:04 AM, Alice wrote:
> Thank you Rick for your response. I will check again to make sure we have
> bi-directional relation. We see this issue only when the parent entity has
> been sav
Hi Alice,
OpenJPA's L2 Cache provider is pluggable. Ehcache did provide a plugin for
their cache [1], but this was some time ago and I don't know if they have
kept it up-to-date.
WebSphere also provided a plugin for their Dynacache offering [2]. This
was introduced in the WAS v8.0 timeframe. I'
Thank you Rick for your response. I will check again to make sure we have
bi-directional relation. We see this issue only when the parent entity has
been saved before the FK entity is saved. I will confirm the bi-directional
relation.
Is there a way to plug in an external cache regardless of the i
Rick,
I believe openjpa does not close the statement promptly OR an oracle
database jdbc driver issue. It seem if manager is used to create a lot of
native queries in a loop, the cursors in Oracle database will not be
released promptly enough. I am using ojdbc6.jar + openjpa-1.2.3.jar.
Anyway, I wi
Todd -
> Does anyone have any experience with using the policy in this manner?
My general feeling is that not many people are using slice as there has
been very little mailing list traffic regarding it's usage. Be sure to let
us know how it goes!
Thanks,
Rick
On Sun, Mar 9, 2014 at 12:54 PM, To
No, your question still isn't very clear.
> Actually I just want to find a OpenJpa equivalence to close() method of JDBC
Statement class
I believe that after OpenJPA is done processing a native query we will
close the statement. If that isn't happening, you could try to cast your
query to an OpenJ
Actually I just want to find a OpenJpa equivalence to close() method of
JDBC Statement class
On Tue, Mar 11, 2014 at 5:56 PM, yu wang wrote:
> Hi Rick,
> Is my case description clear enough? Any suggestions?
>
> Regards,
> Yu Wang
>
>
> On Sat, Mar 8, 2014 at 3:36 PM, yu wang wrote:
>
>> H
Hi Rick,
Is my case description clear enough? Any suggestions?
Regards,
Yu Wang
On Sat, Mar 8, 2014 at 3:36 PM, yu wang wrote:
> Hi Rick,
> I have two very big master/slave tale I made them equal-partitioned by
> time stamp columns. So when users query something from two tables, I
> separate t
11 matches
Mail list logo