Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #38520 All Revisions ] Back to Issue ]
Summary 0038520: Deprecate OBDal.registerSQLFunction
Revision 2018-05-18 11:27 by caristu
Description The OBDal.registerSQLFunction allows to register SQL functions at runtime in order to make them available in HQL queries.

In the latest Hibernate releases this is no longer possible, and it is only possible to register such functions when Hibernate is being set up (See[1] and [2])

Therefore this method should be deprecated in order to avoid its usage and an alternative mechanism must be provided. This new mechanism should allow to register the SQL functions when Dal is being initialized.

For additional information, see here[3]

[1] https://discourse.hibernate.org/t/hibernate-5-3-register-sql-functions-at-runtime/590 [^]
[2] https://github.com/hibernate/hibernate-orm/commit/52589379e1a93c372a323a9334d12b2f31dc0a7a [^]
[3] http://wiki.openbravo.com/wiki/Projects:Register_SQL_Functions [^]
Revision 2018-05-16 11:32 by caristu
Description The OBDal.registerSQLFunction allows to register SQL functions at runtime in order to make them available in HQL queries.

In the latest Hibernate releases this is no longer possible, and it is only possible to register such functions when Hibernate is being set up. See[1] and [2] for additional information.

Therefore this method should be deprecated in order to avoid its usage and an alternative mechanism must be provided. This new mechanism should allow to register the SQL functions when Dal is being initialized.

[1] https://discourse.hibernate.org/t/hibernate-5-3-register-sql-functions-at-runtime/590 [^]
[2] https://github.com/hibernate/hibernate-orm/commit/52589379e1a93c372a323a9334d12b2f31dc0a7a [^]


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker