[jira] [Commented] (DELTASPIKE-700) Add #tableName() to AbstractEntityRepository

2015-06-10 Thread Daniel Cunha (soro) (JIRA)

[ 
https://issues.apache.org/jira/browse/DELTASPIKE-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14580576#comment-14580576
 ] 

Daniel Cunha (soro) commented on DELTASPIKE-700:


Hi guys,

please review it: 
https://github.com/danielsoro/deltaspike/commit/a91b6c6f22a6926d6c0e696ae1d935c3878202c1

If ok, I'll push it. :)

 Add #tableName() to AbstractEntityRepository
 

 Key: DELTASPIKE-700
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-700
 Project: DeltaSpike
  Issue Type: Improvement
  Components: Data-Module
Reporter: Thomas Andraschko
Assignee: Daniel Cunha (soro)
Priority: Minor

 As table names can easiely be changed via @Table, it would be an typesafe 
 usage to get the native table name for native queries
 e.g.
 @Table(name = tbl_MyEntity)
 public class MyEntity...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (DELTASPIKE-700) Add #tableName() to AbstractEntityRepository

2015-06-10 Thread Thomas Andraschko (JIRA)

[ 
https://issues.apache.org/jira/browse/DELTASPIKE-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14580601#comment-14580601
 ] 

Thomas Andraschko commented on DELTASPIKE-700:
--

I didn't review it (would be better if Thomas H. would do it) but thanks for 
implementing it!
As you are familiar with it now, could you please also add #entityName() 
similar to #tableName()?



 Add #tableName() to AbstractEntityRepository
 

 Key: DELTASPIKE-700
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-700
 Project: DeltaSpike
  Issue Type: Improvement
  Components: Data-Module
Reporter: Thomas Andraschko
Assignee: Daniel Cunha (soro)
Priority: Minor

 As table names can easiely be changed via @Table, it would be an typesafe 
 usage to get the native table name for native queries
 e.g.
 @Table(name = tbl_MyEntity)
 public class MyEntity...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (DELTASPIKE-922) OSGi support for Security Module

2015-06-10 Thread Harald Wellmann (JIRA)

 [ 
https://issues.apache.org/jira/browse/DELTASPIKE-922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Harald Wellmann reassigned DELTASPIKE-922:
--

Assignee: Harald Wellmann

 OSGi support for Security Module
 

 Key: DELTASPIKE-922
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-922
 Project: DeltaSpike
  Issue Type: New Feature
  Components: Security-Module
Affects Versions: 1.4.0
Reporter: Harald Wellmann
Assignee: Harald Wellmann

 Goal:
 Users can work with DeltaSpike Security in OSGi applications, using Pax CDI.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (DELTASPIKE-700) Add #tableName() to AbstractEntityRepository

2015-06-10 Thread Daniel Cunha (soro) (JIRA)

[ 
https://issues.apache.org/jira/browse/DELTASPIKE-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14580826#comment-14580826
 ] 

Daniel Cunha (soro) commented on DELTASPIKE-700:


Sure.

 Add #tableName() to AbstractEntityRepository
 

 Key: DELTASPIKE-700
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-700
 Project: DeltaSpike
  Issue Type: Improvement
  Components: Data-Module
Reporter: Thomas Andraschko
Assignee: Daniel Cunha (soro)
Priority: Minor

 As table names can easiely be changed via @Table, it would be an typesafe 
 usage to get the native table name for native queries
 e.g.
 @Table(name = tbl_MyEntity)
 public class MyEntity...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Data module issues for 1.4.1 release.

2015-06-10 Thread Daniel Cunha
Hi folks,

We'll have a new release soon, so.. maybe we can include this two fix:

https://issues.apache.org/jira/browse/DELTASPIKE-700
I added a solution there, but I would like to have a review before to push
it.

and

https://issues.apache.org/jira/browse/DELTASPIKE-910

This case, we need to have a special implementation for discovery ID when
the provider is OpenJPA, because OpenJPA return an OpenJPAId[1] or we can
use EntityUtils like this:

https://github.com/danielsoro/deltaspike/commit/4de2fd06f3641f864b7920b43e9d09d0125e5dee

But, I have doubt if EntityUtil is enough.


[1]
http://mail-archives.apache.org/mod_mbox/openjpa-dev/201506.mbox/%3ccahlhu44m6hkcrec2iirxnwmbfus0_lfqist6vowrpbmhr_j...@mail.gmail.com%3E

-- 
Best regard,
Daniel Cunha (soro)


[jira] [Updated] (DELTASPIKE-700) Add #tableName() to AbstractEntityRepository

2015-06-10 Thread Daniel Cunha (soro) (JIRA)

 [ 
https://issues.apache.org/jira/browse/DELTASPIKE-700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Cunha (soro) updated DELTASPIKE-700:
---
Issue Type: New Feature  (was: Improvement)

 Add #tableName() to AbstractEntityRepository
 

 Key: DELTASPIKE-700
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-700
 Project: DeltaSpike
  Issue Type: New Feature
  Components: Data-Module
Reporter: Thomas Andraschko
Assignee: Daniel Cunha (soro)
Priority: Minor

 As table names can easiely be changed via @Table, it would be an typesafe 
 usage to get the native table name for native queries
 e.g.
 @Table(name = tbl_MyEntity)
 public class MyEntity...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)