users@glassfish.java.net

Re: JPA (hibernate provider), hosted in glassfish, does not fetch data

From: Mitesh Meswani <Mitesh.Meswani_at_Sun.COM>
Date: Mon, 25 Jan 2010 17:34:42 -0800

Can you please make sure that the created data source points to same
database. You can compare the corresponding domain.xml entries to assert
this.

On 1/25/2010 2:55 PM, glassfish_at_javadesktop.org wrote:
> I have set up a data source to a database on glassfish (version 2.1.1 and version 2.1) Ping to data source is successful from both servers. I run v2.1.1 on linux (database mysql 5.1) and v2,1 on windows vista (database sql server 2008). I use hibernate on both servers. My project does not fetch data from both servers but it does not throw any exception. I run my project on a third installation too. On the later installation I use glassfish v2u2 on windows XP. It connects to both mysql and sql server 2008. This installation does fetch data from both a mysql and a sql server 2008 database.
>
> What goes wrong to the first two installations? If you have not the answer could you help me find out the problem?
>
> Thank in advance.
> [Message sent by forum member 'pneiros' (pneiros_at_gmail.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=382874
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>