Hello everybody,
I've got a common problem in my inheritance model :

public class Entity
{
        private Long id;

        /*
        * @hibernate.id
        *   column="id"
        *   type="java.lang.Long"
        *   generator-class="sequence"
        *
        * @hibernate.generator-param
        *   name="sequence"
        *   value="XXX_id_seq"
        */
        public Long getId()
        {
                return id;
        }
...
}

public class Animal extends Entity
{
        private String name;

        ...
}

My problem is :
How can I customize in my class Animal the name of the sequence as I want
"animal_id_seq" ?
It drives me crazy !!
Any help appreciated.

Richard.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to