This content has been marked as final. Show 4 replies
Changing the entity-command in defaults of standardjbosscmp-jdbc.xml is enough. I just tried it.
Can this be done on an entity per entity basis?
<!ELEMENT entity (ejb-name, (datasource, datasource-mapping)?, create-table?, remove-table?, post-table-create?, read-only?, read-time-out?, row-locking?, pk-constraint?, read-ahead?, list-cache-max?, fetch-size?, table-name?, cmp-field*, load-groups?, eager-load-group?, lazy-load-groups?, query*, unknown-pk?, entity-command?, optimistic-locking?, audit?)>
how can we avoid these select before insert in jboss 2.4?