Erro Hibernate, Por favor me ajudem!

Pessoal é o seguinte recentemente comecei um projeto com as seguintes tecnologias JSF - Hibernate 3 - GlassFish - Mysql , mais estou tendo muito problema nas persistências dos dados.
Utilizei o plugin de Engenharia Reversa do NetBeans pra criar os arquivos de configuração e pojos da aplicação. Logo precisei fazer umas alteração nas estruturas dos pojos, que no caso são EnumTypes que geram o seguinte erro “Exception in thread “main” java.lang.IllegalArgumentException: Unknown name value for enum class br.com.aj2.enumTypes.Sexo: 0” durante a persistência. Por favor me ajudem ja procurei em todos os lugares e nada. segue meus códigos

EnumTypes:

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.aj2.enumTypes;

import java.io.Serializable;

/**
 *
 * @author macbird
 */
public enum TipoPessoa {
    
    FISICA("Física"),
    JURIDICA("Jurídica");
    private String descricao;
    
    TipoPessoa(String descricao){
        this.descricao = descricao;
    }
    
    public String getDescricao(){
        return this.descricao;
    }
    
}
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.aj2.enumTypes;

import java.io.Serializable;

/**
 *
 * @author macbird
 */
public enum Sexo {
    
    MASCULINO("Masculino"),
    FEMININO("Feminino");
    private String descricao;
    
    Sexo(String descricao){
        this.descricao = descricao;
    }
    
    public String getDescricao(){
        return this.descricao;
    }
    
}

Entidade Cliente

package br.com.aj2.entidades;
// Generated 21/01/2013 13:06:54 by Hibernate Tools 3.2.1.GA


import br.com.aj2.enumTypes.Sexo;
import br.com.aj2.enumTypes.TipoPessoa;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * Cliente generated by hbm2java
 */
@Entity
@Table(name="cliente"
    ,catalog="smms"
)
public class Cliente  implements java.io.Serializable {


     private Integer id;
     private Endereco endereco;
     private Contato contato;
     private String nome;
     private String cpfCnpj;
     private String rgIe;
//     private String tipoPessoa;
     private TipoPessoa tipoPessoa;
     private Date dataCriacao;
//     private String sexo;
     private Sexo sexo;
     private Set<Os> oses = new HashSet<Os>(0);

    public Cliente() {
    }

	
    public Cliente(String nome) {
        this.nome = nome;
    }
    public Cliente(Endereco endereco, Contato contato, String nome, String cpfCnpj, String rgIe, TipoPessoa tipoPessoa, Date dataCriacao, Sexo sexo, Set<Os> oses) {
//    public Cliente(Endereco endereco, Contato contato, String nome, String cpfCnpj, String rgIe, String tipoPessoa, Date dataCriacao, String sexo, Set<Os> oses) {
       this.endereco = endereco;
       this.contato = contato;
       this.nome = nome;
       this.cpfCnpj = cpfCnpj;
       this.rgIe = rgIe;
       this.tipoPessoa = tipoPessoa;
       this.dataCriacao = dataCriacao;
       this.sexo = sexo;
       this.oses = oses;
    }
   
     @Id @GeneratedValue(strategy=IDENTITY)
    
    @Column(name="id", unique=true, nullable=false)
    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }
@ManyToOne(fetch=FetchType.LAZY)
    @JoinColumn(name="endereco_id")
    public Endereco getEndereco() {
        return this.endereco;
    }
    
    public void setEndereco(Endereco endereco) {
        this.endereco = endereco;
    }
@ManyToOne(fetch=FetchType.LAZY)
    @JoinColumn(name="contato_id")
    public Contato getContato() {
        return this.contato;
    }
    
    public void setContato(Contato contato) {
        this.contato = contato;
    }
    
    @Column(name="nome", nullable=false, length=100)
    public String getNome() {
        return this.nome;
    }
    
    public void setNome(String nome) {
        this.nome = nome;
    }
    
    @Column(name="cpf_cnpj", length=45)
    public String getCpfCnpj() {
        return this.cpfCnpj;
    }
    
    public void setCpfCnpj(String cpfCnpj) {
        this.cpfCnpj = cpfCnpj;
    }
    
    @Column(name="rg_ie", length=45)
    public String getRgIe() {
        return this.rgIe;
    }
    
    public void setRgIe(String rgIe) {
        this.rgIe = rgIe;
    }
    
    @Column(name="tipo_pessoa", length=10)
    @Enumerated(EnumType.STRING)
    public TipoPessoa getTipoPessoa() {
        return this.tipoPessoa;
    }
    
    public void setTipoPessoa(TipoPessoa tipoPessoa) {
        this.tipoPessoa = tipoPessoa;
    }
    
//    @Column(name="tipo_pessoa", length=10)
//    
//    public String getTipoPessoa() {
//        return this.tipoPessoa;
//    }
//    
//    public void setTipoPessoa(String tipoPessoa) {
//        this.tipoPessoa = tipoPessoa;
//    }

    
    @Temporal(TemporalType.DATE)
    @Column(name="data_criacao", length=10)
    public Date getDataCriacao() {
        return this.dataCriacao;
    }
    
    public void setDataCriacao(Date dataCriacao) {
        this.dataCriacao = dataCriacao;
    }
    
//    @Column(name="sexo", length=10)
////    @Enumerated(EnumType.STRING)
//    public String getSexo() {
//        return this.sexo;
//    }
//    
//    public void setSexo(String sexo) {
//        this.sexo = sexo;
//    }
    
    @Column(name="sexo", length=10)
    @Enumerated(EnumType.STRING)
    public Sexo getSexo() {
        return this.sexo;
    }
    
    public void setSexo(Sexo sexo) {
        this.sexo = sexo;
    }
    
    @OneToMany(cascade=CascadeType.ALL, fetch=FetchType.LAZY, mappedBy="cliente")
    public Set<Os> getOses() {
        return this.oses;
    }
    
    public void setOses(Set<Os> oses) {
        this.oses = oses;
    }




}

e a classe que uso pra fazer os teste


import br.com.aj2.entidades.Cliente;
import br.com.aj2.util.HibernateUtil;
import java.io.Serializable;
import java.util.List;
import javax.transaction.Transaction;
import org.hibernate.Session;

/**
 *
 * @author macbird
 */
public class testeHibernate {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        Session session = HibernateUtil.getSession();
        List<Cliente> cliente = session.createCriteria(Cliente.class).list();
        
        for(Cliente c:cliente){
            System.out.println("Nome:"+c.getNome());
        }
        
//        Cliente cli = new Cliente();
//        org.hibernate.Transaction tx =  session.beginTransaction();
//        
//        cli.setNome("Jaime mendonca");
//        cli.setCpfCnpj("345235435234632");
//        cli.setRgIe("23452345234");
//        cli.setDataCriacao(null);
//        cli.setSexo(Sexo.M);
//        cli.setTipoPessoa(TipoPessoa.FISICA);
//
//        
//        session.save(cli);
//        tx.commit();
        session.close();
    }
}

e por ultimo o erro por completo

run:
Jan 21, 2013 2:33:36 PM org.hibernate.cfg.annotations.Version
INFO: Hibernate Annotations 3.3.1.GA
Jan 21, 2013 2:33:36 PM org.hibernate.cfg.Environment
INFO: Hibernate 3.2.5
Jan 21, 2013 2:33:36 PM org.hibernate.cfg.Environment
INFO: loaded properties from resource hibernate.properties: {hibernate.connection.autocommit=false, hibernate.connection.driver_class=com.mysql.jdbc.Driver, hibernate.current_session_context_class=org.hibernate.context.ManagedSessionContext, hibernate.dialect=org.hibernate.dialect.MySQLDialect, hibernate.format_sql=true, hibernate.connection.username=root, hibernate.hbm2ddl.auto=update, hibernate.connection.url=jdbc:mysql://localhost:3306/smms, hibernate.connection.password=, hibernate.bytecode.use_reflection_optimizer=false, hibernate.show_sql=true}
Jan 21, 2013 2:33:36 PM org.hibernate.cfg.Environment buildBytecodeProvider
INFO: Bytecode provider name : cglib
Jan 21, 2013 2:33:36 PM org.hibernate.cfg.Environment
INFO: using JDK 1.4 java.sql.Timestamp handling
Jan 21, 2013 2:33:36 PM org.hibernate.cfg.Configuration configure
INFO: configuring from resource: /hibernate.cfg.xml
Jan 21, 2013 2:33:36 PM org.hibernate.cfg.Configuration getConfigurationInputStream
INFO: Configuration resource: /hibernate.cfg.xml
Jan 21, 2013 2:33:36 PM org.hibernate.cfg.Configuration doConfigure
INFO: Configured SessionFactory: null
Jan 21, 2013 2:33:37 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: br.com.aj2.entidades.Cliente
Jan 21, 2013 2:33:37 PM org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity br.com.aj2.entidades.Cliente on table cliente
Jan 21, 2013 2:33:37 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: br.com.aj2.entidades.Os
Jan 21, 2013 2:33:37 PM org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity br.com.aj2.entidades.Os on table os
Jan 21, 2013 2:33:37 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: br.com.aj2.entidades.Servicos
Jan 21, 2013 2:33:37 PM org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity br.com.aj2.entidades.Servicos on table servicos
Jan 21, 2013 2:33:37 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: br.com.aj2.entidades.Agenda
Jan 21, 2013 2:33:37 PM org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity br.com.aj2.entidades.Agenda on table agenda
Jan 21, 2013 2:33:37 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: br.com.aj2.entidades.Contato
Jan 21, 2013 2:33:37 PM org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity br.com.aj2.entidades.Contato on table contato
Jan 21, 2013 2:33:37 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: br.com.aj2.entidades.Endereco
Jan 21, 2013 2:33:37 PM org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity br.com.aj2.entidades.Endereco on table endereco
Jan 21, 2013 2:33:37 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: br.com.aj2.entidades.Usuario
Jan 21, 2013 2:33:37 PM org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity br.com.aj2.entidades.Usuario on table usuario
Jan 21, 2013 2:33:37 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: br.com.aj2.entidades.Produtor
Jan 21, 2013 2:33:37 PM org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity br.com.aj2.entidades.Produtor on table produtor
Jan 21, 2013 2:33:37 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: br.com.aj2.entidades.ItensOs
Jan 21, 2013 2:33:37 PM org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity br.com.aj2.entidades.ItensOs on table itens_os
Jan 21, 2013 2:33:37 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
INFO: Mapping collection: br.com.aj2.entidades.Cliente.oses -> os
Jan 21, 2013 2:33:37 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
INFO: Mapping collection: br.com.aj2.entidades.Os.itensOses -> itens_os
Jan 21, 2013 2:33:37 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
INFO: Mapping collection: br.com.aj2.entidades.Servicos.itensOses -> itens_os
Jan 21, 2013 2:33:37 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
INFO: Mapping collection: br.com.aj2.entidades.Contato.clientes -> cliente
Jan 21, 2013 2:33:37 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
INFO: Mapping collection: br.com.aj2.entidades.Contato.produtors -> produtor
Jan 21, 2013 2:33:37 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
INFO: Mapping collection: br.com.aj2.entidades.Endereco.clientes -> cliente
Jan 21, 2013 2:33:37 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
INFO: Mapping collection: br.com.aj2.entidades.Endereco.produtors -> produtor
Jan 21, 2013 2:33:37 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
INFO: Mapping collection: br.com.aj2.entidades.Produtor.oses -> os
Jan 21, 2013 2:33:37 PM org.hibernate.cfg.AnnotationConfiguration secondPassCompile
INFO: Hibernate Validator not found: ignoring
Jan 21, 2013 2:33:37 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Using Hibernate built-in connection pool (not for production use!)
Jan 21, 2013 2:33:37 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Hibernate connection pool size: 20
Jan 21, 2013 2:33:37 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: autocommit mode: false
Jan 21, 2013 2:33:38 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost:3306/smms
Jan 21, 2013 2:33:38 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: connection properties: {user=root, password=
, autocommit=false}
Jan 21, 2013 2:33:38 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: RDBMS: MySQL, version: 5.5.28-0ubuntu0.12.04.3
Jan 21, 2013 2:33:38 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.1.13 ( Revision: ${bzr.revision-id} )
Jan 21, 2013 2:33:38 PM org.hibernate.dialect.Dialect
INFO: Using dialect: org.hibernate.dialect.MySQLDialect
Jan 21, 2013 2:33:38 PM org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
INFO: Using default transaction strategy (direct JDBC transactions)
Jan 21, 2013 2:33:38 PM org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
INFO: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
Jan 21, 2013 2:33:38 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic flush during beforeCompletion(): disabled
Jan 21, 2013 2:33:38 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic session close at end of transaction: disabled
Jan 21, 2013 2:33:38 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC batch size: 15
Jan 21, 2013 2:33:38 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC batch updates for versioned data: disabled
Jan 21, 2013 2:33:38 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Scrollable result sets: enabled
Jan 21, 2013 2:33:38 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC3 getGeneratedKeys(): enabled
Jan 21, 2013 2:33:38 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Connection release mode: auto
Jan 21, 2013 2:33:38 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Maximum outer join fetch depth: 2
Jan 21, 2013 2:33:38 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default batch fetch size: 1
Jan 21, 2013 2:33:38 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Generate SQL with comments: disabled
Jan 21, 2013 2:33:38 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Order SQL updates by primary key: disabled
Jan 21, 2013 2:33:38 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Order SQL inserts for batching: disabled
Jan 21, 2013 2:33:38 PM org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
Jan 21, 2013 2:33:38 PM org.hibernate.hql.ast.ASTQueryTranslatorFactory
INFO: Using ASTQueryTranslatorFactory
Jan 21, 2013 2:33:38 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query language substitutions: {}
Jan 21, 2013 2:33:38 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JPA-QL strict compliance: disabled
Jan 21, 2013 2:33:38 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Second-level cache: enabled
Jan 21, 2013 2:33:38 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query cache: disabled
Jan 21, 2013 2:33:38 PM org.hibernate.cfg.SettingsFactory createCacheProvider
INFO: Cache provider: org.hibernate.cache.NoCacheProvider
Jan 21, 2013 2:33:38 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Optimize cache for minimal puts: disabled
Jan 21, 2013 2:33:38 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Structured second-level cache entries: disabled
Jan 21, 2013 2:33:38 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Echoing all SQL to stdout
Jan 21, 2013 2:33:38 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Statistics: disabled
Jan 21, 2013 2:33:38 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Deleted entity synthetic identifier rollback: disabled
Jan 21, 2013 2:33:38 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default entity-mode: pojo
Jan 21, 2013 2:33:38 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Named query checking : enabled
Jan 21, 2013 2:33:38 PM org.hibernate.impl.SessionFactoryImpl
INFO: building session factory
Jan 21, 2013 2:33:39 PM org.hibernate.impl.SessionFactoryObjectFactory addInstance
INFO: Not binding factory to JNDI, no JNDI name configured
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.SchemaUpdate execute
INFO: Running hbm2ddl schema update
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.SchemaUpdate execute
INFO: fetching database metadata
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.SchemaUpdate execute
INFO: updating schema
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: table found: smms.agenda
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: columns: [id, hora, data, evento, arquivo, descricao]
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: foreign keys: []
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: indexes: [primary]
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: table found: smms.cliente
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: columns: [id, endereco_id, tipo_pessoa, rg_ie, cpf_cnpj, data_criacao, sexo, nome, contato_id]
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: foreign keys: [fk_cliente_endereco, fk_cliente_contato, fk334b85fa36bf873, fk334b85fab0c42141]
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: indexes: [fk_cliente_endereco, primary, fk334b85fa36bf873, fk_cliente_contato, fk334b85fab0c42141]
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: table found: smms.contato
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: columns: [id, fax, email, facebook, telefone, celular, skype]
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: foreign keys: []
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: indexes: [primary]
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: table found: smms.endereco
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: columns: [id, cidade, bairro, cep, uf, endereco, numero]
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: foreign keys: []
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: indexes: [primary]
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: table found: smms.itens_os
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: columns: [desconto, quantidade, valor, os_id, servicos_id, adicionais]
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: foreign keys: [fk464b8a444c93c961, fk_itens_os_servico, fk_itens_os_os, fk464b8a443bb90a1]
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: indexes: [fk464b8a444c93c961, fk_itens_os_servico, fk_itens_os_os, primary, fk464b8a443bb90a1]
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: table found: smms.os
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: columns: [id, data_venciemento, produtor_id, cliente_id, status, data_atendimento, data_conclusao]
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: foreign keys: [fk_os_produtor, fk_os_cliente, fkde4367a2673, fkde4f4c1af41]
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: indexes: [fk_os_produtor, fk_os_cliente, primary, fkde4367a2673, fkde4f4c1af41]
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: table found: smms.produtor
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: columns: [id, endereco_id, salario, rg_ie, cpf_cnpj, tipo_pessoa, data_criacao, sexo, nome, valor_comissao, contato_id]
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: foreign keys: [fkc42c1099b0c42141, fk_produtor_endereco, fk_produtor_contato, fkc42c109936bf873]
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: indexes: [fkc42c1099b0c42141, primary, fk_produtor_endereco, fk_produtor_contato, fkc42c109936bf873]
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: table found: smms.servicos
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: columns: [servico, valor, id_servicos]
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: foreign keys: []
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: indexes: [primary]
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: table found: smms.usuario
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: columns: [id, nome, senha, nivel]
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: foreign keys: []
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.TableMetadata
INFO: indexes: [primary]
Jan 21, 2013 2:33:39 PM org.hibernate.tool.hbm2ddl.SchemaUpdate execute
INFO: schema update complete
Hibernate:
select
this_.id as id0_0_,
this_.contato_id as contato8_0_0_,
this_.cpf_cnpj as cpf2_0_0_,
this_.data_criacao as data3_0_0_,
this_.endereco_id as endereco9_0_0_,
this_.nome as nome0_0_,
this_.rg_ie as rg5_0_0_,
this_.sexo as sexo0_0_,
this_.tipo_pessoa as tipo7_0_0_
from
smms.cliente this_
Exception in thread “main” java.lang.IllegalArgumentException: Unknown name value for enum class br.com.aj2.enumTypes.Sexo: 0
Java Result: 1
CONSTRUÍDO COM SUCESSO (tempo total: 8 segundos)
at org.hibernate.type.EnumType.nullSafeGet(EnumType.java:103)

vc tem duas opções: remover o @Enumerated(EnumType.STRING) ou

se vc qr deixar o @Enumerated(EnumType.STRING) vc terá que alterar todos os registro do banco! onde está “0” vai ficar MASCULINO e onde está “1” vai ficar FEMININO

No banco de dados provavelmento esta um numero (neste caso o 0 zero)
Na sua anotação vc informa que quer utilizar o texto do enum (@Enumerated(EnumType.STRING) )

Sendo assim o hibernate tenta buscar uma enumeração cujo name é 0;

Obrigado pessoal, apaguei os dados no bando de dados e funcionou perfeitamente, agradeço a todos vocês…

mac edita o teu tópico para [RESOLVIDO].