I've prepared very simple app that fails to run with ECO.
Please can somebody tell what is going wrong...
Attachment is here: news://newsgroups.borland.com/c0626a050dfc8...@newsgroups.borland.com
Actually DB generation is done normally.
But when I run app i get error message: "Specified cast is not valid."
Callstack is:
at Borland.Eco.Persistence.Oracle.Int16AsNumber.obj2Int16(Object value)
at Borland.Eco.Persistence.Oracle.Int16AsNumber.ColumnToValue(Object columnValue)
at Borland.Eco.Persistence.ORMapping.DefaultORMappingBuilder.GetDiscriminatorValuesFromConnection(IDatabase
db)
at Borland.Eco.Persistence.ORMapping.DefaultORMappingBuilder.Initialize(IEcoTypeSystem
typeSystem, IDatabase db, SqlDatabaseConfig config, Boolean addMissingTypes)
at Borland.Eco.Persistence.PersistenceMapperDb.GetPersistenceMapper(ITypeSystemService
typeSystemService)
at Borland.Eco.Handles.DefaultEcoSpace.set_Active(Boolean value)
at OracleDBGenerationTest.WinForm.button1_Click(Object sender, EventArgs
e) in c:\Projects\Boralnd\OracleDBGenerationTest\WinForm.cs:line 127
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
Details:
- 2 packages
- one class in each package with association.
- Oracle DB via BDP
- CoreLab data access component
Thanks in advance to everyone for help.
> I've prepared very simple app that fails to run with ECO. Please can
> somebody tell what is going wrong...
No answers is not a good thing, so decided to put it to QC:
http://qc.borland.com/wc/qcmain.aspx?d=26874
Can someone please check it and confirm or set "Cannot Reproduce" status?
Regards.
Dmitriy.