"Maven filtered" persistence.xml files from test sources miss hibernate.default_schema property. This is needed for testing with some DB systems. E.g. when testing on DB2 and using hbm2ddl.auto=update (like in jbpm-persistence-jpa module), Hibernate searches for existing tables in all DB schemas when updating schema. This not happens, when default schema is set.