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.  [ 1 post ] 
Author Message
 Post subject: Another error using IUserType
PostPosted: Wed Aug 16, 2006 3:18 pm 
Senior
Senior

Joined: Fri Jan 13, 2006 2:50 pm
Posts: 123
Location: Blumenau / SC / Brasil
Hi!

I've alread got an error using my own type (an implementation of IUserType). This error is here: http://forum.hibernate.org/viewtopic.ph ... 4bcf686a70

Now I'm getting the same error but I've done the same to solution, but it stills with the same message: could not interpret type: ....

There is some diferences from the first situation to the secund. Now I'm using NHibernate 1.2.0 Alpha and my namespace is called "Company.DTO" and the assembly is just "DTO". My type is in the namespace Company.DTO.Types, as you can see:

Code:
namespace Company.DTO.Types
{
    public class MyTimeSpan : IUserType
    {
        /// <summary>
        /// Public default constructor
        /// </summary>
        public MyTimeSpan() { } 

   ...


And the hbm.xml is:

Code:
<property column="DOMHORAINICIOPARTE1" type="Company.DTO.Types.MyTimeSpan, Company.DTO.Types" name="Domhorainicioparte1" />


Somebody save-me? :)

Thanks


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

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.