-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Moving from mySQL to MSSQL 2005
PostPosted: Tue Sep 30, 2008 7:18 am 
Newbie

Joined: Tue Sep 30, 2008 7:09 am
Posts: 1
Is there any specific things I should be aware of when moving from mySQL to MSSQL 2005?

Running under JBoss, and the only thing I've changed is the -ds.xml connection file, and the sqldialect setting in persistence.xml.

Most things work as before, but a many- to-many mapping bombs out with a:
12:42:36,856 ERROR [LazyInitializationException] could not initialize proxy - no Session
org.hibernate.LazyInitializationException: could not initialize proxy - no Session
at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:57)
at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:111)
at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:166)
at com.markedskraft.analyseweb.ejb3.user.Organisation_$$_javassist_3.getPackages(Organisation_$$_javassist_3.java)
at com.markedskraft.analyseweb.web.MainServlet.hasAccess(MainServlet.java:268)
...

TIA...

--
Dag.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.