Fluent Hibernate Mappings broken after Upgrade from Oracle 11 to 12 c

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Fluent Hibernate Mappings broken after Upgrade from Oracle 11 to 12 c



I have the following mapping file:


public Fabrication_TemplatesMap()
{
{
LazyLoad();
Table("Fabrication_Templates");
Id(x => x.Fab_Tmpl_Id).GeneratedBy.Sequence("S_FAB_TMPL_ID");
Map(x => x.Fab_Tmpl_Guid);
Map(x => x.Status_Id);
Map(x => x.Fab_Tmpl_xml, "FAB_TMPL_XML");
References(f => f.fabricationrecord, "FAB_TMPL_ID").Cascade.None().Not.LazyLoad().ForeignKey("FAB_TMPL_ID").ReadOnly();
References(x => x._Status, "STATUS_ID").Cascade.None().Not.LazyLoad().ForeignKey("STATUS_ID").ReadOnly();

}
}



After the DBA updated the server to Oracle 12 c from 11 something,
the mapping stopped completely working.



It fills in Fab_Tmpl_Id and Fab_Tmpl_Guid, but everything else is null now.



I am at a loss.



Also before I had
"fab_tmpl_id" and "FAB_TMPL_ID" in a reference line and all worked
now both have to be uppercase strings to work.



Any ideas?









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Arduino Mega cannot recieve any sketches, stk500_recv() programmer is not responding

Visual Studio Code: How to configure includePath for better IntelliSense results

C++ virtual function: Base class function is called instead of derived