Sorry it took some time to get the current version, because of our complex ordering process. But now I have installed the current version 6.80.325, and the error occurs again.
The :p2 parameter in dbMonitor is shown as NVarChar (not as CLOB).
Maybe our mapping is not right?
Our Mapping is in this way:
Code: Select all
modelBuilder.Entity().MapSingleType(entity => new
{
AEND_DATUM = entity.LastChangeDate,
AENDER_ID = entity.LastEditor.Id,
LANGTEXT = entity.Text,
LEITTEXT = entity.TeaserText,
REVIEW = entity.Reviewer,
EDITORIAL_ID = entity.Id
BILD = entity.HasImage
TITEL = entity.Title
.....
}
).ToTable("EDITORIAL");
The class for the news entity has String for the cLob databese field:
Code: Select all
public partial class News
{
public int Id { get; set;}
public DateTime ? LastChangeDate { get; set;}
public virtual ebis.Domain.Sibis.User LastEditor { get; set;}
public String Text { get; set;}
public String TeaserText { get; set;}
public String Reviewer { get; set;}
public int ? HasImage { get; set;}
public String Title { get; set;}
....
}
an the table is created in this way:
Code: Select all
CREATE TABLE EDITORIAL
(
AEND_DATUM DATE,
AENDER_ID NUMBER(10),
LANGTEXT CLOB,
LEITTEXT VARCHAR2(400),
REVIEW VARCHAR2(30),
EDITORIAL_ID NUMBER(5),
BILD NUMBER(1),
TITEL VARCHAR2(60),
CONSTRAINT SYS_C0022142 PRIMARY KEY (EDITORIAL_ID),
CONSTRAINT SYS_C0022155 FOREIGN KEY (AENDER_ID)
REFERENCES User(DB_USER_ID)
);
what is wrong in our solution?
thanks in advise
Roman