on 10-30-2007 2:04 PM
Hi all
I am using MDM Java APIs(new). I also had not worked on MDM4J earlier.
Now the scenario is simple enough:
I have to search the Products table.
I have got the connection, established session , done user authentication and all.
Now the problem is setting the search parameter and constraint, that means i need to add some piece of code after this
Search search = new Search(mainTableId);
I am not able to figure out that.
Moreover when i get the resultset, how I retrieve the specific values (field wise) from it, i mean which methods to use (api).
If there is some reference guide for new API's ,it would be great (the one at service market place is corrupt, MDM 5.5 Java Library Reference Guide)
Any pointers are most welcome
Avinash
Hi Avinash,
sorry for telling you I have no good news: for using MDM Java API, there's no comprehensive manual. It requires actually two parts of knowledge: One is the knowledge about the data format mapping between your MDM repository data and their representation in Java, e.g. how a lookup field value looks like in Java, an integer or a String ID. Another part is of course which methods to use for the right purpose. This is a "learn by errors" process.
Best regards,
Ge
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
The javadocs for the API's do actually contains a huge number of methods...so by trying different methods (the old way of doing)..I somehow can see the details of the record.
It would be something like
resultSet.getRecord(i).getFieldValue(fieldId);
I wanted to see if there is any other method better than this.
But obviously did not find any.
Regards
Avinash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well I figured that out.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
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.