Subject | Re: [Firebird-Java] JPA, Hibernate and Firebird |
---|---|
Author | Marcelo Siqueira |
Post date | 2007-12-08T06:35:08Z |
Hi Serge,
me. But when JPA tries to create the sequence table, it issues the command:
CREATE TABLE sequence (
id_name VARCHAR(50) NOT NULL,
id_seq NUMBER(19),
PRIMARY KEY (id_name)
)
And an error happens because Firebird has no "NUMBER" type.
Marcelo
> You don't need to use TABLE. This can help:I wish I could use that and let JPA automatically create the tables for
>
> @Id @GeneratedValue(strategy = GenerationType.AUTO)
> Integer id;
me. But when JPA tries to create the sequence table, it issues the command:
CREATE TABLE sequence (
id_name VARCHAR(50) NOT NULL,
id_seq NUMBER(19),
PRIMARY KEY (id_name)
)
And an error happens because Firebird has no "NUMBER" type.
Marcelo