We're updating the issue view to help you get more done. 

@GenericGenerator doesn`t honor @Table schema field

Description

@Entity
@Table(name = "CONFIGURACAO", schema = "SEGURANCA")
@GenericGenerator(name = "CONFIGURACAO_SQ",strategy="increment")
public class Configuracao {

@Id
@GeneratedValue(generator = "CONFIGURACAO_SQ")
@Column(name = "ID")
private Long id;

Like above hibernate doens`t honor schema name , generating query like

select max(id) from CONFIGURACAO

instead

select max(id) from SEGURANCA.CONFIGURACAO

Environment

Hibernate 4.2.2 , Oracle 11g 11.2.0.2.0 XE

Status

Assignee

Unassigned

Reporter

Jonatan Lemes

Labels

Components

Affects versions

4.2.2

Priority

Major