Jan 18th, 2013, 09:31 AM
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
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
not sure what to make of this error message, it's so hard to find what's wrong with the code