[jboss-jira] [JBoss JIRA] (JBRULES-3318) Enable the Use of Different Table Names in drools-persistence-jpa
Marco Rietveld (JIRA)
jira-events at lists.jboss.org
Wed Jul 25 10:25:06 EDT 2012
[ https://issues.jboss.org/browse/JBRULES-3318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marco Rietveld resolved JBRULES-3318.
-------------------------------------
Fix Version/s: 5.3.2.Final
(was: FUTURE)
Resolution: Done
See attachments for an example of how to do this. It's possible that using this mechanism could result in error messages similar to the following:
{noformat}
8185 25/07 16:08:44,215[main] WARN annotations.reflection.EJB3OverridenAnnotationReader.checkForOrphanProperties - Property org.drools.persistence.info.SessionInfo.rulesByteArray not found in class but described in <mapping-file/> (possible typo error)
8186 25/07 16:08:44,216[main] WARN annotations.reflection.EJB3OverridenAnnotationReader.checkForOrphanProperties - Property org.drools.persistence.info.SessionInfo.helper not found in class but described in <mapping-file/> (possible typo error)
8187 25/07 16:08:44,217[main] WARN annotations.reflection.EJB3OverridenAnnotationReader.checkForOrphanProperties - Property org.drools.persistence.info.WorkItemInfo.workItemId not found in class but described in <mapping-file/> (possible typo error)
8187 25/07 16:08:44,217[main] WARN annotations.reflection.EJB3OverridenAnnotationReader.checkForOrphanProperties - Property org.drools.persistence.info.WorkItemInfo.workitemByteArray not found in class but described in <mapping-file/> (possible typo error)
8187 25/07 16:08:44,217[main] WARN annotations.reflection.EJB3OverridenAnnotationReader.checkForOrphanProperties - Property org.drools.persistence.info.WorkItemInfo.env not found in class but described in <mapping-file/> (possible typo error)
{noformat}
This is a warning message because the ORM framework (hibernate, in this case) wants getter/setter methods for some private fields. However, this is _only_ a warning. The functionality works fine.
> Enable the Use of Different Table Names in drools-persistence-jpa
> -----------------------------------------------------------------
>
> Key: JBRULES-3318
> URL: https://issues.jboss.org/browse/JBRULES-3318
> Project: Drools
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Reporter: Jim Tyrrell
> Assignee: Marco Rietveld
> Fix For: 5.3.2.Final
>
> Attachments: persistence.xml, rename-tables-orm.xml
>
>
> Customer is noticing a few table names that they would like to change out, ie use different ones. They also would like the table structure to match the naming conventions their organization employes.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list