You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Tempo Rao Avanigadda (JIRA)" <ji...@apache.org> on 2015/09/11 14:38:45 UTC
[jira] [Commented] (OLINGO-608) JPAProcessor: @ManyToOne
dependencies cannot be set to nullable=true
[ https://issues.apache.org/jira/browse/OLINGO-608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14740712#comment-14740712 ]
Tempo Rao Avanigadda commented on OLINGO-608:
---------------------------------------------
I'm also having same issue. Any update on this?
Thanks,
Rao.
> JPAProcessor: @ManyToOne dependencies cannot be set to nullable=true
> --------------------------------------------------------------------
>
> Key: OLINGO-608
> URL: https://issues.apache.org/jira/browse/OLINGO-608
> Project: Olingo
> Issue Type: Bug
> Affects Versions: V2 2.0.3
> Reporter: Christian Wilhelm
>
> The annotation "nullable" = true seems to be ignored by the JPA Processor.
> Here the coding:
> @ManyToOne(fetch = FetchType.LAZY)
> @JoinColumn(name = "PRODUCT_UUID", nullable = true)
> public Product getProduct()
> {
> return product;
> }
> Result:
> <Property Name="Product" Type="Edm.String" Nullable="false" MaxLength="255"/>
> <NavigationProperty Name="ProductDetails" Relationship="com.sap.ehsod.c4pss.tenant.CRAssignment_Product0" FromRole="CRAssignment" ToRole="Product"/>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)