-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: NoClassDefFoundError: javax/transaction/Synchronization??
PostPosted: Mon Jul 19, 2004 5:04 am 
Newbie

Joined: Fri Jul 16, 2004 3:34 am
Posts: 3
Hi, I'm new to Hibernate, but i made it work in few days, at home. Now, at work, I have to use it with an XML database, but I didn't try the integration jet, beacuse of this problem:

The application works fine till i build the Session Factory (there is no problem).
When i call the method buildSession(), it throws this exception:

Quote:

java.lang.NoClassDefFoundError: javax/transaction/Synchronization
net.sf.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:312)
net.sf.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:325)
net.sf.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:333)
persistenza.mySQL.MySQLMrcbDatabase.getSession(MySQLMrcbDatabase.java:43)
persistenza.mySQL.MySQLMrcbDatabase.autorizza(MySQLMrcbDatabase.java:123)
persistenza.Interrogatore.autorizza(Interrogatore.java:91)


This is the console:

Quote:
19-lug-2004 10.48.00 net.sf.hibernate.cfg.Environment <clinit>
INFO: Hibernate 2.1.4
19-lug-2004 10.48.00 net.sf.hibernate.cfg.Environment <clinit>
INFO: loaded properties from resource hibernate.properties: {hibernate.connection.driver_class=com.mysql.jdbc.Driver, hibernate.cglib.use_reflection_optimizer=false, hibernate.cache.provider_class=net.sf.ehcache.hibernate.Provider, hibernate.cache.use_query_cache=true, hibernate.max_fetch_depth=1, hibernate.dialect=net.sf.hibernate.dialect.MySQLDialect, hibernate.jdbc.use_streams_for_binary=true, hibernate.jdbc.batch_size=0, hibernate.query.substitutions=true 1, false 0, yes 'Y', no 'N', hibernate.proxool.pool_alias=pool1, hibernate.connection.username=root, hibernate.cache.region_prefix=hibernate.test, hibernate.connection.url=jdbc:mysql://localhost/biblio, hibernate.show_sql=true, hibernate.connection.pool_size=1}
19-lug-2004 10.48.00 net.sf.hibernate.cfg.Environment <clinit>
INFO: using java.io streams to persist binary types
19-lug-2004 10.48.00 net.sf.hibernate.cfg.Configuration addFile
INFO: Mapping file: d:\tomcat\webapps\biblio\Project.hbm.xml
19-lug-2004 10.48.04 net.sf.hibernate.cfg.Binder bindRootClass
INFO: Mapping class: modello.libro.relational.Mrcb -> Mrcb
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindRootClass
INFO: Mapping class: modello.libro.relational.MrcbNumbersAndCodes -> MrcbNumbersAndCodes
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindCollection
INFO: Mapping collection: modello.libro.relational.MrcbNumbersAndCodes.lingua -> Lingua
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindCollection
INFO: Mapping collection: modello.libro.relational.MrcbNumbersAndCodes.paese -> Paese
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindCollection
INFO: Mapping collection: modello.libro.relational.MrcbNumbersAndCodes.isbn -> Isbn
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindCollection
INFO: Mapping collection: modello.libro.relational.MrcbNumbersAndCodes.issn -> Issn
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindCollection
INFO: Mapping collection: modello.libro.relational.MrcbNumbersAndCodes.cdu -> Cdu
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindCollection
INFO: Mapping collection: modello.libro.relational.MrcbNumbersAndCodes.dewey -> Dewey
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindRootClass
INFO: Mapping class: modello.libro.relational.MrcbAddedEntry -> MrcbAddedEntry
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindRootClass
INFO: Mapping class: modello.libro.relational.MrcbSeriesStatement -> MrcbSeriesStatement
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindRootClass
INFO: Mapping class: modello.libro.relational.MrcbEditionImprintEtc -> MrcbEditionImprintEtc
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindCollection
INFO: Mapping collection: modello.libro.relational.MrcbEditionImprintEtc.edizione -> Edizione
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindRootClass
INFO: Mapping class: modello.libro.relational.MrcbTitleAndTitleRelated -> MrcbTitleAndTitleRelated
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindRootClass
INFO: Mapping class: modello.libro.relational.MrcbNotes -> MrcbNotes
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindCollection
INFO: Mapping collection: modello.libro.relational.MrcbNotes.note -> Note
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindRootClass
INFO: Mapping class: modello.libro.relational.MrcbPhysicalDescription -> MrcbPhysicalDescription
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindCollection
INFO: Mapping collection: modello.libro.relational.MrcbPhysicalDescription.descrizione -> Descrizione
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindRootClass
INFO: Mapping class: modello.libro.relational.MrcbMainEntry -> MrcbMainEntry
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindRootClass
INFO: Mapping class: modello.libro.relational.Serie -> Serie
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindRootClass
INFO: Mapping class: modello.libro.relational.Collaboratore -> Collaboratore
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindRootClass
INFO: Mapping class: modello.libro.relational.AutoreCongresso -> AutoreCongresso
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindRootClass
INFO: Mapping class: modello.libro.relational.AutoreCollettivo -> AutoreCollettivo
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindRootClass
INFO: Mapping class: modello.libro.relational.Autore -> Autore
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindRootClass
INFO: Mapping class: modello.utente.Utente -> Utente
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindRootClass
INFO: Mapping class: modello.utente.Amministratore -> Amministratore
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Configuration secondPassCompile
INFO: processing one-to-many association mappings
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindCollectionSecondPass
INFO: Mapping collection: modello.libro.relational.Mrcb.mrcbAddedEntry -> MrcbAddedEntry
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindCollectionSecondPass
INFO: Mapping collection: modello.libro.relational.Mrcb.mrcbNotes -> MrcbNotes
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindCollectionSecondPass
INFO: Mapping collection: modello.libro.relational.Mrcb.mrcbSeriesStatement -> MrcbSeriesStatement
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindCollectionSecondPass
INFO: Mapping collection: modello.libro.relational.Mrcb.mrcbEditionImprintEtc -> MrcbEditionImprintEtc
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindCollectionSecondPass
INFO: Mapping collection: modello.libro.relational.Mrcb.mrcbMainEntry -> MrcbMainEntry
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindCollectionSecondPass
INFO: Mapping collection: modello.libro.relational.Mrcb.mrcbTitleAndTitleRelated -> MrcbTitleAndTitleRelated
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindCollectionSecondPass
INFO: Mapping collection: modello.libro.relational.Mrcb.mrcbNumbersAndCodes -> MrcbNumbersAndCodes
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindCollectionSecondPass
INFO: Mapping collection: modello.libro.relational.Mrcb.mrcbPhysicalDescription -> MrcbPhysicalDescription
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindCollectionSecondPass
INFO: Mapping collection: modello.libro.relational.MrcbAddedEntry.collaboratore -> Collaboratore
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindCollectionSecondPass
INFO: Mapping collection: modello.libro.relational.MrcbSeriesStatement.serie -> Serie
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindCollectionSecondPass
INFO: Mapping collection: modello.libro.relational.MrcbMainEntry.autore -> Autore
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindCollectionSecondPass
INFO: Mapping collection: modello.libro.relational.MrcbMainEntry.autoreCollettivo -> AutoreCollettivo
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Binder bindCollectionSecondPass
INFO: Mapping collection: modello.libro.relational.MrcbMainEntry.autoreCongresso -> AutoreCongresso
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Configuration secondPassCompile
INFO: processing one-to-one association property references
19-lug-2004 10.48.05 net.sf.hibernate.cfg.Configuration secondPassCompile
INFO: processing foreign key constraints
19-lug-2004 10.48.05 net.sf.hibernate.dialect.Dialect <init>
INFO: Using dialect: net.sf.hibernate.dialect.MySQLDialect
19-lug-2004 10.48.05 net.sf.hibernate.cfg.SettingsFactory buildSettings
INFO: Maximim outer join fetch depth: 1
19-lug-2004 10.48.05 net.sf.hibernate.cfg.SettingsFactory buildSettings
INFO: Use outer join fetching: false
19-lug-2004 10.48.05 net.sf.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Using Hibernate built-in connection pool (not for production use!)
19-lug-2004 10.48.05 net.sf.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Hibernate connection pool size: 1
19-lug-2004 10.48.05 net.sf.hibernate.connection.DriverManagerConnectionProvider configure
INFO: using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost/biblio
19-lug-2004 10.48.05 net.sf.hibernate.connection.DriverManagerConnectionProvider configure
INFO: connection properties: {user=******, password=********}
19-lug-2004 10.48.05 net.sf.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
INFO: No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended)
19-lug-2004 10.48.06 net.sf.hibernate.cfg.SettingsFactory buildSettings
INFO: Use scrollable result sets: true
19-lug-2004 10.48.06 net.sf.hibernate.cfg.SettingsFactory buildSettings
INFO: Use JDBC3 getGeneratedKeys(): true
19-lug-2004 10.48.06 net.sf.hibernate.cfg.SettingsFactory buildSettings
INFO: Optimize cache for minimal puts: false
19-lug-2004 10.48.06 net.sf.hibernate.cfg.SettingsFactory buildSettings
INFO: echoing all SQL to stdout
19-lug-2004 10.48.06 net.sf.hibernate.cfg.SettingsFactory buildSettings
INFO: Query language substitutions: {no='N', true=1, yes='Y', false=0}
19-lug-2004 10.48.06 net.sf.hibernate.cfg.SettingsFactory buildSettings
INFO: cache provider: net.sf.ehcache.hibernate.Provider
19-lug-2004 10.48.06 net.sf.hibernate.cfg.Configuration configureCaches
INFO: instantiating and configuring caches
19-lug-2004 10.48.07 net.sf.hibernate.impl.SessionFactoryImpl <init>
INFO: building session factory
19-lug-2004 10.48.10 net.sf.hibernate.impl.SessionFactoryObjectFactory addInstance
INFO: no JNDI name configured
19-lug-2004 10.48.10 net.sf.hibernate.cache.UpdateTimestampsCache <init>
INFO: starting update timestamps cache at region: net.sf.hibernate.cache.UpdateTimestampsCache
19-lug-2004 10.48.10 net.sf.ehcache.hibernate.Plugin <init>
WARNING: Could not find configuration for net.sf.hibernate.cache.UpdateTimestampsCache. Configuring using the defaultCache settings.
19-lug-2004 10.48.10 net.sf.hibernate.cache.QueryCache <init>
INFO: starting query cache at region: net.sf.hibernate.cache.QueryCache
19-lug-2004 10.48.10 net.sf.ehcache.hibernate.Plugin <init>
WARNING: Could not find configuration for net.sf.hibernate.cache.QueryCache. Configuring using the defaultCache settings.

****At this point the Session Facotory is built, and everything seems ok******

java.lang.NoClassDefFoundError: javax/transaction/Synchronization
at net.sf.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:312)
at net.sf.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:325)
at net.sf.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:333)
at persistenza.mySQL.MySQLMrcbDatabase.getSession(MySQLMrcbDatabase.java:43)
at persistenza.mySQL.MySQLMrcbDatabase.doInsertNuovaPubblicazione(MySQLMrcbDatabase.java:300)
at persistenza.mySQL.MySQLMrcbDatabase.main(MySQLMrcbDatabase.java:413)
Exception in thread "main"


I'm using Hibernate version 2.1.4, with MySQL version 4.0.
The mapping document works at home, so i don't think the problem is there. However, I'll post it.

It seems, to me, that it couldn't find a class of the javax package, but in the Java API there is no Synchronization class!

Can you help me?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 19, 2004 5:07 am 
Newbie

Joined: Fri Jul 16, 2004 3:34 am
Posts: 3
This is the mapping document

Quote:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mappind DTD//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd">

<hibernate-mapping >

<class name="modello.libro.relational.Mrcb" table="Mrcb">
<id name="mrcbId" column="mrcb_id" type="java.lang.Integer">
<generator class="identity" />
</id>
<property name="controlNumber" type="string" unique="true" not-null="true"/>
<property name="dataInserimento" type="string"/>
<property name="dataUltimaTransazione" type="string"/>

<set name="mrcbAddedEntry" table="MrcbAddedEntry" cascade="all" >
<key column="mrcb_id" />
<one-to-many class="modello.libro.relational.MrcbAddedEntry"/>
</set>

<set name="mrcbNotes" table="MrcbNotes" cascade="all" >
<key column="mrc_id" />
<one-to-many class="modello.libro.relational.MrcbNotes"/>
</set>

<set name="mrcbSeriesStatement" table="MrcbSeriesStatement" cascade="all" >
<key column="mrcb_id" />
<one-to-many class="modello.libro.relational.MrcbSeriesStatement"/>
</set>

<set name="mrcbEditionImprintEtc" table="MrcbEditionImprintEtc" cascade="all" >
<key column="mrcb_id" />
<one-to-many class="modello.libro.relational.MrcbEditionImprintEtc"/>
</set>

<set name="mrcbMainEntry" table="MrcbMainEntry" cascade="all" >
<key column="mrcb_id" />
<one-to-many class="modello.libro.relational.MrcbMainEntry"/>
</set>

<set name="mrcbTitleAndTitleRelated" table="MrcbTitleAndTitleRelated" cascade="all" >
<key column="mrcb_id" />
<one-to-many class="modello.libro.relational.MrcbTitleAndTitleRelated"/>
</set>

<set name="mrcbNumbersAndCodes" table="MrcbNumbersAndCodes" cascade="all" >
<key column="mrcb_id" />
<one-to-many class="modello.libro.relational.MrcbNumbersAndCodes"/>
</set>

<set name="mrcbPhysicalDescription" table="MrcbPhysicalDescription" cascade="all" >
<key column="mrcb_id" />
<one-to-many class="modello.libro.relational.MrcbPhysicalDescription"/>
</set>

</class>

<class name="modello.libro.relational.MrcbNumbersAndCodes" table="MrcbNumbersAndCodes">
<id name="id" column="mrcbNumbersAndCodes_id" type="java.lang.Integer">
<generator class="identity"/>
</id>
<many-to-one name="mrcb" class="modello.libro.relational.Mrcb" column="mrcb_id"/>

<set name="lingua" table="Lingua" cascade="all" >
<key column="mrcbNumbersAndCodes_id"/>
<element type="string" column="lingua"/>
</set>

<set name="paese" table="Paese" cascade="all" >
<key column="mrcbNumbersAndCodes_id"/>
<element type="string" column="paese"/>
</set>

<set name="isbn" table="Isbn" cascade="all" >
<key column="mrcbNumbersAndCodes_id"/>
<element type="string" column="isbn"/>
</set>

<set name="issn" table="Issn" cascade="all" >
<key column="mrcbNumbersAndCodes_id"/>
<element type="string" column="issn"/>
</set>

<set name="cdu" table="Cdu" cascade="all" >
<key column="mrcbNumbersAndCodes_id"/>
<element type="string" column="cdu"/>
</set>

<set name="dewey" table="Dewey" cascade="all" >
<key column="mrcbNumbersAndCodes_id"/>
<element type="string" column="dewey"/>
</set>

</class>

<class name="modello.libro.relational.MrcbAddedEntry" table="MrcbAddedEntry">
<id column="mrcbAddedEntry_id" name="id" type="java.lang.Integer">
<generator class="identity"/>
</id>
<many-to-one name="mrcb" class="modello.libro.relational.Mrcb" column="mrcb_id"/>

<set name="collaboratore" table="Collaboratore" cascade="all" >
<key column="mrcbAddedEntry_id" />
<one-to-many class="modello.libro.relational.Collaboratore"/>
</set>
</class>

<class name="modello.libro.relational.MrcbSeriesStatement" table="MrcbSeriesStatement">
<id column="mrcbSeriesStatement_id" name="id" type="java.lang.Integer">
<generator class="identity"/>
</id>

<many-to-one name="mrcb" class="modello.libro.relational.Mrcb" column="mrcb_id"/>

<set name="serie" table="Serie" cascade="all" >
<key column="mrcbSeriesStatement_id" />
<one-to-many class="modello.libro.relational.Serie"/>
</set>
</class>

<class name="modello.libro.relational.MrcbEditionImprintEtc" table="MrcbEditionImprintEtc">
<id column="mrcbEditionImprintEtc_id" name="id" type="java.lang.Integer">
<generator class="identity" />
</id>
<property name="luogo" type="string"/>
<property name="editore" type="string"/>
<property name="anno" type="string"/>

<set name="edizione" table="Edizione" cascade="all" >
<key column="mrcbEditionImprintEtc_id"/>
<element type="string" column="edizione"/>
</set>

<many-to-one name="mrcb" class="modello.libro.relational.Mrcb" column="mrcb_id"/>

</class>

<class name="modello.libro.relational.MrcbTitleAndTitleRelated" table="MrcbTitleAndTitleRelated">
<id column="mrcbTitleAndTitleRelated_id" name="id" type="java.lang.Integer">
<generator class="identity" />
</id>
<property name="titolo" type="string"/>
<property name="sottotitolo" type="string"/>

<many-to-one name="mrcb" class="modello.libro.relational.Mrcb" column="mrcb_id"/>
</class>

<class name="modello.libro.relational.MrcbNotes" table="MrcbNotes">
<id column="mrcbNotes_id" name="id" type="java.lang.Integer">
<generator class="identity" />
</id>
<property name="Abstract" type="string"/>

<set name="note" table="Note" cascade="all" >
<key column="mrcbNotes_id"/>
<element type="string" column="note"/>
</set>
<many-to-one name="mrcb" class="modello.libro.relational.Mrcb" column="mrcb_id"/>
</class>

<class name="modello.libro.relational.MrcbPhysicalDescription" table="MrcbPhysicalDescription">
<id column="mrcbPhysicalDescription_id" name="id" type="java.lang.Integer">
<generator class="identity" />
</id>

<set name="descrizione" table="Descrizione" cascade="all" >
<key column="mrcbPhysicalDescription_id"/>
<element type="string" column="note"/>
</set>
<many-to-one name="mrcb" class="modello.libro.relational.Mrcb" column="mrcb_id"/>
</class>

<class name="modello.libro.relational.MrcbMainEntry" table="MrcbMainEntry">
<id column="mrcbMainEntry_id" name="id" type="java.lang.Integer">
<generator class="identity" />
</id>

<set name="autore" table="Autore" cascade="all" >
<key column="mrcbMainEntry_id" />
<one-to-many class="modello.libro.relational.Autore"/>
</set>

<set name="autoreCollettivo" table="AutoreCollettivo" cascade="all" >
<key column="mrcbMainEntry_id" />
<one-to-many class="modello.libro.relational.AutoreCollettivo"/>
</set>

<set name="autoreCongresso" table="AutoreCongresso" cascade="all" >
<key column="mrcbMainEntry_id" />
<one-to-many class="modello.libro.relational.AutoreCongresso"/>
</set>

<many-to-one name="mrcb" class="modello.libro.relational.Mrcb" column="mrcb_id"/>
</class>

<class name="modello.libro.relational.Serie" table="Serie">
<id column="serie_id" name="id" type="java.lang.Integer">
<generator class="identity" />
</id>
<property name="collezione" type="string"/>
<property name="collana" type="string"/>
<many-to-one name="mrcbSeriesStatement" class="modello.libro.relational.MrcbSeriesStatement" column="mrcbSeriesStatement_id"/>

</class>

<class name="modello.libro.relational.Collaboratore" table="Collaboratore">
<id column="collaboratore_id" name="id" type="java.lang.Integer">
<generator class="identity" />
</id>
<property name="nome" type="string"/>
<property name="affiliazione" type="string"/>
<many-to-one name="mrcbAddedEntry" class="modello.libro.relational.MrcbAddedEntry" column="mrcbAddedEntry_id"/>

</class>

<class name="modello.libro.relational.AutoreCongresso" table="AutoreCongresso">
<id column="autoreCongresso_id" name="id" type="java.lang.Integer">
<generator class="identity" />
</id>
<property name="nome" type="string"/>
<property name="numero" type="string"/>
<property name="data" type="string"/>
<property name="luogo" type="string"/>

<many-to-one name="mrcbMainEntry" class="modello.libro.relational.MrcbMainEntry" column="mrcbMainEntry_id"/>

</class>

<class name="modello.libro.relational.AutoreCollettivo" table="AutoreCollettivo">
<id column="autoreCollettivo_id" name="id" type="java.lang.Integer">
<generator class="identity" />
</id>
<property name="nome" type="string"/>
<property name="unita" type="string"/>

<many-to-one name="mrcbMainEntry" class="modello.libro.relational.MrcbMainEntry" column="mrcbMainEntry_id"/>

</class>

<class name="modello.libro.relational.Autore" table="Autore">
<id column="autore_id" name="id" type="java.lang.Integer">
<generator class="identity" />
</id>
<property name="nome" type="string"/>
<property name="affiliazione" type="string"/>
<property name="dataDiNascita" type="string"/>

<many-to-one name="mrcbMainEntry" class="modello.libro.relational.MrcbMainEntry" column="mrcbMainEntry_id"/>

</class>

<class name="modello.utente.Utente" table="Utente">
<id name="id" column="utente_id" type="java.lang.Integer">
<generator class="identity"/>
</id>
<property name="nome" type="string"/>
<property name="cognome" type="string"/>
<property name="username" type="string"/>
<property name="password" type="string"/>
<property name="email" type="string"/>
<property name="fax" type="string" />
<property name="telInterno" type="string"/>
<property name="telCellulare" type="string"/>
<property name="telCasa" type="string"/>
<property name="profilo" type="string"/>
</class>

<class name="modello.utente.Amministratore" table="Amministratore">
<id name="id" column="amministratore_id" type="java.lang.Integer">
<generator class="identity"/>
</id>
<property name="nome" type="string"/>
<property name="cognome" type="string"/>
<property name="username" type="string"/>
<property name="password" type="string"/>
<property name="modifiche" type="string"/>
</class>

</hibernate-mapping>


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 19, 2004 5:51 am 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
you are missing jta.jar from your application classpath


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 19, 2004 6:03 am 
Newbie

Joined: Fri Jul 16, 2004 3:34 am
Posts: 3
michael wrote:
you are missing jta.jar from your application classpath


thank you :D

Sorry for the stupid question :P


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


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

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.