The Artima Developer Community
Sponsored Link

Design Forum
how to design that

7 replies on 1 page. Most recent reply: Apr 16, 2005 9:51 AM by bob fisher

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 7 replies on 1 page
bob fisher

Posts: 4
Nickname: bog
Registered: Apr, 2005

how to design that Posted: Apr 11, 2005 7:55 PM
Reply to this message Reply
Advertisement
hi

we will make a software who generate sql for some database, we will use java

somebody have a idea to design that?


i have thinking
to create an abstract class
to generate one class by database (will extend the abstract class)

i'm begin with the design


thanks


Adam Duffy

Posts: 168
Nickname: adamduffy
Registered: Feb, 2003

Re: how to design that Posted: Apr 12, 2005 6:25 AM
Reply to this message Reply
There are plenty of Code Generators that sound suitable for your task.

See the following link for some suggestions.

http://www.codegeneration.net/generators-by-language.php?language=4

Adam

bob fisher

Posts: 4
Nickname: bog
Registered: Apr, 2005

Re: how to design that Posted: Apr 12, 2005 3:16 PM
Reply to this message Reply
i don't want to use theses software, we need to create one

Adam Duffy

Posts: 168
Nickname: adamduffy
Registered: Feb, 2003

Re: how to design that Posted: Apr 13, 2005 3:28 AM
Reply to this message Reply
The words "Reinvent" and "Wheel" come to mind.

bob fisher

Posts: 4
Nickname: bog
Registered: Apr, 2005

Re: how to design that Posted: Apr 13, 2005 3:21 PM
Reply to this message Reply
The words you don't answer the question come to mind.

Adam Duffy

Posts: 168
Nickname: adamduffy
Registered: Feb, 2003

Re: how to design that Posted: Apr 14, 2005 9:14 AM
Reply to this message Reply
"Sesame Street" -- Brought to you by the letters...

Seriously though, sorry if I don't answer your question. Perhaps someone else will give it a try.

Adam

Matt Gerrans

Posts: 1153
Nickname: matt
Registered: Feb, 2002

Re: how to design that Posted: Apr 14, 2005 5:03 PM
Reply to this message Reply
What's the question?

bob fisher

Posts: 4
Nickname: bog
Registered: Apr, 2005

Re: how to design that Posted: Apr 16, 2005 9:51 AM
Reply to this message Reply
i search information to create a design to generate sql command (create table, add index...) according to a database

not all database have the same syntax, also some database don't have the same datatype...

i found: http://members.aol.com/kgb1001001/Articles/Command/CommandJava.htm

that very useful, i try to find others or tips of a pro designer to create one

Flat View: This topic has 7 replies on 1 page
Topic: Article on Test-Driven Development Previous Topic   Next Topic Topic: architecture design questions

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use