[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-5182) java.lang.UnsupportedOperationException when edit persistent.xml on Hibernate tab
Vitali Yemialyanchyk (JIRA)
jira-events at lists.jboss.org
Wed Nov 11 11:55:35 EST 2009
[ https://jira.jboss.org/jira/browse/JBIDE-5182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12494194#action_12494194 ]
Vitali Yemialyanchyk commented on JBIDE-5182:
---------------------------------------------
it was
<properties>
<property name="hibernate.dialect" value="???"/>
<property name="hibernate.connection.url" value="???"/>
<property name="hibernate.connection.driver_class" value="???"/>
</properties>
where ??? - was MS SQL or DB2 specific settings - I lost the original file cause I modify it eventually...
In any case this part is not look like stable... Just take 3 properties which I describe and try to modify it in "chaotic" manner in Source tab.
I get the situation when the items order be changed - now this happens without exceptions.
> java.lang.UnsupportedOperationException when edit persistent.xml on Hibernate tab
> ---------------------------------------------------------------------------------
>
> Key: JBIDE-5182
> URL: https://jira.jboss.org/jira/browse/JBIDE-5182
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Hibernate
> Affects Versions: 3.1.0.CR1
> Reporter: Vitali Yemialyanchyk
> Assignee: Vitali Yemialyanchyk
> Priority: Minor
> Fix For: 3.1.0.CR1
>
>
> stack trace:
> java.lang.UnsupportedOperationException: source: ItemPropertyListValueModelAdapter[0036F911] (HibernateJpaProperties$1[0119D575] (properties)) - aspect: list values
> at org.jboss.tools.hibernate.jpt.core.internal.context.PersistenceUnitPropertyListListener.itemsMoved(PersistenceUnitPropertyListListener.java:87)
> at org.eclipse.jpt.utility.internal.model.ChangeSupport.fireItemsMoved(ChangeSupport.java:1913)
> at org.eclipse.jpt.utility.internal.model.ChangeSupport.fireItemsMoved(ChangeSupport.java:1918)
> at org.eclipse.jpt.utility.internal.model.SingleAspectChangeSupport.fireItemsMoved(SingleAspectChangeSupport.java:255)
> at org.eclipse.jpt.utility.internal.model.AbstractModel.fireItemsMoved(AbstractModel.java:433)
> at org.eclipse.jpt.utility.internal.model.value.ItemAspectListValueModelAdapter.itemsMoved(ItemAspectListValueModelAdapter.java:216)
> at org.eclipse.jpt.utility.internal.model.value.ListValueModelWrapper$1.itemsMoved(ListValueModelWrapper.java:71)
> at org.eclipse.jpt.utility.internal.model.ChangeSupport.fireItemsMoved(ChangeSupport.java:1913)
> at org.eclipse.jpt.utility.internal.model.ChangeSupport.fireItemsMoved(ChangeSupport.java:1918)
> at org.eclipse.jpt.utility.internal.model.SingleAspectChangeSupport.fireItemsMoved(SingleAspectChangeSupport.java:255)
> at org.eclipse.jpt.utility.internal.model.AbstractModel.fireItemsMoved(AbstractModel.java:433)
> ...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list