Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Help: GWT , RequestFactory with SQLServer ???
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
laxman lingampally  
View profile  
 More options May 9 2012, 5:18 am
From: laxman lingampally <lingampall.lax...@gmail.com>
Date: Wed, 9 May 2012 14:48:21 +0530
Local: Wed, May 9 2012 5:18 am
Subject: Help: GWT , RequestFactory with SQLServer ???

Hi all,

please help me out asap,

i have a question

it is passible GWT, RF(RequestFactory) with any database ( not Google
Datastore GAE & GQL ,google cloud)?

i have doubt it is passible or not ?

Thanks & Regards
laxman.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jens  
View profile  
 More options May 9 2012, 5:31 am
From: Jens <jens.nehlme...@gmail.com>
Date: Wed, 9 May 2012 02:31:29 -0700 (PDT)
Local: Wed, May 9 2012 5:31 am
Subject: Re: Help: GWT , RequestFactory with SQLServer ???

Sure its possible. GWT/RF does not make any assumptions about the database
you are using.

-- J.

Am Mittwoch, 9. Mai 2012 11:18:21 UTC+2 schrieb laxman lingampally:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
laxman lingampally  
View profile  
 More options May 9 2012, 6:09 am
From: laxman lingampally <lingampall.lax...@gmail.com>
Date: Wed, 9 May 2012 15:39:04 +0530
Local: Wed, May 9 2012 6:09 am
Subject: Re: Help: GWT , RequestFactory with SQLServer ???

Hi

 Thanks for the quick reply!!

thnaks a lot

i am trying to working on using GWT/RF and SQLServer with Hibernate, my web
application runing is fine

but i am trying connect to sql server database at that time i got
exceptions that exception  i given below:

Exception:
*
*
* java.security.AccessControlException: access denied
(java.net.SocketPermission localhost:1433 connect,resolve)*

myHibernate code given below:

1) this in side  POJO class:Here Contact.java is a POJO class

//same setter and getter here
 this code is in side persiste method

                           SessionFactory sf = new
Configuration().configure().buildSessionFactory();
session = sf.openSession();
Transaction trans =session.beginTransaction();
Contact contact = new Contact();
contact.setId(6);
contact.setName("dyna");
session.save(contact);
trans.commit();

2)Hibernate.cfg,xml file.

<hibernate-configuration>
<session-factory>
  <property
name="hibernate.connection.driver_class">com.microsoft.sqlserver.jdbc.SQLSe rverDriver</property>
  <property
name="hibernate.connection.url">jdbc:sqlserver://localhost;databaseName=gwt rf</property>
  <property name="hibernate.connection.username">sa</property>
  <property name="hibernate.connection.password">root</property>
  <property name="hibernate.connection.pool_size">10</property>
  <property name="show_sql">true</property>
  <property name="dialect">org.hibernate.dialect.SQLServerDialect</property>
  <!-- <property name="hibernate.hbm2ddl.auto">create-drop</property> -->
  <!-- Mapping files -->
  <mapping resource="contact.hbm.xml"/>
</session-factory>
</hibernate-configuration>

3)mapping file:

<hibernate-mapping>

  <class name="com.webreg.server.Event" table="sample">
   <id name="id" type="long" column="ID" >
   <generator class="assigned"/>
  </id>

  <property name="name">
   <column name="NAME" />
  </property>

 </class>
--------------------------------------------------------------------------- -------------------------

Please tell me where i am done worng ,

i am using all related hibernate jars , gwt/rf jars.  but i am tring to
connect jdbc also giving same exception


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »