Results 1 to 3 of 3

Thread: Problems mapping to MySQL database

  1. #1

    Default Problems mapping to MySQL database

    No matter how hard I try, I always have problems mapping with database
    even with database reverse engineer, I can't display the values that I want.

    Then,I tried manually creating entities with existing database, also it doesn't work

    Now, I'm at my last straw, I tried manually creating entities, and in persistence.xml I tried to implement the following and see whether the entities I created, and the database structure matches.

    <property name="eclipselink.ddl-generation" value="drop-and-create-tables"/>



    In the end, it doesn't match

  2. #2

    Default

    from Person.java
    person.jpgPerson1.JPG

    How to make the default values be CURRENT_TIMESTAMP?

    Why are the VARCHAR(255), I thought I limited their size to 45?

  3. #3

    Default

    not sure what to make of this error message, it's so hard to find what's wrong with the code
    Capture1.jpg

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •