cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with MDM Tables and Java API

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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" 😃