- This topic has 9 replies, 2 voices, and was last updated 15 years ago by
support-shalini.
-
AuthorPosts
-
Vishal kumar SinghParticipantHi,
I added the suport of spring and strutsd 2 in my application. then i added the hibernate support via spring. now in reverse engineering the annotation support is disabled …… is there anyway i can come over this hudle.
My Eclipse 8.5
July 13, 2010 at 1:49 am #309761
support-shaliniMemberVishal,
You should enable annotations support on your project. Right click on your project and from the context menu select MyEclipse > “Add Annotations Support”.
Let me know how that works for you.July 13, 2010 at 2:12 am #309764
Vishal kumar SinghParticipant@support-shalini wrote:
Vishal,
You should enable annotations support on your project. Right click on your project and from the context menu select MyEclipse > “Add Annotations Support”.
Let me know how that works for you.i cant get wat u said but yes i am getting the option (in the menu ) add “Add Hibernate Annotations”
July 13, 2010 at 2:18 am #309765
Vishal kumar SinghParticipantsome how i got this also in a new project then also…………….the “SessionFactory Id : ” field is empty
July 13, 2010 at 2:47 am #309766
Vishal kumar SinghParticipant@connect2vishal wrote:
some how i got this also in a new project then also…………….the “SessionFactory Id : ” field is empty
July 13, 2010 at 4:51 am #309770
support-shaliniMemberVishal,
Sorry for the inconvenience. Can you list out the steps in detail to replicate your issue?July 13, 2010 at 5:02 am #309771
Vishal kumar SinghParticipant@support-shalini wrote:
Vishal,
Sorry for the inconvenience. Can you list out the steps in detail to replicate your issue?create any java webproject
– then add spring capabilities
-then add hibernate capabilities (use the spring applicationContext.xml for sessionfactory and hibernate configuration)
– then try the reverse engineering on a db table then u will see the screen i posted in above comment.“The SessionFacorty Id” is missing……..
July 14, 2010 at 1:31 am #309802
support-shaliniMemberVishal,
I could replicate this at my end using hibernate 3.3 and annotations support.
As a work around, you can use hibernate 3.2 libraries with annotations.
Also, this issue does not replicate on ME8.6M1 with hibernate 3.3 and annotations
Can you upgrade to 8.6M1 and let me know how that works for you?July 15, 2010 at 7:19 am #309841
Vishal kumar SinghParticipantthanx i got it worked with 8.6 and hibernate 3.2/…..
July 15, 2010 at 11:08 pm #309869
support-shaliniMemberGood to know that it worked.
-
AuthorPosts