-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Missing Entity in Console Cofiguration
PostPosted: Sat May 26, 2007 4:43 pm 
Beginner
Beginner

Joined: Sat Jul 29, 2006 12:29 am
Posts: 27
Hi,

Does someone have problems with classes at Hibernate Console?

I've been using JBossIDE 2.0.0beta2 and Hibernate Tools 3.2.0beta9a and trying to get an Entity Model with 3 classes.

Code:
@MappedSuperclass
public class Father{
   
   @OneToOne
   Pojo pojo;

}


Code:
@Entity
@Table(name = "Son")
public class Son extends Father{

   @Id
   int id;
   
   int test;
   
}


Code:
@Entity
@Table(name = "Pojo")
public class Pojo {

   @Id
   int id;
   
}




First Scenario - classes at the same package

Three classes at the same package (auction.model)

It shows Son and Pojo as valid Classes. Works fine.


Second Scenario - Son apart

Son at package auction.model (project1)
Father at package another.model (project2)
Pojo at package another.model (project2)

Added project1/buid to Project2 classpath at Hibernate Console Cofiguration.

It shows only Pojo as a valid class. Where is Son?

Am I doing somethin wrong?

Thanks in advance.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 27, 2007 10:20 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
sounds like a bug.

submit it to jira. Adding a zip file with the minimal content of the two projects linked together with a console configuration would be great.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 27, 2007 6:57 pm 
Beginner
Beginner

Joined: Sat Jul 29, 2006 12:29 am
Posts: 27
max wrote:
sounds like a bug.

submit it to jira. Adding a zip file with the minimal content of the two projects linked together with a console configuration would be great.


Opened.

http://opensource.atlassian.com/project ... se/HBX-944


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.