1. some Hibernate Question stackoverflow.comI have 2 question I wanna make Mysql table that have charset utf8 but I don't know where I shoud set the setting. (I just have a hibernate.cfg.XMl no any .xml ... |
2. database sharing between two servers stackoverflow.comMy current set up is a single dedicated server with Java, hibernate app running on tomcat, apache http server, MYSQL. I need to get a second server to share the load, but ... |
3. Elegant way to handle upsert with Hibernate and MySQL stackoverflow.comI'm currently working on a batch import feature that sits on top of Hibernate and MySQL. My goal is to have Upsert functionality for several tables. I'm finding myself writing a ... |
4. Killing Mysql processes staying in sleep command stackoverflow.comI am connecting a MYSQL database through hibernate and i seem to have processes that are not being killed after they are finished in the session. I have called flush and ... |
5. How to use Mysql variables with Hibernate? stackoverflow.comI need to use a native sql query in Hibernate with use of variable. But hibernate throws an error saying: Space is not allowed after parameter prefix So there is a conflict with ... |
6. How do I use mysql compress() / uncompress() with hibernate? stackoverflow.comHow do I use mysql's compress() and uncompress() functions to compress text before I store it and uncompress it when I retrieve it using a mysql database with hibernate for ORM? ... |
7. any third party free Java library that can calculate grades based upon marks of student? stackoverflow.comHi i am making a school information software. Is there any third party reliable library that can be used for calculating grades of students referring marks for the same from specified ... |
8. How to use database as backup/failover in hibernate? stackoverflow.comMy application is based on the hibernate to fetched data from a mysql server. This mysql server is replicated to another mysql server instance. Today, I got a downtime as the ... |
9. Hibernate: what's the difference between MySQLDialect and MySQLInnoDBDialect? stackoverflow.comWhat's the difference between MySQLDialect and MySQLInnoDBDialect? I've used MySQLDialect ever since, now I wonder how the above are different. Anyone? |
10. MySQL & NetBeans problems stackoverflow.comIm doing for faculty some homeworks and have problem with one where I'm suppoused to run Tapestry application from NB and to input some values and then that values should be ... |
11. Hibernate question stackoverflow.comI getting an error when running my program. the error is: org.hibernate.HibernateException: JDBC Driver class not found: com.mysql.jdbc.Driver. The driver is there...I am not sure what it causing this. Any suggestions?
|
12. Hibernate basic resource details needed stackoverflow.comFor developing a simple hibernate application, what are the libraries and APIs needed? Obviously J2SE and a SQL database, I know, but, what about others? Application servers, etc...? Thanks! |
13. DateDiff in Hibernate stackoverflow.comHow to use Datediff (of MySQL) in Hibernate? |
14. Cannot create PoolableConnectionFactory stackoverflow.comWhat is the problem? Can't connect to database?
|
15. hibernate change database dynamically for maintenance stackoverflow.comI have a java webapp using hibernate over MYSQL db. I need at least an hour of data maintenance daily, hence I need to bring down the db and switch ... |
16. HIbernate with java stackoverflow.comI have these three tables. want to make pojo class and hibernate configuration files but confused in relationship. any help would be appriciate..
|
17. Hibernate: MySql vs ' ' user stackoverflow.comI've started learning hibernate. Here is my hibernate-configuration file:
|
18. mysql/hibernate: CAnnotAcquireResourceException stackoverflow.comI have a java application that is reading lots of data from a mysql database for processing, but it failed right away after I started the app, and threw this error:
|
19. How to work with 2 RDBMS in a project stackoverflow.comI'm working with an java-web using MySQL RDBMS and I'm using Hibernate as an ORM in my project. |
20. Non-GPL MySql connectivity from Java via Hibernate? stackoverflow.comI want to write a Java program that connects to MySQL using Hibernate, but I don't want my code infected by GPL, is there an Open Source library out there with ... |
21. Hibernate scheme naming differs between OS stackoverflow.comI am facing the problem that the hibernate generated schema names (table names for example) differ between Windows and Linux. On Windows all table names are small case, e.g. |
22. Hibernate & MySQL: Streaming a huge result set stackoverflow.comI am trying to use hibernate to produce a dump of data from a database in a specific format and I am presently trying to do this using a ScrollableResults and ... |
23. SHA Using Hibernate & MySQL stackoverflow.comWe used JDBC in our application earlier and database was MySQL. Any password inserted or read from database were done using SHA. Since now we are migrating to Hibernate from MySQL, ... |
24. Changing the projected value with MySQL stackoverflow.comHow to change the projected value from select in MySQL? Is it possible with the following SQL?
Thanks in advance
|
25. using Hibernate in netbeans: No CurrentSessionContext configured? stackoverflow.comI am trying to access MYSQL DataBase in my java application through hibernate using netbeans. I did this instructions exactly: but when I run my program, as I want ... |
26. Hibernate MySQL Haversine stackoverflow.comI am attempting to use the Haversine formula. Ideally, I would like to use Hibernate provider with JPA and MySQL. This is the following query that I am using which appears ... |
27. Display value from db in web page using hibernate stackoverflow.comI have a simple web application which retrives all enterys from a db table and when clicked on shows more details from other tables. I am using hibernate to map the ... |
28. JPA-TopLink-MySQL forums.netbeans.orgSearch: NetBeans Forums FAQ Search Memberlist Register Profile Log in to check your private messages Log in ... |
29. Newbie's question for Hibernate+MySQL coderanch.comI am trying to use Hibernate 3.0 + MySQL for a demo application. However, I got a problem for the syntax of my query. A simple example would be to list all the event from Events table. From some tutorial, the following code would bring you all the events: List result = session.createQuery("from events").list(); However, I always got exception saying checking ... |
30. How to Configuring mysql db with JPA aplication? coderanch.com |
31. MySQL Autoincriment problem with JPA coderanch.com |
32. Problem in MySQL/Hibernate coderanch.com |
33. Reg. Updation in MySQL Database using Hibernate. coderanch.comI have a Composite key and i need only one of its key to get auto incremented. How is it possible to do it in Hibernate? I have set that key in MySQL Database to be a auto-increment but it is not functioning properly. I am encountering the following scenario. Actually the MySQL sequence starts with 1000, but while inserting to ... |
34. Problems with hibernate and mysql? coderanch.comHello everyone I want to run a .jar file, but the only way to run in my computer is with the command "java -jar file.jar ", but the problem is that the application conects to a mysql database, when I want to add something in the program appear a message that say "cannot open a conection", ant I get this in ... |
35. mysql db /hibernate -- running out of space coderanch.comHi Guys, We've been using mysql for quite some time (2yr) and learned that the size of the db tends to grow over time. Currently, if we dump my db we get a 3.2GB file. I'm aware that mySql can hold up to 4GB of data (I guess only on 32bit os). If this continues, we may find that the db ... |
36. Issue with JPA + MySQL coderanch.com |
37. Hibernate and MySQL Views coderanch.comHi I have a view that contains the following data. +---------+-------------+----------+ | team_id | cust_type | count(*) | +---------+-------------+----------+ | 2 | Account | 12 | | 2 | Lead | 13 | | 2 | Opportunity | 5 | | 2 | Others | 1 | | 2 | Partner | 16 | | 2 | PO | 5 | ... |
38. Difficulties using Hibernate + MySQL java-forums.orgHi! I'm having my fisrt attempt to use Hibernate with a Mysql database. I'm just trying to insert a row into a table. When the code is run, no errors appear, but the following text appears in the console (and nothing is inserted into the database): Inserting Record Hibernate: insert into CONTACT (FIRSTNAME, LASTNAME, EMAIL) values (?, ?, ?) Done Shouldn't ... |
39. Hibernate With MySql forum.hibernate.orgI use hibernate 3.2.5 and mysql db.... Iam able to run my application in my local server, but when i deploy it in a private server (Mocha host), iam getting an exception org.hibernate.exception.SQLGrammarException: could not execute query Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: SELECT command denied to user 'lorlabs1_cloud'@'localhost' for table 'userTBL' Whenever i do any operation that db it is telling that access ... |
40. Dealing with reserved works on MySQL forum.hibernate.orgI would like to configure an existing application to use MySQL. Unfortunately the schema of the application contains some reserved word which cause the application to fail when run against MySQL. Initially I hoped to get around the problem by creating the tables manually and enclose the reserved words in quotes as suggested here:http://dev.mysql.com/doc/refman/5.0/en/reserved-words.html However there are still references to the ... |
41. Blobbing to and from MySQL forum.hibernate.orgHi gang, got a weird problem and hoping someone can give me a hint. I have an Image class with binary data which I represent as byte[] (I also tried Blob which I may go back to as it probably will use less memory - streams instead of large byte arrays). I have the proper mapping and my data saves fine ... |
42. mysql issues with hibernate forum.hibernate.orgAuthor Message yuccanel@live.co.za Post subject: mysql issues with hibernate Posted: Tue May 04, 2010 4:47 am Newbie Joined: Tue May 04, 2010 4:38 am Posts: 4 I have used ide's to generate my entities from mysql and I cant seem to get my test data into the database. I get a wrapped mysql exeption as follows in tomcat 6: ... |
43. Hibernate no longer able to log in to mySQL forum.hibernate.orgDISCLAIMER: I'm a veteran programmer but brand new to this environment. Short Version: After upgrading to a new Mac and transferring everything with Time Machine, my Hibernate(/Spring/Tomcat/Eclipse) gets an "access denied" error when trying to connect to mySQL. Long Version: I have a server app built in Eclipse with Hibernate and Spring. Starting from SVN source, I was painstakingly able to ... |
44. problem with weblogic 11r1 with hibernate and mysql forum.hibernate.orgHello, like the title i have problems using hibernate with weblogic.I've seen more then 100 pages on google on the argument but i am always stuck at some point. My project was working beautifly with jboss, but with weblogic i have a problem with the MySql connection.I don't know exactly what to do. If someone could tell me what is wrong ... |
45. MySQL CONV method forum.hibernate.org |
46. Charset from Mysql - dotproject forum.hibernate.orgI've an aplication swing that a query to database mysql and the query return me many errors of charset... The database and the tables have the type latin1, but alred change to utf8, latin1, unicode, etc... In my aplication, I use hibernate and change to utf8, unicode iso-8859-1, etc, etc... too In the properties from hibernate alread tryed: |
47. Problem with Mysql 5.5.10 on MAC OSX forum.hibernate.orgNewbie Joined: Sat Apr 02, 2011 1:06 pm Posts: 3 Hi there, I have a piece of code that used to work great up until today. My computer crashed so I had to reinstall it, and as a result installed the latest MYSQL from Oracle - 5.5.10. After running the application again it fails with this exception: Code: Caused by: java.sql.BatchUpdateException: ... |
48. Hibernate and MySQL Views forum.hibernate.orgHi I have a view that contains the following data. Code: +---------+-------------+----------+ | team_id | cust_type | count(*) | +---------+-------------+----------+ | 2 | Account | 12 | | 2 | Lead ... |
49. float rounding on MySQL forum.hibernate.orgHello, I have a float rounding problem with Hibernate which only appears with MySQL. The problem is: when an object contains a float data type, values inserted in mysql are rounded to their closest integers. For instance: |
50. ArrayIndexOutOfBoundsException when use mysql forum.hibernate.orgI met a strange question. I have two class: ---------------------------------------------------------------------------------- |
51. org.gjt.mm.mysql.jdbc2.NotImplemented forum.hibernate.org |
52. Mysql deserialization Problem forum.hibernate.orghk.hku.csis.biosphere.webservices.buffer.PersistenceException: net.sf.hibernate.type.SerializationException: Could not deserialize a serializable property: at hk.hku.csis.biosphere.webservices.buffer.DatabaseCompletedTaskBuffer.getCompletedTask(DatabaseCompletedTaskBuffer.java:82) at hk.hku.csis.biosphere.webservices.buffer.DatabaseCompletedTaskBuffer.main(DatabaseCompletedTaskBuffer.java:91) Caused by: net.sf.hibernate.type.SerializationException: Could not deserialize a serializable property: at net.sf.hibernate.type.SerializableType.fromBytes(SerializableType.java:75) at net.sf.hibernate.type.SerializableType.get(SerializableType.java:35) at net.sf.hibernate.type.NullableType.nullSafeGet(NullableType.java:59) at net.sf.hibernate.type.NullableType.nullSafeGet(NullableType.java:51) at net.sf.hibernate.type.AbstractType.hydrate(AbstractType.java:66) at net.sf.hibernate.loader.Loader.hydrate(Loader.java:419) at ... |
53. MySQL longtext forum.hibernate.org |
54. deserialization problem with MySQL? forum.hibernate.orgHi! I've created a class and a mapping for it. I developed my application using hibernate with the hsql-database, which worked fine for me. However: I tryed to switch to a Mysql-DB, so I changes the hibernate.properties to match my MySQL-Settings. My application can write to tha new MYSQL-Database and serialize all Objects without a problem but when it comes to ... |
55. MySql subselect work around? forum.hibernate.org |
56. recommended dbpool for a production mysql database forum.hibernate.orgHi, I am moving a hibernate app into production. It will use a mysql 4.0 server with the standard jdbc driver. Standard webapp usage (up 7/24).Could someone recommend a dbpool? I would like it to be able to reconnect automatically to the database if the db goes down (as we take the db down for 5 minuts each nite to do ... |
57. junit fails with mysql forum.hibernate.orgusing 2.1.2 and mysql server 4.0.18-9. the first problem seems to have something to do with the case in the table name. the second one says he can not deserialize a long. anybody got a clue? thanks from sql loader test: SQLException occurred net.sf.hibernate.JDBCException: SQLException occurred at net.sf.hibernate.impl.SessionImpl.findBySQL(SessionImpl.java:3767) at net.sf.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:52) at org.hibernate.test.SQLLoaderTest.testFindBySQLStar(SQLLoaderTest.java:64) at org.hibernate.test.TestCase.runTest(TestCase.java:82) Caused by: java.sql.SQLException: General error, message from ... |
58. Hibernate quickstart failed with MySql forum.hibernate.orgHI I have MySql server version 4.0.15-NT on a Windows XP machine, and the mysql-connector-java-2.0.14-bin.jar JDBC driver. My hibernate.properties setting is: ## MySQL hibernate.dialect net.sf.hibernate.dialect.MySQLDialect hibernate.connection.driver_class org.gjt.mm.mysql.Driver #hibernate.connection.driver_class com.mysql.jdbc.Driver hibernate.connection.url jdbc:mysql://localhost/test hibernate.connection.username root hibernate.connection.password But when I execute "ant eg", I get the following error: [java] Setting up some test data [java] java.lang.AbstractMethodError: com.mysql.jdbc.jdbc2.Connection.prepareStatement(Ljava/lang/String;I)Ljava/sql/PreparedStatement; [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ... |
59. hibernate "freezes" mysql 5.0 forum.hibernate.orgHi, I just started writing a simple app using hibernate 2.1.2 and MySQL 5.0. After running a simple transaction, MySQL seems to freeze up on me. To illustrate, here is the first run of my code: ------------------------------------- Configuration cfg = new Configuration().addClass(Product.class); SessionFactory sf = cfg.buildSessionFactory(); Session sess = sf.openSession(); Transaction t = sess.beginTransaction(); sess.save(p); t.commit(); sess.close(); --------------------------------------- This 'completes' just ... |
60. MySQL and txns forum.hibernate.orgDoes hibernate use the txn of the underlying database? I ask since I'm going to use MySQL for a project, and was wondering if I am required to use the InnoDB table type since the default, MyISAM doesn't support txns. I was wondering how hibernate gets around this (or does it)? Thanks |
61. "Sleeping" MYSQL Database? forum.hibernate.orgAuthor Message Brannor McThife Post subject: "Sleeping" MYSQL Database? Posted: Mon Apr 26, 2004 2:02 am Senior Joined: Tue Sep 23, 2003 8:18 am Posts: 137 Location: Johannesburg, South Africa |
62. hibernate and mysql forum.hibernate.org |
63. MySQL Catalogs and hibernate forum.hibernate.orgHi all, Does hibernate have any way of supporting MySQL catlogs? I asked a similar question some time ago and got the feeling that perhaps support for my particular issue was on the way. My problem is that a design decision was made years ago that means that our database is split up into several catalogs (or databases as MySQL calls ... |
64. AbstractMethodError whith "ant eg" with mysql driv forum.hibernate.orghi, I am trying to run the eg example with mysql driver 2.0.14 (my production driver) on mysql 3.23 with hibernate 2.1 Here is my hibernate.properties ## MySQL hibernate.dialect net.sf.hibernate.dialect.MySQLDialect hibernate.connection.driver_class org.gjt.mm.mysql.Driver #hibernate.connection.driver_class com.mysql.jdbc.Driver hibernate.connection.url jdbc:mysql://localhost:3314/DBpostcards?autoReconnect=true hibernate.connection.username atchik hibernate.connection.password atchik Here is the "ant eg" ouput. SchemaExport:160 - schema export complete [java] 09:50:53,354 INFO DriverManagerConnectionProvider:143 - cleaning up connection pool: jdbc:mysql://localhost:3314/DBpostcards?autoReconnect=true ... |
65. Encryption/MySQL/Hibernate forum.hibernate.orgAll, After searching the forum, I think I already know the answer to this but I'll ask anyway. I'd like to be able to use the MySQL encryption methods with Hibernate when fetching/store sensitive data via Hibernate but it seems from what I have read that the two won't play. Is this still the case? I don't want to convert all ... |
66. Hibernate changes my MySQL database forum.hibernate.orgHibernate version:2.1 Database version:MySQL Does anyone know what happens with MySQL and hibernate? I just execute a simple query over my MySQL database and there are indices in one of the tables(for foreign keys). After executing my code, all indices in my database tables are duplicated!!! The only "thing" that connects to my database is Hibernate and the code is just: ... |
67. Adding to mysql db maddness forum.hibernate.orgNewbie Joined: Tue Aug 24, 2004 1:14 pm Posts: 14 Hibernate version: 2.1.4 Mapping documents: |
68. Hibernate 2.1 and MySQL 4.1.3b forum.hibernate.orgHi all, I don't know if I should call it a hibernate bug If ound because it only appears with MySQL 4.1.3 which is not on the compatibility list. Or I made a mistake which only causes problems with MySQL 4.1.3. So please let me know if I made sth. wrong. I post this because it could become interesting if one ... |
69. MySQL IP address in URL problems forum.hibernate.orgNewbie Joined: Tue Aug 24, 2004 1:14 pm Posts: 14 Hibernate version: 2.1.4 Mapping documents: |
70. many-to-many using standard examples just won't work!(mysql) forum.hibernate.orgHi. I simply cannot get hibernate to work properly and I'm hoping someone can help. It works fine if I use a many-to-one relationship, but many-to-many won't work. I decided to cut & paste the standard examples from the tutorial and have the same problem, so at least I know it's not the code. There must be something else I just ... |
71. how to use MYSQL's max & lpad in Hibernate forum.hibernate.org |
72. MySQL 4.1 forum.hibernate.org |
73. MySQL 4.1 clearParameters problem? forum.hibernate.orgI am using Spring's hibernate support to store an object (it has a couple lists). When i call store, i get the stack trace below. It seems to be from the fact that MySql 4.1 now supports server-side prepared statements. When I change the BatchBatcher (catchy name, btw) and add: try { ps.clearParameters(); } catch (SQLException ignore) { } to the ... |
74. Support for MySQL 4.1.x? forum.hibernate.orgSorry for pushing this question up, but I need to know quite soon, if I can upgrade to MySQL 4.1.7. I already searched for an answer in the documentation, in the forum as well as in the mailing list, but I couldn't find anything about it. IMHO this one cannot be that hard to answer... Thanks a lot in advance! Best ... |
75. mysql 3.23 and having forum.hibernate.org |
76. problem running "build eg" using MySql forum.hibernate.org[java] Hibernate: select auctionite0_.id as id0_, bids1_.id as id1_, user2_ .id as id2_, auctionite0_.description as descript2_0_, auctionite0_.ends as ends 0_, auctionite0_.condition as condition0_, auctionite0_.seller as seller0_, auct ionite0_.successfulBid as successf6_0_, bids1_.isBuyNow as isBuyNow1_, bids1_.am ount as amount1_, bids1_.datetime as datetime1_, bids1_.bidder as bidder1_, bids 1_.item as item1_, user2_.userName as userName2_, user2_.`password` as y3_2_, us er2_.email ... |
77. Database read issue with MySQL forum.hibernate.org |
78. Authorization with Resin and MySQL. forum.hibernate.orgHi I have a problem whereby Hibernate will not authorize with MySQL. I have JNDI connection defined in Resin 3.0.9 as follows: |
79. MySQL 'in elements' not working forum.hibernate.orgHow to make this HQL work between different databases? It works in MSSQL, but it doesn't in MySQL. Query: "select u" + " from User u, Role r" + " where u.username = ?" + " and u.password = ?" + " and r.rolename = ?" + " and r in elements(u.roles)", new String[]{username, password, role}); Thanx, Ales ----------------------------------- Hibernate version: ... |
80. Multiple MySQL databases on the same server forum.hibernate.orgI have multiple mysql databases running on the same MySQL server. So for example I have databases A, B, and C. In MySQL you can specify a database name as part of a table (regardless of which MySQL database you're connected to) to do cross-database operations. So I could do the following: mysql -uuser C <-- connects to database C select ... |
81. Newbie: Introductory example "eg fails using MySQL 4.1 forum.hibernate.orgHibernate gurus, I have just recently downloaded and extracted hibernate-2.1.7c.zip and have attempted to follow the "roadmap" directions located at http://www.hibernate.org/152.html - "Getting Started". I have tried the "roadmap" using both McKoi1.0.3 and now MySQL4.1 and neither has completed successfully out of the box. From what I can tell from the generated SQL listed below, there is a trailing "limit ?" ... |
82. Tackling existing multi-database MySQL layout with hibernate forum.hibernate.orgAt my company we have 50+ MySQL databases on one server that have the same schema for the purpose of partitioning data (due to the size of each database). The decision goes back before my time and of course there is a tremendous amount of spaghetti infrastructure (web, batch processing, cron scripts, reporting, etc...) relying upon this arrangement. The data is ... |
83. milliseconds information is gone from MySQL forum.hibernate.orgHi all, I hope you can help!!! Current set-up: - A table using the TIMESTAMP field. - Usage of hibernate to access the DB and I have defined a field of type java.sql.Timestamp to map my TIMESTAMP column. My object contains the right value (inc. milliseconds), but upon storage, the milleseconds are not being persisted in MySQL. Any idea that can ... |
84. UUEncode MySql+Hibernate+Big5 Problem forum.hibernate.orgHonestly I am not sure if this is the right place to post this question of mine. We are using MYSql compiled with Big5. We had problems inserting images thru our stand-alone application written in C++ so we UUEncode it and saved as Blob. From that stand-alone app we were able to save them and retrieve and display them. Do I ... |
85. using hibernate with mysql database-unable to open database forum.hibernate.orgHello friends, Hibernate version: 3.0.1 Full stack trace of any exception that occurs: Exception in thread "main" java.lang.ExceptionInInitializerError at hibernate.simple.Storage.openDatabase(Storage.java:298) Name and version of the database you are using: name= simpleperson version= mysql 4.1 Code where mysql settings are set for hibernate: Code: Configuration cfg = new Configuration() .addClass( Person.class ) ... |
86. Building the example for MySQL forum.hibernate.orgBuilding the example (ant eg) the SQL of SchemaExport fails dramatically when I use the mysql database. The build works fine when I try the example with hsqldb. Is the mysql-jdbc-adaptor not as transparent as I hoped for? I'm I using the wrong version of mysql? Should I try an other database? Greets, Henk-Jan Castermans Extra info: Hibernate version: 3.05 Mysql ... |
87. hibernate3 with mysql forum.hibernate.org |
88. Hibernate --> MySQL Unrecoverable Hang Issue forum.hibernate.orgHello everyone. I am having an issue which I haven't yet been able to come up with a reason for. Hibernate Version: 3.0.1 MySQL Version: 4.1.12 OS: Windows 2003 Server Standard Edition What is happening is my system will basically attempt to start a transaction, and never return from it. It doesn't throw an error, it doesn't return null, it just ... |
89. Hibernate 2.1.8 autoddl MySQL 4.1.11 longvarchar forum.hibernate.orgHi, I'm having trouble getting autoddl to generate the below class with Connector/J 3.1.12 (also 3.1.10, 3.1.11): |
90. after restart mysql problem occurs... forum.hibernate.org |
91. Hibernate native mySQL problem forum.hibernate.orgHello, I am working with OpenSessionInView pattern, to give every request it's own session object. After each request I close the session. I have a complete web application working propely. For the reporting system I use native SQL (MySQL). I get the connection from Hibernate session and execute a query. For generating the report I first run a query that generates ... |
92. Hibernate 3.1.2 and MySQL 5.0 forum.hibernate.orgHi, I just started using Hibernate and I have some issue with the schema it generate for MySQL. Using the latest Hibernate and MySQL 5 on windows, I'm getting an invalid create table statement. The mapping file was generated using the latest Xdoclet. Any help will be appreciated Simon Hibernate 3.1.2 |
93. no connexion with mySql 4.1.11 forum.hibernate.orgHi I have a probleme with my webbapp using Hibernate. It has been developped with mysql 4.0.24, C3P0 lib 0.9.0.2, Hibernate2 and it was running globally ... (even if i had problem of connexions after a few days of usage ...). I want to transfer the application on a Debian server xith mysql4.1.11 and every jsp page with hibernate access don't ... |
94. Hibernate 3 migration problem with mysql forum.hibernate.orgHi, My problem: When the webapp is deployed dbcp creates the connection pool and everything works as expected. After about 12-24 hrs of leaving it running on a test server, i try to access the application again and get an error message that looks like the pool cannot get a connection. Below is the full stack trace: java.sql.SQLException: Communication link failure: ... |
95. Hibernate and MySQL Spatial Extensions forum.hibernate.org |
96. Please help me with accessing MySql problem forum.hibernate.orgPlease help me with accessing MySql problem. I want create database first, then write some data,but it doesn't work. i don't know why? i have 3 directory: lib, src,classes. lib contains Mysql driver and hibernate3.jar, src contains Customer.java,Test.java, Customer.hbm.xml. root directory contains hibernate.cfg.xml and build.xml. here is my code. Customer.java public class Customer { private int id; private String username; private ... |
97. example hibernate-mysql forum.hibernate.orgNewbie Joined: Thu May 25, 2006 12:21 pm Posts: 11 Dear jesustoprural Here is a piece of code you can use for hibernate. Step 1: you have to create a class file with the getter and setter of your database table. eg: give below import java.util.Date; public class Customer { private String name; private Date createDate; private Long id; public Long ... |
98. Hibernate & MySQL !!! forum.hibernate.orgHi Everyone, Recently we changed our tables from MyISAM to InnoDB, we found the foreign keys were not correctly created. I thought this solved the problem. I changed to InnoDB by altering the |
99. Hibernate3 + Mysql5 forum.hibernate.orgHi i m using Mysql5 .when i m trying run a simple java application with hibernate(Just inserting one record)..its creating the tables( |
100. StringIndexOutOfBoundsException wih MySql forum.hibernate.orgHibernate version: 3.0 Mapping documents: |