This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC and the fly likes how  to create new ms acess database using  Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "how  to create new ms acess database using  Java" Watch "how  to create new ms acess database using  Java" New topic
Author

how to create new ms acess database using Java

J Praveen Reddy
Greenhorn

Joined: Aug 22, 2006
Posts: 2
Hi,

in my application, iam in need of creating new access file at the user selected path. Can any body help me on this?

Thanks,
Praveen Reddy J
Wei Dai
Ranch Hand

Joined: Jun 22, 2005
Posts: 86
The simplest solution: prepare a blank mdb file in advance, then copy that file and rename it to your destination path.
The free api solution: use Jackess at http://jackcess.sourceforge.net/
The commercial solution: use CREATE DATABASE sql through HXTT Access JDBC driver at http://www.hxtt.com/access.html .
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to create new ms acess database using Java
 
Similar Threads
Which type of an American would you be?
Testing a constructor....
Problem editing my message
Is the book a full rewrite of iPhone in Action
Place Association