Using org.hibernate.id.UUIDHexGenerator which does not generate IETF RFC 4122 compliant UUID values;
2011-04-27 17:32
639 查看
项目部署运行后:
[WARN]: Using org.hibernate.id.UUIDHexGenerator which does not generate IETF RFC 4122 compliant UUID values; consider using org.hibernate.id.UUIDGenerator instead
...
根据提示信息,更改主键生成策略使用 org.hibernate.id.UUIDGenerator
[WARN]: Using org.hibernate.id.UUIDHexGenerator which does not generate IETF RFC 4122 compliant UUID values; consider using org.hibernate.id.UUIDGenerator instead
...
根据提示信息,更改主键生成策略使用 org.hibernate.id.UUIDGenerator
@Id @Column(length = 32, nullable = false) @GeneratedValue(generator = "uuid") //指定生成器名称 @GenericGenerator(name = "uuid", strategy = "org.hibernate.id.UUIDGenerator") //生成器名称,uuid生成类
相关文章推荐
- Using org.hibernate.id.UUIDHexGenerator which does not generate IETF RFC 4122 compliant UUID values;
- Using org.hibernate.id.UUIDHexGenerator which does not generate IETF RFC 4122 compliant UUID values;
- Using org.hibernate.id.UUIDHexGenerator which does not generate IETF RFC 4122 compliant UUID values;
- Using org.hibernate.id.UUIDHexGenerator which does not generate IETF RFC 4122 compliant UUID values;
- Using org.hibernate.id.UUIDHexGenerator which does not generate IETF RFC 4122 compliant UUID values;
- 【hibernate】主键生成策略使用UUID报出如下警告:org.hibernate.id.UUIDHexGenerator - HHH000409: Using org.hibernate.id.UUIDHexGenerator which does not generate IETF RFC 4122 compliant UUID values;
- [WARN]: Using org.hibernate.id.UUIDHexGenerator which does not gen
- 在Hibernate中配置Hilo进行数据绑定测试时出错:org.hibernate.MappingException: Could not instantiate id generator
- org.hibernate.MappingException: could not instantiate id generator
- Hibernate中id设置<generator class="uuid.hex" />
- org.hibernate.WrongClassException: Object with id: 3 was not of the specified subclass
- No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration
- WARNING [main] org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [] milliseconds.
- org.postgresql.util.PSQLException: ERROR: column "loginid" of relation "userinfo" does not exist
- hibernate错误 this id generator generates long, integer, short or string
- 【bug】org.hibernate.dialect.OracleDialect does not support identity key generation
- org.hibernate.AnnotationException: Unknown Id.generator: Teacher_GEN
- Hibernate 使用 generator ="uuid"生成id时会报warnning Using org.hibernate.id.UUIDHexGenerator which does no
- org.hibernate.QueryException: could not resolve property:xxxxxid 外键查询 hibernate
- hibernate-------could not instantiate id generator