Everything is scroll insensitive

I'm using this code:
public Vector executeSQL(String sql, Integer resultSetType,
Integer resultSetConcurrency) throws SQLException
if(conn == null)requestConnection();
if(resultSetType == null)
resultSetType = new Integer(ResultSet.TYPE_FORWARD_ONLY);
if(resultSetConcurrency == null)
resultSetConcurrency = new Integer(ResultSet.CONCUR_READ_ONLY);
Vector results = new Vector();
java.sql.Statement stmt = conn.createStatement(resultSetType.intValue(),
resultSetConcurrency.intValue());
if(stmt.execute(sql))
rs = stmt.getResultSet();
No matter what I pass in for the scroll type, it comes back as scroll insensitive. I'm using Oracle 8.1.7 with the jdbc-odbc bridge. I would suspect that scroll sensitive might not be supported, but I can't set it to forward only either.
Anyone seen this one before?

Hi,
Scrollable resultsets depend on the driver ur using and not on the select statement as u have mentioned in your post.
Use jsqlconnect driver to use scrollable resultset.
Seetesh

Similar Messages

  • SCROLL SENSITIVE vs SCROLL INSENSITIVE

    Hi,
    I'm trying to understand the difference between these two - I wrote a small piece of code that I thought would explain the difference. However, when I run this code (By toggling the scroll sensitivity between TYPE_SCROLL_INSENSITIVE and TYPE_SCROLL_SENSITIVE),
    I don't see any change in the output. Essentially - I'm trying to run through a resultset WHILE SIMULTAENOUSLY changing the underlying data. I assumed the insensitive scroll type wouldn't detect this change while the sensitive type would!! But BOTH don't detect the change.
    I even tried the same scenario by creating a different connection in the thread just to eliminate the fact that the same connection being used in the thread was probably the culprit - didnt help either. I'm no closer to understanding the difference between the two Scroll types now :( Please help!!! The result is in the end - even though the update went through - the SCROLLABLE SENSITIVE resultset didn't pick it up!!!
    import java.sql.*;
    import javax.sql.*;
    import java.util.*;
    import javax.naming.*;
    public class JDBCTest {
    public static void main(String argv[]) throws Throwable {
    String driverName = "com.microsoft.sqlserver.jdbc.SQLServerDriver";
    Class.forName(driverName);
    String connectionURL = "jdbc:sqlserver://localhost:1433;databaseName=FXTraderDB;userName=sa;password=Marcos!23";
    Connection conn = DriverManager.getConnection(connectionURL);
    conn.setTransactionIsolation(Connection.TRANSACTION_READ_COMMITTED);
    TableUpdater updater = new TableUpdater(conn);
    updater.start();
    Statement stmt = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY);
    ResultSet rs = stmt.executeQuery("Select * from hs_market_data");
    rs.afterLast();
    while(rs.previous()) {
    int id = rs.getInt("id");
    int insaddr = rs.getInt("insaddr");
    double bidRate = rs.getDouble("bidRate");
    double askRate = rs.getDouble("askRate");
    System.out.println(String.format("Id : %d. Insaddr : %d bidRate : %f askRate : %f", id, insaddr, bidRate, askRate));
    Thread.sleep(2000);
    rs.close();
    stmt.close();
    class TableUpdater extends Thread {
    private Connection conn = null;
    public TableUpdater(Connection conn) {
    this.conn = conn;
    public void run() {
    try {
    System.out.println("UPDATING AFTER WAITING FOR 5 SECONDS!!...");
    Thread.sleep(5000);
    Statement stmt = conn.createStatement();
    double bidRate = new Random().nextDouble()*100;
    double askRate = new Random().nextDouble()*150;
    System.out.println(String.format("### Updating the rows (55, 50, 45, 40, 35) with bidRate : %f askRate : %f ###" ,bidRate, askRate));
    stmt.executeUpdate(String.format("update hs_market_data set bidRate=%f, askRate=%f where id in (55, 50, 45, 40, 35)", bidRate, askRate));
    stmt.close();
    } catch(Throwable t) {
    t.printStackTrace();
    UPDATING AFTER WAITING FOR 5 SECONDS!!...
    Id : 58. Insaddr : 5 bidRate : 69.500000 askRate : 70.500000
    Id : 57. Insaddr : 4 bidRate : 68.500000 askRate : 69.500000
    Id : 56. Insaddr : 4 bidRate : 67.500000 askRate : 68.500000
    *### Updating the rows (55, 50, 45, 40, 35) with bidRate : 81.512883 askRate : 2.874984 ###*
    Id : 55. Insaddr : 1 bidRate : 555.220000 askRate : 333.330000
    Id : 54. Insaddr : 6 bidRate : 65.500000 askRate : 66.500000
    Id : 53. Insaddr : 5 bidRate : 64.500000 askRate : 65.500000
    Id : 52. Insaddr : 6 bidRate : 63.500000 askRate : 64.500000
    Id : 51. Insaddr : 2 bidRate : 62.500000 askRate : 63.500000
    Id : 50. Insaddr : 7 bidRate : 555.220000 askRate : 333.330000
    Id : 49. Insaddr : 1 bidRate : 60.500000 askRate : 61.500000

    There are no guarantees that this flag will be honoured so it would be unwise to rely upon any specific behaviour.

  • Cursor is erasing/distorting text/everything when scrolling

    I just installed 2 1tb HD's in my G5 tower. No biggie.
    I installed Leopard in one and and migrated from the old HD.
    I am having issues with my cursor.
    Whenever i scroll it distorts, erases, moves text, images whatever it comes across.
    Tried the mighty mouse and a wireless. same thing.
    Tried repairing disk permissions and repairing disk. No problems found.
    Any ideas???

    Same text distortion problem! After I just installed Leopard. I had the same thing happen on Tiger which was installed on two separate drives! One was fine and the other one did this same "text distort and replicate" problem and would leave white boxes (when scrolling down through screened backgrounds). Now I have installed Leopard on a clean formatted drive and its back! If I click and drag over it-it re-renders the text back to normal. Both versions of Tiger are updated the same to 10.4.11
    I have read discussions of MacBookPro owners who thought it was a problem specific only to there laptops but it is clearly wider spread than that. It is a minor but extremely annoying glitch to work with.........I hope somebody figures it out!

  • Multiple GraphicsDevice's scrolling failure

    greetings. i plugged in as many searchs as i could think would return this problem and i didn't find anything. getting that out of the way, i just started playing with using multiple GraphicsDevice's and extending the desktop. if i run my swing application and put the frame on the extended screen, i get indeterminate behavior. it seems initially when i run the app and attempt to scroll an object such as a JScrollPane or JTable, only some of the lines of the pane scroll and other parts don't. depending on scrolling up or down depends on how the area is messed up- you'd have to see it to give it justice. from there i haven't noticed much of a pattern. sometimes putting the frame into the maximized state will fix the problem and other times it won't work in the maximized state. i get the same problem with netbeans on the extended display but not with eclipse. everything always scroll fine on the primary device. i wonder if it's my display card but since all of my examples are in java but without uniform results, i'm a little puzzled. anyone have any suggestions? any help would be greatly appreciated. thanks. jerry.

    Here is a link to the bug report / feature request page on
    adobe.com
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    It is actually rather hard to find this page. I would think
    they would want it to be easy to report a bug.
    Also, here is a link to the official Adobe methods for
    troubleshooting flash player installations in Windows:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19166&sliceId=2

  • Why won't mail scroll?

    I have a magic mouse, but mail will not scroll with it.  Everything else scrolls, but mail will not.  Help!

    Try my suggestion I wrote about here: https://discussions.apple.com/thread/5557954?tstart=0

  • Scroll Sensitive ResultSet problem

    Hi,
    This is viquar.
    Iam using Type4 driver for oracle8i i.e oralce.jdbc.driver.OracleDriver
    and creating a scroll sensitive resultset using
    Statement st=con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
    and iam calling the method refereshRow();
    But it gives me an error :Unsupported Feature refreshRow.
    When I checked out in detail..I came to know that the Type of ResultSet getting created is SCROLL INSENSITIVE(value 1004) instead of SCROLL SENSITIVE(value 1005).
    Please help me in this.

    hi,
    to know whether your database supports result sets run this test:
    try {
            DatabaseMetaData dmd = connection.getMetaData();
            if (dmd.supportsResultSetType(ResultSet.TYPE_SCROLL_INSENSITIVE)) {
                // Insensitive scrollable result sets are supported
            if (dmd.supportsResultSetType(ResultSet.TYPE_SCROLL_SENSITIVE)) {
                // Sensitive scrollable result sets are supported
            if (!dmd.supportsResultSetType(ResultSet.TYPE_SCROLL_INSENSITIVE)
                && !dmd.supportsResultSetType(ResultSet.TYPE_SCROLL_SENSITIVE)) {
                // Updatable result sets are not supported
        } catch (SQLException e) {
        }and to know whether a result set is scrollable, run this test:
    try {
            // Get type of the result set
            int type = resultSet.getType();
            if (type == ResultSet.TYPE_SCROLL_INSENSITIVE
                  || type == ResultSet.TYPE_SCROLL_SENSITIVE) {
                // Result set is scrollable
            } else {
                // Result set is not scrollable
        } catch (SQLException e) {
        }BTW, did you try ojdbc.14 driver ?
    hth

  • Messy Image when scrolling something

    the problem is very annoying.. basically everytime I scroll down or up a webpage, emesene contacts.. whatever.. everything I scroll I get a messy image, because part of it gets 'cuted'..
    I'll leave a printscreen so you can understand what I'm saying..
    as you can see the text is cuted..
    at first it was ok, but now I'm getting a bit upset with this problem:X
    Best regards

    well I looks like it was KMS.
    I had to disable it some time ago because it was causing me some problems, but as it seems that was happening because I didnt configure it.. I followed the wiki for ATi and KMS is working well now, and it seems that I dont have the scroll problem anymore..
    best regards
    EDIT:
    still having problem with KMS, so I had to disable it.. however there are two ways of doing it in the wiki.. adding "radeon.modeset=0" or "nomodset" to the kernel append line in the grub menu.lst.. I used to have to be using the nomodset, but now I'm using the radeon.modeset=0 to disable KMS.. for now it seems that the scroll problem is gone.
    I can definitely say that this problem is KMS related.
    Last edited by guisacouto (2009-11-28 20:41:32)

  • Scrolling text - lower third -across

    I need some suggestions on creating lower third text that scrolls across the screen.
    I have FCX ( including Livetype ) and of course iMovie.
    Everything there scrolls up and down. ( I think...lol...at least I can't find the answer )
    I have searched for applications that would duplicate what I did on my title maker direct
    to video and have been unable to find any answers.
    Going back to square on and recording direct to film and then capturing and editing is of course possible but that would a long route for what seems to be doable on my computer.
    Any suggestions??

    What you are talking about is called a 'crawl' you can do this in FCP, It's under text>Title Crawl. you can just create it in the viewer and BAM, there you go.

  • Scrolling Text - lower third

    I need some suggestions on creating lower third text that scrolls across the screen.
    I have FCX ( including Livetype ) and of course iMovie.
    Everything there scrolls up and down. ( I think...lol...at least I can't find the answer )
    I have searched for applications that would duplicate what I did on my title maker direct
    to video and have been unable to find any answers.
    Going back to square on and recording direct to film and then capturing and editing is of course possible but that would a long route for what seems to be doable on my computer.
    Any suggestions??

    Try this. At the lower right of the viewer window there's an "A" in what looks like a film frame. Click than, the choose "text" -> crawl. Then click the "control" tab at the top of the viewer window to enter your text. Use the other controls to specify, the size, spacing, crawl direction, and location of your text.
    Ross Hunter
    Orange, VA

  • Scroll Rect broken /  bug?

    Hello all, I am trying to use a HSlider to navigate a s:List component in flex and having a hard time.  Now before you say "But Andrew, you could just use a scroll bar" that is not what i want because it will not allow me to do the animations that i require.  So that being said,  i have the following code:
    [CODE]
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                      xmlns:s="library://ns.adobe.com/flex/spark"
                      xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
         <fx:Declarations>
         </fx:Declarations>    
    <fx:Script>
         <![CDATA[
    public function init2():void{
                   dog.graphics.beginFill(0xff0000);
                   dog.graphics.drawCircle(200,200,200 );
                   dog.scrollRect = new Rectangle(0,0,100,100);
         ]]>
    </fx:Script>
    <s:Group id="dog" creationComplete="init2()">
              <s:HGroup>
              <s:Label text="dog"/>
              <s:Label text="dog"/>
              <s:Label text="dog"/>
              <s:Label text="dog"/>
              <s:Label text="dog"/>
              <s:Label text="dog"/>
              <s:Label text="dog"/>
              <s:Label text="dog"/>
              <s:Label text="dog"/>
              <s:Label text="dog"/>
              </s:HGroup>
              <s:VGroup>
              <s:Label text="dog"/>
              <s:Label text="dog"/>
              <s:Label text="dog"/>
              <s:Label text="dog"/>
              <s:Label text="dog"/>
              <s:Label text="dog"/>
              </s:VGroup>
         </s:Group>
    [/CODE]
    Which succesfully applies a scroll rect to the square, i see part of the red circle, and a few dogs.  Then, when i add
    [CODE]
    <s:List dataProvider="{oData}">
    </s:List>
    [/CODE]
    after the VGroup, everything breaks, scroll rect no longer is applied (een though i see it if i trace it out), and i see all of everything...  anyone see something that i am blatently missing?  Any help would be apprecaited.
    The only way i see around this is attaching a HScrollBar to the group'dog' and then making the HScrollbar visible=false.  This forces a scroll rect to the size i would like.
    Thanks - Andrew

    You should use clipAndEnableScrolling=true instead of interacting directly with a Group's graphic object:
    <s:Group id="dog" creationComplete="init2()" clipAndEnableScrolling="true" width="100" height="100">
    Message was edited by: Shongrunden

  • Inconsistent results from database calls

    Hi all I was wondering if anyone would be able to come up with some possible ideas as to why my application is inconsistently retrieving data from a database. I have an application that is pulling information from a database. These calls can be made repetitively pulling the same information over and over again. The quandry that I am faced with is why the application would pull the right data most of the time, but occasionally not pull the correct values.
    I have consided the following:
    blocking - all of the calls are read only and scroll insensitive so I doubt this is the case
    Limited number of connections
    Seems like apossibility but then I would expect an error to be thrown.
    Actions happening to fast
    I was thinking perhaps the cycle is completing before everything has had a chance to finish the last set - is that a possibility ?
    I can't post the code, so I am just looking for any general thoughts or ideas on the topic, if nothing thanks anyways.

    Thank you both for your thoughts. The transactions is definately not a possibility (at least as I understand) as this is on read information only, there is no commits nor any updates being completed by this method.
    I will continue to hunt down this little bugger. The biggest issue is that it is one behemoth of a method that should not exist, but unfortunately does.

  • How to order a updateable resulset?

    hello
    i use an updateable resulset.
    everything works fine.
    i can scroll forward, backward and can update it.
    but when i add an "order by" to the select statement,
    than i get following error:
    ORA-01732: data manipulation operation not legal on this view
    Cause: An attempt was made to use an UPDATE, INSERT, or DELETE statement on a view that contains expressions or functions or was derived from more than one table. If a join operation was used to create the view or the view contains virtual columns derived from functions or expressions, then the view may only be queried.
    Action: UPDATE, INSERT, or DELETE rows in the base tables instead and restrict the operations on the view to queries.
    now the question is, how can i order an updateabe resultset?
    to use the scroll functionality, i must order the resultset,
    otherwise i do not know in which order the resultset is ...
    any idea?
    thanks a lot!

    Hi useridlh,
    As the error message (you posted) states, you are apparently attempting to update a database view that is based on more than one database table. Oracle does not allow this.
    However, you claim that you are able to update the "ResultSet" if the query does not contain the ORDER BY clause. There are restrictions imposed by Oracle's JDBC drivers on updatable "ResultSet"s.
    Unfortunately, I can't seem to access Oracle's online documentation, so I can't give you the URL, but the limitations are detailed in the JDBC Developer's Guide and Reference. I saw no mention in your post of which Oracle version you are using (nor which JDBC driver you are using),
    so here is a quote from the Oracle 8i documentation:
    In fact, you cannot use ORDER BY for any result set where you will want
    to refetch rows. This applies to scroll-insensitive/updatable result
    sets as well as scroll-sensitive result sets.
    [Chapter 12 - Result Set Enhancements, page 12-10]
    Hope this helps.
    Good Luck,
    Avi.

  • A few small issues I can't find fixes for

    Hi everyone, I've been using arch for a little bit now and really enjoying the experience. I have run across 3 small problems and other than that everything thing seems to be running flawlessly. I'd appreciate any help with these, and thanks in advance. I have googled trying to find solutions and searched the wiki but either none of the issues were listed or the fixes for them didn't seem to have an effect, but if I missed something sorry, just if you want to point me in the right direction that'd be appreciated.
    So some specifics about my system first, I'm running on arch linux 64bit using KDE as my desktop environment.
    Okay so problem number 1:
    Sometimes when arch goes to boot it fails to mount /dev/sda2 which is my root partition, This doesn't happen everytime but I'd say 50 or 60 percent of the time, but when it does I give it a restart once or twice and it loads into arch just fine. I can restart my computer if anyone wants the exact wording I get, but it goes along the lines of "failed to mount /dev/sda2 you are now being dropped in to a recovery shell" Now I'm not sure but this might be because of the weird way I set the harddrive partitions up, but it worked in all the distros I used before settling on arch, but to give you an idea, I'm using 2 300gb hard drives, I have them split so that 1 hard drive is completely devoted to my / and /boot partitions, the other one has /usr /tmp /var and swap on it. In addition I have a 1tb drive for storage that is devoted to /home. If it is causing the problem and I have to reformat and go to a more conventional partition scheme I will, but I'd prefer to avoid that if at all possible, just because I am rather settled in to this install.
    Problem number 2:
    Amarok takes forever and a day to load, somewhere in the area of 60+ seconds, when I start it via the terminal I get this output:
    KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work
    (amarok:19322): GStreamer-CRITICAL **: gst_debug_add_log_function: assertion `func != NULL' failed
    amarok(19322)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
    amarok(19322)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
    amarok(19322)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
    amarok(19322)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
    amarok(19322)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
    amarok(19322)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
    amarok(19322)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
    amarok(19322)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
    amarok(19322)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
    amarok(19322)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "Amarok Script Console"
    amarok(19322)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "LyricWiki"
    amarok(19322)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "Cool Streams"
    amarok(19322)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found 0 offers for "Librivox.org"
    ** AMAROK WAS STARTED IN NORMAL MODE. IF YOU WANT TO SEE DEBUGGING INFORMATION, PLEASE USE: **
    ** amarok --debug                                                                           **
    I thought maybe it was the gstreamer backend because the wiki said it might cause problems and to try using xine instead. However doing this didn't seem to help at all.
    Problem number 3
    Flash is all weird when I use Kwin, when I use compiz it works near flawlessly but my issue with that is then kde doesn't act nearly as smooth as it does without compiz. When I use flashplugin from the repos I can't go fullscreen because it makes everything freeze up, and when I try flashplugin-prerelease from the aur flash is always in the spot where it loaded meaning if I change tabs in firefox it goes through the other tab and if I scroll it stays stationary and everything else scrolls behind it.
    Again I apologize if I missed it in the searches that I ran and these have been solved elsewhere, but thanks in advance for all help given.
    Edit: Installing pulseaudio and using that instead of alsa seems to have fixed amarok starting slowly.
    Last edited by Sinner (2011-03-26 05:05:57)

    milomouse wrote:Maybe you should use UUIDs instead of /dev/sd* to avoid any possible device confusion (type 'blkid' to see your UUIDs), though from your first post about "cannot mount /dev/sda2" it still appears to check for root device correctly.  At any rate, in your grub or lilo or syslinux (whatever bootloader you have) config you could also change root=/dev/sda2 to root=/dev/disk/by-uuid/YOURROOTUUID (however your bootloader can handle it) to help further reduce possible errors.  (helpful link: https://wiki.archlinux.org/index.php/Pe … ice_naming )  Trying to think of what else it could be since it only happens every now and then, which is a little strange.
    Oh my bad I forgot to say I'm using grub, but yeah I went through and did that, That seemed to stop me being loaded into a recovery shell or whatever, but when arch started to boot about 2 out of the 5 times I restarted to test it, it said file systems didn't check and had my log in as root to try to remount the partition. Also I got a COMERROR=-32 after which it said it was doing a comreset and would retry in 8 seconds after doing that 3 times it booted almost every time unless it ran into the filesystem check.
    Last edited by Sinner (2011-03-25 16:29:32)

  • Can Anybody help this "display :0" problem I have? [SOLVED]

    Hello, I am very new to Arch (and only on Linux for a year).
    I have 2 problems:
    Problem #1). When messing around after my install, I'm not sure what I did... but now I have an error every time I boot up and log in. The error is this:
    There already appears to be an X server running on display :0.
    Should another display number by tried? Answering no will cause
    GDM to attempt starting the server on :0 again. (You can change
    consoles by pressing Ctrl-Alt-f7 to go to console 7. X servers
    usually run on 7 or higher)
    Now, I am able to click tty7 and run a regular desktop, and I am able to use tty1, tty2....for root...but I just would like to not have that error.
    Problem #2). Well...after prob. #1... I got frustrated and tried to stop the problem by upgrading to the new testing xorg-server and xf86-video-intel... as well as a full pacman -Syu. (I know I shouldn't be using the Testing repo, but since I thought I was going to be doing another clean install, I figured I would give it a try and also see what the new Gnome looks before I scrapped this install)
    ...well, after doing a new "Xorg -configure", I was able to edit my /etc/X11/xorg.conf so that I got my screen working and my mouse able to move and tap, but I have lost the ability to scroll...and it had been working before Problem #1, and the new upgrades... so, instead of scrapping this install, I would really like to try and fix these 2 problems, because other than that, everything is working nicely.
    This is my /etc/X11/corg.conf:
    Section "ServerLayout"
    Identifier "X.org Configured"
    Screen 0 "Screen0" 0 0
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
    Option "AIGLX" "true"
    Option "Touchpad" "AlwaysCore"
    EndSection
    Section "Files"
    RgbPath "/usr/share/X11/rgb"
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/TTF"
    FontPath "/usr/share/fonts/Type1"
    EndSection
    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    Option "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    EndSection
    Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "CorePointer"
    Option "Protocol" "ImPS/2"
    # Option "Protocol" "auto"
    Option "Device" "/dev/input/mice"
    Option "ZAxisMapping" "4 5 6 7"
    Option "Emulate3Buttons" "true"
    EndSection
    Section "Monitor"
    #DisplaySize 330 210 # mm
    Identifier "Monitor0"
    VendorName "AUO"
    ModelName "f0d"
    EndSection
    Section "Device"
    ### Available Driver options are:-
    ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
    ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
    ### [arg]: arg optional
    #Option "NoAccel" # [<bool>]
    #Option "SWcursor" # [<bool>]
    #Option "ColorKey" # <i>
    #Option "CacheLines" # <i>
    #Option "Dac6Bit" # [<bool>]
    #Option "DRI" # [<bool>]
    #Option "NoDDC" # [<bool>]
    #Option "ShowCache" # [<bool>]
    #Option "XvMCSurfaces" # <i>
    #Option "PageFlip" # [<bool>]
    Identifier "Card0"
    Driver "intel"
    VendorName "Intel Corporation"
    BoardName "Mobile 915GM/GMS/910GML Express Graphics Controller"
    BusID "PCI:0:2:0"
    Option "XAANoOffscreenPixmaps" "true"
    Option "DRI" "true"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    SubSection "Display"
    Modes "1280x800"
    Viewport 0 0
    Depth 1
    EndSubSection
    SubSection "Display"
    Modes "1280x800"
    Viewport 0 0
    Depth 4
    EndSubSection
    SubSection "Display"
    Modes "1280x800"
    Viewport 0 0
    Depth 8
    EndSubSection
    SubSection "Display"
    Modes "1280x800"
    Viewport 0 0
    Depth 15
    EndSubSection
    SubSection "Display"
    Modes "1280x800"
    Viewport 0 0
    Depth 16
    EndSubSection
    SubSection "Display"
    Modes "1280x800"
    Viewport 0 0
    Depth 24
    EndSubSection
    EndSection
    Section "Module"
    Load "i2c"
    Load "bitmap"
    Load "ddc"
    Load "dri"
    Load "record"
    # Load "GLcore"
    Load "extmod"
    Load "freetype"
    Load "glx"
    Load "int10"
    Load "vbe"
    Load "dbe"
    Load "synaptics"
    EndSection
    Section "InputDevice"
    Identifier "X.org Configured"
    Driver "synaptics"
    Option "Device" "/dev/input/mouse0"
    Option "Protocol" "auto-dev"
    Option "LeftEdge" "49"
    Option "RightEdge" "900"
    Option "TopEdge" "73"
    Option "BottomEdge" "666"
    Option "FingerLow" "25"
    Option "FingerHigh" "30"
    Option "MaxTapTime" "180"
    Option "MaxTapMove" "200"
    Option "VertScrollDelta" "24"
    Option "MinSpeed" "0.40"
    Option "MaxSpeed" "0.80"
    Option "AccelFactor" "0.024"
    Option "EdgeMotionMinSpeed" "200"
    Option "EdgeMotionMaxSpeed" "200"
    Option "CoastingSpeed" "5.00"
    Option "FastTaps" "on"
    Option "UpDownScrolling" "1"
    # Option "CircularScrolling" "1"
    # Option "CircScrollDelta" "0.1"
    # Option "CircScrollTrigger" "2"
    # Option "SendCoreEvents"
    Option "SHMConfig" "on"
    EndSection
    Section "Extensions"
    Option "Composite" "Enable"
    EndSection
    Section "DRI"
    Group 0
    Mode 0666
    EndSection
    Any help would be cool, thanks,
    -j.c.
    Last edited by methuselah (2007-10-24 04:12:02)

    Misfit138 wrote:I've been using GNU/Linux for a couple years, but only for one full year seriously. I am still learning and have oh so very much to learn. I understand how one could get frustrated, give up and reinstall. I did it quite a bit before I adopted the mindset to slow down and start absorbing some knowledge about how things work. I still have issues, and sometimes keeping the thing running is a challenge of itself for me. Anyway, when you are ready to come back and try again, the community will still be here to help. :)
    Thank you for understanding... and guess what, I gave Archlinux a third attempt yesterday...and I have a fully working Arch Linux!!
    After giving up after my second Arch attempt, I installed xubuntu 7.10 tribe5 and upgraded to the beta.
    7.10 felt that it had gotten slower than 7.04 (probably because it's still being worked on)... or maybe I had seen how fast Arch was.
    I liked the new look of xubuntu 7.10, and it was very easy to install and add all of my special hacks to make it faster (most of them from this sidux page: http://sidux.com/PNphpBB2-viewtopic-t-3484-start-0.html ).
    But even with my OpenDNS and everything else that I do from that page, as well as all of my Swiftfox about:config tweaks, I still felt that it was slower than Arch had been.
    So then I started trying to install Compiz Fusion like the way I had it in feisty 7.04: http://forum.compiz-fusion.org/showthread.php?t=4159
    ... but for some reason, the Compiz Fusion in the gutsy repos didn't work with xubuntu 7.10, and I couldn't find a gutsy repo like Trevino's repo for feisty...and yes, I guess I could of built it from source, but I just decide to give the Xfce4 Compositer a test run... and I found my xubuntu 7.10 crawling slower than it had been with Compiz Fusion on 7.04.
    Then I decide to give Arch one more chance since there wasn't going to be a Trevino repo for little (and I didn't feel like building Compiz and all of the plugins from source)....plus, I figured now that I had learned how to properly install Arch, that if I gave it a moment after install, I would learn how to configure everything to work correctly.
    And now for the success story.....
    The first thing I did was to download and burn the newest 2007.08-2, then I did the regular base install, and then I took a chance to see if I could get the new Gnome and Xorg working off of a clean install, so I uncommented the testing repos before doing my first pacman -Syu... then I also installed the new xf86-video-intel driver that I had had problems with... and for my first time on Linux (one year now), I didn't install xfce4.
    So, after editing my xorg.conf after Xorg --configure, everything (including scrolling) worked, well everything except for my Caps Lock key light, like everybody else on this very helpful page: http://bbs.archlinux.org/viewtopic.php?id=37670&p=1
    So this is my working xorg.conf for my Intel 910GML celeron m HP pavilion dv4230us laptop:
    Section "ServerLayout"
    Identifier "X.org Configured"
    Screen 0 "Screen0" 0 0
    InputDevice "Touchpad" "CorePointer"
    InputDevice "Mouse0" "SendCoreEvents"
    InputDevice "Keyboard0" "CoreKeyboard"
    Option "AIGLX" "true"
    # Option "Touchpad" "SendCoreEvents"
    EndSection
    Section "Files"
    RgbPath "/usr/share/X11/rgb"
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/TTF"
    FontPath "/usr/share/fonts/Type1"
    EndSection
    Section "Module"
    Load "xtrap"
    Load "extmod"
    Load "dbe"
    Load "record"
    Load "dri"
    Load "freetype"
    Load "type1"
    Load "glx"
    Load "int10"
    Load "i2c"
    Load "bitmap"
    Load "ddc"
    Load "vbe"
    Load "synaptics"
    # Load "GLcore"
    EndSection
    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    Option "XkbRules" "xorg"
    EndSection
    Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "CorePointer"
    # Option "Protocol" "ImPS/2"
    Option "Protocol" "auto"
    Option "Device" "/dev/input/mice"
    Option "ZAxisMapping" "4 5"
    Option "Emulate3Buttons" "true"
    EndSection
    Section "Monitor"
    #DisplaySize 330 210 # mm
    Identifier "Monitor0"
    VendorName "AUO"
    ModelName "f0d"
    EndSection
    Section "Device"
    ### Available Driver options are:-
    ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
    ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
    ### [arg]: arg optional
    #Option "NoAccel" # [<bool>]
    #Option "SWcursor" # [<bool>]
    #Option "ColorKey" # <i>
    #Option "CacheLines" # <i>
    #Option "Dac6Bit" # [<bool>]
    #Option "DRI" # [<bool>]
    #Option "NoDDC" # [<bool>]
    #Option "ShowCache" # [<bool>]
    #Option "XvMCSurfaces" # <i>
    #Option "PageFlip" # [<bool>]
    Identifier "Card0"
    Driver "intel"
    VendorName "Intel Corporation"
    BoardName "Mobile 915GM/GMS/910GML Express Graphics Controller"
    BusID "PCI:0:2:0"
    Option "XAANoOffscreenPixmaps" "true"
    Option "DRI" "true"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    SubSection "Display"
    modes "1280x800"
    Viewport 0 0
    Depth 1
    EndSubSection
    SubSection "Display"
    modes "1280x800"
    Viewport 0 0
    Depth 4
    EndSubSection
    SubSection "Display"
    modes "1280x800"
    Viewport 0 0
    Depth 8
    EndSubSection
    SubSection "Display"
    modes "1280x800"
    Viewport 0 0
    Depth 15
    EndSubSection
    SubSection "Display"
    modes "1280x800"
    Viewport 0 0
    Depth 16
    EndSubSection
    SubSection "Display"
    modes "1280x800"
    Viewport 0 0
    Depth 24
    EndSubSection
    EndSection
    Section "InputDevice"
    Identifier "Touchpad"
    Driver "synaptics"
    Option "Device" "/dev/input/mouse0"
    Option "Protocol" "auto-dev"
    Option "LeftEdge" "49"
    Option "RightEdge" "900"
    Option "TopEdge" "73"
    Option "BottomEdge" "666"
    Option "FingerLow" "25"
    Option "FingerHigh" "30"
    Option "MaxTapTime" "180"
    Option "MaxTapMove" "200"
    Option "VertScrollDelta" "24"
    Option "MinSpeed" "0.40"
    Option "MaxSpeed" "0.80"
    Option "AccelFactor" "0.024"
    Option "EdgeMotionMinSpeed" "200"
    Option "EdgeMotionMaxSpeed" "200"
    Option "CoastingSpeed" "5.00"
    Option "FastTaps" "on"
    Option "UpDownScrolling" "1"
    # Option "CircularScrolling" "1"
    # Option "CircScrollDelta" "0.1"
    # Option "CircScrollTrigger" "2"
    # Option "SendCoreEvents"
    Option "SHMConfig" "on"
    EndSection
    Section "Extensions"
    Option "Composite" "Enable"
    EndSection
    Section "DRI"
    Group 0
    Mode 0666
    EndSection
    So after getting my mouse to work properly, I had done a lot of research about OpenDNS and Arch, but I hadn't found an easy way to do it in any forum or google search... then, I found a way on my own that works perfectly for me.
    What I did was I added the package called Wicd: http://wiki.archlinux.org/index.php/Wicd for my BCM43XX wireless, and after using this Wireless guide: http://wiki.archlinux.org/index.php/Wir … k_settings to configure my eht1, I then added a "Wired" profile to my Wicd.
    ...With my Wired Network Profile in Wicd called "OpenDNS", using the proper OpenDNS nameservers, all I have to do when I first boot up is connect my "OpenDNS" profile, and I am able to use OpenDNS and pass all of it's OpenDNS checks: http://www.opendns.com/welcome/
    Now I haven't tried to install Compiz Fusion yet, and I almost don't need it except for the Shift Switcher and Emerald... so I might wait a while.
    And to finish my long-winded success story, I would just say that the GDM issue was something I caused on my own, and couldn't correct on my own, and had nothing to do with Archlinux...and the new Xorg/ xf86 intel issue that I had was easily solved once I payed attention to making sure that the "Input Device" was correct for the Touchpad like on this post: http://bbs.archlinux.org/viewtopic.php?id=37670&p=1
    As for, OpenDNS... I'm sure there are other way's to do it, but this way worked for me, and I found the solution on my own, so I'm sort of proud of that... and I'll be messing around with Compiz Fusion soon, but I'm not that worried about it.
    Anyway, here is my new Archlinux Desktop using my own gtk-2.0 theme and custom icons:
    Large View: http://i144.photobucket.com/albums/r161 … ot-1-1.png
    Large View: http://i144.photobucket.com/albums/r161 … shot-2.png
    Last edited by methuselah (2007-10-09 17:23:49)

  • The operation is not allowed for result set type FORWARD_ONLY

    Hi,
    I am trying to use scroll insensitive resultset in following manner-
    Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY);
    ResultSet rs = stmt.executeQuery("some sql here");
    rs.last();
    but the rs.last() throws this exception-
    com.sap.dbtech.jdbc.exceptions.SQLExceptionSapDB: The operation is not allowed for result set type FORWARD_ONLY.
         at com.sap.dbtech.jdbc.ResultSetSapDB.assertNotForwardOnly(ResultSetSapDB.java:2725)
         at com.sap.dbtech.jdbc.ResultSetSapDB.last(ResultSetSapDB.java:557)
    Database version: Kernel    7.5.0    Build 019-121-082-363
    Driver Version: MaxDB JDBC Driver, MySQL MaxDB, 7.6.0    Build 030-000-005-567
    This used to work with 7.5 version driver. Why this is failing with 7.6 driver, any clues?
    Thanks,
    Vinod

    Hi Vinod,
    due to performance improvement when using forward only cursor we changed the default for the resultset type from TYPE_SCROLL_SENSITIVE to TYPE_FORWARD_ONLY starting with JDBC driver version 7.6. So I guess the exception comes from a statement where you didn't set the resultset type while creating it. Please check if all of the statements that you want to be scrollable have set the correct resultset type.
    Regards,
    Marco

Maybe you are looking for

  • Trouble sending mail to a group

    HI, I set up a new group in my mail program and when I try to send it an error comes up saying "This message could not be delivered and will remain in your Outbox until it can be delivered. Sending the message content to the server failed." I believe

  • Icon_checked unable to download as sign in excel sheet of alv

    Hi all, I have used icon_checked of TYPE-POOLS: icon to dispaly as YES sign in an alv report. But issue is that when report is downloaded in excel the icon_checked does not generate any text. How can i generate text for that icon_checked symbol. Belo

  • I get a [newnullresponse] error on my iphone when I try to use the iTunes app any solutions?

    I can't connect to the iTunes Store. All I get is an error message that says "Your Request produced an error [newNullResponse]. I have logged out of iTunes and AppStore and signed back in and that did not help. Is there a solution to this?

  • Can I send 3D HDMI source over Thunderbolt port?

    I have a 3D television sitting around in my home and I have some 3D Blu-ray movies, but sadly the sole BD-capable device in my home is my home server (in its own equipment compartment, running headless) so ripped the movie off the disk and now I want

  • How can I customize a project template?

    Sorry this seems like a basic procedure but I did not find it in the RH help or in the forum. In the RH program folder > RoboHTML > Temlates > Custom there are two sets of files that evidently resemble the project templates but I connot open these in