HHH-12961 Update HANA dialects Javadoc

- Fix the links
- Add some more information
This commit is contained in:
Jonathan Bregler 2018-09-07 10:39:43 +02:00 committed by Guillaume Smet
parent 90b71f6895
commit d8be295740
3 changed files with 28 additions and 7 deletions

View File

@ -102,11 +102,18 @@ import org.hibernate.type.descriptor.sql.SqlTypeDescriptor;
import org.hibernate.type.descriptor.sql.VarcharTypeDescriptor; import org.hibernate.type.descriptor.sql.VarcharTypeDescriptor;
/** /**
* An abstract base class for HANA dialects. <br/> * An abstract base class for SAP HANA dialects.
* <a href="http://help.sap.com/hana/html/sqlmain.html">SAP HANA Reference</a> <br/> * <p>
* NOTE: This dialect is currently configured to create foreign keys with <code>on update cascade</code>. * For more information on interacting with the SAP HANA database, refer to the
* <a href="https://help.sap.com/viewer/4fe29514fd584807ac9f2a04f6754767/">SAP HANA SQL and System Views Reference</a>
* and the <a href=
* "https://help.sap.com/viewer/0eec0d68141541d1b07893a39944924e/latest/en-US/434e2962074540e18c802fd478de86d6.html">SAP
* HANA Client Interface Programming Reference</a>.
* <p>
* Note: This dialect is configured to create foreign keys with {@code on update cascade}.
* *
* @author Andrew Clemons <andrew.clemons@sap.com> * @author Andrew Clemons <andrew.clemons@sap.com>
* @author Jonathan Bregler <jonathan.bregler@sap.com>
*/ */
public abstract class AbstractHANADialect extends Dialect { public abstract class AbstractHANADialect extends Dialect {

View File

@ -12,11 +12,18 @@ import org.hibernate.hql.spi.id.global.GlobalTemporaryTableBulkIdStrategy;
import org.hibernate.hql.spi.id.local.AfterUseAction; import org.hibernate.hql.spi.id.local.AfterUseAction;
/** /**
* An SQL dialect for HANA. <br/> * An SQL dialect for the SAP HANA column store.
* <a href="http://help.sap.com/hana/html/sqlmain.html">SAP HANA Reference</a> <br/> * <p>
* For more information on interacting with the SAP HANA database, refer to the
* <a href="https://help.sap.com/viewer/4fe29514fd584807ac9f2a04f6754767/">SAP HANA SQL and System Views Reference</a>
* and the <a href=
* "https://help.sap.com/viewer/0eec0d68141541d1b07893a39944924e/latest/en-US/434e2962074540e18c802fd478de86d6.html">SAP
* HANA Client Interface Programming Reference</a>.
* <p>
* Column tables are created by this dialect when using the auto-ddl feature. * Column tables are created by this dialect when using the auto-ddl feature.
* *
* @author Andrew Clemons <andrew.clemons@sap.com> * @author Andrew Clemons <andrew.clemons@sap.com>
* @author Jonathan Bregler <jonathan.bregler@sap.com>
*/ */
public class HANAColumnStoreDialect extends AbstractHANADialect { public class HANAColumnStoreDialect extends AbstractHANADialect {

View File

@ -12,11 +12,18 @@ import org.hibernate.hql.spi.id.global.GlobalTemporaryTableBulkIdStrategy;
import org.hibernate.hql.spi.id.local.AfterUseAction; import org.hibernate.hql.spi.id.local.AfterUseAction;
/** /**
* An SQL dialect for HANA. <br/> * An SQL dialect for the SAP HANA row store.
* <a href="http://help.sap.com/hana/html/sqlmain.html">SAP HANA Reference</a> <br/> * <p>
* For more information on interacting with the SAP HANA database, refer to the
* <a href="https://help.sap.com/viewer/4fe29514fd584807ac9f2a04f6754767/">SAP HANA SQL and System Views Reference</a>
* and the <a href=
* "https://help.sap.com/viewer/0eec0d68141541d1b07893a39944924e/latest/en-US/434e2962074540e18c802fd478de86d6.html">SAP
* HANA Client Interface Programming Reference</a>.
* <p>
* Row tables are created by this dialect when using the auto-ddl feature. * Row tables are created by this dialect when using the auto-ddl feature.
* *
* @author Andrew Clemons <andrew.clemons@sap.com> * @author Andrew Clemons <andrew.clemons@sap.com>
* @author Jonathan Bregler <jonathan.bregler@sap.com>
*/ */
public class HANARowStoreDialect extends AbstractHANADialect { public class HANARowStoreDialect extends AbstractHANADialect {