on 02-08-2007 11:41 AM
Hi all,
after i successful established an connection to our MDM System, i try to recive some data:
CMTableInfoArray inf = catalog.GetDataTables();
CMTableInfo inf2 = catalog.GetTable("Mitarbeiter");
System.out.println(inf2.GetName());
But i get always:
java.lang.IllegalArgumentException: Table Mitarbeiter does not exist.
at com.a2i.xcat.internal.SubTableCache.GetTableCache(Unknown Source)
at a2i.common.CatalogData.GetFields(Unknown Source)
surprisingly the code works when i enter the ID of the Table.
I also try to get the Tablenames with:
CMTableInfoArray inf = catalog.GetTables();
and there i have an Table "Mitarbeiter".
The Problem is, i can not do any Search / Update ... without the Tablenames.
Thanks in advance
Ok i solved it.
The Tablename is not "Mitarbeiter", its "_10".
This Info i get from: GetCMTableInfoAt(i).GetCode()
Perhaps this Info is useful for other Java Api "starters" 😃
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.