Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 1 of 1

Thread: Help!!! xampp , derby , java program connection db problems

  1. #1
    Junior Member camel's Avatar
    Join Date
    Mar 2011
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Help!!! xampp , derby , java program connection db problems

    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!
    Attached Images Attached Images
    Last edited by camel; April 3rd, 2011 at 11:28 AM.


Similar Threads

  1. Replies: 3
    Last Post: April 16th, 2011, 01:38 PM
  2. [SOLVED] Java app with Netbeans and Derby database
    By Kakashi in forum JDBC & Databases
    Replies: 3
    Last Post: March 17th, 2011, 02:35 PM
  3. Java (Derby) Help
    By Neon612 in forum JDBC & Databases
    Replies: 3
    Last Post: August 19th, 2010, 08:40 PM
  4. problems with connection to mysql database
    By thepower in forum What's Wrong With My Code?
    Replies: 1
    Last Post: April 20th, 2010, 02:59 AM
  5. Replies: 4
    Last Post: September 19th, 2009, 11:56 PM