@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4



Comments:

<0> or that 90% of pointers are used incorrectly though
<1> :P
<2> hey, I'm trying to get a working embedded database up... if I download the sqlite wrapper from www.ch-werner.de and compile it on a linux box (seeing as it's dependanton the sqlite sources) will it run just the same included in the project from windows?
<0> kinematix, that is hardly accurate lol
<0> kinematix, lots of people avoid pointers out of phear XD
<0> Freman, use the right tools for the job
<0> kinematix, I guess I'm getting at that everything has it's place, but some spots are smaller than others. Some only fill niches and some fill a lot of jobs
<1> really, I like the cl*** library, the fact that Its a rich OO languages, I can't live without interfaces (interfaces describes roles, it is -not- like a pure virtual cl***)
<0> agh
<0> command line is the way to go
<0> scriptable XD
<1> I won't discuss there is an optimal set of tools depending on your task
<0> :)
<0> why not, it's true
<0> nothing to discuss :)
<1> yup



<1> I need to update my CV now
<1> later
<0> peace
<2> SB_, and they would be? (c:
<0> well what are you trying to do
<0> what is the end goal of your project
<1> me? who?
<0> no, Freman
<0> haha
<0> kinematix, :)
<3> Freman: you need the native part of JNI for windows, there is a link at that site. http://www.ch-werner.de/javasqlite/javasqlite-20050608-win32.zip
<2> a dedicated cross platform application go sit on a usb flash disk and keep a small subset (400 odd rows) of an encrypted database
<2> must run on windows and linux...
<0> yeah that _would_ be xplatform
<0> why not use gpg?
<0> or
<1> freman: HSQLDB? Cloudscape ?
<0> php
<0> haha
<2> and yes I know I should learn to crawl before I try to run - but this is more fun (c:
<2> ot
<2> it's not a web based application
<1> I know
<1> im talking of RDBMSs here
<1> you said you need a cross platform db didn't you?
<2> yes, I was reffering to SB_'s "php" comment (c;
<1> if you don't need much scalability HSQLDB would be a correct choice
<0> Freman, XD
<0> i know
<2> I've just got to HSQLDB, and looking at it.
<2> that'll do nicely
<1> yes and it's quite easy to deploy
<1> you need the hsqldb.jar which is the jdbc driver, and you connect specifying a folder on disk
<2> so long as I can put the whole thing on a cf card without any dependancies outside of java on the host machine
<1> and he simply write its data there
<1> you should be right then
<2> thanks for the pointer kinematix, I'll play some more (c:
<1> pleasure
<4> does anyone here got a tomcat howto for linux?
<5> hello
<5> what is that programs name that decodes jar files?
<6> decodes?
<2> hmm anyway to link a jTable with a data-source? or do I manualy have to fill out the table..
<1> the best approach from my point of view
<1> is to develop your own model inheriting from AbstractTableModel
<1> but you can use the DefaultTableModel if you only need basic manipulations
<1> the default table model is backed by a List of List data container
<2> I've looked at quicktable...
<2> I just need to be able to insert rows, update rows, delete rows... the only entanglement being I want to encrypt/decrypt one of the columns in the rows
<7> I'm just i the process of trying to use jdbc for the first time and am getting the following output
<7> [java] connecting to the pgdba data source...
<7> [java] Couldn't find driver cl***:
<7> [java] java.lang.Cl***NotFoundException: org.postgresql.Driver
<7> [java] at java.net.URLCl***Loader$1.run(URLCl***Loader.java:199)
<7> [java] at java.security.AccessController.doPrivileged(Native Method)
<7> [java] at java.net.URLCl***Loader.findCl***(URLCl***Loader.java:187)
<7> [java] at java.lang.Cl***Loader.loadCl***(Cl***Loader.java:289)
<7> [java] at sun.misc.Launcher$AppCl***Loader.loadCl***(Launcher.java:274)
<7> [java] at java.lang.Cl***Loader.loadCl***(Cl***Loader.java:235)
<7> [java] at java.lang.Cl***Loader.loadCl***Internal(Cl***Loader.java:302)
<7> [java] at java.lang.Cl***.forName0(Native Method)



<7> [java] at java.lang.Cl***.forName(Cl***.java:141)
<7> [java] at ScheduleJobTest.enablesequential(ScheduleJobTest.java:195)
<7> [java] at ScheduleJobTest.schedulePushJob(ScheduleJobTest.java:174)
<7> [java] at ScheduleJobTest.main(ScheduleJobTest.java:102)
<7> does anyone have any idea where to start ?
<1> add the postgresql jdbc driver jar file to your cl***path
<7> done that
<1> well..
<8> i installed java sdk using rpm, and i cant find where it is, any idea?
<7> I've located the jdbc driver file that was included with the DB and included it in the cl***map
<7> I've placed import java.sql.*; & import sun.jdbc.odbc.*; in my source
<7> and now I'm stuck
<1> usually you don't need imports
<1> but that's interesting because I had the same problem with another driver today, but when I was loading it myself (calling Cl***.forName myself) it worked fine, but when a third party api was, it was failing
<1> normally this is the kind of issues related to cl*** loaders
<7> does it need to be done in a particular area of the source code?
<1> lol no
<8> kinematix: can you help me with my java sdk installation in linux, i installed the rpm, but i dont know where it is, im newbie in tomcat and sdk
<8> im following this links but onfused on this section Java is installed into /opt/IBMJava2-141.
<1> kuto: unfortunately I run windows, I have little experience with linux, sorry
<8> =(
<9> kuto-, where u from?
<8> Philippines: y?
<8> hmmm..kabayan
<9> yeah
<9> am here at ortigas
<8> privy?
<7> keinematix does this look right to you?
<7> private static String enablesequential(ResourceIdentityInfo jobRII ) throws Exception
<7> {
<7> Connection c;
<7> String username = "pgdba";
<7> String p***word = "";
<7> String url = "jdbc:postgresql://127.0.0.1:5435/cmtestdb";
<7> String query = "update voyence.cm_job set preserve_order = 't' where voyence.cm_job.job_number = '"+jobRII.getResourceName()+"'; ";
<7> String query_results = "";
<7> try
<7> {
<7> System.out.println("connecting to the " + username + " data source...");
<7> Cl***.forName("org.postgresql.Driver");
<7> Connection db = DriverManager.getConnection(url, username, p***word);
<7> Statement st = db.createStatement();
<7> ResultSet rs = st.executeQuery(query);
<1> claire!!
<7> while (rs.next()) {
<7> System.out.print("Column 1 returned ");
<1> claire stop this
<7> System.out.println(rs.getString(1));
<7> }
<7> rs.close();
<7> st.close();
<7> } //end try
<7> catch (Cl***NotFoundException cnfe) {
<1> it throws at - Cl***.forName("org.postgresql.Driver");
<7> System.err.println("Couldn't find driver cl***:");
<9> @kinematix, why not post it in rafb.net
<7> cnfe.printStackTrace();
<7> }
<1> the reste doesn't make a difference
<7> catch( Exception x )
<7> {
<7> x.printStackTrace();
<7> }
<7> return query_results;
<7> }
<9> i mean claire_21
<9> @claire_21 , why not post it in rafb.net
<9> it's hard to read
<7> sorry didn't mean to offend
<8> [YohDoNo]: got my message?
<1> im rarely offended by text lines :P
<9> kuto-, yeah
<7> http://www.rafb.net/paste/results/lTJxMZ39.html
<9> claire_21, try to paste it at rafb.net or check the topic...and will look into it


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #java
or
Go to some related logs:

#windows
#apache
#chatzone
marcialfa irc
#linux
#c++
not syncing try pasing init
#asm
london waether
#c



Home  |  disclaimer  |  contact  |  submit quotes