- This topic has 9 replies, 2 voices, and was last updated 14 years, 5 months 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
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.
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”
Vishal kumar SinghParticipantsome how i got this also in a new project then also…………….the “SessionFactory Id : ” field is empty
Vishal kumar SinghParticipant@connect2vishal wrote:
some how i got this also in a new project then also…………….the “SessionFactory Id : ” field is empty
support-shaliniMemberVishal,
Sorry for the inconvenience. Can you list out the steps in detail to replicate your issue?
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……..
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?
Vishal kumar SinghParticipantthanx i got it worked with 8.6 and hibernate 3.2/…..
support-shaliniMemberGood to know that it worked.
-
AuthorPosts