• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

java.sql.SQLException: ORA-01733: virtual column not allowed here

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,

I am doing a select and then update on the resultset.
But I am getting the following exception.



Steps followed

getConnection();
create PrepareStatement.
Set teh values for querying.
executeQuery and get ResultSet

Update teh values in teh ResultSet.

Call updateRow of the ResultSet.


But this says virtual column not allowed here.

I have no clue. I am badly dependent on select and update.

Thanks in advance for your help.

Dhamo.
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did you even try Google?

ORA-01733:
virtual column not allowed here
Cause:
An attempt was made to use an INSERT, UPDATE, or DELETE statement on an expression in a view.
Action:
INSERT, UPDATE, or DELETE data in the base tables, instead of the view.
[ September 09, 2005: Message edited by: David O'Meara ]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic