JMS2.0规范中文版

特别注意

When used in a message selector JMSDeliveryMode is treated as having the values 'PERSISTENT' and 'NON_PERSISTENT'. Date and time values should use the standard Java long millisecond value. When a date or time literal is included in a message selector, it should be an integer literal for a millisecond value. The standard way to produce millisecond values is to use java.util.Calendar. Although SQL supports fixed decimal comparison and arithmetic, JMS message selectors do not. This is the reason for restricting exact numeric literals to those without a decimal (and the addition of numerics with a decimal as an alternate representation for approximate numeric values). SQL comments are not supported.

当在消息选择使用JMSDeliveryMode被视为具有价值“持久性”和“NON_PERSISTENT”。

日期和时间值应该使用标准的Java长毫秒值。当日期或时间文字包含在消息选择器,它应该是一个整数文字的毫秒值。生产毫秒值的标准方法是使用java.util.Calendar中。

虽然SQL支持固定小数比较和运算,JMS消息选择不要。这是制约精确数字的原因文字,那些没有小数点(并增加数值计算与小数为近似数值的另一种表示)。 不支持SQL注释。