Anybody use jtds driver with creator?

Hello,
I have a creator app that talks to our SQLServer via the jtds driver.
I cannot update any records, I get a "result set is read only" message.
I tried changing the concurrency to CONCUR_UPDATABLE and TYPE_SCROLL_SENSITIVE.
Is there a better Driver to use?
Thanks
Frank

I'm not completely sure I understand what you are saying, especially the part with the updateable and read-only tables (ResultSets are updateable/read-only, not tables). Could you provide an example (Java code or at least the SQL) illustrating your point?
The problem with "this driver" is that in its last public release (1.0.2) it did not implement client side cursors (in fact it did, but only for Sybase). This support has now been extended to SQL Server in cases when the server isn't able to create a server side cursor, so jTDS will cache the whole result on the client and create a client side one. This behavior will be available in the next release (or you can get it from the CVS tree before that).
The problem with transparently creating client side cursors is that this introduces a huge (memory and performance) overhead of which the user is unaware. This may lead to OutOfMemoryErrors simply because the table didn't have a primary key or the SELECT didn't include it.
And now that we're here, let me point out that the DataDirect driver is not the most efficient, by far. There's even a test in their performance test suite (which they use only to point out that their driver is and will be the only one that doesn't fail that particular test), which creates a forward only ResultSet and then calls last() and beforeFirst() on it. This test only works because they cache the entire ResultSet, which may seem like a good thing, but it's totally unnecessary and if you compare the time it takes for that test to run with the time to do a simple next() through the exact same ResultSet it's orders of magnitude larger.
And one final thing: the JDBC spec rightfully states that a JDBC driver implementation does not have to implement features that the underlying DBMS does not support. Creating a scrollable and/or updateable ResultSet from God knows what falls under this category in my oppinion. The SQL Server spec clearly states what conditions must be met by a SELECT query for a server side cursor to be created on it. You can't reasonably expect not to meet those conditions and still get what you want.
Alin,
The jTDS Project.

Similar Messages

  • Using network drive with time machine.  IS IT POSSIBLE?

    There are lots of discussion on using network drives with time machine. I have not been able to make them work. Could somebody tell me if this is possible

    Time Machine does not back up to network drives, except Time Capsules or USB drives connected to an Airport Extreme, or a drive on a Mac running Leopard.
    Here's the official word: http://support.apple.com/kb/HT1733
    You may find some "hacks" that might make it work, in some cases, to a degree. But use them at your own risk.
    First, since this is *unsupported by Apple,* there's nowhere to go when there's trouble.
    Second, you're risking a future update preventing it from working, and perhaps rendering your backups useless.
    If you still think this is a good idea, do yourself a favor before you bet your backups on it: be sure it really works, at least for now:
    1. Get a copy of CarbonCopyCloner or SuperDuper! or the like, and make a full bootable clone of your internal HD, on an external disk. Test it by booting from it. Then reboot from your internal HD.
    2. Let TM do it's first, full, initial backup.
    3. Attempt a full system restore (like you'll need when, not if, your internal HD fails), via the instructions in item 14 of the of the Frequently Asked Questions post at the top of this forum.
    Again, even if it works today, tomorrow is another day . . .

  • Who is anybody using a WISM with FWSM on a CAT 6500 Switch?

    Hi
    Who is anybody using a WISM with FWSM on CAT 6500 switch ?
    Are there any problem,if use?
    And How can I set them to connecting each other ?
    I have founded a document relate it on the cisco website that name is Integrating Cisco WiSM and Firewall Service Module.
    I have a question concern it.
    Why do I have make a VRF to communication each other ?
    Please let me know.

    As far as the FWSM is concerned you can have each of the wireless vlans come in to the same context of the FWSM and then just add those vlans to the FWSM as separate vlans.

  • Anybody using Hibernate Synchronizer with NitroX?

    Anybody using Hibernate Synchronizer with NitroX?
    Does it work?
    Any problems?

    Hi Florian,
    Please check out this blog: Using Hibernate in SAP NetWeaver Composition Environment
    HTH!
    -- Vladimir

  • Can we use external drive with ipad air

    can we use external drive with ipad air?

    There are some wifi-enabled drives that allow you to stream content (music, films, tv programmes) to an iPad, but you can't directly connect one to an iPad.

  • [pavilion g7-2116sr] How can I use amd driver with only integrated graphic?

     Radeon hd 7670m is disabled coz it's broken. Amd driver don't work. Windows use vgasave driver. How can i use amd driver with radeon hd7660g?
    P.S.  Sorry, my english isn't good(

    Hi @Leys 
    I see you are stilll unsuccessful installing the drivers as you get the blue screen.
    Here is a link to Computer Does not Start (Windows 7, Vista, XP) that may help.
    Here is a link to Testing for Hardware Failures (Windows 7, Vista) to determine if your graphic card is defective.
    If the graphic card fails, here is a link to the HP Pavilion g7 Notebook PC Maintenance and Service Guide. Please note page 9 or chapter 1 page 9 for a list of recommended replacement graphic cards.
    If the graphic card passes you may wish to consider doing a restore back to a known good time or a full recovery back to factory.
    Using Microsoft System Restore (Windows 7)
    Performing an HP system recovery (Windows 7)
    During the recovery process there is an option to backup your personal files to prevent data loss.  If you have not done one yet I suggest you do one now.
    Restoring Files that were Backed Up Using HP Recovery Manager (Windows 7)
    At any time you may wish to contact HP support for assistance.
    Please call our technical support at 800 474 6836. If you live outside the US/Canada Region, please click the link below to get a support number for your region.
    World Wide Phone Support
    Good Luck!
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • Is anybody use Hyper File with LabView?

    Is anybody use Hyper File with LabView?
    I Have a project that need to conect to a hyper file data base Made by PCsoft.
    Thanks
    Benoit Séguin
    Software Designer

    I have never used HyperFile, but a quick check of the company's website indicated that there are ODBC drivers available for it so it should be a simple matter connecting through ADO.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • MOVED: Using 4xsata drives with MSI K8N NEO2

    This topic has been moved to AMD64 nVidia Based board.
    Using 4xsata drives with MSI K8N NEO2

    Hi , yes unfortunately it's true !
    Sata ports 3/4 is the fully nforce3 native chipset integrated (uses nvidia integrated PHY).
    Use only theese if overclocking .
    Satallink clock will be retained at 100mhz always .
    Sata ports 1/2 are bridged from the nvidia chipset to an external marvell PHY .
    Theese ones can not be used with HTT ref clock beyond ~230mhz +/- a few mhz without producing data corruption .
    Satalink ref clock of 100mhz will scale upwards with increased HTT .
    This issue applies to all nforce3 250GB/Ultra based motherboards with more than 2 sata ports regardless which vendor/make/model.
    It's the chosen hw design that is the issue and no bios ever will fix it .
    If you must have 4 sata drives , do like me and install a pci SIL sata controller card for the drives used for storage .
    Take Abit NF8 (nf3) as an example .It has only 2 sata ports .
    Why ?
    Only the true/fully chipset integrated sata ports is used .
    Although the nforce3 chipset supports a sata link to an external PHY for port 3 and upwards some has chosen to not utilize it .
    Nforce 4 chipset has corrected this hw design by adding more sataport by the link to external phy .
    In nf4 four ports are fully/true chipset integrated , and does not suffer from this overclock barrier .

  • Can i use external drive with pc and mac??? files be recognised by both??

    hi
    i have two external hard drives, with stuff from my pc on them.
    can i plug them into my macbook? and just copy files?
    usb hard drives.
    one i think is one or the other, mac or pc, not both at same time, unless i partition and format i think. maybe the other one too.
    i have a 8gb file on my pc, im trying to get into my macbook.
    how can i???
    i have a 160gb ipod, its only 30gb full, and pc says not enough space on it.
    why is this???? the file is only 8gb......and theres over 100gb free on my ipod.
    anyone help?
    cheers

    If your iPod is formatted FAT32 there is a 4 GB file size limit. Obviously an 8 GB file exceeds the limit.
    In order to use any drive on both a Mac and a PC with full read/write capability the drive must be formatted MS-DOS (FAT16 or FAT32.) A drive formatted NTFS is read-only on a Mac unless you use third-party software such as MacFuse with NTFS-3G or Paragon NTFS.

  • Using a driver with labview

    I want to create a GUI using labview to control a data acquisition card using a driver that was not created in labview. Could someone point me in the direction of some documentation that would give me some info on doing this.
    Thanks

    If you're using a non NI data acquisition card and the manufacturer doesn't have a LabVIEW driver, then you'll probably be using either a DLL or ActiveX interface that they provide. For interfacing to third praty DLLs, start with "Using External code in LabVIEW" that is part of the LabVIEW Bookshelf. You will need details from the manufacturer on the function calls. There are some shipping examples on ActiveX. The Invoke Node and Property Node functions on the Communication>ActiveX palette are used to access methods and properties.
    If you were to mention the make and model of the board you're using, you might find someone here with knowledge of it that would provide more details.

  • Did anybody used ADF Faces with Apache Struts?

    Hi
    Can anybody give some guidelines of how to use ADF Faces with Struts?

    I think you'll get a better answer for this on an iBatis forum.
    I think I knew one customer who used this combination.
    We don't have a specific tutorial that shows you how to use iBatis with ADF Faces, but at the end of the day any of the tutorials we have that shows you how to use POJO or a session facade to front POJO will be applicable to iBatis.

  • Using network drive with iPhoto and iMovie

    I bought a QNAP TS 212 NAS Drive and have it successfully set up on my network. I can see the drive and access its content through finder on my iMac. It is even visible in iTunes and am able to play media stored in it. But am unable to view the attached NAS Drive in iPhoto or iMovie. How can I use this NAS drive for storage of pcitures and video using above softwares?

    You would be able to store your original files on the NAS with your Library on the internal drive with Aperture.
    Note that this means other devices accessing those files will see no edits, just the files as imported from camera.
    also since you seem an expert on iPhoto, is there a way to change default storage set up. I want my pictures to be assorted and saved under "album names" rather than year, month and date.
    No. If you use iPhoto then the files are never accessed via the Finder, but only through iPhoto. So, how they are stored on the HD is just back end management for iPhoto.
    Is there a way to export all the pictures in various albums and have them arranged under separate folders with matching album names?
    If you have the most recent iPhoto 11, then yes, it's an option in the export dialogue. If you don't then 
    Apps like iPhoto2Disk or PhotoShare will help you export to a Folder tree matching your Events.
    I would caution you about both iPhoto and Aperture. Neither of these apps have any cross platform ability. Both use virtualisation for lossless processing. Simply, apps from other OSes will not make any sense of these apps. You would need to export everything from them to have edits available to other OSes.
    Regards
    TD

  • How can I use pen drive with iPad?

    how one can use pen drive in iPad?

    You can use some USB flashdrives with the iPad's camera connection kit, but a lot of them require more power than is supplied to the kit, and you can only photos and videos to the iPad's Photos app with it - you can't copy other content, nor copy content off the iPad with it. Depending upon what you want to use it for you might be better off with syncing, Dropbox, emailing content, copying via your wifi network etc (depending upon the item type and what the app that you want to copy to/from supports)

  • Anybody use Canon ZR950 with Mac Laptop and Final Cut Express

    I just bought a Canon ZR950 Mini-DV camera and have been eyeing up a new MacBook Pro for editing video of my new baby (12 days to go). I'm wondering if anybody has had success with that model camera and FCE. Would I movie do the trick or is FCE that much better?
    Also - would the 256mb video card model w/ the 15" display be okay?
    Any suggestions or recommendations would be greatly appreciated.
    Thanks for your time!!!!

    I have my old Mac listed as my current computer (I use it to record music as it does exactly what I need). I've been looking at the new MacBook pro - wouldn't that work?
    If not - which new Mac should I buy?
    Message was edited by: 2008stilllearning
    Message was edited by: 2008stilllearning

  • I am using Windows Vista running ver 9 of Internet Explorer.  Can I use iCloud drive with my PC?

    I am running Windows Vista Business on my PC.  I have ver 9 of Internet Explorer.  Can I use iCloud drive on my machine?

    Has any one helped you?

Maybe you are looking for

  • ARD does not work across subnets/VLANs

    Hi, I can't get ARD clients to update ARD across subnets. I have an ARD workstation on VLAN 72, a task server on VLAN 1, and clients on VLANs 92, 94, 96, and 98. I can use the network range scan to pick up clients on a vlan (say vlan 92) but when tha

  • How do I reinstall microsoft office 2011 on my computer?

    HI, I have bought Microsoft Office 2011 with my macbook. I factory reset it without backing up any application so I lost my office programs. I tried to reinstall two ways... One with the CD that came in the box, and online, but both had the same nega

  • Restriction to access schema objects

    Hi, Is it possible to give restriction that connect with the user in oracle but can not view any object. And if we will run the query select count(*) from user_objects; will give "0" but if we write a query for user created table, we can access the t

  • Searching for movie data in file "******.mov"

    The last couple of weeks I've been getting dailog boxes that freeze up Keynote with the following message: Searching for movie data in file "******.mov" It runs through all the different MOV or MP4 video files I have in that particular Keynote and do

  • Can't reinstall 6300 firmware

    Hello, my phone is rebooting about every minute (blank screen and again normal). I went to Nokia service and they reinstalled the phone's firmware and evertyhing was allright, but i played with a large mount of sms with this phone and this problem ca