[jira] [Commented] (OLINGO-996) ODataJPA Extension creates illegal Entity Container Name
[ https://issues.apache.org/jira/browse/OLINGO-996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16187046#comment-16187046 ] Michael Bolz commented on OLINGO-996: - Hi [~tobias.stolzenberger], Thanks for the hint. Further specs: - https://msdn.microsoft.com/en-us/library/bb387135(v=vs.100).aspx - http://www.fileformat.info/info/unicode/char/2e/index.htm Fixed with commit [751e316d|https://git-wip-us.apache.org/repos/asf?p=olingo-odata2.git;a=commit;h=751e316da5899700575d4126b00f45fce8850c50]. Regards, Michael > ODataJPA Extension creates illegal Entity Container Name > > > Key: OLINGO-996 > URL: https://issues.apache.org/jira/browse/OLINGO-996 > Project: Olingo > Issue Type: Bug > Components: odata2-jpa >Reporter: Tobias Stolzenberger >Assignee: Michael Bolz >Priority: Minor > > Hi, > I'm using the Olingo JPA extension. The persistence unit I'm using has a name > containing dots: > like this: > {code:borderStyle=solid} > > {code} > Per default the JPA extension uses the name of the persistence as name of the > entity container. > The problem is that per OData spec the entity container name must names > containing dots: > > https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MC-CSDL/[MC-CSDL].pdf > > Page 31: "EntityContainer MUST have a Name attribute defined that is of type > SimpleIdentifier". > I found a workaround to overwrite the entity container name in code. However > I think it makes sense that the default algorithm to automatically create > this name should produce only valid names. > Regards, > Tobias -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Closed] (OLINGO-996) ODataJPA Extension creates illegal Entity Container Name
[ https://issues.apache.org/jira/browse/OLINGO-996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Bolz closed OLINGO-996. --- > ODataJPA Extension creates illegal Entity Container Name > > > Key: OLINGO-996 > URL: https://issues.apache.org/jira/browse/OLINGO-996 > Project: Olingo > Issue Type: Bug > Components: odata2-jpa >Reporter: Tobias Stolzenberger >Assignee: Michael Bolz >Priority: Minor > Fix For: V2 2.0.10 > > > Hi, > I'm using the Olingo JPA extension. The persistence unit I'm using has a name > containing dots: > like this: > {code:borderStyle=solid} > > {code} > Per default the JPA extension uses the name of the persistence as name of the > entity container. > The problem is that per OData spec the entity container name must names > containing dots: > > https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MC-CSDL/[MC-CSDL].pdf > > Page 31: "EntityContainer MUST have a Name attribute defined that is of type > SimpleIdentifier". > I found a workaround to overwrite the entity container name in code. However > I think it makes sense that the default algorithm to automatically create > this name should produce only valid names. > Regards, > Tobias -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (OLINGO-996) ODataJPA Extension creates illegal Entity Container Name
[ https://issues.apache.org/jira/browse/OLINGO-996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Bolz updated OLINGO-996: Fix Version/s: V2 2.0.10 > ODataJPA Extension creates illegal Entity Container Name > > > Key: OLINGO-996 > URL: https://issues.apache.org/jira/browse/OLINGO-996 > Project: Olingo > Issue Type: Bug > Components: odata2-jpa >Reporter: Tobias Stolzenberger >Assignee: Michael Bolz >Priority: Minor > Fix For: V2 2.0.10 > > > Hi, > I'm using the Olingo JPA extension. The persistence unit I'm using has a name > containing dots: > like this: > {code:borderStyle=solid} > > {code} > Per default the JPA extension uses the name of the persistence as name of the > entity container. > The problem is that per OData spec the entity container name must names > containing dots: > > https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MC-CSDL/[MC-CSDL].pdf > > Page 31: "EntityContainer MUST have a Name attribute defined that is of type > SimpleIdentifier". > I found a workaround to overwrite the entity container name in code. However > I think it makes sense that the default algorithm to automatically create > this name should produce only valid names. > Regards, > Tobias -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Resolved] (OLINGO-996) ODataJPA Extension creates illegal Entity Container Name
[ https://issues.apache.org/jira/browse/OLINGO-996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Bolz resolved OLINGO-996. - Resolution: Fixed > ODataJPA Extension creates illegal Entity Container Name > > > Key: OLINGO-996 > URL: https://issues.apache.org/jira/browse/OLINGO-996 > Project: Olingo > Issue Type: Bug > Components: odata2-jpa >Reporter: Tobias Stolzenberger >Assignee: Michael Bolz >Priority: Minor > Fix For: V2 2.0.10 > > > Hi, > I'm using the Olingo JPA extension. The persistence unit I'm using has a name > containing dots: > like this: > {code:borderStyle=solid} > > {code} > Per default the JPA extension uses the name of the persistence as name of the > entity container. > The problem is that per OData spec the entity container name must names > containing dots: > > https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MC-CSDL/[MC-CSDL].pdf > > Page 31: "EntityContainer MUST have a Name attribute defined that is of type > SimpleIdentifier". > I found a workaround to overwrite the entity container name in code. However > I think it makes sense that the default algorithm to automatically create > this name should produce only valid names. > Regards, > Tobias -- This message was sent by Atlassian JIRA (v6.4.14#64029)