Hello !
I had followed this tutorial YouTube - Hibernate and Java
and the program worked! yay! but now it doesnt...
I get this message when I run it.
run:
Apr 3, 2011 4:20:57 PM org.hibernate.cfg.Environment <clinit>
INFO: Hibernate 3.2.5
Apr 3, 2011 4:20:57 PM org.hibernate.cfg.Environment <clinit>
INFO: hibernate.properties not found
Apr 3, 2011 4:20:57 PM org.hibernate.cfg.Environment buildBytecodeProvider
INFO: Bytecode provider name : cglib
Apr 3, 2011 4:20:57 PM org.hibernate.cfg.Environment <clinit>
INFO: using JDK 1.4 java.sql.Timestamp handling
Apr 3, 2011 4:20:57 PM org.hibernate.cfg.Configuration configure
INFO: configuring from resource: /hibernate.cfg.xml
Apr 3, 2011 4:20:57 PM org.hibernate.cfg.Configuration getConfigurationInputStream
INFO: Configuration resource: /hibernate.cfg.xml
Apr 3, 2011 4:20:57 PM org.hibernate.cfg.Configuration doConfigure
INFO: Configured SessionFactory: null
Apr 3, 2011 4:20:57 PM org.hibernate.connection.DriverManagerConnectionPr ovider configure
INFO: Using Hibernate built-in connection pool (not for production use!)
Apr 3, 2011 4:20:57 PM org.hibernate.connection.DriverManagerConnectionPr ovider configure
INFO: Hibernate connection pool size: 20
Apr 3, 2011 4:20:57 PM org.hibernate.connection.DriverManagerConnectionPr ovider configure
INFO: autocommit mode: false
Apr 3, 2011 4:20:57 PM org.hibernate.connection.DriverManagerConnectionPr ovider configure
INFO: using driver: org.apache.derby.jdbc.ClientDriver at URL: jdbc:derby://localhost:1527/HibernateDB
Apr 3, 2011 4:20:57 PM org.hibernate.connection.DriverManagerConnectionPr ovider configure
INFO: connection properties: {user=app, password=****}
Apr 3, 2011 4:20:58 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: RDBMS: Apache Derby, version: 10.5.3.0 - (802917)
Apr 3, 2011 4:20:58 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC driver: Apache Derby Network Client JDBC Driver, version: 10.5.3.0 - (802917)
Apr 3, 2011 4:20:58 PM org.hibernate.dialect.Dialect <init>
INFO: Using dialect: org.hibernate.dialect.DerbyDialect
Apr 3, 2011 4:20:58 PM org.hibernate.transaction.TransactionFactoryFactor y buildTransactionFactory
INFO: Using default transaction strategy (direct JDBC transactions)
Apr 3, 2011 4:20:58 PM org.hibernate.transaction.TransactionManagerLookup Factory getTransactionManagerLookup
INFO: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
Apr 3, 2011 4:20:58 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic flush during beforeCompletion(): disabled
Apr 3, 2011 4:20:58 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic session close at end of transaction: disabled
Apr 3, 2011 4:20:58 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Scrollable result sets: enabled
Apr 3, 2011 4:20:58 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC3 getGeneratedKeys(): disabled
Apr 3, 2011 4:20:58 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Connection release mode: auto
Apr 3, 2011 4:20:58 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default batch fetch size: 1
Apr 3, 2011 4:20:58 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Generate SQL with comments: disabled
Apr 3, 2011 4:20:58 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Order SQL updates by primary key: disabled
Apr 3, 2011 4:20:58 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Order SQL inserts for batching: disabled
Apr 3, 2011 4:20:58 PM org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
Apr 3, 2011 4:20:58 PM org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
INFO: Using ASTQueryTranslatorFactory
Apr 3, 2011 4:20:58 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query language substitutions: {}
Apr 3, 2011 4:20:58 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JPA-QL strict compliance: disabled
Apr 3, 2011 4:20:58 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Second-level cache: enabled
Apr 3, 2011 4:20:58 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query cache: disabled
Apr 3, 2011 4:20:58 PM org.hibernate.cfg.SettingsFactory createCacheProvider
INFO: Cache provider: org.hibernate.cache.NoCacheProvider
Apr 3, 2011 4:20:58 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Optimize cache for minimal puts: disabled
Apr 3, 2011 4:20:58 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Structured second-level cache entries: disabled
Apr 3, 2011 4:20:58 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Statistics: disabled
Apr 3, 2011 4:20:58 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Deleted entity synthetic identifier rollback: disabled
Apr 3, 2011 4:20:58 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default entity-mode: pojo
Apr 3, 2011 4:20:58 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Named query checking : enabled
Apr 3, 2011 4:20:58 PM org.hibernate.impl.SessionFactoryImpl <init>
INFO: building session factory
Apr 3, 2011 4:20:58 PM org.hibernate.impl.SessionFactoryObjectFactory addInstance
INFO: Not binding factory to JNDI, no JNDI name configured
Unknown entity: myhybernatetest.Customer
BUILD SUCCESSFUL (total time: 8 seconds)
so yea, It worked fine at first.. I dont know maybe some settings changed on my computer. "myhybernatetest" is the project and "Customer" is the DB.
I disabled windows firewall encase it was that but ... didnt work.
I had attached a screen of xampp which I run in admin mode of course and some other screens from netbeans
Please help me!