SQLSyntaxErrorException: Unknown column <columnName> in field list

@ Table(name = “cluster”, schema = “schema1”)
@ SecondaryTable(name = “Cluster”, schema = “schema2”, pkJoinColumns = @ PrimaryKeyJoinColumn(name = “clusterId”, referencedColumnName = “objid”))
@ org.hibernate.annotations.Table(appliesTo = “Cluster”, optional = false)
@ Entity
@ OptimisticLocking(type = OptimisticLockType.DIRTY)
@ DynamicUpdate
public class Cluster implements Serializable {

DebugListCriteria PrimaryAndSecondaryTables

My expectation was schema name would come for primary table as well as secondary table.
Schema name is not taken into consideration from table annotation.
Can you please let me know if my expectation is proper ?

Earlier similar issue was seen for Secondary table.
https://discourse.hibernate.org/t/duplicatesecondarytableexception-table-with-that-name-cluster-already-associated-with-entity/364

I am able to replicate it with test case. Do you feel it is burt ?