[jboss-user] [JBoss Seam] - Re: Problems Using Oracle datasource to run a Seam Test usin
Ahh... Ok I got it working. I reverted back to all the bootstrap settings and just added my datasource definition file to the bootstrap/deploy directory and pointed my persistence.xml to my datasource and got it working. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4109996#4109996 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109996 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problems Using Oracle datasource to run a Seam Test usin
You don't need to replace the hqldb-sa.xml. You can create an oracle data source, give it a unique name and let your application refer to the new data source. JBoss has examples of oracle data sources at ${JBOSS_HOME}/docs/examples/jca you only need to copy it to the deploy folder and reconfigure to match your settings If you're doing out-of-container testing you probably only need to reconfigure your persistence.xml to point directly at your database. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4109457#4109457 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109457 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problems Using Oracle datasource to run a Seam Test usin
My point was that JBoss AS uses hsqldb for some internal persistence stuff not related to your app like Messaging. This shouldn't be the concern of your app... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4109270#4109270 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109270 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problems Using Oracle datasource to run a Seam Test usin
Not necessarily all the services the embedded container has to offer, just the persistence part. It gives me more confidence in the unit test when I test against oracle. When a dba applys changes adds/removes contraints/columns to our oracle schema, I really don't want to have to sync up each change and apply to hypersonic because its a maintenance headache trying to keep the DDL/DML synchronized - (at least I don't know of a way to auto-sync the schema changes between oracle and hypersonic). I know you can use the entities themselves to create/drop the tables in hypersonic, but there are times we have to write native sql and or stored procedures to optimize performance. If we are exclusively using the ORM layer for persistence, I guess we could use hypersonic for testNG and allow the create-drop feature in persistence.xml, but that would give us limited test coverage. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108943#4108943 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108943 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problems Using Oracle datasource to run a Seam Test usin
I'll hit up the embedded forums for further investigation.. Thanks for you reply.. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108945#4108945 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108945 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problems Using Oracle datasource to run a Seam Test usin
Did you really want to make all the services the embedded container has use oracle or just your app? Normally it would be just your app, and you would edit persistence-test.xml to point to a different datasource, which you would include on your classpath when running the test - I don't think you should be editing hsqldb-persistence-service.xml (and you would need to ask on the embedded forum if you want to do this). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108406#4108406 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108406 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problems Using Oracle datasource to run a Seam Test usin
Topic should read as follows:: Problems Using Oracle datasource to run a Seam Test using TestNG View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108179#4108179 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108179 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user