I have a primary key with composite-id. I need to get a value in a Oracle Sequence. See the primary key that I need, but xdoclet raise a Exception when try generate xml descriptors. :(
Code:
public class PedidoPK implements Serializable {
   
   private long idPedido;
   private int idOrigem;
   
   /**
    * @hibernate.property column="CD_PEDIDO"
    * @hibernate.generator-param name="sequence" value="SQ_CD_PEDIDO"
    */ 
   public long getIdPedido() {
      return idPedido;
   }
   
   public void setIdPedido(long idPedido) {
      this.idPedido = idPedido;
   }
[]s, Welington B. Souza