FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Programming Questions & Help
   Integration
(Moderators: fry, REAS)
   processing and SQl
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: processing and SQl  (Read 1105 times)
jen

Email
processing and SQl
« on: Apr 1st, 2004, 12:43am »

Hey  
 
I was wondering If I am able to acess a local data base through  having a SQL acessign class in my code file of my processing programe. To what extent can I use exteranl ( java ) classes in processing ?
 
Thanks  
 
Jennie
 
fry


WWW
Re: processing and SQl
« Reply #1 on: Apr 1st, 2004, 4:05am »

just drop the .jar file for the jdbc driver (or whatever other classes) for your database into the 'code' folder, then you can use it more or less the same way you would from any java program. you should prolly make the connection to the database inside setup(), and then you can run queries inside loop() or better yet, as the mouse or keys are pressed or whatever (so as not to frighten the db with 30 queries per second in an applet running at 30 fps)
 
jen

Email
Re: processing and SQl
« Reply #2 on: Apr 1st, 2004, 4:14am »

Thanks so much thats great!  
cheers
 
 
Jen
 
Jean-Jacques

WWW
Re: processing and SQl
« Reply #3 on: May 19th, 2004, 12:57am »

Hello !
 
I would be very happy to know if your attempt in using processing with sql queries succeeded ?
 
All the best !
 
 
Pages: 1 

« Previous topic | Next topic »