Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dali » Latest Dali Milestone build - M1: dali-N-0.5M1-200603170005 problem
Latest Dali Milestone build - M1: dali-N-0.5M1-200603170005 problem [message #433650] Mon, 10 April 2006 15:29 Go to next message
No real name is currently offline No real nameFriend
Messages: 10
Registered: July 2009
Junior Member
Hi,

I'm just trying latest M1 build (see subj). I have all the prereqs.
Eclipse 3.1.2 and WTP 1.0.1.

My problem is that Dali plugin fails when I try to map @OneToMany.

The plugin fails when I go in the persistence properties to the [Join
Table] tab and try to edit "join columns".

The error is:
java.lang.ClassCastException:
org.eclipse.dali.core.impl.OneToManyMappingImpl
at
org.eclipse.dali.ui.views.JoinColumnDialog.populateReference dNameCombo(JoinColumnDialog.java:96)
at
org.eclipse.dali.ui.views.JoinColumnDialog.createDialogArea( JoinColumnDialog.java:72)
at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java: 687)
at org.eclipse.jface.window.Window.create(Window.java:418)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:996)
at org.eclipse.jface.window.Window.open(Window.java:776)
at
org.eclipse.dali.ui.views.JoinTableComposite.editJoinColumnF romDialog(JoinTableComposite.java:326)
at
org.eclipse.dali.ui.views.JoinTableComposite.editJoinColumn( JoinTableComposite.java:318)
at
org.eclipse.dali.ui.views.JoinTableComposite.access$0(JoinTa bleComposite.java:315)
at
org.eclipse.dali.ui.views.JoinTableComposite$1.widgetSelecte d(JoinTableComposite.java:131)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3125)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2758)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)

Can some one fix it or tell me what is wrong?
Re: Latest Dali Milestone build - M1: dali-N-0.5M1-200603170005 problem [message #433652 is a reply to message #433650] Mon, 10 April 2006 18:53 Go to previous messageGo to next message
Karen Butzke is currently offline Karen ButzkeFriend
Messages: 220
Registered: July 2009
Senior Member
Could you please enter a bug against Dali for this problem? Just so you
know, we are currently adding support for multiple joinColumns. Editing
them directly in the source code will work, but the Persistence Properties
view will only support 1 JoinColumn(except for the bug you hit)

Karen
Re: Latest Dali Milestone build - M1: dali-N-0.5M1-200603170005 problem [message #433685 is a reply to message #433652] Tue, 11 April 2006 18:32 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 10
Registered: July 2009
Junior Member
Dear Karen,

Thanks for the reply and suggestion. I did file this as bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=136165

So lets keep track of it. In addition to fix it, plugin should support
miltiple join columns as well.

Looking forward for the fast resolution.
Re: Latest Dali Milestone build - M1: dali-N-0.5M1-200603170005 problem [message #433688 is a reply to message #433685] Tue, 11 April 2006 19:25 Go to previous messageGo to next message
Karen Butzke is currently offline Karen ButzkeFriend
Messages: 220
Registered: July 2009
Senior Member
Ruslan Zenin wrote:

> In addition to fix it, plugin should support
> miltiple join columns as well.

Enhancement request 127300 is for adding multiple joinColumns support.

thanks,
Karen
Re: Latest Dali Milestone build - M1: dali-N-0.5M1-200603170005 problem [message #433694 is a reply to message #433688] Wed, 12 April 2006 14:19 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 10
Registered: July 2009
Junior Member
Hi Karen,

Thanks for the quick fix of the reported problem. I noticed that the fix
will come in M2 release.

Can you please indicate what M2 will be available for download?

Best regards,
Ruslan
Re: Latest Dali Milestone build - M1: dali-N-0.5M1-200603170005 problem [message #433695 is a reply to message #433694] Wed, 12 April 2006 14:23 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 10
Registered: July 2009
Junior Member
Sorry I meant "when" it will be available.
Re: Latest Dali Milestone build - M1: dali-N-0.5M1-200603170005 problem [message #433697 is a reply to message #433695] Wed, 12 April 2006 14:41 Go to previous messageGo to next message
Karen Butzke is currently offline Karen ButzkeFriend
Messages: 220
Registered: July 2009
Senior Member
You can find our milestone plan here:
http://wiki.eclipse.org/index.php/Dali_Project

Currently we are scheduled to have the M2 build April 14th, I would think
you'll see the build up early next week.

Karen
Re: Latest Dali Milestone build - M1: dali-N-0.5M1-200603170005 problem [message #433772 is a reply to message #433697] Tue, 18 April 2006 17:56 Go to previous message
No real name is currently offline No real nameFriend
Messages: 10
Registered: July 2009
Junior Member
Dear Karen,

Thank you for the reply. Did the M2 release date moved? I see only M1 on
the downloads page (as of Apr 18th).

best regards,
Ruslan
Re: Latest Dali Milestone build - M1: dali-N-0.5M1-200603170005 problem [message #578372 is a reply to message #433650] Mon, 10 April 2006 18:53 Go to previous message
Karen Butzke is currently offline Karen ButzkeFriend
Messages: 220
Registered: July 2009
Senior Member
Could you please enter a bug against Dali for this problem? Just so you
know, we are currently adding support for multiple joinColumns. Editing
them directly in the source code will work, but the Persistence Properties
view will only support 1 JoinColumn(except for the bug you hit)

Karen
Re: Latest Dali Milestone build - M1: dali-N-0.5M1-200603170005 problem [message #580277 is a reply to message #433652] Tue, 11 April 2006 18:32 Go to previous message
No real name is currently offline No real nameFriend
Messages: 10
Registered: July 2009
Junior Member
Dear Karen,

Thanks for the reply and suggestion. I did file this as bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=136165

So lets keep track of it. In addition to fix it, plugin should support
miltiple join columns as well.

Looking forward for the fast resolution.
Re: Latest Dali Milestone build - M1: dali-N-0.5M1-200603170005 problem [message #580331 is a reply to message #433685] Tue, 11 April 2006 19:25 Go to previous message
Karen Butzke is currently offline Karen ButzkeFriend
Messages: 220
Registered: July 2009
Senior Member
Ruslan Zenin wrote:

> In addition to fix it, plugin should support
> miltiple join columns as well.

Enhancement request 127300 is for adding multiple joinColumns support.

thanks,
Karen
Re: Latest Dali Milestone build - M1: dali-N-0.5M1-200603170005 problem [message #580481 is a reply to message #433688] Wed, 12 April 2006 14:19 Go to previous message
No real name is currently offline No real nameFriend
Messages: 10
Registered: July 2009
Junior Member
Hi Karen,

Thanks for the quick fix of the reported problem. I noticed that the fix
will come in M2 release.

Can you please indicate what M2 will be available for download?

Best regards,
Ruslan
Re: Latest Dali Milestone build - M1: dali-N-0.5M1-200603170005 problem [message #580494 is a reply to message #433694] Wed, 12 April 2006 14:23 Go to previous message
No real name is currently offline No real nameFriend
Messages: 10
Registered: July 2009
Junior Member
Sorry I meant "when" it will be available.
Re: Latest Dali Milestone build - M1: dali-N-0.5M1-200603170005 problem [message #580519 is a reply to message #433695] Wed, 12 April 2006 14:41 Go to previous message
Karen Butzke is currently offline Karen ButzkeFriend
Messages: 220
Registered: July 2009
Senior Member
You can find our milestone plan here:
http://wiki.eclipse.org/index.php/Dali_Project

Currently we are scheduled to have the M2 build April 14th, I would think
you'll see the build up early next week.

Karen
Re: Latest Dali Milestone build - M1: dali-N-0.5M1-200603170005 problem [message #583037 is a reply to message #433697] Tue, 18 April 2006 17:56 Go to previous message
No real name is currently offline No real nameFriend
Messages: 10
Registered: July 2009
Junior Member
Dear Karen,

Thank you for the reply. Did the M2 release date moved? I see only M1 on
the downloads page (as of Apr 18th).

best regards,
Ruslan
Previous Topic:Mising Persistence Class
Next Topic:Unalble to see the list of tables to map to my Entity
Goto Forum:
  


Current Time: Sat Mar 30 01:14:06 GMT 2024

Powered by FUDForum. Page generated in 0.04878 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top