473,500 Members | 1,668 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Looking for Java mapping programe(XML --> Relatinal database schema)

I am going to begin following project
Description of the project:

One of the proposed ways of storing XML is to "shred" the structure of
the XML document and
insert it into a relational DBMS. To do this, I will consider the
query
workload over the XML document. The purpose of this project is to
identify a cost-based approach to
XML decomposition taking into account a query workload. Different
query workloads will lead to
different decompositions of the same XML document.
For starting, I am looking for Java sauce code( XML - > RDB schema).
And then I will make a query specific algoritm and use it with Java
mapping program
to generate RDB schema.

So, my questions:
1) Is there a java mapping programe (an xml file to a database)?
2) Is there any available algorithm to use for this?

Any comments will be appreciated!!
Thanks,
aprilcoco
Jul 20 '05 #1
4 3259
> Description of the project:

One of the proposed ways of storing XML is to "shred" the structure of
the XML document and insert it into a relational DBMS.
Which DBMS? Oracle 9 has lots of XML toys ...

To do this, I will consider the query workload over the XML document.
Translate again please. "query workload over the xml document" is unclear.
The purpose of this project is to identify a cost-based approach to
XML decomposition taking into account a query workload.
What kind of cost?
Different query workloads will lead to different decompositions of the same XML document.

So you expect to load lots of documents and to have users make queries
over them in different ways?
For starting, I am looking for Java sauce code( XML - > RDB schema).
What kind of source code do you want ? A program using metadata which
fetched a List of JDOM elements using JDBC 2.0 meta data can be written
by hand in a few minutes.
And then I will make a query specific algoritm and use it with Java
mapping program to generate RDB schema.
If you have a real budget, check out Enginium.
So, my questions:
1) Is there a java mapping programe (an xml file to a database)?
If you want to see the JDOM/JDBC quick version let me know ...
2) Is there any available algorithm to use for this?

Jul 20 '05 #2
Heejeong Lee wrote:
For starting, I am looking for Java sauce code( XML - > RDB schema).
And then I will make a query specific algoritm and use it with Java
mapping program
to generate RDB schema.

So, my questions:
1) Is there a java mapping programe (an xml file to a database)?
2) Is there any available algorithm to use for this?


Google is your friend. Try Googling on "java xml dbms mapping" and
you'll be pleasantly surprised at all the options open to you, both
commercial and open source.

David Harper
Cambridge, England

Jul 20 '05 #3
Thank you for interesting of my posting(Looking for Java mapping
programe(XML --> Relatinal database schema).
I am condiderting using PostgreSQL. But it doesn't matter. Because I
just want to generate
RDB schema. I don't need to connect DB.

"query workload over the xml document" means different query will lead
to different RDB schema
even xml file is the same. I think that I should make query specific
algorithm for this.

What is JDOM/JDBC quick version ? Can I get it?

Thanks
Jul 20 '05 #4
ap*******@hotmail.com (Heejeong Lee) wrote in message news:<d2**************************@posting.google. com>...
One of the proposed ways of storing XML is to "shred" the structure of
the XML document and insert it into a relational DBMS.


Boring !

Look at a more interesting data model, like RDF. Look at some
exciting sort of database model other than RDBMS. But "Store XML in a
COTS RDBMS" has been done to death any number of times over the last
half-decade.
Jul 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1200
by: Mark | last post by:
Greetings all, I am new to VB.net. I am trying to use the PropertyGrid Control to display database schema. So far so good. The property grid control displays the database field properties in...
0
1988
by: Dimitris Katsikas | last post by:
Hi everybody, I am trying to find a way to export automatically an entire database schema into an .xsd A graphical way is to drag & drop the tables from Server Connection into an empty .xsd...
2
9815
by: Steven (dotnet newbie) | last post by:
Hello. I am trying to create a database from an XML file. I am able to create a dataset from the XML doc, but how can I create a database schema from the dataset and populate the database? Or is...
4
2175
by: RS | last post by:
Hello All, Does anyone know what the best practice is for updating database schema? We are designing a smart client application where the .Net application is used online and offline. If the...
8
19313
by: fireball | last post by:
I wihsh to discuss whether to use fully qualified names: ..object of objects to operate (create, query..) on is good or not? If someone change order of sql code blocks in my script - this may...
1
2361
by: Ben | last post by:
We currently use SSIS to build DTS packages in which we store changes to our database schema, as well as scripts that need to be run upon each release. This works well for small sets of changes...
0
1100
by: vincent90152900 | last post by:
I need to export a database, x, of a server, X, to another database, y, of a server, Y and I need export the database schema only, not include the data. Does anyone know how to do that? Many thanks...
1
2130
by: John | last post by:
Hello, I am working on a project with a strongly typed dataset...I have to make alot of changes to it as I change the database schema. Its tedious, error prone and time consuming updating it...
2
3313
by: jack | last post by:
Hi In my project there's a frequent change in database schema of production and testing due to the weekly production. so this talks lot of effort to figure out which is the exact table which...
0
7134
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7014
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7180
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7229
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6905
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7395
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
3103
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1429
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
667
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.