IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Profile: Lborz
About
User Name: Lborz
Forum Rank: Member
Real Name:
Location Italy
Occupation:
Interests:
Gender: None Specified
Statistics
Joined: Wednesday, October 28, 2009
Last Visit: Wednesday, November 18, 2009 3:35:59 PM
Number of Posts: 20
[0.11% of all post / 0.00 posts per day]
Avatar
Last 10 Posts
Topic: [Mapforce2010] Manipulate ID
Posted: Wednesday, November 18, 2009 3:35:59 PM
Thanks, once time again you helped me.
Topic: [Mapforce2010] Manipulate ID
Posted: Wednesday, November 18, 2009 1:28:09 PM
Ok,

i have attached the image in my previous post, but i attach it another time.



This is the link to the mapping file.

For creation of tables i use directly the GUI of Postgres client, so i don't use directly SQL code for generation of tables. If you mean the SQL code generated from Mapforce i cannot get it because the error is on mapping validation so Altove refuses to create output. Anyway i used the same tables for a complex mapping like this:



And i don't have any problem with them.
Topic: [Mapforce2010] Manipulate ID
Posted: Wednesday, November 18, 2009 10:41:46 AM
My work around for this problem doesn't work properly so i have again the problem of manipulating the id. Below an example of my project:

http://a.imagehost.org/0349/schema.png[/img]

And here the error:

[i]Mapforce10_example_function.mfd: Mapping validation failed - 2 error(s), 0 warning(s)
[JAVA] The SQL-WHERE condition cannot be applied to the database field 'id_utente' because the containing table 'public.utente' is already connected to 'id_utente' which is an ancestor of the target connector 'id_utente'.
[JAVA] The SQL-WHERE condition cannot be applied to the database field 'id_utente' because the containing table 'public.utente' is already connected to 'public.utente' which is an ancestor of the target connector 'id_utente'.


I dont understand what is the problem, can you help me?

Thanks.
Topic: [Mapforce2010] Using Mapforce with huge db
Posted: Wednesday, November 18, 2009 8:07:42 AM
The source db has 269 tables and more than 20000 records.
The destination db has 149 tables, has already more than 9000 record and at this stage of mapping i'm importing about 9500/10000 records.
Topic: [Mapforce2010] Using Mapforce with huge db
Posted: Tuesday, November 17, 2009 4:27:59 PM
Hi,

while i'm using more complex mapping between my databases, Mapforce is slowing down. The database are huge and contain a lot of objects, so i believe that is normal that Mapforce use a lot of RAM (i have only two gigabytes). There is something that i can do about this? It's possible to use a step-by-step mapping instead using only one (for example, a source table that contains header and summary of object, at the first time fill only destination header table and in the second time fill the summary destination table)? Or there is a configuration that is suitable for me?

Thanks in advance for your help.
Topic: [Mapforce2010] Manipulate ID
Posted: Tuesday, November 17, 2009 4:20:03 PM
Ok, i solve the problem.
And yes, the version of Mapforce is not 10 but 2010. Thanks for the correction.
Topic: [Mapforce2010] Manipulate ID
Posted: Monday, November 16, 2009 4:14:37 PM
Hi,

i found a problem while using Mapforce. I want to add to a table Province new records copying them from on old table, i cannot use the function "Maximum-value" that auto-assign the value to id_fields because is disabled.
I took the all old ids from target table tabProvince, get the id with max value, add to it 1, and use this sum as seed for module of autogeneration of numbers. It seem's all correct but when i save this mapping i got this error:

Code:
The SQL-WHERE condition cannot be applied to the database field 'id_utente' because the containing table 'dbo.tabProvinces' is already connected to 'idProvince' which is an ancestor of the target connector 'idProvince'.


Where is the problem?

Thanks in advance for you help.

Topic: Select a single field with Insert condition
Posted: Friday, November 13, 2009 2:10:01 PM
Thank you!
Topic: Select a single field with Insert condition
Posted: Friday, November 13, 2009 10:20:45 AM
Hi,

i have a little problem: i'm using the function Insert SQL-WHERE condition for reading to an already existing table (dbo.tabProvincies), checking if there are a province object that has the field CodeIso equals to the input, like the image below.



Instead of return the entire Province Object, i want only the value of his field idProvince. I'm not able to extract this field directly using SQL-WHERE condition, it's my fault or what? What else can i use for a task like this?

Thanks in advance you for the help.
Topic: [Mapforce2010] Check if a value is already present in a table
Posted: Thursday, November 12, 2009 1:34:59 PM
@That
Sorry i wrote the wrong names.

@Vlad
Thanks, is exactly what i need.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.