Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » implement the model in database
implement the model in database [message #1059721] Tue, 21 May 2013 11:31 Go to next message
samar sousou is currently offline samar sousouFriend
Messages: 63
Registered: March 2013
Member
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 11:37 Go to previous messageGo to next message
Hugo Bruneliere is currently offline Hugo BruneliereFriend
Messages: 674
Registered: July 2009
Senior Member
This is not an ATL issue and thus should be posted to the appropriate forum (e.g.; Eclipse CDO), cf. past discussion.

--------------------------------------------------------
Hugo Bruneliere, PhD
NaoMod team (IMT Atlantique & LS2N-CNRS)
Nantes - France
--------------------------------------------------------
Re: implement the model in database [message #1059735 is a reply to message #1059723] Tue, 21 May 2013 13:02 Go to previous messageGo to next message
samar sousou is currently offline samar sousouFriend
Messages: 63
Registered: March 2013
Member
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 13:57 Go to previous message
Hugo Bruneliere is currently offline Hugo BruneliereFriend
Messages: 674
Registered: July 2009
Senior Member
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.


--------------------------------------------------------
Hugo Bruneliere, PhD
NaoMod team (IMT Atlantique & LS2N-CNRS)
Nantes - France
--------------------------------------------------------
Previous Topic:toString helper
Next Topic:XML2XMLProject
Goto Forum:
  


Current Time: Fri Apr 26 03:02:53 GMT 2024

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

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

Back to the top