持久层用hibernate实现,在实体和数据库映射的时候,字段设为枚举有两种方式: @EnumeratedEnumType.STRING) @Columnname=”invoice_type”) pr … Continue reading JAVA枚举类型复写ordinal和name值
持久层用hibernate实现,在实体和数据库映射的时候,字段设为枚举有两种方式: @EnumeratedEnumType.STRING) @Columnname=”invoice_type”) pr … Continue reading JAVA枚举类型复写ordinal和name值