some hibernate twinkies

notes to self,

-JPA is the standard java annotation thingy for hibernate type things

-hibernate reference document lists nicely all configuration options. to get a list of relevant ones to set better to google for tutorial for hibernate and that db, then check the docs for what the options are.

-“hibernate.hbm2ddl.auto”, “create” leads to breaking of the mysql innodb syntax. at least it gives the syntax to create the table, just need to run this first and fix manually the engine part.

-annotationconfiguration class in hibernate is deprecated. just use “configuration” class in the same way. reference manual configuration section also helps in the first paragraphs.

 

 

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s