ott 24, 2013 10:39:35 PM org.hibernate.annotations.common.Version <clinit>
INFO: HCANN000001: Hibernate Commons Annotations {4.0.1.Final}
ott 24, 2013 10:39:35 PM org.hibernate.Version logVersion
INFO: HHH000412: Hibernate Core {4.1.4.Final}
ott 24, 2013 10:39:35 PM org.hibernate.cfg.Environment <clinit>
INFO: HHH000206: hibernate.properties not found
ott 24, 2013 10:39:35 PM org.hibernate.cfg.Environment buildBytecodeProvider
INFO: HHH000021: Bytecode provider name : javassist
ott 24, 2013 10:39:35 PM org.hibernate.cfg.Configuration configure
INFO: HHH000043: Configuring from resource: Util/hibernate.cfg.xml
ott 24, 2013 10:39:35 PM org.hibernate.cfg.Configuration getConfigurationInputStream
INFO: HHH000040: Configuration resource: Util/hibernate.cfg.xml
ott 24, 2013 10:39:35 PM org.hibernate.internal.util.xml.DTDEntityResolver resolveEntity
WARN: HHH000223: Recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
ott 24, 2013 10:39:35 PM org.hibernate.cfg.Configuration addResource
INFO: HHH000221: Reading mappings from resource: it/Product.hbm.xml
ott 24, 2013 10:39:35 PM org.hibernate.internal.util.xml.DTDEntityResolver resolveEntity
WARN: HHH000223: Recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
ott 24, 2013 10:39:35 PM org.hibernate.cfg.Configuration doConfigure
INFO: HHH000041: Configured SessionFactory:
ott 24, 2013 10:39:35 PM org.hibernate.service.jdbc.connections.internal.Dr iverManagerConnectionProviderImpl configure
INFO: HHH000402: Using Hibernate built-in connection pool (not for production use!)
ott 24, 2013 10:39:36 PM org.hibernate.service.jdbc.connections.internal.Dr iverManagerConnectionProviderImpl configure
INFO: HHH000115: Hibernate connection pool size: 20
ott 24, 2013 10:39:36 PM org.hibernate.service.jdbc.connections.internal.Dr iverManagerConnectionProviderImpl configure
INFO: HHH000006: Autocommit mode: false
ott 24, 2013 10:39:36 PM org.hibernate.service.jdbc.connections.internal.Dr iverManagerConnectionProviderImpl configure
INFO: HHH000401: using driver [oracle.jdbc.driver.OracleDriver] at URL [jdbcracle:thin:@localhost:1521:xe]
ott 24, 2013 10:39:36 PM org.hibernate.service.jdbc.connections.internal.Dr iverManagerConnectionProviderImpl configure
INFO: HHH000046: Connection properties: {user=SYSTEM, password=****}
ott 24, 2013 10:39:36 PM org.hibernate.dialect.Dialect <init>
INFO: HHH000400: Using dialect: org.hibernate.dialect.Oracle10gDialect
ott 24, 2013 10:39:36 PM org.hibernate.engine.transaction.internal.Transact ionFactoryInitiator initiateService
INFO: HHH000399: Using default transaction strategy (direct JDBC transactions)
ott 24, 2013 10:39:36 PM org.hibernate.hql.internal.ast.ASTQueryTranslatorF actory <init>
INFO: HHH000397: Using ASTQueryTranslatorFactory
ott 24, 2013 10:39:36 PM org.hibernate.internal.SessionFactoryRegistry addSessionFactory
WARN: HHH000277: Could not bind factory to JNDI
org.hibernate.service.jndi.JndiException: Error parsing JNDI name []
at org.hibernate.service.jndi.internal.JndiServiceImp l.parseName(JndiServiceImpl.java:92)
at org.hibernate.service.jndi.internal.JndiServiceImp l.bind(JndiServiceImpl.java:108)
at org.hibernate.internal.SessionFactoryRegistry.addS essionFactory(SessionFactoryRegistry.java:89)
at org.hibernate.internal.SessionFactoryImpl.<init>(S essionFactoryImpl.java:481)
at org.hibernate.cfg.Configuration.buildSessionFactor y(Configuration.java:1744)
at org.hibernate.cfg.Configuration.buildSessionFactor y(Configuration.java:1782)
at Util.ClientForSave.main(ClientForSave.java:18)
Caused by: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(U nknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unkn own Source)
at javax.naming.InitialContext.getURLOrDefaultInitCtx (Unknown Source)
at javax.naming.InitialContext.getNameParser(Unknown Source)
at org.hibernate.service.jndi.internal.JndiServiceImp l.parseName(JndiServiceImpl.java:86)
... 6 more
ott 24, 2013 10:39:36 PM org.hibernate.tool.hbm2ddl.SchemaUpdate execute
INFO: HHH000228: Running hbm2ddl schema update
ott 24, 2013 10:39:36 PM org.hibernate.tool.hbm2ddl.SchemaUpdate execute
INFO: HHH000102: Fetching database metadata
ott 24, 2013 10:39:36 PM org.hibernate.tool.hbm2ddl.SchemaUpdate execute
INFO: HHH000396: Updating schema
ott 24, 2013 10:39:36 PM org.hibernate.tool.hbm2ddl.TableMetadata <init>
INFO: HHH000261: Table found: SYSTEM.PRODUCT
ott 24, 2013 10:39:36 PM org.hibernate.tool.hbm2ddl.TableMetadata <init>


Rispondi quotando