EAServer 6.1 supports marshalling for the following datatypes in .NET clients. Marshalling is supported for data passed either by reference or by value.
Datatype |
---|
boolean |
byte |
int |
string |
Array (one, two, or three dimensional) |
Exception |
Object Reference |
Structure |
Union |
Table 1 describes the datatype mappings between IDL, Java, and C#.
IDL datatype |
Java datatype |
C# datatype |
---|---|---|
boolean |
boolean |
System.Boolean |
char |
char |
System.Char |
octet |
byte |
System.Byte |
short |
short |
System.Int16 |
long |
int |
System.Int32 |
long long |
long |
System.Int64 |
float |
float |
System.Single |
double |
double |
System.Double |
string |
String |
System.String |
BCD::Binary |
byte |
System.Byte[] |
BCD::Decimal |
java.math.BigDecimal |
System.Decimal |
BCD::Money |
java.math.BigDecimal |
System.Decimal |
MJD::Date |
java.util.Calendar |
System.DateTime |
MJD::Time |
java.util.Calendar |
System.DateTime |
MJD::Timestamp |
java.util.Calendar |
System.DateTime |
TabularResults::ResultSet |
java.sql.ResultSet |
System.Data.DataTable |
TabularResults::ResultSets |
java.sql.ResultSet[] |
System.Data.DataTable[] |
MyModule::MyException |
MyModule.ejb.MyException |
MyModule.ejb.MyException |
MyModule::MyComp |
MyModule.ejb.MyComp |
MyModule.ejb.MyComp |
MyModule::MyStruct |
MyModule.ejb.MyStruct |
MyModule.ejb.MyStruct |
MyModule::MyUnion |
MyModule.ejb.UnionName |
MyModule.ejb.UnionName |
MyModule::MySequence |
MyModule.ejb.MyElement[] |
MyModule.ejb.MyElement[] |