Hey there,
I'm having a problem merging an entity, here's the simplified structure:
Class A {
@OneToMany(cascade=CascadeType.ALL, mappedBy="parent")
Set b_set;
...
}
Class B {
@ManyToOne
A parent;
@OneToMany(cascade=CascadeType.ALL, mappedBy="parent")
Set c_set;
...
Philippe,
I must admit I'm quite illiterate when it comes to Eclipse --ditched it
a long time ago in favor of Idea. You must be right about the build.xml
being a not-so-straightforward root for Eclipse import, it didn't occur
to me that it could be used that way. Having said that, here's my
(
Philippe Alexis wrote:
Hi Gokhan,
I'd been busy with work but kept this particular issue at the back of my
mind for coming back to.
How far did you get investigating it?
Not far I'm afraid --I'm still running with the patch I've posted on
jira that fixes the detached case. Since the applicatio
Philippe Alexis wrote:
Firstly, I had no problem getting updateAttached (EntityManager em) to
run
fine on both SQL Server and Postgresql,
got the count of 4.
Forgot to comment on this one:
I don't use Postgres or SQLServer, but I'm assuming they have this nifty
little feature called "deferre
Marc Prud'hommeaux wrote:
That is correct: the reversemappingtool only currently supports
generating an orm.xml file. We would like to add support for
generating annotations someday, but it is not there yet.
Would you guys be interested in getting donations in that area? We do
have our ho
Marc, Patrick,
What would be the correct medium to discuss various
design/implementation details? This mailing list / jira or somewhere else?
Gokhan.
Marc Prud'hommeaux wrote:
I've gone ahead and created
https://issues.apache.org/jira/browse/OPENJPA-239 in order to track
comments and patc
Patrick Linskey wrote:
Gokhan, I am interested in the test cases that this broke so if
you have time please email me.
+1 -- if you've got any test cases that we could incorporate into the
OpenJPA build environment, it'd be great to get them integrated.
Existing test cases are part of an applica
Philippe Alexis wrote:
... snip
> On MySQL, updateDetached works fine with the modification:
> @ManyToOne(cascade=CascadeType.ALL)
I'm assuming you're running without the patch I've included in the
testcase? With the patch it should work without messing around with
@ManyToOne.
>
The thing wi
Marc Prud'hommeaux wrote:
Gokhan-
On a related note, does the build process support/plan to support
TestNG tests or should I stick to junit?
I looked into this a little while back: Maven supposedly supports both
TestNG and JUnit used together in tandem, but I was never able to get
it workin
Patrick Linskey wrote:
Would you guys be interested in getting donations in that area?
Certainly!
We do have our homegrown solution that does that (along with some other
goodies as well). It's currently based on our metadata representation
reverse-engineered from the database schema, it'd be
Issue Type: Bug
Components: kernel
Affects Versions: 0.9.7
Environment: platform-independent
Reporter: Gokhan Ergul
As posted on open-jpa-dev mailing list:
-
I'm having a problem merging an entity, here's the simplified structure
[
https://issues.apache.org/jira/browse/OPENJPA-231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gokhan Ergul updated OPENJPA-231:
-
Attachment: jira-test-case.zip
Attaching test-case to reproduce the issue and suggested patch
[
https://issues.apache.org/jira/browse/OPENJPA-231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12492830
]
Gokhan Ergul commented on OPENJPA-231:
--
Note that the patch is developed against a nightly-snapshot of 0.9.7
[
https://issues.apache.org/jira/browse/OPENJPA-231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12493193
]
Gokhan Ergul commented on OPENJPA-231:
--
Further testing reveals that the patch I submitted solves only
[
https://issues.apache.org/jira/browse/OPENJPA-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12497650
]
Gokhan Ergul commented on OPENJPA-235:
--
FWIW, I've tested the patch with the hope that it'd also f
[
https://issues.apache.org/jira/browse/OPENJPA-235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gokhan Ergul updated OPENJPA-235:
-
Attachment: merge-detached.patch
merge-multigen-collection-testcase.zip
Reece
: Bug
Components: kernel
Environment: openjpa 0.9.6
Reporter: Gokhan Ergul
Both buildtime and runtime class enhancement fail with the following error:
...
1339 TRACE [main] openjpa.Enhance - Enhancing type "class test.B".
Exception in thread "main&
[
https://issues.apache.org/jira/browse/OPENJPA-146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gokhan Ergul updated OPENJPA-146:
-
Attachment: test-case.zip
Test case and trace output attached.
> Entity enhancement fa
[
https://issues.apache.org/jira/browse/OPENJPA-146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12473901
]
Gokhan Ergul commented on OPENJPA-146:
--
0.9.7-snapshot seems to have solved this indeed, thanks.
> Ent
[
https://issues.apache.org/jira/browse/OPENJPA-146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gokhan Ergul resolved OPENJPA-146.
--
Resolution: Fixed
> Entity enhancement fails while using EmbeddedId on a MappedSupercl
[
https://issues.apache.org/jira/browse/OPENJPA-146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12473911
]
Gokhan Ergul commented on OPENJPA-146:
--
Alright, it did manifest itself in a different way as you guessed
[
https://issues.apache.org/jira/browse/OPENJPA-146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gokhan Ergul reopened OPENJPA-146:
--
> Entity enhancement fails while using EmbeddedId on a MappedSupercl
[
https://issues.apache.org/jira/browse/OPENJPA-146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474525
]
Gokhan Ergul commented on OPENJPA-146:
--
Fix confirmed, thanks.
> Entity enhancement fails while us
23 matches
Mail list logo