@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

Fix versions

None

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

4.2.2

Priority

Major
Configure