日期:2014-05-20 浏览次数:20605 次
CREATE OR REPLACE VIEW "UV_ALARM" ("ALARMID", "ALARMTIME", ...., "AS SELECT "ALARMID", "ALARMTIME", ..... FROM ALARM UNION ALL SELECT "ALARMID", "ALARMTIME", .... FROM ALARM_HIS;
<hibernate-mapping package="com.gge.ulicss.domain"> <class name="uvalarm" table="UV_ALARM"> <id name="alarmID" column="alarmID"> </id> <property name="alarmTime"></property> 。。。。 </class> </hibernate-mapping>