AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

statement hibernate

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java (Italian)
View previous topic :: View next topic  
Author Message
Alfonso12
Guest





PostPosted: Wed Apr 19, 2006 2:12 pm    Post subject: statement hibernate Reply with quote



Hibernate è possibile configurarlo in modo da comunicare con il db
mediante uno statement , piuttosto che con i dati quali userid, pwd ...
?
Back to top
Vincent Vega
Guest





PostPosted: Wed Apr 19, 2006 3:12 pm    Post subject: Re: statement hibernate Reply with quote



Alfonso12 wrote:

Quote:
Hibernate è possibile configurarlo in modo da comunicare con il db
mediante uno statement , piuttosto che con i dati quali userid, pwd ...
?

Non ho capito che vuoi dire.
Back to top
Alfonso12
Guest





PostPosted: Wed Apr 19, 2006 9:12 pm    Post subject: Re: statement hibernate Reply with quote



Mi spiego meglio, nel file di configurazione di hibernate c'è:

<property
name="connection.driver_class">org.hsqldb.jdbcDriver</property>
<property
name="connection.url">jdbc:hsqldb:hsql://localhost</property>
<property name="connection.username">sa</property>
<property name="connection.password"></property>

Mi chiedevo se non è possibile dirgli di usare una variabile di tipo
Statement ?
In sostanza, apro la connessione e poi passo ad hibernate lo statement.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.