Can anyone explain me this??


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Can anyone explain me this??

Hybrid View

  1. #1
    Join Date
    Feb 2007
    Posts
    4

    Post Can anyone explain me this??

    I use Jrun4 app server. I am creating a row in the database using entity beans. The child table record is created using DAO. Both the operations are happening in the same transaction. When i start the server n do the above operation i get parent key not exists exception while inserting the child. But when i repeat the same operation there is no such exception. Also when i restart the server n do the same operation i again get the same exception. what would be the problem??

  2. #2
    Join Date
    Feb 2007
    Posts
    1

    Smile

    we use this keyword when globle variable and local variable both name same.

    e.g
    this.emp=emp;
    this.sal=sal;

Similar Threads

  1. Replies: 1
    Last Post: 12-20-2006, 07:24 AM
  2. please explain where is problem
    By anshita in forum Java
    Replies: 0
    Last Post: 04-14-2006, 02:26 AM
  3. Please Explain
    By sirama in forum C++
    Replies: 3
    Last Post: 03-23-2006, 07:46 AM
  4. DB2 Visual Explain
    By jim pias in forum Database
    Replies: 0
    Last Post: 03-11-2003, 05:26 PM
  5. Explain Plan does not provide output
    By shafiq in forum Database
    Replies: 3
    Last Post: 03-31-2002, 12:22 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center