Re: Newbie troubles attempting CMP entity insert

2011-02-10 Thread Heath Thomann
For folks that look at this, I don't think we have an issue here. That is, if I understand the user's explaination, they think we are reporting an exception incorrectly. However, if I read the full description of the issue which is here: http://openejb.979440.n4.nabble.com/Newbie-troubles-attem

Fwd: Newbie troubles attempting CMP entity insert

2011-02-10 Thread David Blevins
A user had reported this to us, forwarding it over on their behalf. Do with it as you will :) Here's the thread if you want the full stack trace: http://openejb.979440.n4.nabble.com/Newbie-troubles-attempting-CMP-entity-insert-tp3297911p3300418.html Begin forwarded message: > From: tjsaker

Re: Error trying to use @OneToOne two-sided relationship

2011-02-10 Thread Craig L Russell
Hi Daniel, In order to tell what's going on, it would be good to see some code. The classes on both sides of the relationship and the code that changes the relationship are the minimum needed to tell anything... Except, of course, for the obvious. Have you mapped multiple fields to the sa

Error trying to use @OneToOne two-sided relationship

2011-02-10 Thread danieldomingues86
Hi, I found a error, trying to use a @OneToOne two-sided relation between objects. I get this error : Attempt to set column "TB_SERVICES.CD_USER" to two different values: (null)"null", (class java.lang.Integer)"55" This can occur when you fail to set both sides of a two-sided relation between o

[jira] Updated: (OPENJPA-1911) InvalidStateException is thrown when merge an entity with derived identiy

2011-02-10 Thread Michael Dick (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-1911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dick updated OPENJPA-1911: -- Affects Version/s: (was: 2.0.2) 1.0.4 1.2.2

[jira] Reopened: (OPENJPA-1911) InvalidStateException is thrown when merge an entity with derived identiy

2011-02-10 Thread Michael Dick (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-1911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dick reopened OPENJPA-1911: --- > InvalidStateException is thrown when merge an entity with derived identiy > -

[jira] Work started: (OPENJPA-1938) Typo of time data type in SQLServerdictionary for MSSQL 2008

2011-02-10 Thread Albert Lee (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-1938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on OPENJPA-1938 started by Albert Lee. > Typo of time data type in SQLServerdictionary for MSSQL 2008 > ---

[jira] Closed: (OPENJPA-1938) Typo of time data type in SQLServerdictionary for MSSQL 2008

2011-02-10 Thread Albert Lee (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-1938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Albert Lee closed OPENJPA-1938. --- > Typo of time data type in SQLServerdictionary for MSSQL 2008 > --

[jira] Resolved: (OPENJPA-1938) Typo of time data type in SQLServerdictionary for MSSQL 2008

2011-02-10 Thread Albert Lee (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-1938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Albert Lee resolved OPENJPA-1938. - Resolution: Fixed > Typo of time data type in SQLServerdictionary for MSSQL 2008 >

StoreManager owner of a relationship

2011-02-10 Thread idan
Hi again, Lets say i have an Owner entity with a one-to-many relationship with a Pet entity. Is it possible to know when processing flush if a flushed Pet entity is related to a specific Owner? (lets assume i don't have an inverse many-to-one relation to Owner in Pet) Thanks, Idan -- View thi