reset password
Author Message
lbriggs
Posts: 57
Posted 03:28 May 06, 2014 |

Hello,

I am attempting to generate the SQL script for the User class posted here: http://csns.calstatela.edu/download.html?fileId=4302054. Using the Hbm2ddl.java program provided for us. When running the command (affter I set a destination location), I received the following error:

https://gist.github.com/loranbriggs/b104b9ca12649a9ce3ce

Which corresponds with the line: 

Configuration cfg = (new Ejb3Configuration()).configure( "envite",

            new HashMap<String, Object>() ).getHibernateConfiguration();

Something is causing the NullPointerException. Did anyone else run into this?

Thank you,

Loran

deep.amrutiya
Posts: 5
Posted 03:31 May 06, 2014 |

Try by changing "envite" with "ttt"... It should work.

lbriggs
Posts: 57
Posted 15:52 May 06, 2014 |

That worked! Thank you.

Loran