Results 1 to 2 of 2
  1. #1
    helpmelearn is offline Member
    Join Date
    Feb 2013
    Rep Power

    Default Plz Help Generate Queries

    Hello All,

    I am quite new to Java, I have connected JDBC to my database and performing queries.

    I would like to know how to generate distribution

    Expanding this is what I want to do-

    I want random read/write queries to be generated for the database.. I guess it should be done using for loop
    but am not sure how to do it.

    want 70% read queries (select) 30% write(insert/update) randomly generated

    this is my first step plz help thanks

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Rep Power

    Default Re: Plz Help Generate Queries

    That would depend entirely on your tables, wouldn't it?
    Since the tables will define what datatypes are needed as well as any relationships.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. help me need to understand queries
    By hossainsadd in forum JDBC
    Replies: 1
    Last Post: 05-26-2008, 01:02 AM
  2. queries regarding SWT
    By ravian in forum New To Java
    Replies: 0
    Last Post: 11-26-2007, 04:06 PM
  3. some queries
    By Feng in forum New To Java
    Replies: 7
    Last Post: 11-24-2007, 09:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts