Sloned from
Changes made
-
Modified core orm to support
nullablefields.SchemaConfigurationpreviously ignoredjavax.persistence.Columnattributes. -
Added
decimalsupport along with dependency onkudu-client 1.8.0e.g.
@Column(name = "price", precision = 18,scale = 4) BigDecimal price; -
Hash partitioningfor key fields added on table create.Annotations added with
default values :@Hashable(buckets=1,replicationFactor=1) ({ElementType.TYPE})and@Hash @Target({ElementType.METHOD, ElementType.FIELD})Example:
@Entity
@Table(schema = "kudu@kudu_pu", name = "file_info")
@Data
@Hashable(buckets=9,replicationFactor=3)
public class FileInfo {
@Column(nullable = false, name = "date_added")
@Hash
private Timestamp dateAdded;
....
@Id
@Hash
private String id;
....
} -
Default Replication Factoradded
added for hash partitioning annotation as written above and as a global default value
in META-INF/persistence.xml
added scan.package property for external scans for entity presence
in other libraries or paths
added honoring of socket operation timeouts and socket read timeouts