Como mapear o Spring usando Hibernate Annotation?

1 resposta
MrDataFlex

Sendo que, usando hibernate com xml, ficaria assim:

<property name="mappingResources"> <value> br/edu/cefetpb/Curso.hbm.xml, br/edu/cefetpb/Disciplina.hbm.xml, br/edu/cefetpb/Turma.hbm.xml, br/edu/cefetpb/Pessoa.hbm.xml, br/edu/cefetpb/Aluno.hbm.xml, br/edu/cefetpb/Professor.hbm.xml, br/edu/cefetpb/Endereco.hbm.xml </value> </property>

Valeu!

1 Resposta

Javabuntu

http://static.springframework.org/spring/docs/2.0.x/reference/orm.html#orm-jpa

Criado 14 de abril de 2008
Ultima resposta 14 de abr. de 2008
Respostas 1
Participantes 2