File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Null is passed as junk char when calling oracle stored procedure from java jdbc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Null is passed as junk char when calling oracle stored procedure from java jdbc" Watch "Null is passed as junk char when calling oracle stored procedure from java jdbc" New topic
Author

Null is passed as junk char when calling oracle stored procedure from java jdbc

DeepakN kumar
Greenhorn

Joined: Apr 14, 2012
Posts: 27
I have an issue when a stored procedure of oracle is called using the org.springframework.jdbc.object.StoredProcedure. The issue is that when the input parameter is passed as NULL then at the stored procedure side, it is recieved as junk character. Oracle version is 10g and running on sun solaris machine. Also i am using oracle thin driver. Please let me know what could be the issue.

regards,
Deepak.
 
 
subject: Null is passed as junk char when calling oracle stored procedure from java jdbc