<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<entity-mappings
xmlns="http://www.eclipse.org/eclipselink/xsds/persistence/orm"
version="2.4">
...
<entity name="MonitorEvent" class="com.webaction.runtime.MonitorEvent">
<attributes>
...
<basic name="timeStamp">
<index />
</basic>
...
</attributes>
</entity>
</entity-mappings>
Someone involved with JPA (or EclipseLink) should really consider some proper XML mapping documentation, because it is not at all sufficient.
No comments:
Post a Comment