Skip to main content



      Home
Home » Modeling » ATL » implement the model in database
implement the model in database [message #1059721] Tue, 21 May 2013 07:31 Go to next message
Eclipse UserFriend
Hi every body,

I need your help, i need to implement my model to a database,
so i want to input my data to a database like postgreSQl and i don't know how!

thank you,
Samar
Re: implement the model in database [message #1059723 is a reply to message #1059721] Tue, 21 May 2013 07:37 Go to previous messageGo to next message
Eclipse UserFriend
This is not an ATL issue and thus should be posted to the appropriate forum (e.g.; Eclipse CDO), cf. past discussion.
Re: implement the model in database [message #1059735 is a reply to message #1059723] Tue, 21 May 2013 09:02 Go to previous messageGo to next message
Eclipse UserFriend
but in atl there is the queries and i can write un sql file with but the problem that i need a n input like this:

<?xml version="1.0" encoding="ISO-8859-1"?>
<Root xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="XML" name="m">
<children xsi:type="Element" name="composant">
<children xsi:type="Attribute" name="typeComposant" value="F"/>
<children xsi:type="Attribute" name="r" value="015"/>
<children xsi:type="Attribute" name="uidComposant" value="1235"/>
</children>
<children xsi:type="Element" name="composant">
<children xsi:type="Attribute" name="typeComposant" value="b"/>
<children xsi:type="Attribute" name="r" value="157"/>
<children xsi:type="Attribute" name="uidComposant" value="8320"/>
</children>
<children xsi:type="Element" name="composant">
<children xsi:type="Attribute" name="typeComposant" value="b"/>
<children xsi:type="Attribute" name="r" value="1546"/>
<children xsi:type="Attribute" name="uidComposant" value="5990"/>
</children>
...
</Root>

but now i have an input like this:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="XML">
<Root name="m">
<children xsi:type="Element" name="composant">
<children xsi:type="Attribute" name="typeComposant" value="F"/>
<children xsi:type="Attribute" name="r" value="015"/>
<children xsi:type="Attribute" name="uidComposant" value="1235"/>
</children>
</Root>
<Root name="m">
<children xsi:type="Element" name="composant">
<children xsi:type="Attribute" name="typeComposant" value="b"/>
<children xsi:type="Attribute" name="r" value="157"/>
<children xsi:type="Attribute" name="uidComposant" value="8320"/>
</children>
</Root>
<Root name="m">
<children xsi:type="Element" name="composant">
<children xsi:type="Attribute" name="typeComposant" value="b"/>
<children xsi:type="Attribute" name="r" value="1546"/>
<children xsi:type="Attribute" name="uidComposant" value="5990"/>
</children>
</Root>......


So how can i do!

Samar.
Re: implement the model in database [message #1059749 is a reply to message #1059735] Tue, 21 May 2013 09:57 Go to previous message
Eclipse UserFriend
Please, in the future, don't spam again the forum with unnecessarily duplicated posts. This is useless and not helping neither you nor the community.
Thanks in advance.
Previous Topic:toString helper
Next Topic:XML2XMLProject
Goto Forum:
  


Current Time: Wed Jul 23 06:17:37 EDT 2025

Powered by FUDForum. Page generated in 0.03352 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top