<div dir="ltr"><div>Hi,</div><div>(Ya that was .mdb )</div><div>After going through different possible ways by which this can be implemented, I settled with the below one :</div>I would probably need to obtain a connection to the db that the .odb specifies, and then will create the .csv (of tables) from there. Then that .csv can be imported simply as that will only have tables not the queries or records or anything.<br>
<div><br></div><div>I just wanted to have other's view on my approach, is it fine or do I need to tune it more?</div><div><br></div><div>(Suggestions are welcome)</div><div><br></div><div>Regards</div><div>Jayesh Hathila</div>
<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 19, 2014 at 4:58 AM, Jaroslaw Staniek <span dir="ltr"><<a href="mailto:staniek@kde.org" target="_blank">staniek@kde.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 18 February 2014 21:44, Jayesh Hathila <<a href="mailto:sharma.jayesh52@gmail.com">sharma.jayesh52@gmail.com</a>> wrote:<br>
> Hello all,<br>
> I am mailing to this mailing list as couldn't found any separate one for<br>
> kexi.To start working on the idea of "Add support for importing tables from<br>
> LibreOffice Base to Kexi "<br>
> I am going through the structure of .odb format and how I can extract data<br>
> after unzipping (for now I went through its xml files).<br>
<br>
Hello Jayesh,<br>
Thanks for contacting us. It is great<br>
<br>
(For others, Jayest is interested in this idea: )<br>
[1] <a href="http://community.kde.org/GSoC/2014/Ideas#Project:_Add_support_for_importing_tables_from_LibreOffice_Base_to_Kexi" target="_blank">http://community.kde.org/GSoC/2014/Ideas#Project:_Add_support_for_importing_tables_from_LibreOffice_Base_to_Kexi</a><br>
<br>
Jayesh,<br>
Please note that the calendar of Google Summer of Code (GSoC) is published at<br>
<a href="http://www.google-melange.com/gsoc/document/show/gsoc_program/google/gsoc2014/help_page#2._What_is_the_program_timeline" target="_blank">http://www.google-melange.com/gsoc/document/show/gsoc_program/google/gsoc2014/help_page#2._What_is_the_program_timeline</a><br>
Please read there how is the GSoC program organized.<br>
It is OK to get more in-depth idea what is expected but by no means<br>
this is good time for detailed design or development.<br>
Before you start that, we expect good proposal, and you possibly<br>
compete with other proposals for the same task.<br>
<br>
> I wanted to know<br>
> what I am doing is on right track or I am off track ? Means, do we have to<br>
> extract the data from .odb structure and convert to .mdt (which is<br>
> currently supported by kexi) or do we have to add another option of .odb to<br>
> kexi (though in both the situations I will have to read data of odb).<br>
> Also it<br>
> will be great if you can provide me with more resource from where I can have<br>
> more idea about .odb structure .<br>
<br>
I only published a link to the Base FAQ:<br>
[2] <a href="https://wiki.openoffice.org/wiki/FAQ_%28Base%29" target="_blank">https://wiki.openoffice.org/wiki/FAQ_%28Base%29</a><br>
<br>
It's up to student to get and document knowledge about the format, map<br>
it to Kexi's needs.<br>
Sp it's good that you study the the odb format.<br>
<br>
I do not know about .mdt format, so I suppose it's a mistake (where<br>
did you hear about it in context of Kexi?).<br>
Kexi's format is .kexi (file databases) and postgrsql/mysql for server<br>
databases.<br>
Other formats (maybe you meant .mdb?) are external that Kexi is only<br>
capable importing into.<br>
<br>
As I wrote at [1] the task is about implementing Migration from the<br>
external format .odb to all 3 Kexi formats.<br>
In fact these are different storage types for the same format.<br>
Creating/modifying database project in the destination formats of Kexi<br>
is possible using KexiDB APIs and should be only performed using these<br>
APIs.<br>
For reading external formats you do not use Kexi APIs but external<br>
APIs. Example is the mdb -> Kexi migration, which uses the mdbtools<br>
library for reading the mdb format, as mentioned at [1]. All the<br>
migration drivers are located in the kexi/migration/ source code<br>
directory.<br>
<br>
Summing up, student that will be selected for this task will have to<br>
be largely independent but also will receive support from me.<br>
The resulting work will be used in real projects, so a proof of<br>
concept solution won't be accepted, only a "nice enough" solution<br>
supporting 80% features.<br>
<br>
>From my side, I am ensuring the task is doable, the odb format can be<br>
mapped to .kexi.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
regards / pozdrawiam, Jaroslaw Staniek<br>
Kexi & Calligra & KDE | <a href="http://calligra.org/kexi" target="_blank">http://calligra.org/kexi</a> | <a href="http://kde.org" target="_blank">http://kde.org</a><br>
Qt for Tizen | <a href="http://qt-project.org/wiki/Tizen" target="_blank">http://qt-project.org/wiki/Tizen</a><br>
Qt Certified Specialist | <a href="http://www.linkedin.com/in/jstaniek" target="_blank">http://www.linkedin.com/in/jstaniek</a><br>
_______________________________________________<br>
calligra-devel mailing list<br>
<a href="mailto:calligra-devel@kde.org">calligra-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/calligra-devel" target="_blank">https://mail.kde.org/mailman/listinfo/calligra-devel</a><br>
</font></span></blockquote></div><br></div>