plz i need your help

hi...

i am doing a project about face and voice recognition. i will be using for that java ... i will also be using a database( access) to store and get the images and the voice of the people..

so please can you help me in designing my tables and how to uses these tables with java ..(just a simple example if you don't mind) because i don't know how to relate my database with my application..

thank you

[431 byte] By [nawaray82a] at [2007-9-29 12:50:00]
# 1

I'm not quite sure what you are asking.

Do you want to know how to make Java connect to a database?

Do you need suggestions on what your database schema should be?

If you can actually write face/voice recognition that works, you'll make a fortune. But your post leaves me doubting that you are up to it. Have you worked out how to go about comparing pictures of faces, or did you think it was all just a matter of calling Image.isEqual()?

pmuurray@bigpond.coma at 2007-7-15 2:50:54 > top of Java-index,Other Topics,Algorithms...
# 2
yes i would llike to know how to connect java to an access database
nawaray82a at 2007-7-15 2:50:54 > top of Java-index,Other Topics,Algorithms...
# 3

Java connects to databases via JDBC (Java databe connectivity). It can connect to any database with an appropriate driver.

There is a JDBC/ODBC bridge which will allow java to talk to any ODBC database, including M$ Access. Basically, the synatx is something like:

Go to the java tutorial, and follow the appropriate trail. I dont have any examples with me right now.

pmuurray@bigpond.coma at 2007-7-15 2:50:54 > top of Java-index,Other Topics,Algorithms...
# 4
thankxxx alot...so do i have to download JDBC right...?
nawaray82a at 2007-7-15 2:50:54 > top of Java-index,Other Topics,Algorithms...
# 5

No, the JDBC-ODBC bridge is already available in your JDK. You've got it.

You'll need to download a JDBC driver only if you decide to connect using something besides the JDBC-ODBC bridge.

Go through the JDBC tutorial before you do anything else. You don't sound like you know much about databases or JDBC. No offence, just an observation. - MOD

duffymoa at 2007-7-15 2:50:55 > top of Java-index,Other Topics,Algorithms...
# 6
http://java.sun.com/docs/books/tutorial/jdbc/basics/
logicprobe@comcast.neta at 2007-7-15 2:50:55 > top of Java-index,Other Topics,Algorithms...
# 7
By the way, do you have to use MS Access? I was able to get MySQL up and running very quickly and connect to it using Java. The MySQL JDBC drivers are free and is easy to get up and running.
logicprobe@comcast.neta at 2007-7-15 2:50:55 > top of Java-index,Other Topics,Algorithms...