 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Alfonso12 Guest
|
Posted: Wed Apr 19, 2006 2:12 pm Post subject: statement hibernate |
|
|
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
|
Posted: Wed Apr 19, 2006 3:12 pm Post subject: Re: statement hibernate |
|
|
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
|
Posted: Wed Apr 19, 2006 9:12 pm Post subject: Re: statement hibernate |
|
|
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 |
|
 |
|
|
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
|
|