one to one java.sql.BatchUpdateException: ORA-00957:重复的列名 40
jpa部分映射@Column(name="WHITE_LIST")protectedIntegerwhiteList;@Column(name="ACCOUNT_ID")...
jpa部分映射
@Column(name="WHITE_LIST")
protected Integer whiteList;
@Column(name="ACCOUNT_ID")
protected String accountId;
@Column(name="ENTERPRISE_ID")
protected String enterpriseId;
@Column(name="CHANNEL_PASSWORD")
protected String channelPassword;
@OneToOne(cascade={javax.persistence.CascadeType.ALL})
@JoinColumn(name="CHANNEL_ID")
protected ChannelBase channelBase;
@ManyToOne
@JoinColumn(name="FEE_LEVEL_ID", insertable=false, updatable=false)
protected FeeLevel feeLevel;
@Column(name="USE_FLAG")
protected String useFlag;
在保存的时候出现这个错误,请高手指点下,分析下这个错误出现的原因可能有哪些。? 展开
@Column(name="WHITE_LIST")
protected Integer whiteList;
@Column(name="ACCOUNT_ID")
protected String accountId;
@Column(name="ENTERPRISE_ID")
protected String enterpriseId;
@Column(name="CHANNEL_PASSWORD")
protected String channelPassword;
@OneToOne(cascade={javax.persistence.CascadeType.ALL})
@JoinColumn(name="CHANNEL_ID")
protected ChannelBase channelBase;
@ManyToOne
@JoinColumn(name="FEE_LEVEL_ID", insertable=false, updatable=false)
protected FeeLevel feeLevel;
@Column(name="USE_FLAG")
protected String useFlag;
在保存的时候出现这个错误,请高手指点下,分析下这个错误出现的原因可能有哪些。? 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询