File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes mysql_query() Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "mysql_query()" Watch "mysql_query()" New topic
Author

mysql_query()

Ken Rubin
Ranch Hand

Joined: Mar 08, 2004
Posts: 66
Hello,

Can I call mysql_query() construct from a java program or something like it? (I want to use a LOAD INFILE ... from a text file to database and run it from java).

Thanks,

Ken
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3652

You mean bulk load a script? Sure, Statement.executeQuery() can support multiple calls in some databases. Granted, you're not really doing much JDBC in this manner.


My Blog: Down Home Country Coding with Scott Selikoff
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: mysql_query()
 
Similar Threads
How to save value selected from dropdown list using PHP
how to insert data to a mysql table using ajax (client side)
How to post data from android app to php page
Visibility help?
problem in updating data