Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Emily Diaz   on Jun 16 In Java Category.

  
Question Answered By: Olga Allen   on Jun 16

First of all your deletion approach is important.
I mean most of the time deletion is based on PK because indexing is based on that. there is a simple solution for this, as:
Artists artist = (Artists) session.get (Artists.class, PK);
session.delete(artist);

Although I don't suggest this but, all you have to do now, is to retrieve the PK of the record whose NickName
= 'ee';
Can u do that?

The better approach would be a revision in deletion which we'll talk if interested.

Share: 

 

This Question has 2 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on delete sttement in hql Or get search suggestion and latest updates.


Tagged: