Re: Cascade persist and merge with Repository.

2015-07-08 Thread akm
I have attached a simple gradle CascadeRefreshGradleTestProject.zip http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/file/n4661005/CascadeRefreshGradleTestProject.zip project with unit tests. -- View this message in context:

Re: Cascade persist and merge with Repository.

2015-07-08 Thread Daniel Cunha
Akm, I'm looking for it. Thank you. :) On Wed, Jul 8, 2015 at 12:59 PM, akm ameh...@ford.com wrote: I have attached a simple gradle CascadeRefreshGradleTestProject.zip http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/file/n4661005/CascadeRefreshGradleTestProject.zip

[jira] [Created] (DELTASPIKE-948) CdiQueryInvocationContext#isNew isn't portable across jpa providers

2015-07-08 Thread Daniel Cunha (soro) (JIRA)
Daniel Cunha (soro) created DELTASPIKE-948: -- Summary: CdiQueryInvocationContext#isNew isn't portable across jpa providers Key: DELTASPIKE-948 URL: https://issues.apache.org/jira/browse/DELTASPIKE-948

Re: Cascade persist and merge with Repository.

2015-07-08 Thread Daniel Cunha
Hi akm, you have 2 entity where ID isn't auto generated the problem is: he set ID of the parent and ID of the children. you call the save of the entityRepository entityRepository.save call merge, because for it, it isn't a new Entity. We use PersistenceUnitUtil for check it, but see the javadoc

[jira] [Updated] (DELTASPIKE-948) CdiQueryInvocationContext#isNew isn't portable across jpa providers

2015-07-08 Thread Daniel Cunha (soro) (JIRA)
[ https://issues.apache.org/jira/browse/DELTASPIKE-948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Cunha (soro) updated DELTASPIKE-948: --- Description: We use PersisteceUnitUnitl for it, however - see the javadoc

Re: Cascade persist and merge with Repository.

2015-07-08 Thread akm
I will try to override the isNew method. We have non auto generated keys for what we consider Lookup type of Entities. example country, city, state. -- View this message in context:

[jira] [Updated] (DELTASPIKE-948) CdiQueryInvocationContext#isNew isn't portable across jpa providers

2015-07-08 Thread Daniel Cunha (soro) (JIRA)
[ https://issues.apache.org/jira/browse/DELTASPIKE-948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Cunha (soro) updated DELTASPIKE-948: --- Fix Version/s: 1.4.2 CdiQueryInvocationContext#isNew isn't portable

[jira] [Updated] (DELTASPIKE-948) CdiQueryInvocationContext#isNew isn't portable across jpa providers

2015-07-08 Thread Daniel Cunha (soro) (JIRA)
[ https://issues.apache.org/jira/browse/DELTASPIKE-948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Cunha (soro) updated DELTASPIKE-948: --- Component/s: Data-Module CdiQueryInvocationContext#isNew isn't portable

[jira] [Updated] (DELTASPIKE-948) CdiQueryInvocationContext#isNew isn't portable across jpa providers

2015-07-08 Thread Daniel Cunha (soro) (JIRA)
[ https://issues.apache.org/jira/browse/DELTASPIKE-948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Cunha (soro) updated DELTASPIKE-948: --- Affects Version/s: 1.4.1 CdiQueryInvocationContext#isNew isn't portable

[jira] [Resolved] (DELTASPIKE-948) CdiQueryInvocationContext#isNew isn't portable across jpa providers

2015-07-08 Thread Daniel Cunha (soro) (JIRA)
[ https://issues.apache.org/jira/browse/DELTASPIKE-948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Cunha (soro) resolved DELTASPIKE-948. Resolution: Fixed CdiQueryInvocationContext#isNew isn't portable

Re: [MARKETING] LinkedIn Group

2015-07-08 Thread John D. Ament
Marvin, Please add me as a moderator. Tks. John On Wed, Jul 8, 2015 at 9:31 PM MarvinToll marvint...@gtcgroup.com wrote: The good news is that we are starting to get some traffic on our new LinkedIn group site. The other news is that there are a couple of inquiries that are growing

Re: [MARKETING] LinkedIn Group

2015-07-08 Thread MarvinToll
The good news is that we are starting to get some traffic on our new LinkedIn group site. The other news is that there are a couple of inquiries that are growing stale. [I'm clearly not in a position to carry the DeltaSpike flag yet... hope to be more informed a year from now and able to field

Re: Cascade persist and merge with Repository.

2015-07-08 Thread Daniel Cunha
Hi Akm, Fixed in SNAPSHOT. you can test with it (1.4.2-SNAPSHOT). Thank you for reporting. On Wed, Jul 8, 2015 at 5:21 PM, akm ameh...@ford.com wrote: I will try to override the isNew method. We have non auto generated keys for what we consider Lookup type of Entities. example country,