Connection String + parameters

39 views
Skip to first unread message

mansoor

unread,
Feb 2, 2012, 1:45:18 PM2/2/12
to Hibernate Profiler
Hello Every one,


I have installed Hibernate Profiler and I have two problems at this
time.

1. I am not 100% sure that my connection string is working while I am
not able to get the "Query plan for this statement" and "See the
row(s) resulting from this statement". Here is my connection string
for MS SQL Server

Data Source=server1:1433;Initial Catalog=database1;User
ID=user1;Password=abcdef12345

Can any please guide me what I am doing wrong here.

2. In the "Detail page" Param and Values are not shown. Is there any
other configuration to get this value.

I am using HibernateProfiler.initialize() in my application.


Looking forward for the reply.

Kind Regards
Mansoor

Fitzchak Yitzchaki

unread,
Feb 12, 2012, 2:25:35 AM2/12/12
to hibernate...@googlegroups.com
Actually, your connection string seems to be correct.
Do you get any error message? Can you try to test the connection string directly against Sql Server and see if it's working?

On Sun, Feb 12, 2012 at 9:14 AM, Fitzchak Yitzchaki <fitz...@hibernatingrhinos.com> wrote:
Hello,

The connection string should be .Net connection string, and not the java one.
You can see an examples to .Net connection strings for Sql Server here.

Please try to use the right connection string, you should next see that the profiler start display some data (which depends on your usage).
Reply all
Reply to author
Forward
0 new messages