Home » Search

About begin

171-180 of 200Refresh
Forum
1

Help with 'not like/lower' query

();         em.getTransaction().begin();         MyEntity e = new MyEntity("test");         em.persist
Forum
1

How best to unbind all names?

My JDO application does inserts with binds, and then subsequently does bulk deletes using this code: pm.currentTransaction().begin(); Extent extent = pm.getExtent(ABC.class, true); Query q = pm.newQuery(extent); long deletedCount = q.deletePersistentAll(); pm.currentTransaction().commit
Forum
1

How to add minutes to a Date with JPA2

) RETURN DATE IS data_delay date:=null; BEGIN select DATE+((PERIOD*DELAY_PERIOD)/1440) into data
Forum
1

How to define database structure and insert some initial objects from scratch

.createEntityManager();         // Store 1000 Point objects in the database:         em.getTransaction().begin
Forum
1

How to delete M2M relationship?

= (List) getAllUsers(em); transaction.begin(); for(User u
Forum
1

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: public void actionPerformed(ActionEvent e) { List
Forum
1

how to query by properties of onetomany relations? (Error 990)

.getTransaction().begin();         Foo foo = new Foo();         foo.bars.add(new Bar("aaa"));         em
Forum
1

How to Remove records from many to many relationship tables in JPA

); entityManager.getTransaction().begin(); entityManager.remove(conclusion); entityManager
Forum
1

How to use JOIN FETCH?

().begin();   Person p = new Person();   p.setName("Peter Smith");   Address address1 = new
Forum
1

IMK Stall with certain query

: String param = "%"+begining+"%"; CriteriaBuilder cb = DataBase.em.getCriteriaBuilder(); CriteriaQuery