473,614 Members | 2,351 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 3271
> 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*******@hotma il.com (Heejeong Lee) wrote in message news:<d2******* *************** ****@posting.go ogle.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
1212
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 the property grid. My Question is: How do I change/alter the actual database architecture (say change a field type from double to text when I change the values in the property grid.). Any help would be much appreciated.
0
1994
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 file. My problem is that the xsd does not include info concerning the relationships between database tables. Is there an automated way to retrieve programmatically the entire db schema into a single xsd file?
2
9827
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 this even possible using VS.NET 2003? Part of the XML file follows. Thanks for any help. Steven VS.NET 2003 and C# newbie! ----- Part of the XML (one full record across several tables) --------
4
2190
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 computer is connected the application communicates directly with the main database and if it is disconnected it communicates with the local database. When the machine is connected again, data gets syncronized. Now, if we want to update/modify the...
8
19329
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 cause lose of it's context (like: use master / use <mydb>..). I wish to have my sript independed on changes like this and always produce correct result. Does using full name make use of 'use <db>' statement unnecessary?
1
2366
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 that never need to be updated or for architectures with only one database. We store each of the changes included in the package in separate files, which are tracked using version control. It is growing time consuming to maintain parity between...
0
1114
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 for replying.
1
2138
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 manually as I have to do everything twice... Is there a way I can automatically regenerate it from the database via commandline? after all its just an exact duplicate?
2
3323
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 we have made the change so for the purpose i thought of making an small application which will list me the tables or columns which are not in sync.
0
8197
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8142
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8640
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8287
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7114
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6093
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4058
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4136
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1438
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.