Blob support in type 4 driver?
Does anyone know of a JDBC type 4 driver that supports the reading/writing of Blobs to Oracle 8.1.7 using the database independent JDBC api? When the objects I'm trying to write to the db get over a certain size (approx. 4k) it starts throwing exceptions.
I use an InputStream to pipe the data to the blob column. When the stream is over a certain size, the setBinaryStream method doesn't read the data from the stream and NULL is written to my blob column.
I've seen examples of how to read/write blobs using Oracle specific api's. My issue is my app needs to be database independent.
Any help of info would be greatly appreciated.
Rich
I got exactly the same problem. working on finding whats the problem. If you find the solution please post it here. It was working ok when I was having 1.3.1 but when I updated to 1.4 I got this problem
Similar Messages
-
BLOBs in DB2 using DataDirect Driver
I am using DataDirect JDBC Type-4 driver to connect to DB2. I have requirement to store large serialized java
objects. For that initially I used BLOB type but when I call
PreparedStatement.setBinarystream(colNo, inputStream, SerObjLength)
I get an error saying: VALUE OF INPUT HOST VARIABLE NUM {0} NOT USED; WRONG DATA TYPE.
As per DataDirect, they don't support BLOBs because DRDA restrictions(??). So I tried with CLOB. Now inserting
is fine but when I retirve data using ObjectInputStream.readObject() I get error: java.io.InvalidClassException:
java.util.Properties; Local class not compatible: stream classdesc serialVersionUID=4112578634029874751
local class serialVersionUID=4112578634029874840.
Now my question is, can we use CLOB for storing serialized
objects? If not, what data type I can use for this to work or what are the other solutions.
Any help on this is highly appreciated!!
thanks in advance,
dwi have the same problem. when i try to insert a binary on a blob colum says:
"LOB col cannnot be selected by DRDA "
(?????? help!). what does it means ?
when i used other drivers (hit db2) tell the same message. what is the problem with db2?? anyone ?
anyone has a example that insert a blob in a blob colum with sucess in db2 ??
thanks -
"...does not support this type of alias."
I just reinstalled the OS 10.4 onto my G5 using the erase and install function. The drive is formatted as a Mac OS Extended (Journaled), which is an HFS+ format. I'm trying to copy some files onto the main hard drive from a DVD. I keep getting an error message that says "[the file name] cannot be copied to the destination, perhaps because the destination does not support this type of alias." I researched the message and the only thing I could find was that the error appears if the destination disk is formatted as a UFS disk. I thought maybe I made a mistake when I reinstalled the OS, so I tried to copy the same files to the secondary internal drive and to an external Firewire drive, and I got the same message both times.
What should I be looking for so that this will work? I'm going to post in a couple other topics, but any help would be greatly appreciated.
Thank you in advance,
LloydBarry,
I was trying to make back-up copies of my Adobe CS2 disks by copying the disks to the hard drive then burning them to CDs, but I got the error message when I dragged the contents from the original CD to the HD.
This worked, but it took a while: I Stuffed each CD to the HD, then unStuffed them and used Toast to burn a new CD. A few steps longer, but at least it worked.
Now, if I could only figure out why the second internal drive does not have the "Ignore Permissions" check box available, I'd be all set.
Thanks,
Lloyd -
Not Support this type of CPU: 0f33
Hi. After I flashed the BIOS to version 2, I get this error message "Not support this type of CPU: 0f33". I can't get to a floppy drive or CMOS to recover the flash.
Has anyone else encountered this and if so, how did you get around it to recover?
Thx
MikeCMB MSI 848P Neo
1 GB RAM
Intel 2.8 CPU
120 MB Hard Drive
Found this article and tried it. But still cannot get to anything. Have a bootable floppy with the old bios version but cannot get to the floppy to boot it. The MB just hangs on the screen display "Not support this typs of CPU:0F33". Any help would be great.
Thx
Rename the desired AMI BIOS file to AMIBOOT.ROM and save it on a floppy disk. e.g. Rename A569MS23.ROM to AMIBOOT.ROM
Insert this floppy disk in the floppy drive. Turn On the system and press and hold Ctrl-Home to force update. It will read the AMIBOOT.ROM file and recover the BIOS from the A drive.
When 4 beeps are heard you may remove the floppy disk and restart the computer. -
Unsatisfied Link Error when using Oracle OCI (Type II) driver
Using Oracle OCI (Type II) driver on HPUX with Oracle 9.2.0.4.
If when creating a connection pool via the console, using the Oracle OCI (Type
II) driver, you get the error "Unsatisfied link error with library libocijdbc9.sl
or format error" then check that the library included in the SHLIB_PATH is pointing
at the $ORACLE_HOME/lib32 directory and not just the $ORACL_HOME/libWe do not offer a JDBC driver for Linux in version 5.1. In version 6.0,we
do offer a type 4 driver for Linux.
In version 5.1, I suggest trying the platform independent type 4 JDBC driver
available for free from Oracle. It is supported (as is any JDBC driver)
with WebLogic Server. To download it:
Go to http://www.oracle.com and select the "Download" option.
From the resulting page, use the "Select Utility or Driver" dropdown to
select Oracle JDBC drivers
From the resulting page, scroll down a little (since SQLJ stuff appears at
the top).
Or, to go directly there:
http://technet.oracle.com/software/tech/java/sqlj_jdbc/software_index.htm
Thanks,
Michael
Michael Girdley, BEA Systems Inc
Learning WebLogic? Buy the book.
http://www.learnweblogic.com/
"Michael W. Warren, Sr." <[email protected]> wrote in message
news:[email protected]..
I have installed WebLogic 6.0 on Solaris platform and verified that the
server comes up
and that I can connect to it via Netscape. Next step was to verify
installation of WebLogic
jDriver for Oracle. When I run the following:
java utils.dbping ORACLE scott tiger
I get the following error:
Starting Loading jDriver/Oracle .....
Error encountered:
java.sql.SQLException: System.loadLibrary threw
java.lang.UnsatisfiedLinkError
with the message
'/ldatae/bea/wlserver6.0/lib/solaris/oci816_8/libweblogicoci37.so:
ld.so.1: /ldatae/bea/jdk130/jre/bin/../bin/sparc/native_threads/java:
fatal: libgen.so.1: open failed: No such file or directory'.
at
weblogic.jdbcbase.oci.Driver.loadLibraryIfNeeded(Driver.java:202)
at weblogic.jdbcbase.oci.Driver.connect(Driver.java:57)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:146)
at utils.dbping.main(dbping.java:182)
Anyone seen this? Help!!!
Thanks in advance
Mike Warren, Sr.
[email protected] -
Does BLOB Support in Reports really work? As referenced in the doco..
I am referring to chapter 15 of the application builder user guide.
http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/advnc.htm#BCGBCHBD
Oracle Application Express includes BLOB support for both classic and interactive reports. If you use a wizard to create a report and include a column of type BLOB, basic support will be included. Additional information should be added after generation to make the download capability more user friendly.
Consider the following example:IMAGE:EMP:RESUME:EMPNO::RESUME_MIMETYPE:RESUME_FILENAME:RESUME_LAST_UPDATE::attachment:Resume
If you have a report column with a format mask that begins with 'IMAGE:', you will see a link below the format 'BLOB Download Format Mask'. This popup assists in entering all the parameters necessary for the IMAGE format.>
So, I have just done the following.
CREATE TABLE "IMAGE"
"IMAGE_ID" NUMBER NOT NULL ENABLE,
"BINARY" BLOB,
CONSTRAINT "IMAGE_PK" PRIMARY KEY ("IMAGE_ID")
create sequence seq_image start with 1 increment by 1;
CREATE OR REPLACE TRIGGER "BI_IMAGE" BEFORE
INSERT ON IMAGE FOR EACH ROW BEGIN
SELECT seq_image.nextval INTO :NEW.image_id FROM dual;
END;
/Then create a form to upload images. That's successful.
Then create a page with report to display the images.
select image_id, binary
from imagePreview report, just get '[unsupported data type]' displayed for the binary column - which is fine.
So then I go to into the column attributes to specify the BLOB format mask, giving me:
DOWNLOAD:IMAGE:BINARY:IMAGE_ID::MIME_TYPE::::inline:Download
I have tried both the format mask for providing a download link, and displaying the image, both to no avail.
All I get is:
ORA-06502: PL/SQL: numeric or value error: character to number conversion errorAm I missing something?
nb: Yes, I do know about the APEX_UTIL.GET_BLOB_FILE_SRC function, but since the above method is in the documentation, you would think it would work, right?Hi,
Yes, mime type is in the table, and is referenced in the format mask.
OK - I didn't have a filename column, and since it is not a required field for the format mask, I figured I wouldn't need it - Although I gave the example of using the link, I actually just want the image to display, using the technique that is documented - which also produces the same error. Both should work, no?
Even so, i just gave it a try with filename referenced in the format mask, same issue.
Ta,
Trent -
Revision: 13366
Revision: 13366
Author: [email protected]
Date: 2010-01-07 22:15:50 -0800 (Thu, 07 Jan 2010)
Log Message:
Ensuring that AFEFontManager, if it is available, overrides the lookup for embedded fonts for all supported font types, including TTF, when embedding legacy DefineFont3 fonts. BatikFontManager will remain a backup in the event that AFEFontManager is not found though BatikFontManager;s support is limited to TTF for legacy DefineFont3 fonts.
QE notes: Remember that bitmap comparisons could change slightly
Doc notes: N/A
Bugs: N/A
Reviewer: For Gaurav
Tests run: checkintests, QE had run local tests
Is noteworthy for integration: Yes
Modified Paths:
flex/sdk/trunk/frameworks/flex-config.xmlI got again a total system freeze today when I wanted to launch firefox using only the openbox menu, without wbar running.
So I decided to try now the 'nouveau.noaccel=1' kernel command line parameter, and to use again wbar for my frequently used applis.
In the Xorg log, the differences are:
without 'nouveau.noaccel=1'
[ 30.761] (II) UnloadModule: "nv"
[ 30.761] (II) Unloading nv
[ 30.761] (--) Depth 24 pixmap format is 32 bpp
[ 30.762] (II) NOUVEAU(0): Opened GPU channel 0
[ 30.765] (II) NOUVEAU(0): [DRI2] Setup complete
[ 30.765] (II) NOUVEAU(0): [DRI2] DRI driver: nouveau
[ 30.765] (II) NOUVEAU(0): [DRI2] VDPAU driver: nouveau
[ 30.776] (II) EXA(0): Driver allocated offscreen pixmaps
[ 30.777] (II) EXA(0): Driver registered support for the following operations:
[ 30.777] (II) Solid
[ 30.777] (II) Copy
[ 30.777] (II) Composite (RENDER acceleration)
[ 30.777] (II) UploadToScreen
[ 30.777] (II) DownloadFromScreen
[ 30.777] (==) NOUVEAU(0): Backing store disabled
[ 30.777] (==) NOUVEAU(0): Silken mouse enabled
with 'nouveau.noaccel=1'
[ 1191.621] (II) UnloadModule: "nv"
[ 1191.621] (II) Unloading nv
[ 1191.621] (--) Depth 24 pixmap format is 32 bpp
[ 1191.621] (EE) NOUVEAU(0): Error creating GPU channel: -19
[ 1191.621] (EE) NOUVEAU(0): Error initialising acceleration. Falling back to NoAccel
[ 1191.621] (==) NOUVEAU(0): Backing store disabled
[ 1191.621] (==) NOUVEAU(0): Silken mouse enabled
[ 1191.621] (==) NOUVEAU(0): DPMS enabled
So now 3D acceleration is disabled.
I will see now if the system is stable enough for my daily usage and gives satisfactory performances.
I am almost sure that the mesa nouveau dri driver is the cause of the freezes.
Last edited by berbae (2013-03-27 10:07:42) -
Does jdbc support data type ROWID?
Hi,
I've got a column of type ROWID named id in my_tab, I tried to retrieve the values in Java, as follows but fails:
ResultSet rs = conn.getStatement().executeQuery("select id from my_tab");
while (rs.next()) {
java.sql.RowId id = rs.getRowId("id"); //fails, anything wrong here?
the error msg is:
Exception in thread "main" java.lang.AbstractMethodError: oracle.jdbc.driver.OracleResultSetImpl.getRowId(Ljava/lang/String;)Ljava/sql/RowId;
Thank you!
Message was edited by:
user569548
Message was edited by:
user569548Hi,
I've got a column of type ROWID named id in my_tab, I
tried to retrieve the values in Java, as follows but
fails:
ResultSet rs =
conn.getStatement().executeQuery("select id from
my_tab");
while (rs.next()) {
java.sql.RowId id = rs.getRowId("id");
//fails, anything wrong here?
the error msg is:
Exception in thread "main"
java.lang.AbstractMethodError:
oracle.jdbc.driver.OracleResultSetImpl.getRowId(Ljava/
lang/String;)Ljava/sql/RowId;
Thank you!
Message was edited by:
user569548
was edited by:
user569548Thanks for those who have bothered to view this thread. I have googled and struggled and found out that Oracle supports ROWID type by:
(1) ResultSet' method getString() rather than getRowId(), which is weird.
(2) and oracle.sql.ROWID, CF java.sql.RowId. -
Memory Card Manager keeps poping up and stating "failed to locate supported file types or there are no photos on thisw device"
Please advise reason or solution.Hi
I got a similar error: "Failed to locate file types or there are no photos found. I hooked up and external Buffalo hard drive. I moved my iTunes folders. After I moved the files found the correct way to move files to a new drive for iTunes. So I did Edit preference, change F:\iTunes. However after syncing nothing is on my ipod now and I am getting the error "Failed to locate files". Any solutions.
Thanks much. -
Can the G4 MDD support internal 1TB hard drives
Hi all
I want to add more storage to my G4 Mirror Door. Can my G4 MDD support internal 1TB hard drives? Will I need to buy a PCI hard drive controller card?
Thanks
Web dudeCan you use a larger drive (500GB) on the ATA 66 bus as well as the ATA 100? I have a 750GB on the ATA bus, but have gotten conflicting answers from Mac pros regarding the size drive that will work in the ATA 66 bus. I have a
Machine Name: Power Mac G4
Machine Model: PowerMac3,6
CPU Type: PowerPC G4 (2.1)
Number Of CPUs: 2
CPU Speed: 867 MHz
L2 Cache (per CPU): 256 KB
L3 Cache (per CPU): 1 MB
Memory: 1.75 GB
Bus Speed: 133 MHz
Boot ROM Version: 4.4.8f2 -
My HP Support Assistant is downloading driver updates but not installing,
Hello there,
I use HP 15-r046tu Notebook PC, the issue is my HP Support Assistant is downloading driver updates and every single time its failing to install. I even saw earlier posts on this issue and downloaded the latest support assistant and also followed the instructions but yet its not helping to solve the issue. btw i am using windows 8.1.
I would really appreciate if one could help me solve this isuee.
Thank you .Farhnahasnat
Welcome to the HP Community Forum.
Commentary
Depending on the underlying cause of the problem, the HPSA (HP Support Assistant) may never be able to install the updates on your particular system. The problem could be a server problem, it could be the Internet path the data has to take to get to your part of the planet, it might be your Internet provider that, at any particular moment in time, is not cooperating, it is possible that your computer is having RPC issues due to outdated drivers, File System errors --- whatever.
IF you find and fix whatever mystery is causing the root cause of the prlblem, then Voila! The install portion of the program may work.
This wonderful program works for millions of people -- and yet it does not work for many deserving folks who have done nothing wrong and who do not know why it does not work for them.
Make sure your Windows Updates are current.
Create a Restore Point: Create a Restore Point – Win7 OR Create a restore point Win8
Next:
Close all your programs and shut down your computer
Shut down and Switch off any other computers in the network
Switch off any printers on the network
Switch off the Router
Disconnect everything on this computer (little Unifier for the keyboard / external mouse can stay)
Perform the Hard Reset for your notebook model
Switch on the router - wait at least thirty seconds for the router to boot.
Boot the computer and log in
Reminder: Hard Reset is just a device Reset. The procedure does not wipe out your files nor does it destroy your Windows setup in any way. It just "clears the cobwebs". Depending on the cause of the problem, this kind of "reset" can fix a variety of computer glitches.
This exercise is unlikely to fix the problem; it might do so if the problem is minor and related to stuck instructions or minor temporary link or device issues.
Suggested Workaround to the problem
You can use the Patch list provided by HPSA and then open your computer's website to find, download, and install the drivers and software you want to update.
NOTE: Please see the Comments below before you Update your BIOS. Please do not update the BIOS unless it is necessary and your computer is fully backed up beforehand.
Your computer's Support Website:
HP 15-r046tu Notebook PC Drivers
Reference:
Install Software and Drivers from HP Website
=======================================================
Commentary -- BIOS Updates
It is this Expert's opinion that you should not depend on HP Support Assistant when it comes to BIOS updates.
Depending on other factors in the system at the time the HPSA tries to hit your system with an update of this type; the results might be ... other than expected.
You might set HPSA to "Notify" to prevent it from trying to update your BIOS.
ONLY update the BIOS when you see an update in your computer's webpage AND that update can be used to provide a fix for an issue you have discovered in your system. In other words: If your computer is happy, do not update the BIOS just because you think it would be a nice thing to do to it.
If you decide to update your BIOS,
Make sure ALL your backups are current and complete - this means everything you need to restore the system in the event that something goes wrong.
Understand that even when you do everything exactly right, you can end up with a bricked computer, that is, an expensive paper weight.
Make sure you have at least your critical data on some form of external backup.
Disconnect USB drives and any other unnecessary hardware. Keyboard and mouse can stay connected.
Always run in AC power when updating the BIOS, never on the notebook battery
Do not touch the system while the update is in progress
Optional: Leave wireless button ON. You might switch off the router to assure there are no interruptions.
Updating the BIOS
=======================================================
Click the Kudos Thumbs-Up to show you appreciate the help and time from our Experts.
Although I strive to reflect HP's best practices, I do not work for HP.
Click Accept as Solution when the Answer is a good Fix or Workaround!
Kind Regards,
Dragon-Fur -
For the last month or so, every time I download anything I get an error message stating "........could not open ...... .dmg because it is either not a supported file type or because the file has been damaged...." I do not know what to do to fix this issue. Any ideas?
hmmm.... try this
basic troubleshooting:
Repair Disk Permissions http://support.apple.com/kb/PH5821
Repair Disk http://support.apple.com/kb/ht1782
reset ACLs http://osxdaily.com/2011/11/15/repair-user-permissions-in-mac-os-x-lion/ -
I had this problem of not being able to open some files a couple of years ago and eventually was able to fix it but i can't remember how. Any help would be grateful.
The following document should help: Error: Adobe Reader could not open '*.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and was not correctly decoded.)
Please update this thread if your issue is resolved.
Thanks,
Shashi -
Oracle Forms New Features - Your input. Supporting data types
I am interested to know IF we were to support any new database types in Oracle Forms 11g, which types would you like supported and why. I'd also like to know if you are currently working around the absence of a database type.
Please note, this is not any kind of commitment to support new data types in Oracle Forms applications but we are interested to know if there is demand and if so, for what types.
Thanks
Grant Ronald
Oracle Forms Product Management
p.s lets keep the thread focused on the topic so please don't post technical questions or comments about different new features - if you want to, start a new thread - thanksHi Grant,
support for the "new" - well they exists since 9iR1 ... 2001 - data types TIMESTAMP, TIMESTAMP WITH TIME ZONE, TIMESTAMP WITH LOCAL TIME ZONE, INTERVAL YEAR TO MONTH and INTERVAL DAY TO SECOND would be very helpful.
Currently it's not possible to use the Data Block Wizard to create a data block for table/view that contains one of these columns.
(In Forms Builder 10.1.2.3 it fails with a strange error message ... iewbdbc_oracle_to_id ... C:\forms\101220\src\ie\iewbdb.c:724 ...)
So, one has to create the data block and the items manually. The items have to be CHARS.
Then forms is able to fetch and display these columns. The user can edit them as normal.
A WHEN-VALIDATE-ITEM trigger can be used to make sure that the implicit conversion from CHAR to the "new" datatype works.
For example, an INTERVAL YEAR TO MONTH column (b):
declare
l_invalid_interval exception;
pragma exception_init(l_invalid_interval, -1867);
l_invalid_month exception;
pragma exception_init(l_invalid_month, -1843);
l_dummy interval year(9) to month;
begin
l_dummy := to_yminterval(:block2.b);
exception
when l_invalid_interval
then
message('invalid interval');
raise form_trigger_failure;
when l_invalid_month
then
message('invalid month');
raise form_trigger_failure;
when others
then
message(error_text);
raise form_trigger_failure;
end;This nasty trick works for most of the "new" datatypes except with TIMESTAMP WITH TIME ZONE.
In Forms 10.1.2.3 the following WHEN-VALIDATE-ITEM trigger can (incorrectly!) fail:
declare
l_dummy timestamp with time zone;
begin
l_dummy := to_timestamp_tz(:block2.a);
end;It fails with "ORA-01804: failure to initialize timezone information", if the time zone is not like "-11:00", but like "EUROPE/PARIS". Don't know why...
If we recode our trigger to make a round-trip to the database, it works:
declare
l_dummy timestamp with time zone;
begin
select to_timestamp_tz(:block2.a)
into l_dummy
from dual;
end;We could avoid these tricks, if Forms (and Reports) would support these type natively.
Thanks, Michael
PS: The TIMESTAMP and INTERVAL data types should of course be supported as items, parameters, globals and record groups columns.
Edited by: michael76 on 25.10.2010 01:14 -
Store the value in BLOB column data type
Hi All,
I have a file of about 5MB. I want to store this in BLOB column data type of a table.
Can we compress this file to store and when we take uncompress the same...or how do we do it.
and what is the procedure to store this....
pls. help me
Thanks,
NareshHi skud
i juast want to store the agent code to variable.if i did get ur point...
Why don't u just use a simple assign statment for example...
DECLARE
V_VALUE NUMBER;
BEGIN
V_VALUE := LC354 ; -- IF it was a value as LC354 static i mean
-- or u could use any value
V_VALUE := :ur_form_item_name; --- if it was dynamic
END;That's it .
Hope this helps...
Regards,
Ammatu Allah.
Maybe you are looking for
-
How to populate values of field symbols?
HI, I need to pass values into a field-symbol (defined as a dynamic Work Area) and append the values later on into another field-symbol (defined as a dynamic Table) by inserting the work area to the table. The insert statement in the screen shot belo
-
I have the latest iPod software on my 30GB video, but I do not have the radio...I go into settings > main menu > Radio > on but it does not show up in the menu, and I can't access it. I have reset and restored my iPod however it still won't show up.
-
IMovies 3.0.3, Can't 'text edit'. Only 'titles' available.
Can't do a different title for each photo? I'm trying to do a simple slideshow of still photos. I can enter a 'title', but it applies it to all the photos. For an individual photo in 'Title' mode, 'Update' button is gray. Should I update iMovies?
-
Backup OS X Mountain Lion ?
Is there is any way or actually any need to try to keep a copy of OS X 10.8 software? This is the first time I've done an OS upgrade without a disc...so it's a bit different. Is it possible and/or a good idea? BTW it will be from OS X 10.7.5 Lion.
-
Trouble compiling aMSN-CVS (Make Error 77)
I was trying to install aMSN-CVS from the latest AUR package and I keep running into this error: checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for m