多项选择题
A.“uuid.hex”由 Hibernate 基于128 位 UUID 算法 生成16 进制数值(编码后以长度32 的字符串表示)作为主键 B.“uuid.hex”生成的主键只能适用于SQL Server数据库 C.“Native”根据具体连接的数据库从identity, sequence或者hilo选择一种来生成主键 D.“increment”生成long, short或者int类型的主键
A.query.setParameter(“username”,”bluedavy”); B.query.setParameter(“yearold”,25); C.query.setParameter(0,”bluedavy”); D.query.setParameter(1,25);
A.是一种符合对象语言的查询语句 B.能够避免使用 sql 的情况下依赖数据库特征的情况出现 C.能够根据 OO 的习惯去进行实体的查询 D.理解SQL的人很难理解HQL