• Post Reply Bookmark Topic Watch Topic
  • New Topic

not getting data from oracle database when accessed using hibernate application

 
raja reddyy
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to get data from oracle database from following client application




In output i am able to print trasaction object and sql query.
But I am getting empty array list eventhough there are records in the corresponding table

can anybody help?
 
raja reddyy
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I am executing above code , rows in the database getting deleted.

i am no where writing delete statement .I wrote only select statement.

can any help why the above code deleting records from the database
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!