-
Jan 18th, 2013, 09:31 AM
#1
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
-
Jan 18th, 2013, 10:30 AM
#2
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?
-
Jan 19th, 2013, 01:22 AM
#3
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
-
Forum Rules