-->
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: Can the 'version' be implemente as a component?
PostPosted: Mon Jan 31, 2005 1:56 pm 
Newbie

Joined: Sun Jan 02, 2005 10:17 pm
Posts: 13
Hibernate version: 2.1.7

Mapping documents: none

Code between sessionFactory.openSession() and session.close(): none

Full stack trace of any exception that occurs: none

Name and version of the database you are using: can't tell

The generated SQL (show_sql=true): none

Debug level Hibernate log excerpt: none

Hi,

It is possible to implement the 'version' as a component instead of an integer? That is, if I have a bean with the integer version, along with other attributes, will Hibernate use the version integer inside the component correctly?

I've looked at the mapping DTD and it seems like the 'version' has to be an integer and cannot be a component. I just wanted to verify if this is correct.

Thanks!
Irene


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 31, 2005 5:29 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Nope, its no t possible, sorry.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 31, 2005 10:02 pm 
Newbie

Joined: Sun Jan 02, 2005 10:17 pm
Posts: 13
Thanks for answering the question, Gavin.


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:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.