robie projekt z wykorzystaniem Springa i Hibernete. I podczas zapisu do bazy danych (klikniecie przycisku dodaj) wyrzuca mi blad:
type Exception report
message Request processing failed; nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet
description The server encountered an internal error that prevented it from fulfilling this request.
exception
a w konsoli wyrzuca wyjatek:
java.sql.SQLSyntaxErrorException: ORA-02289: sequence does not exist
moja encja:
@Entity
@Table(name="EMPLOYEE")
public class EmployeeEntity
{
@Id
@Column(name="ID")
@GeneratedValue
private Integer id;
@Column(name="FIRSTNAME")
private String firstname;
@Column(name="LASTNAME")
private String lastname;
@Column(name="EMAIL")
private String email;
@Column(name="TELEPHONE")
private String telephone;
o co w tym chodzi? dopiero zaczynam z Hibernatem i nie bardzo wiem w czym problem. Pomozecie?