You can map the relation like this.
Code:
<class name="A">
<id name="a_id" column="A_ID" type="int" unsaved-value="0">
<generator class="native" />
</id>
<property name="name" />
<property name="a_time" column="A_TIME" unique="true"/>
</class>
<class name="B">
<id name="b_id" column="B_ID" type="int" unsaved-value="0">
<generator class="native" />
</id>
<property name="x" />
<many-to-one name="a" class="A" property-ref="a_time" column="B_TIME" fetch="join"></many-to-one>
</class>
Please note
<property name="a_time" unique="true"/>
The referring property should be unique as this is a many-to-one relation. Your B has only one related A.