About INSERT INTO

manual

Storing JPA Entity Objects

Explains how to use JPA to store (persist) entity objects in the database.... ( ) ; Splitting a batch store into multiple transactions is more efficient than using one transaction with ...

 
forum_thread

use of Singleton into tomcat

hi all. i would write a class singleton that encapsulate the entitymanagerFACTORY    into it.(the entitymanagerFactory  IS A property of the only instance of class singleton. (the class singleton is not a Ejb!!!!!!!!!). into tomcat it not possible  use ejbs............. i have to manage the concurrency for the operations on db............... with a method static i can get the only instance of singleton for manage all operation on database. I get a instance of it into multiple servlet. ... encapsulate the entitymanagerFACTORY    into it.(the entitymanagerFactory  IS A property of the only instance of ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...

 
forum_thread

Integrating the ObjectDB logging into the application logging based on slf4j

We would like to write the logs of ObjectDB with into the log of our application. What do you use for logging? With or without slf4j and if so, what concrete implementation? Do you see a way to combine your logging with our logging? ... We would like to write the logs of ObjectDB with into the log of our application. What do you use for logging? With or ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...

 
forum_thread

Finance data from SQL Server into ObjectDB daily

Hello -   I think ObjectDB might be just the solution for our current project but I would like some feedback from the community to see if I'm thinking about it right.   We have a finance data mart that is appended to daily via an SSIS package. I would like to pull the data from SQL, add it to a bean and store it in the ObjectDB. This would all happen in an automated fashion. Does this make sense? Is there a way to map the structure of the table directly into ObjectDB from SQL Server?   ... Is there a way to map the structure of the table directly into ObjectDB from SQL Server?   Thanks. ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...

 
forum_thread

RT Java application recording into 100DB run OOM after a few hours.

Hi, I am running a java application that records data from 100 feeds into 100 different database - this is done is one thread. It works fine several hours - and suddenly i got an out of memory issue (I checked there is no leak in java - I cleared the entity manager every 10 new entity). 1/ I use the default objectDb.conf (i mean i dont use any - so it must be using the default somewhere). 2/ Using Netbeans, I profiled the application and I noticed that there is one thread (ODB FileWriter) running for each open DB. ... a java application that records data from 100 feeds into 100 different database - this is done is one thread. It works fine ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...

 
forum_thread

how to persist an object twice into two diff. collections of two diff. classes

ok my problem,    i persist a Squad Object into a Cup Object at the beginning, after i have to create and persist a competition object in which i have to put some of the already created/persisted squads. the final method looks like that: ...   i persist a Squad Object into a Cup Object at the beginning, after i have to create and persist a ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - select a style in the toolbar and then insert the text in the new created block. Avoid overflow of ...

 
forum_thread

@Unique added afterward is not taken into account

Hello, ... As a consequence the unique constraint is not taken into account when persisting an object which itemID is already present no error ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...

 
forum_thread

Error 613 - i cant put a list<Athlete> into a Squad object

hey guys Im a swiss student and my english is not that good and ive never posted in your forum, so thats why im sorry if im doing any mistakes, but i have big trouble, because ive to get this straight till end of week. i uploaded also all classes but if u see the problem in the main problem field the classes are copied after the problem description. the structure: ... if i want to extend my program with putting the Athletes into a squad it brings up an exception. so the problematic line would u find ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...

 
forum_thread

Need to close+open database for a commit to be taken into account

Hi, I have one case where commit (update of entity in this case) is not taken in account unless database is actually closed and re-open, no error. I tried to use flush instead of close+re-open but it does not work. So currently there is a dirty close + open + reload on each update of one of these entities, which is far from ideal. The entity involved contains (between other fields) another entity, that's the only particularity i can see. I tried with and without entity relationship defined, no difference. ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - select a style in the toolbar and then insert the text in the new created block. Avoid overflow of ...

 
api-jpa

CacheStoreMode.USE

Insert/update entity data into cache when read from database and when committed into database: this is the default behavior.(Enum Constant of javax.persistence.CacheStoreMode)