I am using Mybatis 3.3.0 and EJB 3.1 running in a Wildfly 8.2.1 App server.
I modified my EJB's to have a Remote Interface and Injected the interface into all my classes that require the functionality instead of the injecting the LocalBean implementation (as it was before).
This caused all my useGeneratedKeys
configurations for my mapper file Insert statements to stop working. Now my ID fields remain Null after the Inserts have run successfullly.
How is it that this caused mybatis to not be able to populate the ID's into my POJOs.