hi all

    i am new here and  i  want  to contribute to hibernate so i
started with simple bug (Hibernate ignores 'schema' attribute of
@SequenceGenerator for Oracle sequences HHH-7232)
(https://hibernate.onjira.com/browse/HHH-7232) , after i checked the
code i found out  that when hibenate try to parse @SequenceGenerator
annotation of Entity class it checks (USE_NEW_ID_GENERATOR_MAPPINGS )
constatnt @[org.hibernate.cfg.AvailableSettings.java] which will be
false  all the time so hibernate will not read the sequence schema .
  so what is the best way to solve this problem



  - Change USE_NEW_ID_GENERATOR_MAPPINGS value (could make problem
with backward compatibility)

 - create new constant

- check @sequenceGenerator and get schema name  (if schema is present
get schema name else schema name will be null )

- any suggestion

thank you
_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to