facebook

Hibernate 2.1 composite-id Issues

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #236283 Reply

    jdsrinivas
    Member

    Hi ,

    Iam using hibernate 2.x and myeclipse…When iam trying to create Hibernate mappings for a table with composite of 2 columns using myeclipse’s Database Explorer it is generating 2 persistent classes..and .hbm.xml file is pointing to one of those .hbm.xml file…Can some one tell me why it is generating 2 persistant classes??? When iam trying to query the first persitent class it is giving a SQL Exception saying that No Table or View Exists…

    Any Advice is highly appreciable..

    Thanks In Advance

    JDSrinivas

    #236343 Reply

    Riyad Kalla
    Member

    JDSrinivas,
    In cases like this it helps to provide your table schema, then the source for the hbm.xml files and then the java source. Also please use the Code button below to wrap your code blocks so they maintain formatting.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Hibernate 2.1 composite-id Issues

You must be logged in to post in the forum log in