facebook

hibernate dows not create tables

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #301509 Reply

    amir55
    Participant

    hi dear all

    I have done reverse engineering database table called user to get java hibernate that created for me all the java and xml files.

    once I droped that table user and treid to deploy the project to JBoss which goes fine BUT
    the table is not created WHY?

    I added the lnext ine too but still no reuslt WHY?
    <property name=”hibernate.hbm2ddl.auto”>create</property>

    many thanks

    Amir

    #301540

    Amir,
    Can you give some more information?
    1. What are your installation details? You can get them from MyEclipse > Installation Summary > Installation Details.
    2. What is the database that you are using and what is the hibernate version that you are using?
    3. What is the version of JBoss?
    4. Are you getting any errors in the console or in the log file located at workspace dir > .metadata > .log?

    #301562

    amir55
    Participant

    hi dear

    1 – Iuse database MySQL ver 5, MyEclipse 6, JBoss 4.2.2, hibernate 3.1
    2 – no error in deploument but no database created
    3 – if you have any reversed eng program ziped then Ican check it may be you have to change some in the created sessionFactory or else that should not be.

    4- my details as next
    *** Date:
    Wednesday, August 19, 2009 9:48:21 PM GMT+04:00

    ** System properties:
    OS=Windows2000
    OS version=5.0
    Java version=1.5.0_11

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.0.1 GA
    Build id: 6.0.1-GA-200710

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 6.0.1 GA
    Build id: 6.0.1-GA-200710

    Eclipse Graphical Editing Framework

    Version: 3.3.1.v20070814
    Build id: 20070814-1555

    Eclipse Platform

    Version: 3.3.3.r33x_r20080129-_19UEl7Ezk_gXF1kouft
    Build id: M20080221-1800

    Eclipse Java Development Tools

    Version: 3.3.2.r33x_r20080129-7o7jE7_EDhYDiyVEnjb1pFd7ZGD7
    Build id: M20080221-1800

    Eclipse Project SDK

    Version: 3.3.3.r33x_r20080129-7M7J7LB-u3aphGW6o3_VmiVfGXWO
    Build id: M20080221-1800

    Eclipse RCP

    Version: 3.3.3.r33x_r20080129-8y8eE9UEUWI6qujeED0xT7bc
    Build id: M20080221-1800

    Eclipse Plug-in Development Environment

    Version: 3.3.3.r33x_r20080129-7N7M5DQVIA_6oJsEFkEL
    Build id: M20080221-1800

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    D:\Eclipse_Group\MyEclipse 6.0.1\eclipse\eclipse.exe
    -name
    Eclipse
    –launcher.library
    D:\Eclipse_Group\MyEclipse 6.0.1\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.3.R33x_v20080118\eclipse_1023.dll
    -startup
    D:\Eclipse_Group\MyEclipse 6.0.1\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar
    -exitdata
    214_80
    -vm
    D:\Eclipse_Group\MyEclipse 6.0.1\jre\bin\javaw.exe

    take caer

    Amir

    #301571

    Amir,
    Thank you for the information.

    no error in deploument

    I need the console messages when the application is run. Can you share your project? You can send a mail to support@genuitec.com. Please add ATTN: Shalini in the subject and refer to this thread. This will help us reproduce this issue internally and quickly work on resolution.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: hibernate dows not create tables

You must be logged in to post in the forum log in