1. Handling database-related exceptions in Java/Spring stackoverflow.comI'm reading the book Spring Recipes right now, and am puzzled by one thing: Any exceptions are thrown as a subclass of DataAccessException, a RuntimeException you're not meant to ... |
2. Is it possible to get Java fmt messages bundle from database? stackoverflow.comI nedd to localize application and now files are loaded from text files. Is it possible to change source to database? This is how localized messages are now loaded:
|
3. apply mathematical rules stored in database to a variable gotten from human machine interface stackoverflow.comI'm developing a project with Flex, Spring, Hibernate, MySQL, Tomcat, but one of the functionality is: " i have to store a mathematical rule like for example " a+b " into ... |
4. Specify Database Vendor forum.springsource.orgSpecify Database Vendor In the interest of efficiency, can we specify the RDBMS vendor somewhere, so the framework does not have to do this for every single database command (Thanks): Sep ... |
5. Urgent Help needed - Composite writer with two diff databases forum.springsource.orgUrgent Help needed - Composite writer with two diff databases We are doing a proof-of-concept for using Spring and Spring Batch in an existing application to cut costs. Without explaining the ... |
6. STS, Maven, Server and DB forum.springsource.orgSTS, Maven, Server and DB HI - I am very new to java. I want to set up my local environment. I have jdk version 1.6 and my path and java_home ... |
7. Retrieving login information from database forum.springsource.orgRetrieving login information from database Heya guys! I've just begun using spring-security and I've encountered a problem, I can't seem to find how to retrieve username, password and Role from a ... |
8. load dynamic pointcut expression from database forum.springsource.orgHi friends, I am wondering if it is possible to load dynamic pointcut expressions from database. I have to calculate the method execution times for class methods configured dynamically through the ... |
9. Fetch custom authorities from database by operation name forum.springsource.orgOriginally posted here. I need to make a legacy application start using spring security 3. This app already has its security data model. The follow diagram illustrates: Very simple by far. ... |
10. SpringBatch without SpringBatch internal DB / database forum.springsource.orgSpringBatch without SpringBatch internal DB / database Hi, I've been searching around the forums but I haven't found a good solution to running SpringBatch without its internal tables. I'd say that ... |
11. multi db forum.springsource.orgHi . Im using meaven,jetty and sql. What do i have to if i want my application to be able to save the data in different databases in same time. I ... |
12. Possible to make an application without database forum.springsource.orgPossible to make an application without database Hi I want to make web-application (front-end application) without any database. My application is going to be a front-end to some REST/Webservices back-end. However ... |
13. DB Item Writer Exceptions forum.springsource.orgHello, I am trying to write a simple batch job that reads from a flat file and writes the data to database tables. I have the job running properly when everything ... |
14. Decrease in fetch - speed (on the UI) with increase in db entries forum.springsource.orgDecrease in fetch - speed (on the UI) with increase in db entries Hi, We have a large model and the UI that was generated by Roo became so slow it's ... |
15. Database ItemReaders - which one better? forum.springsource.orgDatabase ItemReaders - which one better? Hi All, This might not be a question purely related to Spring Batch, but thought if someone could help me out I have a table ... |
16. Database Insert problems forum.springsource.orgMay 18th, 2011, 05:47 PM #1 luisb View Profile View Forum Posts Private Message Junior Member Join Date May 2011 Posts 5 Database Insert problems Hey guys, I have an issue ... |
17. Two databases in one project forum.springsource.orgHi, I use Hibernate to map my database, I use also the reverse engineering to convert fast my database. I have two databases. I apply the reverse engineering one, It works ... |
18. JobRepositoryFactoryBean and dataBase forum.springsource.orgJobRepositoryFactoryBean and dataBase hey, am still new in spring batch and i have some questions hope you can help me with!! 1-i want to use a JobRepositoryFactoryBean so do i have ... |
19. Cross database context issue forum.springsource.orgCross database context issue Hi guys, I've a pickling issue that I'm sure someone out there has encountered before, if maybe a slightly different scenario. Essentially, I'm using Spring and Hibernate, ... |
20. Loading Image from DB forum.springsource.orgLoading Image from DB Hello developers, how do i load image from my datbase(mysql) cause i can't get it correctly.The image doesn't load. this is my entity class: Code: @Entity public ... |
21. Recovering from Transient Database Outages forum.springsource.orgRecovering from Transient Database Outages Hi, I have set up a test application based on the JPetstore application. It uses the iBatis database mapping layer with a Commons basic data source. ... |
22. Database Audit Trail Solution for Spring forum.springsource.orgAnyone has implemented any audit trail solution for Spring? Could you give me some idea or even source code? My wish is to have a audit trail interceptor catching the method ... |
23. spring handling multiples databases forum.springsource.org |
24. Trouble in removing from DB forum.springsource.orgJul 20th, 2011, 09:15 AM #1 presidentrodel View Profile View Forum Posts Private Message Member Join Date Apr 2011 Location General Santos City, Philippines Posts 42 Trouble in removing from DB ... |
25. Two/Dual Databases forum.springsource.orgTwo/Dual Databases Hello! I've gone through many threads of how to use spring roo with two databases but none are sufficient I feel. Specifically I need one database to be reverse ... |
26. Enums in a database forum.springsource.orgEnums in a database Hi I have a drop down list of enums (think the pet clinic example). When the values are stored in the database they are stored as their ... |
27. Using the database transactioning. forum.springsource.orgUsing the database transactioning. I am converting some of the code in use for a while to use the spring. Currently I am trying to use the transactioning support in spring ... |
28. Recovering from abnormal shutdown (with a persistent database) forum.springsource.orgRecovering from abnormal shutdown (with a persistent database) We have a long running spring context that is a part of our batch + integration system, if the container that runs batch ... |
29. Replicating databases maintaining consitency forum.springsource.orgReplicating databases maintaining consitency Hi, I 've a system which provisioned data into a database..., today's requieriment is to have two databases and perform certain actions on both databases. I 've ... |
30. Merge not happening, new item is added instead in the database forum.springsource.orgHi, I have created a Roo application using the reverse engineering feature and I am having the following problem: Object fails to get updated, instead I see a new record added ... |
31. Fetching all available db resources? forum.springsource.orgMaybe the question itself was somewhat fuzzy... I'll try to explain how I mean: We have quite a few different environments; test, stage, prod and so on. And the test-environment might ... |
32. truly dynamic number of database instances forum.springsource.orgtruly dynamic number of database instances Hello, I need to setup a component that uses Spring and it receives as input parameter the number of database instances and the needed properties ... |
33. Passing String value coming from database forum.springsource.orgHi Guys, Good day. I am new to Spring and its DI. Basically, I want to pass a value in appContext dynamically coming from my database. For example, in applicationContext: Code: ... |
34. deployment build issues with DB on another machine forum.springsource.orgdeployment build issues with DB on another machine I have my site on one IP and my MySQL server on another. I can't connect directly and must use ssh. So I ... |
35. Problem populating database forum.springsource.orgI am trying to do some junit tests, but I need some data on the database. For example, I have a table with all the provinces, so I want the provinces ... |
36. Using 2 or more databases forum.springsource.orgI have a databases which references rows to another database. Using them both in transactions and such is easy. The ugly part is displaying data from both databases. Currently I have ... |
37. Grabbing next id before saving to the db? forum.springsource.orgI'd like to be able to grab the next primary key id (or maybe the last id used + 1) from a table so I can set an image name that ... |
38. Is there a bug database for Spring? forum.springsource.orgIs there a Bugzilla or something similar for Spring? The Sourceforge page lacks the usual "Bugs" link, and I could find nothing on springframework.org. Thanks. rodney |
39. Not flushing changes to database forum.springsource.orgNot flushing changes to database Hi I am currently using spring 1.1.3 and hibernate 2.1.7. I am new to these and used the xample to model my simple situation of saving ... |
40. commons database pooling initialize? forum.springsource.orgcommons database pooling initialize? Hi whats the best way to initialize a commons pooling Datasource with Spring? currently I have an Init servlet that runs the following code: Class.forName("org.apache.commons.dbcp.PoolingDriv er").newInstance(); Class.forName("com.mysql.jdbc.Driver").newInstance ... |
41. Where's the database? - Newbie Question forum.springsource.orgWhere's the database? - Newbie Question Previously with JDBC connections we (I) created a properties object and set the "DatabaseName".... This is not taking place in the Spring examples. How does ... |
42. login fails once when DB is restarted forum.springsource.orglogin fails once when DB is restarted Not sure if this is a database pooling issue or Acegi issue. My web app was left running overnight however the database was shutdown ... |
43. Database fallback strategy forum.springsource.orgDatabase fallback strategy Hello Spring-Fans, maybe someone of you can give me some hints for the following problem: I have multiple databases (Oracle and MySQL) which are replicated on slave-servers. The ... |
44. Issue when trying to save to the database. forum.springsource.orgIssue when trying to save to the database. Hi Guys, Quick Question on this one. I am using Spring to manage hibernate for me. I try and save an object but ... |
45. Accessing two databases, one readonly forum.springsource.orgAccessing two databases, one readonly Hi, in my application I have now to access two databases. The first one, that I'm already using, is accessed thru Hibernate, using a DBCP connection ... |
46. Placing API in the database, Business Rules in the database forum.springsource.orgPlacing API in the database, Business Rules in the database Rod's books have indicated that the use of stored procedures is more than acceptable, but indicates that business rules do not ... |
47. Populate drop-down list from Database forum.springsource.orgHi all!!! Can somebody tell me how can I populate my drop-down list in my jsp page from a table stored in database. Thanks for you help!!! |
48. Database exception handling forum.springsource.orgDatabase exception handling Hi, I use Oracle in my day to day projects. Our organisation mandates all db interaction is via stored procs. I have seen exisiting code take an pproach ... |
49. 2 different databases in same application using Spring forum.springsource.org |
50. OSWorkflow's DB persistence under Spring-Modules forum.springsource.orgCan you post some code from the OSWorkflow example (I'm searched the example bundled with the distribution but I didn't find any JNDI reference)? With the current support of OsWorkflow you ... |
51. Best practice for writing an advice which uses db forum.springsource.orgI would subclass MethodInterceptor and provide a means to inject a DataSource for accessing the database. Since you likely want to measure performace independently of errors I would refrain from taking ... |
52. Detecting a change in database? forum.springsource.orgHi, How can I detect a change in my database from my java source code? javax.sql has a RowSetListener where an interested component can listen on to a RowSetEvent when there ... |
53. Exception while accessing DB forum.springsource.orgException while accessing DB Hi, My application an not find the Data base connection due 2 following exception. org.springframework.jdbc.UncategorizedSQLException : Hibernate operation: Cannot open connection; uncategorized SQLException for SQL [???]; SQL ... |
54. Problem facing in poulating dropdown, by getting values from the database forum.springsource.orgProblem facing in poulating dropdown, by getting values from the database Hi all, I have got one entry page, where i want to populate the dropdowns by getting the values from ... |
55. database application design forum.springsource.orgdatabase application design I am pretty new to Spring, I would like to know if this framework along with its Rich Client module, does provide RAD development for database oriented software ... |
56. Database Syupport in Spring Rich Client. forum.springsource.orgHi, I am at the moment creating the design of a rich client application. I have come across spring in the past when searching for a framework for a web project. ... |
57. Database view resolver forum.springsource.orgDatabase view resolver Has anyone implemented a database resource view resolver ? I would like a view resolver which can be extended in real time. Ie a live server where customers ... |
58. JOTM Not rolling back db state forum.springsource.orgJOTM Not rolling back db state Could someone please take a quick look at my app context and tell me why I can't get JOTM to roll back database state after ... |
59. need to modify database anonymously forum.springsource.orgHi, I have a scenario where I added some more fields in user table. I don't want user to login automatically after signup. Instead I want a notification mail to user, ... |
60. Empty Result from database forum.springsource.orgMay 23rd, 2006, 02:03 PM #1 viniciuscarvalho View Profile View Forum Posts Private Message Senior Member Join Date Jun 2005 Posts 129 Empty Result from database Hello there! I'm really not ... |
61. how to set timeout for when database is down forum.springsource.orgWhen I unplug my network cable, my code gets stuck in the method getHibernateTemplate(). After x seconds (1 minute? I haven't timed it but it's not short) the database connection times ... |
62. default values specified in the database forum.springsource.orgdefault values specified in the database I have written my pojos to be similar to the pojos in the examples directory of the downloads where the member variables don't have a ... |
63. Optimizing Derived Values from a Database forum.springsource.orgOptimizing Derived Values from a Database A colleague of mine and I got into a discussion about calculating derived values from data located in a database. In our case, we have ... |
64. Confusion around spring/db usage forum.springsource.orgConfusion around spring/db usage Im having some problem understanding the differences and usage of the Spring jdbc support. I am hoping someone could help me clear a couple of things up. ... |
65. Problem inserting to Database forum.springsource.orgProblem inserting to Database I am trying to insert the record to DB using org.springframework.orm.hibernate3.HibernateTempla te. Everything is going fine no error on the console but when I try to see ... |
66. db indexing... forum.springsource.org |
67. Spring - Database Commit Fails forum.springsource.orgSpring - Database Commit Fails Hi All, A very fundamental issue using : Spring 1.2.8, Hibernate 3.1, DB2 and JBoss 4.0.2 I am trying to use Spring Declarative Transaction Support but ... |
68. loadAll going to Database? forum.springsource.orgSep 18th, 2006, 02:53 PM #1 ccollins_29687 View Profile View Forum Posts Private Message Junior Member Join Date Sep 2006 Location Greenville, SC Posts 8 loadAll going to Database? I'm trying ... |
69. Conflict with Eclipse 3.2, Spring IDE plugin and Quantum DB plugin? forum.springsource.orgConflict with Eclipse 3.2, Spring IDE plugin and Quantum DB plugin? Hello. I've been using the spring plugin and the quantum database (http://quantum.sourceforge.net/) plugins for a while. I was able to ... |
70. Dynamically switching databases forum.springsource.orgDynamically switching databases HI all, We are stuck with one problem , We are switching from one database to other database which has same schema but Different data base using hibernate ... |
71. StaleConnectionException while accessing mutiple databases forum.springsource.orgStaleConnectionException while accessing mutiple databases I'm using Spring 1.2.8 , Hibernate 3.0 and Websphere 5.1 and found out some time I do get StaleException when application is running longer and it ... |
72. Proxy, load from db when touched. forum.springsource.orgProxy, load from db when touched. Hi. I'll start by describing the problem... In my domain model, I have a one-to-many relationship. The relation to the objects on the many side ... |
73. Support unlimited number of (dynamically configured) databases forum.springsource.orgNov 21st, 2006, 10:28 PM #1 newbieMA View Profile View Forum Posts Private Message Junior Member Join Date Nov 2006 Posts 2 Support unlimited number of (dynamically configured) databases This is ... |
74. Problems to insert in DB forum.springsource.orgHi, I'm with a problem to insert data into a database. I have an CRUD application, and when the user input your data in a form and submit, all the fields ... |
75. Database migration forum.springsource.orgDoes the Spring team intend to tackle the problem of automatic database migration? Spring likes to solve those problems in the enterprise space that are ubiquitous and prone to wheel reinvention; ... |
76. How to design a DB aware component... forum.springsource.orgHow to design a DB aware component... Trying to figure out how to best architect a component with the following characteristics: This component will be used by multiple threads in an ... |
77. Synchronizing database state - a Hiberate issue forum.springsource.orgSynchronizing database state - a Hiberate issue I run into a Hibernate issue with a many-to-many relationship. It seems to me that is a Hibernate session management issue within Spring. Code: ... |
78. Trasactions in Sping with out Database Manipulation forum.springsource.orgHi Folks, I am new to Spring Framework. I have one basic question. I dont have any database operations in my class. So not even configuring the datasource can i make ... |
79. Application supporting many databases forum.springsource.orgApplication supporting many databases Hello Note: This is not a question directly related to spring. I'm developing a webapp using spring/spring mvc. I am asked to build it in a way ... |
80. Database Persistence forum.springsource.orgDatabase Persistence Hello, I've been going through the tutorial from the spring website using RAD 6, and everything has been going well so far. I'm at the database persistence part of ... |
81. What's the best strategy to work with legacy DB with integrat. in differ. projects? forum.springsource.orgWhat's the best strategy to work with legacy DB with integrat. in differ. projects? Hello, I have a big decision to make for a system that's going to production. My project ... |
82. AbstractTransactionalSpringContextTests with setComplete() - no database entries forum.springsource.orgMar 25th, 2007, 01:49 PM #1 raynic View Profile View Forum Posts Private Message Junior Member Join Date Mar 2007 Posts 15 AbstractTransactionalSpringContextTests with setComplete() - no database entries Hi, i ... |
83. Database Replication forum.springsource.orgDatabase Replication I'm just doing some investigation into database replication. The application is currently uses HSQLDB or MySQL (it could work with any other database if required). The application is starting ... |
84. OracleConnectionCacheImpl : reconnect after database outage forum.springsource.orgOracleConnectionCacheImpl : reconnect after database outage I have a dataSource defined to use OracleConnectionCacheImpl as follows: Code: |
85. accessing DB forum.springsource.orgaccessing DB Hi, I'm new to Spring (didn't even download it yet...). I came here because I have an application which needs to access a database. I didn't want to create ... |
86. Ways to provide a database (model) forum.springsource.orgWays to provide a database (model) Hi, my webapp is working, I could not happier. But one question remains. What is the best practise to deliver the database used as data ... |
87. What to extend to provide dynamic Config Attributes from a database forum.springsource.orgWhat to extend to provide dynamic Config Attributes from a database Hi everyone I have a question regarding methodInvocation security. I usually annotate the methods that I want to secure with ... |
88. how to display database exception back to use. forum.springsource.orgHi all, we are using spring/ibatis combination for our jsr168 portlet development. Our database is oracle and there are some stored procedures to check user input data and throw oracle errors, ... |
89. How the Database Roll Back works ? forum.springsource.orgWhich transactionManager do you use? If you use the basic DatasourceTransactionManager you can only assign one datasource to it. The other will be ignored. Can you post your whole (relevant) config. ... |
90. JComboBox fillup reading from database forum.springsource.orgJComboBox fillup reading from database I am facing problem in displaying JComboBox. I have DAO which returns me the List. I know this is correct because I have TestCase to verify. ... |
91. how to create a JbpmTemplate with a ProcessDefinition that stored in database? forum.springsource.orghow to create a JbpmTemplate with a ProcessDefinition that stored in database? I can get a JbpmTemplate with ProcessDefinition defined in a xml by: Code: |