[jira] Resolved: (OPENJPA-316) Unenhanced OneToMany collection not loaded

2007-11-15 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey resolved OPENJPA-316. - Resolution: Fixed Fix Version/s: (was: 1.0.2) > Unenhanced OneToMany collecti

[jira] Resolved: (OPENJPA-9) PCEnhancer not processing multiple PU's defined within a single persistence.xml file

2007-11-15 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey resolved OPENJPA-9. --- Resolution: Fixed Fix Version/s: 1.1.0 I changed a number of other command-line scripts

[jira] Commented: (OPENJPA-442) JIRA-407 introduced backward compatibility problem in QueryImpl

2007-11-15 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542921 ] Patrick Linskey commented on OPENJPA-442: - So I guess it depends what we consider to be a "public interface"

[jira] Resolved: (OPENJPA-427) PostgresDictionary should set "63" as "maxAutoAssignNameLength".

2007-11-15 Thread Craig Russell (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Craig Russell resolved OPENJPA-427. --- Resolution: Fixed Fix Version/s: 1.1.0 Checked in the patch supplied by Ryosuke Iwata

RE: @PostPersist woes

2007-11-15 Thread Pinaki Poddar
> > > If possible, try application set identity for InventoryItem, not the > provider. public class X { @Id @GeneratedValue private long id; // no setId() method; public class Y { @Id private long id; public void setId(long id) { this.id = id; } } X is using auto-assigned

Re: @PostPersist woes

2007-11-15 Thread Geir Magnusson Jr.
On Nov 15, 2007, at 4:45 PM, Pinaki Poddar wrote: It is failing on an instance of InventoryItem.getId() -- is it itself the argument of persist() or an instance navigable from it? This is where things get fun. InventoryItem is a baseclass of A and B and we're using Joined inheritance strat

Re: @PostPersist woes

2007-11-15 Thread Geir Magnusson Jr.
On Nov 15, 2007, at 4:41 PM, Geir Magnusson Jr. wrote: On Nov 15, 2007, at 4:34 PM, Pinaki Poddar wrote: persist() has in it a new, unmanaged entity. a) If persist(a) is failing on b, what is the cascade type specified on relation a.b? I'm not actually sure that it's failing on b. I g

[jira] Assigned: (OPENJPA-429) Recent changes have caused problems building with IBM JDK

2007-11-15 Thread Kevin Sutter (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Sutter reassigned OPENJPA-429: Assignee: Kevin Sutter > Recent changes have caused problems building with IBM JDK > -

RE: @PostPersist woes

2007-11-15 Thread Pinaki Poddar
It is failing on an instance of InventoryItem.getId() -- is it itself the argument of persist() or an instance navigable from it? If possible, try application set identity for InventoryItem, not the provider. -Original Message- From: Geir Magnusson Jr. [mailto:[EMAIL PROTECTED] Sent:

[jira] Commented: (OPENJPA-316) Unenhanced OneToMany collection not loaded

2007-11-15 Thread Patrick Linskey (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542891 ] Patrick Linskey commented on OPENJPA-316: - FTR, this is happening because in a Java 5 vm without a javaagent

RE: @PostPersist woes

2007-11-15 Thread Pinaki Poddar
> persist() has in it a new, unmanaged entity. a) If persist(a) is failing on b, what is the cascade type specified on relation a.b? b) what is the identity definition on b? c) if b is using auto-assigned GeneratedValue or its id is being set by application? -Original Message- From: Gei

Re: @PostPersist woes

2007-11-15 Thread Geir Magnusson Jr.
On Nov 15, 2007, at 4:34 PM, Pinaki Poddar wrote: persist() has in it a new, unmanaged entity. a) If persist(a) is failing on b, what is the cascade type specified on relation a.b? I'm not actually sure that it's failing on b. I guess I can try to figure that out. I just know that whe

Re: @PostPersist woes

2007-11-15 Thread Geir Magnusson Jr.
On Nov 15, 2007, at 4:34 PM, Pinaki Poddar wrote: persist() has in it a new, unmanaged entity. a) If persist(a) is failing on b, what is the cascade type specified on relation a.b? ALL b) what is the identity definition on b? IDENTITY c) if b is using auto-assigned GeneratedValue

[jira] Created: (OPENJPA-443) Calendar Objects are loaded with the current milliseconds

2007-11-15 Thread Ted Leung (JIRA)
Calendar Objects are loaded with the current milliseconds - Key: OPENJPA-443 URL: https://issues.apache.org/jira/browse/OPENJPA-443 Project: OpenJPA Issue Type: Bug Affects Versions

Re: @PostPersist woes

2007-11-15 Thread Geir Magnusson Jr.
Here's the full stacktrace : [junit-coverage] Testcase: testChannelItem took 0.063 sec [junit-coverage]Caused an ERROR [junit-coverage] null [junit-coverage] org.apache.openjpa.util.CallbackException: null [junit-coverage] at org .apache .openjpa.kernel.BrokerImpl.handleCallbackEx

@PostPersist woes

2007-11-15 Thread Geir Magnusson Jr.
Woe is me :) I'm using @PostPersist to create some kind of machine-generated data for entities on insert, and I'm running into the following problem when an entity for which I called persist() has in it a new, unmanaged entity. [junit-coverage] Caused by: error> org.apache.openjpa.util.In

[jira] Updated: (OPENJPA-440) Calendar instance doesn't appear to detach properly (or proxying of it is in error?)

2007-11-15 Thread Ted Leung (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Leung updated OPENJPA-440: -- Fix Version/s: 1.1.0 this appears to have been fixed in the latest 1.1.0 snapshot. (Nov 15 2007) > Ca

Re: Draft Fast Feather Preso for ApacheCon

2007-11-15 Thread Kevin Sutter
Looks good, Craig. On Nov 14, 2007 9:55 PM, Craig L Russell <[EMAIL PROTECTED]> wrote: > Hi Pinaki, > > Thanks for the comments; I've incorporated them into the final preso. > > Craig > > > On Nov 10, 2007, at 9:12 PM, Pinaki Poddar wrote: > > > Hi, > > In 'Extensions' or 'Performance Issues' > >

[jira] Commented: (OPENJPA-441) Memory increase when deleting objects

2007-11-15 Thread Christiaan (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542732 ] Christiaan commented on OPENJPA-441: I've no statistics on this yet. As mentioned in OPENJPA-439 there was an i