If you are migrating a 1.5 project to 1.6 I assume you have read the
migration guide:
http://fornax.itemis.de/confluence/display/fornax/0.+What%27s+New+(CSC)#0.What%27sNew(CSC)-Version1.6.x

We have not completely updated the documentation in the Developer's Guide
yet. 
All properties are here:
https://fornax.svn.sourceforge.net/svnroot/fornax/trunk/cartridges/sculptor/fornax-cartridges-sculptor-generator/src/main/resources/default-sculptor-generator.properties

The property you are looking for is:
generate.jpa.sessionFactorySupport=true
(still jpa annotations, but with SessionFactory.xml instead of
persistence.xml)

I think our recommendation is to use sessionFactorySupport=false (as
default), but then I don't know how to define the data source as a spring
bean. 
Oliver, what do you say about this topic?

/Patrik



deepshar027 wrote:
> 
> Patrik,
> 
> Thanks for that.I have a new problem now which is not related to this
> thread.
> Actually I deleted all my sources from src\generated\resources so that
> they can be generated again when I run the workflow.
> 
> However when I run the workflow again , I dont see SessionFactory.xml ? I
> guess earlier I was using sculptor version 1.5 and then switched to 1.6
> .Is SessionFactory.xml not generated for 1.6?
> If its not generated then where should be the datasource defined?
> 
> Let me know if there is any documentation available for details on various
> sources generated.
> 
> 
> Rgds,
> Deepak. 
> 

-- 
View this message in context: 
http://www.nabble.com/Defining-Datasource-Properties.-tp23809982s17564p23845962.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to