473,391 Members | 1,489 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,391 software developers and data experts.

postgresql error trying to bring documnet as a null

2 2Bits
Trying to change the docname to bring back a blank i instead get a resultSet error:
Java Side;
String filepath = foldername.trim() +"templates/" + control.getCoreports() + docname1 + ".docx";

String outpath = foldername.trim() +"merged/"+ docname1 + ".docx";

postgresql part

update test.coltran set docstored = l_uuid_32, docname1 = p_filnam where bilbatchno = l_bilbatchno;

INSERT into test.table
(id, data, name)
VALUES
(l_uuid_32, pg_read_binary_file(p_filnam), p_filnam);
end if;

now if this file is null it gives a result list error
Feb 12 '21 #1
1 1829
Banfa
9,065 Expert Mod 8TB
You have setup your table to allow NULLs in that/those columns haven't you?

What is your table structure?
Feb 12 '21 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Dan Roberts | last post by:
I am running some off-the-shelf software that is written in ASP, which uses JScript to generate dynamic content within HTML forms. There are several ASP pages which are partially rendering to IE,...
1
by: Christopher.Becker | last post by:
When I'm running my app, I occaisonally receive this error message: PostgreSQL Error Code(1) "could not create socket: An address incompatible with the requested protocol was used" It appears...
1
by: David C. allen | last post by:
I have created a simple Client-side SOAP Extension for a webclass that I have. When I apply the extension attribute to the the calling function in the proxy class I get an error 'Value cannot be...
0
by: Janning Vygen | last post by:
Hi, i have a question about how to handle postgresql constraint errors in the client app. I found some mails in the archive about it, too. But i have still so many questions about how to do it,...
0
by: John Pawlicki | last post by:
I did a new install of SuSE 9.1 and had SuSE do the install via it's rpm packages install postgresql 7.4.2. I did a pg_dump prior to this and a restore after the new install. The database is fine....
8
by: ananjy | last post by:
Hi when i m trying to execute my ajax code using a link to display datas from another page named second.php., i got an error when the page loads in "ie"., which runs perfectly in firefox., here...
3
by: DanSandbergUCONN | last post by:
I'm on a MacBook running mac osx 10.4.11, I have Xcode, gnu, and I'm using the terminal command: g++ -o helloworld helloworld.c I get the error: g++: error trying to exec 'cc1plus': execvp: No...
0
by: utpont | last post by:
error value cannot be null. parameter name: s I get this error when trying to get onto a website using vista ie 7 the website is a flash website but opens only with that error is there a setting...
1
by: hungryppaint | last post by:
When you try to open the file .doc (with a finished thesis!!!) crawls this message: Word experienced an error trying to open the file. Try the following steps. * Check the access permissions...
1
by: gadolinium | last post by:
When you try to open the file in Word 2007/2010 I get the error message Word experienced an Error trying to open the file. Try the following steps., and the file fails to open properly. How to solve...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.