G
gk
<hibernate-mapping>
<class name="Event" table="EVENTS">
<id name="id" column="EVENT_ID"> // type is missing !!
<generator class="increment"/>
</id>
<property name="date" type="timestamp" column="EVENT_DATE"/> //
type is present
<property name="title"/>// type is missing !!
</class>
</hibernate-mapping>
It is a matter of concen sometimes type is missing and sometimes type
is there .
is it not essential ?
so, when should i skip "type" and when i should Not skip "type" ?
<class name="Event" table="EVENTS">
<id name="id" column="EVENT_ID"> // type is missing !!
<generator class="increment"/>
</id>
<property name="date" type="timestamp" column="EVENT_DATE"/> //
type is present
<property name="title"/>// type is missing !!
</class>
</hibernate-mapping>
It is a matter of concen sometimes type is missing and sometimes type
is there .
is it not essential ?
so, when should i skip "type" and when i should Not skip "type" ?