Hi Dan:

 

What’s the default data type will be used when model a filed with type org.
apache.isis.applib.value.Date Or DateTime in JDO dataobject store? 

I have found that “bytea” will be used in Postgres Database with JDO
object store.I needs date or datetime datatype in postgres databse,can you
help me to correct the problem?

 

A sample mode property:

    // {{ FromDate (property)

    private DateTime fromDate;

 

    @MemberOrder(sequence = "3")

    @Named("开始时间")

    @Persistent

    public DateTime getFromDate() {

        return fromDate;

    }

 

    public void setFromDate(final DateTime fromDate) {

        this.fromDate = fromDate;

    }

    // }}

 

Best Regards

 

Alain

 

Reply via email to