-->
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.  [ 2 posts ] 
Author Message
 Post subject: Class not generated for Table
PostPosted: Mon Mar 10, 2008 6:46 pm 
Newbie

Joined: Mon Sep 24, 2007 2:55 pm
Posts: 13
Hibernate version: Tools 3.2.0

Name and version of the database you are using: MS SQL Server 2005 Express Edition

When generating the classes for the tables I noticed that at least one was missing.
This table only contains a compound primary key and no additions column.
As soon as I add a column the class for this table gets generated.

Is it the expected behavior that no class is generated for tables containing only the primary key? I don't see any reason for not generating the class as this is a legal table layout.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 11, 2008 3:19 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
put a test case in jira and look at it..

_________________
Max
Don't forget to rate


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.